summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2025-11-13 12:56:30 +0100
committerTom Rini <[email protected]>2025-11-28 10:20:24 -0600
commit416ceee82f7abe4065446a0b97252c8c1573438c (patch)
treec4cd73147d5db9a776897bb751c84a0e53eae10a
parent9bde0c1da52e9421c84fa622849d85dbb77603e6 (diff)
sandbox: Fix DT compiler pin warnings in sandbox DTs
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]> Reviewed-by: Mattijs Korpershoek <[email protected]> Reviewed-by: Heiko Schocher <[email protected]>
-rw-r--r--arch/sandbox/dts/test.dts8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index bb17a687862..cd53c170171 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -1842,7 +1842,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";
@@ -1866,7 +1866,7 @@
};
};
- pinctrl_i2c: i2c {
+ pinctrl_i2c: pins-i2c {
groups {
groups = "I2C_UART";
function = "I2C";
@@ -1878,12 +1878,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";