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 238a946..a570fd1 100644 (file)
        status = "okay";
 };
 
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@1 {
+               reg = <1>;
+       };
+};
+
 &nand {
        status = "okay";
 };
index 54c5317..dacdea5 100644 (file)
 &usb2 {
        status = "okay";
 };
+
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@1 {
+               reg = <1>;
+       };
+};
index 7e568f5..ecde91b 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 6e498e1..bcf384a 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 6933710..092574d 100644 (file)
 &i2c0 {
        status = "okay";
 };
+
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@0 {
+               reg = <0>;
+       };
+};
index b17f2ec..314372a 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";