diff options
author | Mathias Kresin <dev@kresin.me> | 2016-12-23 08:21:31 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-12-24 10:03:38 +0100 |
commit | ae3ac76e565724e188138dafe38ebeed122e2cf8 (patch) | |
tree | a0cfd911e11921e6ce31ba666e17c57990511a79 /target/linux/ramips/dts | |
parent | a18488a0aadc0ceca9561f93f4456839b9302857 (diff) | |
download | upstream-ae3ac76e565724e188138dafe38ebeed122e2cf8.tar.gz upstream-ae3ac76e565724e188138dafe38ebeed122e2cf8.tar.bz2 upstream-ae3ac76e565724e188138dafe38ebeed122e2cf8.zip |
ramips: use destinct 11AC NAS board name
Use a distinct board name even if the board is near to identical to
the WeVO W2914NS v2.
To make sure that a 11AC NAS image can not be installed on a
WeVO W2914NS v2, both board need to use different names.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/11ACNAS.dts | 14 | ||||
-rw-r--r-- | target/linux/ramips/dts/W2914NSV2.dts | 14 | ||||
-rw-r--r-- | target/linux/ramips/dts/W2914NSV2.dtsi | 14 |
3 files changed, 28 insertions, 14 deletions
diff --git a/target/linux/ramips/dts/11ACNAS.dts b/target/linux/ramips/dts/11ACNAS.dts index 55678f532b..8be9869db9 100644 --- a/target/linux/ramips/dts/11ACNAS.dts +++ b/target/linux/ramips/dts/11ACNAS.dts @@ -9,4 +9,18 @@ device_type = "memory"; reg = <0x0 0x10000000>; }; + + gpio-leds { + compatible = "gpio-leds"; + + // Only USB LED is connected to GPIO. + // All of other LEDs are connected directly to + // switch, WiFi chip, Vcc, so they are not controllable + // via GPIO + + usb { + label = "11acnas:green:usb"; + gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; + }; + }; }; diff --git a/target/linux/ramips/dts/W2914NSV2.dts b/target/linux/ramips/dts/W2914NSV2.dts index 37afffd475..ac26dbe75d 100644 --- a/target/linux/ramips/dts/W2914NSV2.dts +++ b/target/linux/ramips/dts/W2914NSV2.dts @@ -9,4 +9,18 @@ device_type = "memory"; reg = <0x0 0x8000000>; }; + + gpio-leds { + compatible = "gpio-leds"; + + // Only USB LED is connected to GPIO. + // All of other LEDs are connected directly to + // switch, WiFi chip, Vcc, so they are not controllable + // via GPIO + + usb { + label = "w2914nsv2:green:usb"; + gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; + }; + }; }; diff --git a/target/linux/ramips/dts/W2914NSV2.dtsi b/target/linux/ramips/dts/W2914NSV2.dtsi index e80b1877d4..7b11a0f6a2 100644 --- a/target/linux/ramips/dts/W2914NSV2.dtsi +++ b/target/linux/ramips/dts/W2914NSV2.dtsi @@ -26,20 +26,6 @@ linux,code = <KEY_WPS_BUTTON>; }; }; - - gpio-leds { - compatible = "gpio-leds"; - - // Only USB LED is connected to GPIO. - // All of other LEDs are connected directly to - // switch, WiFi chip, Vcc, so they are not controllable - // via GPIO - - usb { - label = "w2914nsv2:green:usb"; - gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; - }; - }; }; &xhci { |