ARM: dts: uniphier: Add syscon-uhs-mode to SD node
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Tue, 7 Feb 2023 02:35:10 +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-5-hayashi.kunihiko@socionext.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/uniphier-pro4.dtsi
arch/arm/boot/dts/uniphier-pro5.dtsi
arch/arm/boot/dts/uniphier-pxs2.dtsi
arch/arm/boot/dts/uniphier-sld8.dtsi

index c28071a..ba55af3 100644 (file)
                        reg = <0x59801000 0x400>;
                };
 
-               syscon@59810000 {
+               mioctrl: syscon@59810000 {
                        compatible = "socionext,uniphier-pro4-mioctrl",
                                     "simple-mfd", "syscon";
                        reg = <0x59810000 0x800>;
                        sd-uhs-sdr12;
                        sd-uhs-sdr25;
                        sd-uhs-sdr50;
+                       socionext,syscon-uhs-mode = <&mioctrl 0>;
                };
 
                emmc: mmc@5a500000 {
index a2000cf..2d8591c 100644 (file)
                        reg = <0x59801000 0x400>;
                };
 
-               syscon@59810000 {
+               sdctrl: syscon@59810000 {
                        compatible = "socionext,uniphier-pro5-sdctrl",
                                     "simple-mfd", "syscon";
                        reg = <0x59810000 0x400>;
                        sd-uhs-sdr12;
                        sd-uhs-sdr25;
                        sd-uhs-sdr50;
+                       socionext,syscon-uhs-mode = <&sdctrl 0>;
                };
        };
 };
index 55a2985..f97a572 100644 (file)
                        reg = <0x59801000 0x400>;
                };
 
-               syscon@59810000 {
+               sdctrl: syscon@59810000 {
                        compatible = "socionext,uniphier-pxs2-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 {
index 27aa55b..f876282 100644 (file)
                        reg = <0x59801000 0x400>;
                };
 
-               syscon@59810000 {
+               mioctrl: syscon@59810000 {
                        compatible = "socionext,uniphier-sld8-mioctrl",
                                     "simple-mfd", "syscon";
                        reg = <0x59810000 0x800>;
                        sd-uhs-sdr12;
                        sd-uhs-sdr25;
                        sd-uhs-sdr50;
+                       socionext,syscon-uhs-mode = <&mioctrl 0>;
                };
 
                emmc: mmc@5a500000 {