diff --git a/target/linux/ath79/dts/ar9344_huawei_ap6010dn.dts b/target/linux/ath79/dts/ar9344_huawei_ap6010dn.dts index 84622001cfa81e..e10638b90a361f 100644 --- a/target/linux/ath79/dts/ar9344_huawei_ap6010dn.dts +++ b/target/linux/ath79/dts/ar9344_huawei_ap6010dn.dts @@ -3,8 +3,8 @@ #include "ar9344.dtsi" #include -// #include -// #include +#include +#include / { model = "Huawei AP6010DN"; @@ -14,40 +14,40 @@ bootargs = "console=ttyS0,9600n8"; }; - // aliases { - // led-boot = &led_function_red; - // led-failsafe = &led_function_red; - // led-running = &led_function_green; - // led-upgrade = &led_function_red; - // }; - - // leds { - // compatible = "gpio-leds"; - - // led_function_green: led-status-red { - // function = LED_FUNCTION_STATUS; - // color = ; - // gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; - // }; - - // led_function_red: led-status-green { - // function = LED_FUNCTION_STATUS; - // color = ; - // gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; - // }; - - // }; - - // keys { - // compatible = "gpio-keys"; - - // restart { - // label = "Restart button"; - // linux,code = ; - // gpios = <&gpio 21 GPIO_ACTIVE_LOW>; - // debounce-interval = <60>; - // }; - // }; + aliases { + led-boot = &led_function_green; + led-failsafe = &led_function_red; + led-running = &led_function_green; + led-upgrade = &led_function_red; + }; + + leds { + compatible = "gpio-leds"; + + led_function_green: led-status-red { + function = LED_FUNCTION_STATUS; + color = ; + gpios = <&gpio 13 GPIO_ACTIVE_HIGH>; + }; + + led_function_red: led-status-green { + function = LED_FUNCTION_STATUS; + color = ; + gpios = <&gpio 14 GPIO_ACTIVE_HIGH>; + }; + + }; + + keys { + compatible = "gpio-keys"; + + restart { + label = "Restart button"; + linux,code = ; + gpios = <&gpio 21 GPIO_ACTIVE_LOW>; + debounce-interval = <60>; + }; + }; watchdog { pinctrl-names = "default";