diff options
author | David Bauer <mail@david-bauer.net> | 2022-03-24 23:09:24 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2022-04-17 01:16:16 +0200 |
commit | d76b25938cafac8c77042334f7975e880404c448 (patch) | |
tree | bd1dbd5135c599087ceecd77e75c393268e24b80 /target/linux/mpc85xx/files/arch | |
parent | 144760d20600a86fbf1974b94f2fcb0830df608e (diff) | |
download | upstream-d76b25938cafac8c77042334f7975e880404c448.tar.gz upstream-d76b25938cafac8c77042334f7975e880404c448.tar.bz2 upstream-d76b25938cafac8c77042334f7975e880404c448.zip |
mpc85xx: overhaul WS-AP3825i LED setup
As the LED controller is working now, we can make good use of the LEDs
now.
- Drop the model-name prefix
- Rename eth0 / eth1 LEDs to LAN1 / LAN2, as they are labeled as such
on the casing
- Enable wired LEDs in userspace
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 9024f1e466f5ab64bc752d8a463d1867a2ba8d8e)
Diffstat (limited to 'target/linux/mpc85xx/files/arch')
-rw-r--r-- | target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts index b4a90b31c7..aba7739d0d 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts @@ -54,44 +54,44 @@ wifi1 { gpios = <&spi_gpio 3 GPIO_ACTIVE_HIGH>; - label = "ws-ap3825i:green:radio1"; + label = "green:radio1"; linux,default-trigger = "phy0tpt"; }; wifi2 { gpios = <&spi_gpio 2 GPIO_ACTIVE_HIGH>; - label = "ws-ap3825i:green:radio2"; + label = "green:radio2"; linux,default-trigger = "phy1tpt"; }; led_power_green: power_green { gpios = <&spi_gpio 0 GPIO_ACTIVE_HIGH>; - label = "ws-ap3825i:green:power"; + label = "green:power"; }; led_power_red: power_red { gpios = <&spi_gpio 1 GPIO_ACTIVE_HIGH>; - label = "ws-ap3825i:red:power"; + label = "red:power"; }; - eth0_red { + lan1_red { gpios = <&spi_gpio 6 GPIO_ACTIVE_HIGH>; - label = "ws-ap3825i:red:eth0"; + label = "red:lan1"; }; - eth0_green { + lan1_green { gpios = <&spi_gpio 4 GPIO_ACTIVE_HIGH>; - label = "ws-ap3825i:green:eth0"; + label = "green:lan1"; }; - eth1_red { + lan2_red { gpios = <&spi_gpio 7 GPIO_ACTIVE_HIGH>; - label = "ws-ap3825i:red:eth1"; + label = "red:lan2"; }; - eth1_green { + lan2_green { gpios = <&spi_gpio 5 GPIO_ACTIVE_HIGH>; - label = "ws-ap3825i:green:eth1"; + label = "green:lan2"; }; }; |