]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: uniphier: add SD controller nodes
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 2 Oct 2018 22:59:51 +0000 (07:59 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 2 Oct 2018 23:21:27 +0000 (08:21 +0900)
Add SD controller nodes for LD20 and PXs3.
LD20 does not support the UHS mode, while PXs3 supports it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts
arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi

index 57a231a92e6db933dfd435ebaa281c40acb26800..b2e54d59bd85e044cbd48c2cd253c1e8f61e80a3 100644 (file)
@@ -572,6 +572,20 @@ emmc: sdhc@5a000000 {
                        cdns,phy-dll-delay-sdclk-hsmmc = <21>;
                };
 
+               sd: sdhc@5a400000 {
+                       compatible = "socionext,uniphier-sd-v3.1.1";
+                       status = "disabled";
+                       reg = <0x5a400000 0x800>;
+                       interrupts = <0 76 4>;
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinctrl_sd>;
+                       clocks = <&sd_clk 0>;
+                       reset-names = "host";
+                       resets = <&sd_rst 0>;
+                       bus-width = <4>;
+                       cap-sd-highspeed;
+               };
+
                soc_glue: soc-glue@5f800000 {
                        compatible = "socionext,uniphier-ld20-soc-glue",
                                     "simple-mfd", "syscon";
index c1bb607bd2115dc56267736f6f10707dc76dde16..1ad149ca2d2a1bf7c4229c87afea4161ecef0f86 100644 (file)
@@ -75,6 +75,10 @@ &i2c3 {
        status = "okay";
 };
 
+&sd {
+       status = "okay";
+};
+
 &eth0 {
        status = "okay";
        phy-handle = <&ethphy0>;
index 8b1a6529211a38c82c9d7af6ef99e22a8cb3bd12..2fab8a4dc88f0dacab8556ee7c5a45972d10a903 100644 (file)
@@ -363,6 +363,24 @@ emmc: sdhc@5a000000 {
                        cdns,phy-dll-delay-sdclk-hsmmc = <21>;
                };
 
+               sd: sdhc@5a400000 {
+                       compatible = "socionext,uniphier-sd-v3.1.1";
+                       status = "disabled";
+                       reg = <0x5a400000 0x800>;
+                       interrupts = <0 76 4>;
+                       pinctrl-names = "default", "uhs";
+                       pinctrl-0 = <&pinctrl_sd>;
+                       pinctrl-1 = <&pinctrl_sd_uhs>;
+                       clocks = <&sd_clk 0>;
+                       reset-names = "host";
+                       resets = <&sd_rst 0>;
+                       bus-width = <4>;
+                       cap-sd-highspeed;
+                       sd-uhs-sdr12;
+                       sd-uhs-sdr25;
+                       sd-uhs-sdr50;
+               };
+
                soc_glue: soc-glue@5f800000 {
                        compatible = "socionext,uniphier-pxs3-soc-glue",
                                     "simple-mfd", "syscon";