aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-11-26 16:03:09 +0100
committerMathias Kresin <dev@kresin.me>2018-11-26 19:40:31 +0100
commitd7494f30f5c8aa765158077ecf31e73d435a04e9 (patch)
treebc3eac03efb02013b0311ae1966d6051375b2dbc /target/linux
parent33878b0a40707a53920ec72a92430ab420b0893f (diff)
downloadupstream-d7494f30f5c8aa765158077ecf31e73d435a04e9.tar.gz
upstream-d7494f30f5c8aa765158077ecf31e73d435a04e9.tar.bz2
upstream-d7494f30f5c8aa765158077ecf31e73d435a04e9.zip
ramips: fix Lava LR-25G001 invalid led names
It has to be <board>:<colour>:<function> and is expected exactly this way by the userspace scripts. While at it, fix some whitespace issues in the dts file and rename the flash node as required upstream. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/LR-25G001.dts10
1 files changed, 4 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/LR-25G001.dts b/target/linux/ramips/dts/LR-25G001.dts
index a89a6e57fb..37fe523540 100644
--- a/target/linux/ramips/dts/LR-25G001.dts
+++ b/target/linux/ramips/dts/LR-25G001.dts
@@ -37,17 +37,17 @@
compatible = "gpio-leds";
led_status: status {
- label = "lava,lr-25g001:green:status";
+ label = "lr-25g001:green:status";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wifi2g {
- label = "lava,lr-25g001:green:wifi2g";
+ label = "lr-25g001:green:wifi2g";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
wifi5g {
- label = "lava,lr-25g001:green:wifi5g";
+ label = "lr-25g001:green:wifi5g";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
@@ -71,7 +71,7 @@
&spi0 {
status = "okay";
- mx25l12805d@0 {
+ flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
@@ -132,7 +132,6 @@
0x0c 0x00000000 /* PORT6 PAD MODE CTRL */
0x7c 0x0000007e /* PORT0_STATUS */
0x94 0x00000000 /* PORT6_STATUS */
-
>;
};
@@ -155,7 +154,6 @@
reg = <4>;
phy-mode = "rgmii";
};
-
};
};