From ffa55386f17cff29f6c3ffbe873335511e253932 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Thu, 6 Dec 2018 10:02:29 +0100 Subject: ramips: fix dtc compiler warnings The latest dtc compiler considers nodes named i2c or spi as the respective bus: /pinctrl/i2c: incorrect #address-cells for I2C bus /pinctrl/spi: incorrect #address-cells for SPI bus Rename the node to fix the false positives. Fix the spi node unit address for the DWR-512-B and UBNT-ER-e50 to get rid of the following warning: SPI bus unit address format error, expected "n" Signed-off-by: Mathias Kresin --- target/linux/ramips/dts/DWR-512-B.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/DWR-512-B.dts') diff --git a/target/linux/ramips/dts/DWR-512-B.dts b/target/linux/ramips/dts/DWR-512-B.dts index d1dc97ff7e..d865ced704 100644 --- a/target/linux/ramips/dts/DWR-512-B.dts +++ b/target/linux/ramips/dts/DWR-512-B.dts @@ -115,7 +115,7 @@ &spi1 { status = "okay"; - spidev@1 { + spidev@0 { #address-cells = <1>; #size-cells = <1>; compatible = "siliconlabs,si3210"; -- cgit v1.2.3