kernel
kernel copied to clipboard
NanoPi R5C: lan1_led is not controllable?
I can use lan2_led with any interface (eth0, eth1, wlan0), with trigger and device_name configuration, and also manually by setting its brightness.
But lan1_led I can't control. Sometimes it turns on for a very short pulse, when I'm trying to manually control it.
Moreover it's very strange:
# cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 0-31, parent: platform/fdd60000.gpio, gpio0:
gpio-0 ( |reset ) out hi
gpio-5 ( |vcc5v0-otg-regulator) out hi
gpio-6 ( |vcc5v0-host-regulato) out hi
gpio-14 ( |reset ) out hi
gpio-15 ( |K1 ) in hi IRQ ACTIVE LOW
gpiochip1: GPIOs 32-63, parent: platform/fe740000.gpio, gpio1:
gpiochip2: GPIOs 64-95, parent: platform/fe750000.gpio, gpio2:
gpio-90 ( |shutdown ) out hi
gpiochip3: GPIOs 96-127, parent: platform/fe760000.gpio, gpio3:
gpio-98 ( |sys_led ) out lo
gpio-99 ( |lan1_led ) out hi
gpio-100 ( |wan_led ) out lo
gpio-101 ( |lan2_led ) out hi
gpio-113 ( |reset ) out hi
gpiochip4: GPIOs 128-159, parent: platform/fe770000.gpio, gpio4:
gpiochip5: GPIOs 511-511, parent: platform/rk805-pinctrl, rk817-gpio, can sleep:
As you can see, both lan1_led and lan2_led are "out hi". But only lan2_led is lighting.
How can I control lan1_led?