Skip to content

Commit e3cc931

Browse files
khayash1masahir0y
authored andcommitted
ARM: dts: uniphier: add AVE ethernet node
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>
1 parent acc625d commit e3cc931

File tree

8 files changed

+102
-0
lines changed

8 files changed

+102
-0
lines changed

arch/arm/boot/dts/uniphier-ld6b-ref.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,17 @@
6767
status = "okay";
6868
};
6969

70+
&eth {
71+
status = "okay";
72+
phy-handle = <&ethphy>;
73+
};
74+
75+
&mdio {
76+
ethphy: ethphy@0 {
77+
reg = <0>;
78+
};
79+
};
80+
7081
&nand {
7182
status = "okay";
7283
};

arch/arm/boot/dts/uniphier-pro4-ace.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,14 @@
7777
&usb3 {
7878
status = "okay";
7979
};
80+
81+
&eth {
82+
status = "okay";
83+
phy-handle = <&ethphy>;
84+
};
85+
86+
&mdio {
87+
ethphy: ethphy@1 {
88+
reg = <1>;
89+
};
90+
};

arch/arm/boot/dts/uniphier-pro4-ref.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,17 @@
7575
status = "okay";
7676
};
7777

78+
&eth {
79+
status = "okay";
80+
phy-handle = <&ethphy>;
81+
};
82+
83+
&mdio {
84+
ethphy: ethphy@0 {
85+
reg = <0>;
86+
};
87+
};
88+
7889
&nand {
7990
status = "okay";
8091
};

arch/arm/boot/dts/uniphier-pro4-sanji.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,14 @@
7272
&usb3 {
7373
status = "okay";
7474
};
75+
76+
&eth {
77+
status = "okay";
78+
phy-handle = <&ethphy>;
79+
};
80+
81+
&mdio {
82+
ethphy: ethphy@1 {
83+
reg = <1>;
84+
};
85+
};

arch/arm/boot/dts/uniphier-pro4.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,24 @@
366366
};
367367
};
368368

369+
eth: ethernet@65000000 {
370+
compatible = "socionext,uniphier-pro4-ave4";
371+
status = "disabled";
372+
reg = <0x65000000 0x8500>;
373+
interrupts = <0 66 4>;
374+
pinctrl-names = "default";
375+
pinctrl-0 = <&pinctrl_ether_rgmii>;
376+
clocks = <&sys_clk 6>;
377+
resets = <&sys_rst 6>;
378+
phy-mode = "rgmii";
379+
local-mac-address = [00 00 00 00 00 00];
380+
381+
mdio: mdio {
382+
#address-cells = <1>;
383+
#size-cells = <0>;
384+
};
385+
};
386+
369387
nand: nand@68000000 {
370388
compatible = "socionext,uniphier-denali-nand-v5a";
371389
status = "disabled";

arch/arm/boot/dts/uniphier-pxs2-gentil.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,14 @@
5353
&i2c2 {
5454
status = "okay";
5555
};
56+
57+
&eth {
58+
status = "okay";
59+
phy-handle = <&ethphy>;
60+
};
61+
62+
&mdio {
63+
ethphy: ethphy@1 {
64+
reg = <1>;
65+
};
66+
};

arch/arm/boot/dts/uniphier-pxs2-vodka.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,14 @@
4141
&i2c0 {
4242
status = "okay";
4343
};
44+
45+
&eth {
46+
status = "okay";
47+
phy-handle = <&ethphy>;
48+
};
49+
50+
&mdio {
51+
ethphy: ethphy@1 {
52+
reg = <1>;
53+
};
54+
};

arch/arm/boot/dts/uniphier-pxs2.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,24 @@
446446
};
447447
};
448448

449+
eth: ethernet@65000000 {
450+
compatible = "socionext,uniphier-pxs2-ave4";
451+
status = "disabled";
452+
reg = <0x65000000 0x8500>;
453+
interrupts = <0 66 4>;
454+
pinctrl-names = "default";
455+
pinctrl-0 = <&pinctrl_ether_rgmii>;
456+
clocks = <&sys_clk 6>;
457+
resets = <&sys_rst 6>;
458+
phy-mode = "rgmii";
459+
local-mac-address = [00 00 00 00 00 00];
460+
461+
mdio: mdio {
462+
#address-cells = <1>;
463+
#size-cells = <0>;
464+
};
465+
};
466+
449467
nand: nand@68000000 {
450468
compatible = "socionext,uniphier-denali-nand-v5b";
451469
status = "disabled";

0 commit comments

Comments
 (0)