Hi there!
I'm trying to make the GBE0_LED blink on Wan port tx/rx activity. So the GBE0_LED becomes the led of the wan port.
In 7981-spim-nand-rfb.dts I tried:
leds {
compatible = "gpio-leds";
gbe_led0 {
label = "wan_recv";
gpios = <&pio 8 0>;
};
gbe_led1 {
label = "wan_send";
gpios = <&pio 13 0>;
};
};
And:
&pio {
ledc_pins: led-pins {
mux {
function = "led";
groups = "gbe_led0, gbe_led1";
};
};
};
But this only puts the GBE0_Led and GBE1_LED permanently on. (no blinking) While the goal is to make them blink on Wan send or receive activity.
Btw: on my router the wan interface is called eth1.
And the router is an RM65 mt7981b+mt7976c+mt7531a development board.
Does anyone know what I should do to make it work?
Thank you!