aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorCarsten Spieß <mail@carsten-spiess.de>2023-07-12 10:41:25 +0200
committerChristian Lamparter <chunkeey@gmail.com>2023-07-19 21:57:25 +0200
commit3c895dde79ecd14e2712c5526d6c9f636acad096 (patch)
treeeecabec9c448980855c554c819976e5615ed5695 /target
parent1c79f9381963976558d87cd6f2062082e034e6f2 (diff)
downloadupstream-3c895dde79ecd14e2712c5526d6c9f636acad096.tar.gz
upstream-3c895dde79ecd14e2712c5526d6c9f636acad096.tar.bz2
upstream-3c895dde79ecd14e2712c5526d6c9f636acad096.zip
octeon: ubnt-edgerouter-e300: fix LED settings
LEDs on Edgerouter 6P didn't work correctly: blue /white LED swapped, on/off state inverted Fixed in device tree: swap the GPIO ports for power:blue and power:white LEDs change LED activity from LOW to HIGH Tested on Edgerouter 6P Signed-off-by: Carsten Spieß <mail@carsten-spiess.de> (cherry picked from commit 9009672930f7bda99ec8f6f09a92eb49b6c9aac8)
Diffstat (limited to 'target')
-rw-r--r--target/linux/octeon/files/arch/mips/boot/dts/cavium-octeon/cn7130_ubnt_edgerouter-e300.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/octeon/files/arch/mips/boot/dts/cavium-octeon/cn7130_ubnt_edgerouter-e300.dtsi b/target/linux/octeon/files/arch/mips/boot/dts/cavium-octeon/cn7130_ubnt_edgerouter-e300.dtsi
index 7eafa32cf6..e63598fc97 100644
--- a/target/linux/octeon/files/arch/mips/boot/dts/cavium-octeon/cn7130_ubnt_edgerouter-e300.dtsi
+++ b/target/linux/octeon/files/arch/mips/boot/dts/cavium-octeon/cn7130_ubnt_edgerouter-e300.dtsi
@@ -33,12 +33,12 @@
led_power_blue: power_blue {
label = "blue:power";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
};
led_power_white: power_white {
label = "white:power";
- gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
};