Trivially fix the following warnings in sandbox DTs, which show up with DTC 1.7.2. Assign pin groups less confusing node names with pins- prefix to avoid confusing DT compiler into thinking the node is really a bus node:
" arch/sandbox/dts/.test.dtb.pre.tmp:1831.20-1841.5: Warning (i2c_bus_bridge): /pinctrl/i2c: incorrect #address-cells for I2C bus arch/sandbox/dts/.test.dtb.pre.tmp:1831.20-1841.5: Warning (i2c_bus_bridge): /pinctrl/i2c: incorrect #size-cells for I2C bus arch/sandbox/dts/test.dtb: Warning (i2c_bus_reg): Failed prerequisite 'i2c_bus_bridge' arch/sandbox/dts/.test.dtb.pre.tmp:1848.20-1856.5: Warning (spi_bus_bridge): /pinctrl/spi: incorrect #address-cells for SPI bus arch/sandbox/dts/.test.dtb.pre.tmp:1848.20-1856.5: Warning (spi_bus_bridge): /pinctrl/spi: incorrect #size-cells for SPI bus arch/sandbox/dts/test.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' " Signed-off-by: Marek Vasut <[email protected]> --- Cc: Christian Marangi <[email protected]> Cc: Dinesh Maniyam <[email protected]> Cc: Guillaume La Roque <[email protected]> Cc: Heiko Schocher <[email protected]> Cc: Mattijs Korpershoek <[email protected]> Cc: Simon Glass <[email protected]> Cc: Svyatoslav Ryhel <[email protected]> Cc: Tom Rini <[email protected]> Cc: [email protected] --- arch/sandbox/dts/test.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 86db3939cfd..b7ad79a2753 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -1804,7 +1804,7 @@ pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>; pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>; - pinctrl_gpios: gpios { + pinctrl_gpios: pins-gpios { gpio0 { pins = "P5"; function = "GPIO"; @@ -1828,7 +1828,7 @@ }; }; - pinctrl_i2c: i2c { + pinctrl_i2c: pins-i2c { groups { groups = "I2C_UART"; function = "I2C"; @@ -1840,12 +1840,12 @@ }; }; - pinctrl_i2s: i2s { + pinctrl_i2s: pins-i2s { groups = "SPI_I2S"; function = "I2S"; }; - pinctrl_spi: spi { + pinctrl_spi: pins-spi { groups = "SPI_I2S"; function = "SPI"; -- 2.51.0

