OSDN Git Service

ARM: dts: uniphier: add AVE ethernet node
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Wed, 14 Feb 2018 09:30:28 +0000 (18:30 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 15 Mar 2018 14:18:52 +0000 (23:18 +0900)
Add nodes of the AVE ethernet controller for Pro4, PXs2, LD6b 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/arm/boot/dts/uniphier-ld6b-ref.dts
arch/arm/boot/dts/uniphier-pro4-ace.dts
arch/arm/boot/dts/uniphier-pro4-ref.dts
arch/arm/boot/dts/uniphier-pro4-sanji.dts
arch/arm/boot/dts/uniphier-pro4.dtsi
arch/arm/boot/dts/uniphier-pxs2-gentil.dts
arch/arm/boot/dts/uniphier-pxs2-vodka.dts
arch/arm/boot/dts/uniphier-pxs2.dtsi

index 811b999..9327f6b 100644 (file)
        status = "okay";
 };
 
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@0 {
+               reg = <0>;
+       };
+};
+
 &nand {
        status = "okay";
 };
index 089419c..92b5cbb 100644 (file)
 &usb3 {
        status = "okay";
 };
+
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@1 {
+               reg = <1>;
+       };
+};
index 6a004e5..629bc14 100644 (file)
        status = "okay";
 };
 
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@0 {
+               reg = <0>;
+       };
+};
+
 &nand {
        status = "okay";
 };
index adef212..7c4326a 100644 (file)
 &usb3 {
        status = "okay";
 };
+
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@1 {
+               reg = <1>;
+       };
+};
index 1a29a86..f77d739 100644 (file)
                        };
                };
 
+               eth: ethernet@65000000 {
+                       compatible = "socionext,uniphier-pro4-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-v5a";
                        status = "disabled";
index 7dfae26..d09acb8 100644 (file)
 &i2c2 {
        status = "okay";
 };
+
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@1 {
+               reg = <1>;
+       };
+};
index 0cf6154..6f13a25 100644 (file)
 &i2c0 {
        status = "okay";
 };
+
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@1 {
+               reg = <1>;
+       };
+};
index c083468..18f336e 100644 (file)
                        };
                };
 
+               eth: ethernet@65000000 {
+                       compatible = "socionext,uniphier-pxs2-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";