From d7494f30f5c8aa765158077ecf31e73d435a04e9 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Mon, 26 Nov 2018 16:03:09 +0100 Subject: [PATCH] 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 --- target/linux/ramips/dts/LR-25G001.dts | 10 ++++------ 1 file 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"; }; - }; }; -- 2.30.2