arm64: dts: uniphier: add AVE ethernet node
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Wed, 14 Feb 2018 09:30:29 +0000 (18:30 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 15 Mar 2018 14:18:59 +0000 (23:18 +0900)
Add nodes of the AVE ethernet controller for LD11 and LD20 SoCs
and the boards.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts
arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts
arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts
arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts
arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi

index 238a9469125ac30582703b90e9facba2ac676e92..a570fd1870ee9527bba8dbec03da47129b123f4c 100644 (file)
        status = "okay";
 };
 
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@1 {
+               reg = <1>;
+       };
+};
+
 &nand {
        status = "okay";
 };
index 54c53170699ad1942daec76cf51fe0659dba3f24..dacdea530cf2700f206692ba5ea827e8dc4ef039 100644 (file)
 &usb2 {
        status = "okay";
 };
+
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@1 {
+               reg = <1>;
+       };
+};
index 7e568f5b5a80fec742ff642f535f9a5a80fd3aba..ecde91b08f68790606cf6fff1527ef18a492f623 100644 (file)
                        };
                };
 
+               eth: ethernet@65000000 {
+                       compatible = "socionext,uniphier-ld11-ave4";
+                       status = "disabled";
+                       reg = <0x65000000 0x8500>;
+                       interrupts = <0 66 4>;
+                       clocks = <&sys_clk 6>;
+                       resets = <&sys_rst 6>;
+                       phy-mode = "rmii";
+                       local-mac-address = [00 00 00 00 00 00];
+
+                       mdio: mdio {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                       };
+               };
+
                nand: nand@68000000 {
                        compatible = "socionext,uniphier-denali-nand-v5b";
                        status = "disabled";
index 6e498e1a2413265e64090dad7e58d8ffc3e7aa4c..bcf384a7e75bfef61dad1878a3875da6d8605458 100644 (file)
        };
 };
 
+&eth {
+       status = "okay";
+       phy-mode = "rmii";
+       pinctrl-0 = <&pinctrl_ether_rmii>;
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@1 {
+               reg = <1>;
+       };
+};
+
 &nand {
        status = "okay";
 };
index 693371033c902177ca587f8bea4d3a418f3291d2..092574d524a2b4c5a0420c1c18ca9101864d99d0 100644 (file)
 &i2c0 {
        status = "okay";
 };
+
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@0 {
+               reg = <0>;
+       };
+};
index b17f2ec2e001ff44d13cfac50e6fa277d409079d..314372a3f5d1c13978ab7fe877fe866ab52bf3e6 100644 (file)
                        };
                };
 
+               eth: ethernet@65000000 {
+                       compatible = "socionext,uniphier-ld20-ave4";
+                       status = "disabled";
+                       reg = <0x65000000 0x8500>;
+                       interrupts = <0 66 4>;
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinctrl_ether_rgmii>;
+                       clocks = <&sys_clk 6>;
+                       resets = <&sys_rst 6>;
+                       phy-mode = "rgmii";
+                       local-mac-address = [00 00 00 00 00 00];
+
+                       mdio: mdio {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                       };
+               };
+
                nand: nand@68000000 {
                        compatible = "socionext,uniphier-denali-nand-v5b";
                        status = "disabled";