Fix DTS error in LED color/function conversion due to a bug in the
conversion script.
Fixes: 19c45b95dbb5 ("ramips: convert to new LED color/function format where possible")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 files changed:
+#include <dt-bindings/leds/common.h>
+
#include "mt7620a_lenovo_newifi-y1.dtsi"
/ {
#include "mt7620a_lenovo_newifi-y1.dtsi"
/ {
nvmem-cell-names = "mac-address";
mediatek,portmap = "llllw";
nvmem-cell-names = "mac-address";
mediatek,portmap = "llllw";
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7620a_lenovo_newifi-y1.dtsi"
/ {
#include "mt7620a_lenovo_newifi-y1.dtsi"
/ {
&gsw {
mediatek,port4-gmac;
mediatek,ephy-base = /bits/ 8 <8>;
&gsw {
mediatek,port4-gmac;
mediatek,ephy-base = /bits/ 8 <8>;
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7620a_tplink_archer.dtsi"
/ {
#include "mt7620a_tplink_archer.dtsi"
/ {
&wifi {
nvmem-cells = <&macaddr_rom_f100 (-1)>;
nvmem-cell-names = "mac-address";
&wifi {
nvmem-cells = <&macaddr_rom_f100 (-1)>;
nvmem-cell-names = "mac-address";
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7620a_tplink_archer.dtsi"
/ {
#include "mt7620a_tplink_archer.dtsi"
/ {
&wifi {
nvmem-cells = <&macaddr_rom_f100 (-1)>;
nvmem-cell-names = "mac-address";
&wifi {
nvmem-cells = <&macaddr_rom_f100 (-1)>;
nvmem-cell-names = "mac-address";
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7620a_tplink_archer.dtsi"
/ {
#include "mt7620a_tplink_archer.dtsi"
/ {
&wifi {
nvmem-cells = <&macaddr_rom_f100 (-1)>;
nvmem-cell-names = "mac-address";
&wifi {
nvmem-cells = <&macaddr_rom_f100 (-1)>;
nvmem-cell-names = "mac-address";
-#include <dt-bindings/leds/common.h>
-
#include "mt7620n.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include "mt7620n.dtsi"
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "wrtnode,wrtnode", "ralink,mt7620n-soc";
/ {
compatible = "wrtnode,wrtnode", "ralink,mt7620n-soc";
groups = "ephy", "wled", "pa", "i2c", "wdt", "uartf", "spi refclk";
function = "gpio";
};
groups = "ephy", "wled", "pa", "i2c", "wdt", "uartf", "spi refclk";
function = "gpio";
};
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7628an_tplink_8m.dtsi"
/ {
#include "mt7628an_tplink_8m.dtsi"
/ {
nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
nvmem-cell-names = "eeprom", "mac-address";
};
nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
nvmem-cell-names = "eeprom", "mac-address";
};
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7628an_tplink_8m.dtsi"
/ {
#include "mt7628an_tplink_8m.dtsi"
/ {
nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
nvmem-cell-names = "eeprom", "mac-address";
};
nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
nvmem-cell-names = "eeprom", "mac-address";
};
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7628an_tplink_8m.dtsi"
/ {
#include "mt7628an_tplink_8m.dtsi"
/ {
&esw {
mediatek,portmap = <0x3e>;
&esw {
mediatek,portmap = <0x3e>;
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7628an_tplink_8m.dtsi"
/ {
#include "mt7628an_tplink_8m.dtsi"
/ {
nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
nvmem-cell-names = "eeprom", "mac-address";
nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
nvmem-cell-names = "eeprom", "mac-address";
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7628an_tplink_8m.dtsi"
/ {
#include "mt7628an_tplink_8m.dtsi"
/ {
&esw {
mediatek,portmap = <0x3e>;
&esw {
mediatek,portmap = <0x3e>;
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7628an_tplink_8m.dtsi"
/ {
#include "mt7628an_tplink_8m.dtsi"
/ {
&esw {
mediatek,portmap = <0x3e>;
&esw {
mediatek,portmap = <0x3e>;
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7628an_tplink_8m.dtsi"
/ {
#include "mt7628an_tplink_8m.dtsi"
/ {
&esw {
mediatek,portmap = <0x3e>;
&esw {
mediatek,portmap = <0x3e>;
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7628an_tplink_8m.dtsi"
/ {
#include "mt7628an_tplink_8m.dtsi"
/ {
nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
nvmem-cell-names = "eeprom", "mac-address";
};
nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
nvmem-cell-names = "eeprom", "mac-address";
};
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7628an_vocore_vocore2.dtsi"
/ {
#include "mt7628an_vocore_vocore2.dtsi"
/ {
&firmware {
reg = <0x50000 0x7b0000>;
&firmware {
reg = <0x50000 0x7b0000>;
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7628an_wrtnode_wrtnode2.dtsi"
/ {
#include "mt7628an_wrtnode_wrtnode2.dtsi"
/ {
groups = "i2c", "gpio";
function = "gpio";
};
groups = "i2c", "gpio";
function = "gpio";
};
-#include <dt-bindings/leds/common.h>
-
+#include <dt-bindings/leds/common.h>
+
#include "mt7628an_wrtnode_wrtnode2.dtsi"
/ {
#include "mt7628an_wrtnode_wrtnode2.dtsi"
/ {
reg = <1>;
spi-max-frequency = <10000000>;
};
reg = <1>;
spi-max-frequency = <10000000>;
};
-#include <dt-bindings/leds/common.h>
-
#include "rt5350.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include "rt5350.dtsi"
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "vocore,vocore", "ralink,rt5350-soc";
/ {
compatible = "vocore,vocore", "ralink,rt5350-soc";
spi-max-frequency = <10000000>;
reg = <0>;
};
spi-max-frequency = <10000000>;
reg = <0>;
};
-#include <dt-bindings/leds/common.h>
-