Commit 99c22707 authored by NeilBrown's avatar NeilBrown Committed by Greg Kroah-Hartman

staging: mt7621-dts: avoid warnings in pinctrl definitions

The device-tree checking code sees node names  "i2c" and "spi" in the
pinctrl definition and thinks these are defining i2c or spi devices,
and complains that they look wrong.

So add a '0' to the end of each name (much like "uart" and "rgmii"
have numbers at the end) to avoid the warning.
Signed-off-by: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d17f5ff7
...@@ -202,15 +202,15 @@ pinctrl: pinctrl { ...@@ -202,15 +202,15 @@ pinctrl: pinctrl {
state_default: pinctrl0 { state_default: pinctrl0 {
}; };
i2c_pins: i2c { i2c_pins: i2c0 {
i2c { i2c0 {
group = "i2c"; group = "i2c";
function = "i2c"; function = "i2c";
}; };
}; };
spi_pins: spi { spi_pins: spi0 {
spi { spi0 {
group = "spi"; group = "spi";
function = "spi"; function = "spi";
}; };
...@@ -251,21 +251,21 @@ rgmii2 { ...@@ -251,21 +251,21 @@ rgmii2 {
}; };
}; };
mdio_pins: mdio { mdio_pins: mdio0 {
mdio { mdio0 {
group = "mdio"; group = "mdio";
function = "mdio"; function = "mdio";
}; };
}; };
pcie_pins: pcie { pcie_pins: pcie0 {
pcie { pcie0 {
group = "pcie"; group = "pcie";
function = "pcie rst"; function = "pcie rst";
}; };
}; };
nand_pins: nand { nand_pins: nand0 {
spi-nand { spi-nand {
group = "spi"; group = "spi";
function = "nand1"; function = "nand1";
...@@ -277,8 +277,8 @@ sdhci-nand { ...@@ -277,8 +277,8 @@ sdhci-nand {
}; };
}; };
sdhci_pins: sdhci { sdhci_pins: sdhci0 {
sdhci { sdhci0 {
group = "sdhci"; group = "sdhci";
function = "sdhci"; function = "sdhci";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment