arm64: dts: uniphier: add SD-ctrl node for LD11 SoC
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 26 Nov 2016 18:10:53 +0000 (03:10 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 22 Jan 2017 12:12:42 +0000 (21:12 +0900)
The LD11 SoC is equipped with SD-ctrl (0x59810000) as well as
MIO-ctrl (0x5b3e0000).  The SD-ctrl block on this SoC has just
one register for controlling RST_n pin of the eMMC device.

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

index 7c7511b9d231010b940b274ac2d4ecf63da3b915..43b658392e20e674eb82145f8225b562c5d0a2d6 100644 (file)
                        reg = <0x59801000 0x400>;
                };
 
+               sdctrl@59810000 {
+                       compatible = "socionext,uniphier-ld11-sdctrl",
+                                    "simple-mfd", "syscon";
+                       reg = <0x59810000 0x400>;
+
+                       sd_rst: reset {
+                               compatible = "socionext,uniphier-ld11-sd-reset";
+                               #reset-cells = <1>;
+                       };
+               };
+
                perictrl@59820000 {
                        compatible = "socionext,uniphier-ld11-perictrl",
                                     "simple-mfd", "syscon";