mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-20 05:56:58 +00:00
ramips: fix dts error in LED color/function conversion
Fix DTS error in LED color/function conversion due to a bug in the
conversion script.
Fixes: 19c45b95db
("ramips: convert to new LED color/function format where possible")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
60d4f6c025
commit
1765973c40
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7620a_lenovo_newifi-y1.dtsi"
|
||||
|
||||
/ {
|
||||
@ -60,6 +62,4 @@
|
||||
nvmem-cell-names = "mac-address";
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7620a_lenovo_newifi-y1.dtsi"
|
||||
|
||||
/ {
|
||||
@ -118,6 +120,4 @@
|
||||
&gsw {
|
||||
mediatek,port4-gmac;
|
||||
mediatek,ephy-base = /bits/ 8 <8>;
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7620a_tplink_archer.dtsi"
|
||||
|
||||
/ {
|
||||
@ -86,6 +88,4 @@
|
||||
&wifi {
|
||||
nvmem-cells = <&macaddr_rom_f100 (-1)>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7620a_tplink_archer.dtsi"
|
||||
|
||||
/ {
|
||||
@ -65,6 +67,4 @@
|
||||
&wifi {
|
||||
nvmem-cells = <&macaddr_rom_f100 (-1)>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7620a_tplink_archer.dtsi"
|
||||
|
||||
/ {
|
||||
@ -86,6 +88,4 @@
|
||||
&wifi {
|
||||
nvmem-cells = <&macaddr_rom_f100 (-1)>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include "mt7620n.dtsi"
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
/ {
|
||||
compatible = "wrtnode,wrtnode", "ralink,mt7620n-soc";
|
||||
@ -107,6 +108,4 @@
|
||||
groups = "ephy", "wled", "pa", "i2c", "wdt", "uartf", "spi refclk";
|
||||
function = "gpio";
|
||||
};
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7628an_tplink_8m.dtsi"
|
||||
|
||||
/ {
|
||||
@ -111,6 +113,4 @@
|
||||
nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
|
||||
nvmem-cell-names = "eeprom", "mac-address";
|
||||
};
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7628an_tplink_8m.dtsi"
|
||||
|
||||
/ {
|
||||
@ -110,6 +112,4 @@
|
||||
nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
|
||||
nvmem-cell-names = "eeprom", "mac-address";
|
||||
};
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7628an_tplink_8m.dtsi"
|
||||
|
||||
/ {
|
||||
@ -92,6 +94,4 @@
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3e>;
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7628an_tplink_8m.dtsi"
|
||||
|
||||
/ {
|
||||
@ -84,6 +86,4 @@
|
||||
|
||||
nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
|
||||
nvmem-cell-names = "eeprom", "mac-address";
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7628an_tplink_8m.dtsi"
|
||||
|
||||
/ {
|
||||
@ -80,6 +82,4 @@
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3e>;
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7628an_tplink_8m.dtsi"
|
||||
|
||||
/ {
|
||||
@ -106,6 +108,4 @@
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3e>;
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7628an_tplink_8m.dtsi"
|
||||
|
||||
/ {
|
||||
@ -92,6 +94,4 @@
|
||||
|
||||
&esw {
|
||||
mediatek,portmap = <0x3e>;
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7628an_tplink_8m.dtsi"
|
||||
|
||||
/ {
|
||||
@ -107,6 +109,4 @@
|
||||
nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
|
||||
nvmem-cell-names = "eeprom", "mac-address";
|
||||
};
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7628an_vocore_vocore2.dtsi"
|
||||
|
||||
/ {
|
||||
@ -24,6 +26,4 @@
|
||||
|
||||
&firmware {
|
||||
reg = <0x50000 0x7b0000>;
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7628an_wrtnode_wrtnode2.dtsi"
|
||||
|
||||
/ {
|
||||
@ -27,6 +29,4 @@
|
||||
groups = "i2c", "gpio";
|
||||
function = "gpio";
|
||||
};
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "mt7628an_wrtnode_wrtnode2.dtsi"
|
||||
|
||||
/ {
|
||||
@ -49,6 +51,4 @@
|
||||
reg = <1>;
|
||||
spi-max-frequency = <10000000>;
|
||||
};
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include "rt5350.dtsi"
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
/ {
|
||||
compatible = "vocore,vocore", "ralink,rt5350-soc";
|
||||
@ -249,6 +250,4 @@
|
||||
spi-max-frequency = <10000000>;
|
||||
reg = <0>;
|
||||
};
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user