]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
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 811b999800ed72c62bd6f8010d38416bc36ac1aa..9327f6b39296e0c2117a1f68bf8e23da8039ffff 100644 (file)
        status = "okay";
 };
 
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@0 {
+               reg = <0>;
+       };
+};
+
 &nand {
        status = "okay";
 };
index 089419cee273ea29341d9d0878afe5c0bf1bbffd..92b5cbbb03fdf665e0c3c2d3143d684bdd795467 100644 (file)
 &usb3 {
        status = "okay";
 };
+
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@1 {
+               reg = <1>;
+       };
+};
index 6a004e5cf7869ac57e6ab638bcfbb4256bc54a3b..629bc147e572cbab4207e8688b41640ae08ac42a 100644 (file)
        status = "okay";
 };
 
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@0 {
+               reg = <0>;
+       };
+};
+
 &nand {
        status = "okay";
 };
index adef212b45b2b01c21cf4098fb9762924c72d198..7c4326a7c7a2651425ec06e2945a4091c4e093d0 100644 (file)
 &usb3 {
        status = "okay";
 };
+
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@1 {
+               reg = <1>;
+       };
+};
index 1a29a8619856a02ae68c226fcd96343fb599c674..f77d7393db28e0c9bec484e31dc21719d0ab0527 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 7dfae2667f5066baa2b5e4424157a85411399166..d09acb8e59a1714340838e8d76819089461c6311 100644 (file)
 &i2c2 {
        status = "okay";
 };
+
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@1 {
+               reg = <1>;
+       };
+};
index 0cf615463a82fcbc20941410bb99cfa55b614caf..6f13a25b935fe7dc83256a2a77e98b55cc8e66ea 100644 (file)
 &i2c0 {
        status = "okay";
 };
+
+&eth {
+       status = "okay";
+       phy-handle = <&ethphy>;
+};
+
+&mdio {
+       ethphy: ethphy@1 {
+               reg = <1>;
+       };
+};
index c083468c17db54634e5a8e5682f5f133f61c85da..18f336e64036356c28de318121c126694579bde0 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";