ARM: dts: uniphier: add syscon-phy-mode property to each ethernet node
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Fri, 11 May 2018 09:49:14 +0000 (18:49 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 22 May 2018 15:32:39 +0000 (00:32 +0900)
Add syscon-phy-mode property specifying a phandle of system controller
to each ethernet node.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/dts/uniphier-ld11.dtsi
arch/arm/dts/uniphier-ld20.dtsi
arch/arm/dts/uniphier-pro4.dtsi
arch/arm/dts/uniphier-pxs2.dtsi
arch/arm/dts/uniphier-pxs3.dtsi

index bf3118eca3ca8d34fb65eb7d1a139491010cdfc1..6247281890d00fa70e147f291f3bf1bc5a5f4f79 100644 (file)
                        resets = <&sys_rst 6>;
                        phy-mode = "rmii";
                        local-mac-address = [00 00 00 00 00 00];
+                       socionext,syscon-phy-mode = <&soc_glue 0>;
 
                        mdio: mdio {
                                #address-cells = <1>;
index b993df8a34a137ae0b746ada27343ea6dc961f8c..b25232dd20ec323079b713c4ba8368828e1716ca 100644 (file)
                        resets = <&sys_rst 6>;
                        phy-mode = "rgmii";
                        local-mac-address = [00 00 00 00 00 00];
+                       socionext,syscon-phy-mode = <&soc_glue 0>;
 
                        mdio: mdio {
                                #address-cells = <1>;
index 25c4b4f8fc04c9a84df74266252e182164aab661..041e451f7b30e19104722f11922c4399a718fc34 100644 (file)
                        has-transaction-translator;
                };
 
-               soc-glue@5f800000 {
+               soc_glue: soc-glue@5f800000 {
                        compatible = "socionext,uniphier-pro4-soc-glue",
                                     "simple-mfd", "syscon";
                        reg = <0x5f800000 0x2000>;
                        resets = <&sys_rst 6>;
                        phy-mode = "rgmii";
                        local-mac-address = [00 00 00 00 00 00];
+                       socionext,syscon-phy-mode = <&soc_glue 0>;
 
                        mdio: mdio {
                                #address-cells = <1>;
index 9760f79e7ce3feaa1d2acf15f2806309272c0b28..5cef1630b5ed126cb791a9a3edf064a52defc3f7 100644 (file)
                        resets = <&sys_rst 6>;
                        phy-mode = "rgmii";
                        local-mac-address = [00 00 00 00 00 00];
+                       socionext,syscon-phy-mode = <&soc_glue 0>;
 
                        mdio: mdio {
                                #address-cells = <1>;
index d4c458a2111367a4624be5339ed00793212edd4c..6158bd2f4c673df8b1eac912180a1d4928d9bce4 100644 (file)
                        resets = <&sys_rst 6>;
                        phy-mode = "rgmii";
                        local-mac-address = [00 00 00 00 00 00];
+                       socionext,syscon-phy-mode = <&soc_glue 0>;
 
                        mdio0: mdio {
                                #address-cells = <1>;
                        resets = <&sys_rst 7>;
                        phy-mode = "rgmii";
                        local-mac-address = [00 00 00 00 00 00];
+                       socionext,syscon-phy-mode = <&soc_glue 1>;
 
                        mdio1: mdio {
                                #address-cells = <1>;