ath79: define switch reset-gpios for D-Link DIR-842

GPIO 11 needs to be pulled high for the external gigabit switch to work,
this is currently solved via gpio-hog. Replace with phy0 reset-gpios.

Tested on revisions C1 and C3. Reset button is still working for reboot,
to enter failsafe, and to enter bootloader http recovery.

Signed-off-by: Sebastian Schaper <openwrt@sebastianschaper.net>
master
Sebastian Schaper 4 years ago committed by Adrian Schmutzler
parent 6ce1e299be
commit 8643c0b53d

@ -25,14 +25,6 @@
debounce-interval = <60>;
};
};
// Pull up on boot - otherwise the reset button won't work
reset-button {
gpio-hog;
output-high;
gpios = <11 GPIO_ACTIVE_LOW>;
line-name = "reset-button";
};
};
&uart {
@ -116,6 +108,7 @@
phy0: ethernet-phy@0 {
reg = <0>;
qca,mib-poll-interval = <500>;
reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
qca,ar8327-initvals = <
0x04 0x00080080 /* PORT0 PAD MODE CTRL */
@ -140,5 +133,6 @@
&wmac {
status = "okay";
qca,no-eeprom;
};

Loading…
Cancel
Save