ARM: dts: uniphier: add syscon-phy-mode property to each ethernet node
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Tue, 24 Apr 2018 04:47:02 +0000 (13:47 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 24 Apr 2018 15:21:51 +0000 (00:21 +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/boot/dts/uniphier-pro4.dtsi
arch/arm/boot/dts/uniphier-pxs2.dtsi

index 392d7dd6bc06ba5f2cb9f79ee77c617816903c4b..49539f0352193cb4e1c768e7f13ee6ce5b5215c8 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 12>, <&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 a1839db6e9131999fb6206e0118ea7e0f3e22658..641d96119d4f9e59dcdbe79ef6caf128f8e77735 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>;