ramips: fix dtc compiler warnings
authorMathias Kresin <dev@kresin.me>
Thu, 6 Dec 2018 09:02:29 +0000 (10:02 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:23 +0000 (17:48 +0100)
commit657b5ab907f3f4a5d7e1245c310f775afe34785e
treece3c0c9c581e1a75c7f593cd6ba5e1d6716bf8c6
parentba7b783991513a6e94b20b89571f35baeb7a92e4
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 <dev@kresin.me>
(backported from ffa55386f17cff29f6c3ffbe873335511e253932)
target/linux/ramips/dts/DWR-512-B.dts
target/linux/ramips/dts/UBNT-ER-e50.dtsi
target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7620n.dtsi
target/linux/ramips/dts/mt7621.dtsi
target/linux/ramips/dts/mt7628an.dtsi
target/linux/ramips/dts/rt2880.dtsi
target/linux/ramips/dts/rt3050.dtsi
target/linux/ramips/dts/rt3352.dtsi
target/linux/ramips/dts/rt3883.dtsi
target/linux/ramips/dts/rt5350.dtsi