projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lantiq: define default leds in dts files
[openwrt/openwrt.git]
/
target
/
linux
/
lantiq
/
dts
/
FRITZ7320.dts
diff --git
a/target/linux/lantiq/dts/FRITZ7320.dts
b/target/linux/lantiq/dts/FRITZ7320.dts
index 13845751e7b33531860a40498077bc2df3df8282..b5aa5e86bd58154c7afe58503d9332041fdb5663 100644
(file)
--- a/
target/linux/lantiq/dts/FRITZ7320.dts
+++ b/
target/linux/lantiq/dts/FRITZ7320.dts
@@
-7,6
+7,13
@@
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &power;
+ internet = &online;
+ power = &power;
+ wifi = &wlan;
+ };
};
memory@0 {
};
memory@0 {
@@
-110,7
+117,7
@@
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
- power {
+ power
: power
{
label = "power";
gpios = <&gpio 44 1>;
};
label = "power";
gpios = <&gpio 44 1>;
};
@@
-122,11
+129,11
@@
label = "dect";
gpios = <&gpio 38 1>;
};
label = "dect";
gpios = <&gpio 38 1>;
};
- wlan {
+ wlan
: wlan
{
label = "wlan";
gpios = <&gpio 37 1>;
};
label = "wlan";
gpios = <&gpio 37 1>;
};
- online {
+ online
: online
{
label = "online";
gpios = <&gpio 35 1>;
};
label = "online";
gpios = <&gpio 35 1>;
};