// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-#include "qca953x.dtsi"
-#include "qca95xx_dlink_dap-2xxx.dtsi"
+#include <dt-bindings/leds/common.h>
+
+#include "qca953x_dlink_dap-2xxx.dtsi"
/ {
compatible = "dlink,dap-2230-a1", "qca,qca9533";
compatible = "gpio-leds";
led_power_green: power_green {
- label = "green:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "on";
};
reg = <0xf50000 0xa0000>;
read-only;
};
-
- art: partition@ff0000 {
- label = "art";
- reg = <0xff0000 0x10000>;
- read-only;
- };
};