Skip to content

Commit c73730e

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

File tree

6 files changed

+80
-0
lines changed

6 files changed

+80
-0
lines changed

arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,17 @@
131131
status = "okay";
132132
};
133133

134+
&eth {
135+
status = "okay";
136+
phy-handle = <&ethphy>;
137+
};
138+
139+
&mdio {
140+
ethphy: ethphy@1 {
141+
reg = <1>;
142+
};
143+
};
144+
134145
&nand {
135146
status = "okay";
136147
};

arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,14 @@
7070
&usb2 {
7171
status = "okay";
7272
};
73+
74+
&eth {
75+
status = "okay";
76+
phy-handle = <&ethphy>;
77+
};
78+
79+
&mdio {
80+
ethphy: ethphy@1 {
81+
reg = <1>;
82+
};
83+
};

arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,22 @@
545545
};
546546
};
547547

548+
eth: ethernet@65000000 {
549+
compatible = "socionext,uniphier-ld11-ave4";
550+
status = "disabled";
551+
reg = <0x65000000 0x8500>;
552+
interrupts = <0 66 4>;
553+
clocks = <&sys_clk 6>;
554+
resets = <&sys_rst 6>;
555+
phy-mode = "rmii";
556+
local-mac-address = [00 00 00 00 00 00];
557+
558+
mdio: mdio {
559+
#address-cells = <1>;
560+
#size-cells = <0>;
561+
};
562+
};
563+
548564
nand: nand@68000000 {
549565
compatible = "socionext,uniphier-denali-nand-v5b";
550566
status = "disabled";

arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,19 @@
113113
};
114114
};
115115

116+
&eth {
117+
status = "okay";
118+
phy-mode = "rmii";
119+
pinctrl-0 = <&pinctrl_ether_rmii>;
120+
phy-handle = <&ethphy>;
121+
};
122+
123+
&mdio {
124+
ethphy: ethphy@1 {
125+
reg = <1>;
126+
};
127+
};
128+
116129
&nand {
117130
status = "okay";
118131
};

arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,14 @@
5858
&i2c0 {
5959
status = "okay";
6060
};
61+
62+
&eth {
63+
status = "okay";
64+
phy-handle = <&ethphy>;
65+
};
66+
67+
&mdio {
68+
ethphy: ethphy@0 {
69+
reg = <0>;
70+
};
71+
};

arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,24 @@
598598
};
599599
};
600600

601+
eth: ethernet@65000000 {
602+
compatible = "socionext,uniphier-ld20-ave4";
603+
status = "disabled";
604+
reg = <0x65000000 0x8500>;
605+
interrupts = <0 66 4>;
606+
pinctrl-names = "default";
607+
pinctrl-0 = <&pinctrl_ether_rgmii>;
608+
clocks = <&sys_clk 6>;
609+
resets = <&sys_rst 6>;
610+
phy-mode = "rgmii";
611+
local-mac-address = [00 00 00 00 00 00];
612+
613+
mdio: mdio {
614+
#address-cells = <1>;
615+
#size-cells = <0>;
616+
};
617+
};
618+
601619
nand: nand@68000000 {
602620
compatible = "socionext,uniphier-denali-nand-v5b";
603621
status = "disabled";

0 commit comments

Comments
 (0)