Skip to content

Commit

Permalink
arm64: dts: renesas: condor: switch from EtherAVB to GEther
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sergei Shtylyov authored and Simon Horman committed Nov 5, 2018
1 parent 058ad7b commit eab53fd
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions arch/arm64/boot/dts/renesas/r8a77980-condor.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

aliases {
serial0 = &scif0;
ethernet0 = &avb;
ethernet0 = &gether;
};

chosen {
Expand Down Expand Up @@ -97,23 +97,6 @@
};
};

&avb {
pinctrl-0 = <&avb_pins>;
pinctrl-names = "default";

phy-mode = "rgmii-id";
phy-handle = <&phy0>;
renesas,no-ether-link;
status = "okay";

phy0: ethernet-phy@0 {
rxc-skew-ps = <1500>;
reg = <0>;
interrupt-parent = <&gpio1>;
interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
};
};

&canfd {
pinctrl-0 = <&canfd0_pins>;
pinctrl-names = "default";
Expand All @@ -139,6 +122,23 @@
clock-frequency = <32768>;
};

&gether {
pinctrl-0 = <&gether_pins>;
pinctrl-names = "default";

phy-mode = "rgmii-id";
phy-handle = <&phy0>;
renesas,no-ether-link;
status = "okay";

phy0: ethernet-phy@0 {
rxc-skew-ps = <1500>;
reg = <0>;
interrupt-parent = <&gpio4>;
interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
};
};

&i2c0 {
pinctrl-0 = <&i2c0_pins>;
pinctrl-names = "default";
Expand Down Expand Up @@ -236,16 +236,17 @@
};

&pfc {
avb_pins: avb {
groups = "avb_mdio", "avb_rgmii";
function = "avb";
};

canfd0_pins: canfd0 {
groups = "canfd0_data_a";
function = "canfd0";
};

gether_pins: gether {
groups = "gether_mdio_a", "gether_rgmii",
"gether_txcrefclk", "gether_txcrefclk_mega";
function = "gether";
};

i2c0_pins: i2c0 {
groups = "i2c0";
function = "i2c0";
Expand Down

0 comments on commit eab53fd

Please sign in to comment.