projects
/
openwrt
/
staging
/
jow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ipq40xx: convert to new LED color/function format where possible
[openwrt/staging/jow.git]
/
target
/
linux
/
ipq40xx
/
files
/
arch
/
arm
/
boot
/
dts
/
qcom-ipq4018-fritzbox-4040.dts
diff --git
a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-fritzbox-4040.dts
b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-fritzbox-4040.dts
index ec1112ee2bc58e82233c7d5f35a8a18d44c4c434..524bcbcb2b2a261841671845c178946e6770f461 100644
(file)
--- a/
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-fritzbox-4040.dts
+++ b/
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-fritzbox-4040.dts
@@
-3,6
+3,7
@@
#include "qcom-ipq4019.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include "qcom-ipq4019.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
#include <dt-bindings/soc/qcom,tcsr.h>
/ {
#include <dt-bindings/soc/qcom,tcsr.h>
/ {
@@
-87,7
+88,8
@@
compatible = "gpio-leds";
wlan {
compatible = "gpio-leds";
wlan {
- label = "green:wlan";
+ function = LED_FUNCTION_WLAN;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <ðphy0 0 GPIO_ACTIVE_HIGH>;
};
gpios = <ðphy0 0 GPIO_ACTIVE_HIGH>;
};
@@
-98,17
+100,20
@@
};
wan {
};
wan {
- label = "green:wan";
+ function = LED_FUNCTION_WAN;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <ðphy1 0 GPIO_ACTIVE_HIGH>;
};
power: power {
gpios = <ðphy1 0 GPIO_ACTIVE_HIGH>;
};
power: power {
- label = "green:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <ðphy2 1 GPIO_ACTIVE_HIGH>;
};
lan {
gpios = <ðphy2 1 GPIO_ACTIVE_HIGH>;
};
lan {
- label = "green:lan";
+ function = LED_FUNCTION_LAN;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <ðphy3 0 GPIO_ACTIVE_HIGH>;
};
gpios = <ðphy3 0 GPIO_ACTIVE_HIGH>;
};