aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/P2812HNUF1.dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-01 21:18:59 +0000
committerJohn Crispin <john@openwrt.org>2016-01-01 21:18:59 +0000
commitc584aed6b1441bb9261d6710aa64e4ccbaf9c39c (patch)
tree5957d84454aef42829812043c7f7cb4ef3c66d99 /target/linux/lantiq/dts/P2812HNUF1.dts
parent3cbfc74cde8e7064b2b8c2cbb7aa20374e759dc0 (diff)
downloadupstream-c584aed6b1441bb9261d6710aa64e4ccbaf9c39c.tar.gz
upstream-c584aed6b1441bb9261d6710aa64e4ccbaf9c39c.tar.bz2
upstream-c584aed6b1441bb9261d6710aa64e4ccbaf9c39c.zip
lantiq: P2812HNUFX - move usb leds to P2812HNU-F1
The P2812HNU-F3 doesn't have usb leds. Only the P2812HNU-F1 has those leds. Reported-by: Sylwester Petela <sscapi@gmail.com> Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 48043
Diffstat (limited to 'target/linux/lantiq/dts/P2812HNUF1.dts')
-rw-r--r--target/linux/lantiq/dts/P2812HNUF1.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/lantiq/dts/P2812HNUF1.dts b/target/linux/lantiq/dts/P2812HNUF1.dts
index 4dcaf27dab..317499bbdc 100644
--- a/target/linux/lantiq/dts/P2812HNUF1.dts
+++ b/target/linux/lantiq/dts/P2812HNUF1.dts
@@ -5,6 +5,13 @@
/ {
model = "P2812HNUF1 - ZyXEL P-2812HNU-F1";
+ chosen {
+ leds {
+ usb = &usb1;
+ usb2 = &usb2;
+ };
+ };
+
fpi@10000000 {
localbus@0 {
nand-parts@0 {
@@ -42,4 +49,15 @@
compatible = "ralink,eeprom";
ralink,eeprom = "RT3062.eeprom";
};
+
+ gpio-leds {
+ usb1: usb1 {
+ label = "p2812hnuf1:green:usb1";
+ gpios = <&gpio 38 1>;
+ };
+ usb2: usb2 {
+ label = "p2812hnuf1:green:usb2";
+ gpios = <&gpio 44 1>;
+ };
+ };
};