ARM: dts: sun7i: Fix A20-OLinuXino-MICRO dts for LAN8710
From revision J the board uses new phy chip LAN8710. Compared with RTL8201, RA17 pin is TXERR. It has pullup which causes phy not to work. To fix this PA17 is muxed with GMAC function. This makes the pin output-low. This patch is compatible with earlier board revisions, since this pin wasn't connected to phy. Signed-off-by: Stefan Mavrodiev <stefan@olimex.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
Родитель
e7b094c6ad
Коммит
dd13cbf7fc
|
@ -102,7 +102,7 @@
|
|||
|
||||
&gmac {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gmac_pins_mii_a>;
|
||||
pinctrl-0 = <&gmac_pins_mii_a>, <&gmac_txerr>;
|
||||
phy = <&phy1>;
|
||||
phy-mode = "mii";
|
||||
status = "okay";
|
||||
|
@ -229,6 +229,11 @@
|
|||
};
|
||||
|
||||
&pio {
|
||||
gmac_txerr: gmac_txerr@0 {
|
||||
pins = "PA17";
|
||||
function = "gmac";
|
||||
};
|
||||
|
||||
mmc3_cd_pin_olinuxinom: mmc3_cd_pin@0 {
|
||||
pins = "PH11";
|
||||
function = "gpio_in";
|
||||
|
|
Загрузка…
Ссылка в новой задаче