arm64: dts: uniphier: Add syscon-uhs-mode to SD node
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Tue, 7 Feb 2023 02:35:14 +0000 (11:35 +0900)
committerArnd Bergmann <arnd@arndb.de>
Thu, 9 Feb 2023 12:58:44 +0000 (13:58 +0100)
Add sociopnext,syscon-uhs-mode prpperty to the SD node to refer the handle
of the control logic node.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20230207023514.29783-9-hayashi.kunihiko@socionext.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi

index 5dace11..4e21716 100644 (file)
                        reg = <0x59801000 0x400>;
                };
 
-               syscon@59810000 {
+               sdctrl: syscon@59810000 {
                        compatible = "socionext,uniphier-ld20-sdctrl",
                                     "simple-mfd", "syscon";
                        reg = <0x59810000 0x400>;
                        resets = <&sd_rst 0>;
                        bus-width = <4>;
                        cap-sd-highspeed;
+                       socionext,syscon-uhs-mode = <&sdctrl 0>;
                };
 
                soc_glue: syscon@5f800000 {
index f62e304..38ccfb4 100644 (file)
                        reg = <0x59801000 0x400>;
                };
 
-               syscon@59810000 {
+               sdctrl: syscon@59810000 {
                        compatible = "socionext,uniphier-pxs3-sdctrl",
                                     "simple-mfd", "syscon";
                        reg = <0x59810000 0x400>;
                        sd-uhs-sdr12;
                        sd-uhs-sdr25;
                        sd-uhs-sdr50;
+                       socionext,syscon-uhs-mode = <&sdctrl 0>;
                };
 
                soc_glue: syscon@5f800000 {