aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2016-06-20 13:56:54 -0400
committerHeiko Stuebner <heiko@sntech.de>2016-06-22 12:24:33 -0400
commited388cdd2ea0655265ff89fe02ded670298a23dc (patch)
treee1da5f4ecce4f612f1fcf5c303857c5e1462f8ae
parent64e3481c8ab187a42b68048dbd321e54d182e762 (diff)
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>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 9833c7da5256..74fbcce6903d 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -234,6 +234,8 @@
234 assigned-clock-rates = <200000000>; 234 assigned-clock-rates = <200000000>;
235 clocks = <&cru SCLK_EMMC>, <&cru ACLK_EMMC>; 235 clocks = <&cru SCLK_EMMC>, <&cru ACLK_EMMC>;
236 clock-names = "clk_xin", "clk_ahb"; 236 clock-names = "clk_xin", "clk_ahb";
237 clock-output-names = "emmc_cardclock";
238 #clock-cells = <0>;
237 phys = <&emmc_phy>; 239 phys = <&emmc_phy>;
238 phy-names = "phy_arasan"; 240 phy-names = "phy_arasan";
239 status = "disabled"; 241 status = "disabled";
@@ -765,6 +767,8 @@
765 emmc_phy: phy@f780 { 767 emmc_phy: phy@f780 {
766 compatible = "rockchip,rk3399-emmc-phy"; 768 compatible = "rockchip,rk3399-emmc-phy";
767 reg = <0xf780 0x24>; 769 reg = <0xf780 0x24>;
770 clocks = <&sdhci>;
771 clock-names = "emmcclk";
768 #phy-cells = <0>; 772 #phy-cells = <0>;
769 status = "disabled"; 773 status = "disabled";
770 }; 774 };