mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
e3ddfcc70c
Initial conversion to new LED color/function format and drop label format where possible. The same label is composed at runtime. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
40 lines
602 B
Plaintext
40 lines
602 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
#include "qca9531_qxwlan_e600g.dtsi"
|
|
|
|
/ {
|
|
model = "Qxwlan E600G v2 8M";
|
|
compatible = "qxwlan,e600g-v2-8m", "qca,qca9531";
|
|
};
|
|
|
|
&leds {
|
|
wlan {
|
|
function = LED_FUNCTION_WLAN;
|
|
color = <LED_COLOR_ID_BLUE>;
|
|
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
|
|
linux,default-trigger = "phy0tpt";
|
|
};
|
|
};
|
|
|
|
&partitions {
|
|
partition@70000 {
|
|
compatible = "denx,uimage";
|
|
label = "firmware";
|
|
reg = <0x070000 0x790000>;
|
|
};
|
|
};
|
|
|
|
&pcie0 {
|
|
/delete-node/ wifi@0,0;
|
|
};
|
|
|
|
&usb_phy {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb0 {
|
|
status = "okay";
|
|
};
|