aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-01-01 21:18:59 +0000
committerJohn Crispin <blogic@openwrt.org>2016-01-01 21:18:59 +0000
commit4352e43bb56ebeb33cca5dd9ad123c538ee2ad2d (patch)
treea2350e82f9f997452144685040d86c488998e051 /target/linux/lantiq
parent00431250ef967a6e2b6fcc24457b0919f96b5c0d (diff)
downloadmaster-187ad058-4352e43bb56ebeb33cca5dd9ad123c538ee2ad2d.tar.gz
master-187ad058-4352e43bb56ebeb33cca5dd9ad123c538ee2ad2d.tar.bz2
master-187ad058-4352e43bb56ebeb33cca5dd9ad123c538ee2ad2d.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48043 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r--target/linux/lantiq/dts/P2812HNUF1.dts18
-rw-r--r--target/linux/lantiq/dts/P2812HNUFX.dtsi10
2 files changed, 18 insertions, 10 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>;
+ };
+ };
};
diff --git a/target/linux/lantiq/dts/P2812HNUFX.dtsi b/target/linux/lantiq/dts/P2812HNUFX.dtsi
index a626e69776..06636a54dd 100644
--- a/target/linux/lantiq/dts/P2812HNUFX.dtsi
+++ b/target/linux/lantiq/dts/P2812HNUFX.dtsi
@@ -11,8 +11,6 @@
dsl = &dsl_green;
internet = &internet_green;
- usb = &usb1;
- usb2 = &usb2;
wifi = &wireless_green;
};
};
@@ -308,14 +306,6 @@
gpios = <&stp 23 1>;
default-state = "keep";
};
- usb1: usb1 {
- label = "p2812hnufx:green:usb1";
- gpios = <&gpio 38 1>;
- };
- usb2: usb2 {
- label = "p2812hnufx:green:usb2";
- gpios = <&gpio 44 1>;
- };
phone1 {
label = "p2812hnufx:green:phone";
gpios = <&gpio 11 1>;