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>
This commit is contained in:
parent
33878b0a40
commit
d7494f30f5
1 changed files with 4 additions and 6 deletions
|
@ -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";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue