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>
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 {
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 */
&wmac {
status = "okay";
+
qca,no-eeprom;
};