Adding leds support for Ruijie RG-EW1200G PRO

Can someone help me to add support for led indicator in my router? Reading /sys/kernel/debug/gpio from OEM firmware says that leds are active on GPIO 15 low, but OpenWRT does nothing when it boots, ever though GPIO 15 is low.

I know, I am porting OpenWRT to it and leds are the last thing I need to do.

I see, then I'll remove my comment.

What's your current dts/patch?

Usually, I test LEDs by toggling the GPIOs via sysfs before adding the definition to the dts. This way I'm sure that the GPIO is correct and working.

I already tested it and there was an error in DTS. I already contributed my patches to GitHub mirror.

1 Like

... and where? If you want assistance, you will have to point us towards the right direction. I'm not going to search for it.

Hello, did you managed to add the leds? I have same device and I can test the firmware

hi, have you been able to port ew1200g-pro to openwrt? i am interested in trying the firmware on my current device.

My commit was approved recentry, so now I am trying to make a dataentry for the device