Skip to content

Commit eab53fd

Browse files
Sergei Shtylyovhorms
authored andcommitted
arm64: dts: renesas: condor: switch from EtherAVB to GEther
The "official" Condor boards have always been wired to mount NFS via GEther, not EtherAVB -- the boards resoldered for EtherAVB were local to Cogent Embedded, so we've been having an unpleasant situation where a "normal" Condor board still can't mount NFS (unless an EtherAVB PHY extension board is plugged in). Switch from EtherAVB to GEther at last! Fixes: 8091788 ("arm64: dts: renesas: condor: add EtherAVB support") Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 parent 058ad7b commit eab53fd

File tree

1 file changed

+24
-23
lines changed

1 file changed

+24
-23
lines changed

arch/arm64/boot/dts/renesas/r8a77980-condor.dts

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
aliases {
1717
serial0 = &scif0;
18-
ethernet0 = &avb;
18+
ethernet0 = &gether;
1919
};
2020

2121
chosen {
@@ -97,23 +97,6 @@
9797
};
9898
};
9999

100-
&avb {
101-
pinctrl-0 = <&avb_pins>;
102-
pinctrl-names = "default";
103-
104-
phy-mode = "rgmii-id";
105-
phy-handle = <&phy0>;
106-
renesas,no-ether-link;
107-
status = "okay";
108-
109-
phy0: ethernet-phy@0 {
110-
rxc-skew-ps = <1500>;
111-
reg = <0>;
112-
interrupt-parent = <&gpio1>;
113-
interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
114-
};
115-
};
116-
117100
&canfd {
118101
pinctrl-0 = <&canfd0_pins>;
119102
pinctrl-names = "default";
@@ -139,6 +122,23 @@
139122
clock-frequency = <32768>;
140123
};
141124

125+
&gether {
126+
pinctrl-0 = <&gether_pins>;
127+
pinctrl-names = "default";
128+
129+
phy-mode = "rgmii-id";
130+
phy-handle = <&phy0>;
131+
renesas,no-ether-link;
132+
status = "okay";
133+
134+
phy0: ethernet-phy@0 {
135+
rxc-skew-ps = <1500>;
136+
reg = <0>;
137+
interrupt-parent = <&gpio4>;
138+
interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
139+
};
140+
};
141+
142142
&i2c0 {
143143
pinctrl-0 = <&i2c0_pins>;
144144
pinctrl-names = "default";
@@ -236,16 +236,17 @@
236236
};
237237

238238
&pfc {
239-
avb_pins: avb {
240-
groups = "avb_mdio", "avb_rgmii";
241-
function = "avb";
242-
};
243-
244239
canfd0_pins: canfd0 {
245240
groups = "canfd0_data_a";
246241
function = "canfd0";
247242
};
248243

244+
gether_pins: gether {
245+
groups = "gether_mdio_a", "gether_rgmii",
246+
"gether_txcrefclk", "gether_txcrefclk_mega";
247+
function = "gether";
248+
};
249+
249250
i2c0_pins: i2c0 {
250251
groups = "i2c0";
251252
function = "i2c0";

0 commit comments

Comments
 (0)