From: Mathias Kresin Date: Mon, 26 Nov 2018 15:03:09 +0000 (+0100) Subject: ramips: fix Lava LR-25G001 invalid led names X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=05c2d3adbc8a6728602709f907f8b5ab2be4b9df;p=openwrt%2Fstaging%2Fjow.git ramips: fix Lava LR-25G001 invalid led names It has to be :: 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 (backported from d7494f30f5c8aa765158077ecf31e73d435a04e9) --- 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"; }; - }; };