aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt5350.dtsi
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-12-06 10:02:29 +0100
committerMathias Kresin <dev@kresin.me>2018-12-06 12:17:25 +0100
commitffa55386f17cff29f6c3ffbe873335511e253932 (patch)
treec4229b99bc6f6eb39df90147a5a62357ebf0a854 /target/linux/ramips/dts/rt5350.dtsi
parent295b37d207815c196761198a2c61bfa94bee2a54 (diff)
downloadupstream-ffa55386f17cff29f6c3ffbe873335511e253932.tar.gz
upstream-ffa55386f17cff29f6c3ffbe873335511e253932.tar.bz2
upstream-ffa55386f17cff29f6c3ffbe873335511e253932.zip
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>
Diffstat (limited to 'target/linux/ramips/dts/rt5350.dtsi')
-rw-r--r--target/linux/ramips/dts/rt5350.dtsi8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index 1cc35f12a3..10ccc52cdc 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/target/linux/ramips/dts/rt5350.dtsi
@@ -273,15 +273,15 @@
state_default: pinctrl0 {
};
- i2c_pins: i2c {
- i2c {
+ i2c_pins: i2c_pins {
+ i2c_pins {
ralink,group = "i2c";
ralink,function = "i2c";
};
};
- spi_pins: spi {
- spi {
+ spi_pins: spi_pins {
+ spi_pins {
ralink,group = "spi";
ralink,function = "spi";
};