diff options
Diffstat (limited to 'target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts')
-rw-r--r-- | target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts b/target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts index 54df8c054a..c3c325560c 100644 --- a/target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts +++ b/target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts @@ -1,10 +1,10 @@ // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) /dts-v1/; -#include "mt7981.dtsi" +#include "mt7981b.dtsi" / { - model = "ZyXEL NWA50AX Pro"; + model = "Zyxel NWA50AX Pro"; compatible = "zyxel,nwa50ax-pro", "mediatek,mt7981"; aliases { @@ -33,17 +33,17 @@ leds { compatible = "gpio-leds"; - led_green: led@0 { + led_green: led-0 { label = "green:system"; gpios = <&pio 4 GPIO_ACTIVE_HIGH>; }; - led@1 { + led-1 { label = "blue:system"; gpios = <&pio 6 GPIO_ACTIVE_HIGH>; }; - led_red: led@2 { + led_red: led-2 { label = "red:system"; gpios = <&pio 7 GPIO_ACTIVE_HIGH>; }; @@ -85,8 +85,22 @@ reg = <5>; compatible = "ethernet-phy-ieee802.3-c45"; - /* LED0: Amber ; LED1: nc ; LED2: nc ; LED3: Green */ - mxl,led-config = <0x3b0 0x0 0x0 0x3c0>; + leds { + #address-cells = <1>; + #size-cells = <0>; + + led@0 { + reg = <0>; + color = <LED_COLOR_ID_AMBER>; + function = LED_FUNCTION_WAN; + }; + + led@3 { + reg = <3>; + color = <LED_COLOR_ID_GREEN>; + function = LED_FUNCTION_WAN; + }; + }; }; }; |