aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/P2812HNUFX.dtsi
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-01 21:17:26 +0000
committerJohn Crispin <john@openwrt.org>2016-01-01 21:17:26 +0000
commit56fa6d8241a483bcdd247c8f0d1692dd70a823da (patch)
tree13d19579bc58ee7b407e9005d9a71900f4492316 /target/linux/lantiq/dts/P2812HNUFX.dtsi
parent6b95386fd321b19936fdf806142ce8a079bfc251 (diff)
downloadupstream-56fa6d8241a483bcdd247c8f0d1692dd70a823da.tar.gz
upstream-56fa6d8241a483bcdd247c8f0d1692dd70a823da.tar.bz2
upstream-56fa6d8241a483bcdd247c8f0d1692dd70a823da.zip
lantiq: P2812HNUFX - move leds to dtsi
Beside the used labels, they are the same on both boards. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 48031
Diffstat (limited to 'target/linux/lantiq/dts/P2812HNUFX.dtsi')
-rw-r--r--target/linux/lantiq/dts/P2812HNUFX.dtsi61
1 files changed, 61 insertions, 0 deletions
diff --git a/target/linux/lantiq/dts/P2812HNUFX.dtsi b/target/linux/lantiq/dts/P2812HNUFX.dtsi
index d93e862b3a..8c10acc994 100644
--- a/target/linux/lantiq/dts/P2812HNUFX.dtsi
+++ b/target/linux/lantiq/dts/P2812HNUFX.dtsi
@@ -259,4 +259,65 @@
linux,code = <0xf7>;
};
};
+
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ internet_red { /* red */
+ label = "internet_red";
+ gpios = <&stp 16 1>;
+ };
+ internet_green {
+ label = "internet_green"; /* green */
+ gpios = <&stp 17 1>;
+ };
+ dsl {
+ label = "dsl";
+ gpios = <&stp 18 1>;
+ };
+ dsl2 {
+ label = "dsl2";
+ gpios = <&stp 19 1>;
+ };
+ wireless_red { /* red */
+ label = "wireless_red";
+ gpios = <&stp 20 1>;
+ };
+ wireless_green { /* green */
+ label = "wireless_green";
+ gpios = <&stp 21 1>;
+ };
+ power { /* red */
+ label = "power";
+ gpios = <&stp 22 1>;
+ };
+ power2 { /* green */
+ label = "power2";
+ gpios = <&stp 23 1>;
+ };
+ usb1 { /* green */
+ label = "usb1";
+ gpios = <&gpio 38 1>;
+ };
+ usb2 { /* green */
+ label = "usb2";
+ gpios = <&gpio 44 1>;
+ };
+ phone1 { /* green */
+ label = "phone1";
+ gpios = <&gpio 11 1>;
+ };
+ phone1warn { /* red */
+ label = "phone1warn";
+ gpios = <&gpio 12 1>;
+ };
+ phone2warn { /* red */
+ label = "phone2warn";
+ gpios = <&gpio 26 1>;
+ };
+ phone2 { /* green */
+ label = "phone2";
+ gpios = <&gpio 28 1>;
+ };
+ };
};