mirror of https://gitee.com/openkylin/linux.git
arm64: dts: rockchip: Provide emmcclk to PHY for rk3399
Previous changes in this series allowed exposing the card clock from the rk3399 SDHCI device and allowed consuming the card clock in the rk3399 eMMC PHY. Hook things up in the main rk3399 dtsi file. Signed-off-by: Douglas Anderson <dianders@chromium.org> Tested-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
64e3481c8a
commit
ed388cdd2e
|
@ -234,6 +234,8 @@ sdhci: sdhci@fe330000 {
|
||||||
assigned-clock-rates = <200000000>;
|
assigned-clock-rates = <200000000>;
|
||||||
clocks = <&cru SCLK_EMMC>, <&cru ACLK_EMMC>;
|
clocks = <&cru SCLK_EMMC>, <&cru ACLK_EMMC>;
|
||||||
clock-names = "clk_xin", "clk_ahb";
|
clock-names = "clk_xin", "clk_ahb";
|
||||||
|
clock-output-names = "emmc_cardclock";
|
||||||
|
#clock-cells = <0>;
|
||||||
phys = <&emmc_phy>;
|
phys = <&emmc_phy>;
|
||||||
phy-names = "phy_arasan";
|
phy-names = "phy_arasan";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
@ -765,6 +767,8 @@ io_domains: io-domains {
|
||||||
emmc_phy: phy@f780 {
|
emmc_phy: phy@f780 {
|
||||||
compatible = "rockchip,rk3399-emmc-phy";
|
compatible = "rockchip,rk3399-emmc-phy";
|
||||||
reg = <0xf780 0x24>;
|
reg = <0xf780 0x24>;
|
||||||
|
clocks = <&sdhci>;
|
||||||
|
clock-names = "emmcclk";
|
||||||
#phy-cells = <0>;
|
#phy-cells = <0>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue