diff options
| author | Álvaro Fernández Rojas | 2025-01-28 07:28:01 +0000 |
|---|---|---|
| committer | Álvaro Fernández Rojas | 2025-01-28 07:35:57 +0000 |
| commit | e2c2a6ed7f87f494ba23d130de00638028c0c71c (patch) | |
| tree | f178a76ad24d6c403c0e872c66a4ed361baa1161 | |
| parent | c08ba0f7126b60570a81ef86500d9f83eeb8dc8f (diff) | |
| download | openwrt-e2c2a6ed7f87f494ba23d130de00638028c0c71c.tar.gz | |
bmips: shg2500: add missing led controller cells
Fixes the following DT warnings:
../dts/bcm63168-sercomm-shg2500.dts:76.4-14: Warning (reg_format): /ubus/spi@10001000/led-controller@1/led@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/bcm63168-sercomm-shg2500.dts:75.9-78.5: Warning (avoid_default_addr_size): /ubus/spi@10001000/led-controller@1/led@1: Relying on default #address-cells value
../dts/bcm63168-sercomm-shg2500.dts:75.9-78.5: Warning (avoid_default_addr_size): /ubus/spi@10001000/led-controller@1/led@1: Relying on default #size-cells value
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit fbe0bd5f6453a61fab871bee56883afc5c6308cf)
| -rw-r--r-- | target/linux/bmips/dts/bcm63168-sercomm-shg2500.dts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/bmips/dts/bcm63168-sercomm-shg2500.dts b/target/linux/bmips/dts/bcm63168-sercomm-shg2500.dts index 7ea76bebc3..3f9ca000cc 100644 --- a/target/linux/bmips/dts/bcm63168-sercomm-shg2500.dts +++ b/target/linux/bmips/dts/bcm63168-sercomm-shg2500.dts @@ -68,6 +68,8 @@ status = "okay"; led-controller@1 { + #address-cells = <1>; + #size-cells = <0>; compatible = "sercomm,msp430-leds"; reg = <1>; spi-max-frequency = <500000>; |