[PATCH 2/2] sandbox: Fix DT compiler pin warnings in sandbox DTs
Marek Vasut
marek.vasut+renesas at mailbox.org
Thu Nov 13 12:56:30 CET 2025
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 <marek.vasut+renesas at mailbox.org>
---
Cc: Christian Marangi <ansuelsmth at gmail.com>
Cc: Dinesh Maniyam <dinesh.maniyam at altera.com>
Cc: Guillaume La Roque <glaroque at baylibre.com>
Cc: Heiko Schocher <hs at nabladev.com>
Cc: Mattijs Korpershoek <mkorpershoek at kernel.org>
Cc: Simon Glass <sjg at chromium.org>
Cc: Svyatoslav Ryhel <clamor95 at gmail.com>
Cc: Tom Rini <trini at konsulko.com>
Cc: u-boot at lists.denx.de
---
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
More information about the U-Boot
mailing list