mips: dts: ralink: mt7621: move pinctrl and sort its children

Move the pinctrl node prior to the nodes that feature unit
addresses.

Sort pinctrl's child nodes into alphabetical order.

Signed-off-by: Justin Swartz <justin.swartz@risingedge.co.za>
Reviewed-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
Justin Swartz 2024-03-16 06:54:36 +02:00 committed by Thomas Bogendoerfer
parent f5a0fc0a95
commit 384f8ef478

View File

@ -57,6 +57,92 @@
regulator-name = "mmc_io";
};
pinctrl: pinctrl {
compatible = "ralink,mt7621-pinctrl";
i2c_pins: i2c0-pins {
pinmux {
groups = "i2c";
function = "i2c";
};
};
mdio_pins: mdio0-pins {
pinmux {
groups = "mdio";
function = "mdio";
};
};
nand_pins: nand0-pins {
sdhci-pinmux {
groups = "sdhci";
function = "nand2";
};
spi-pinmux {
groups = "spi";
function = "nand1";
};
};
pcie_pins: pcie0-pins {
pinmux {
groups = "pcie";
function = "gpio";
};
};
rgmii1_pins: rgmii1-pins {
pinmux {
groups = "rgmii1";
function = "rgmii1";
};
};
rgmii2_pins: rgmii2-pins {
pinmux {
groups = "rgmii2";
function = "rgmii2";
};
};
sdhci_pins: sdhci0-pins {
pinmux {
groups = "sdhci";
function = "sdhci";
};
};
spi_pins: spi0-pins {
pinmux {
groups = "spi";
function = "spi";
};
};
uart1_pins: uart1-pins {
pinmux {
groups = "uart1";
function = "uart1";
};
};
uart2_pins: uart2-pins {
pinmux {
groups = "uart2";
function = "uart2";
};
};
uart3_pins: uart3-pins {
pinmux {
groups = "uart3";
function = "uart3";
};
};
};
palmbus: palmbus@1e000000 {
compatible = "palmbus";
reg = <0x1e000000 0x100000>;
@ -202,92 +288,6 @@
};
};
pinctrl: pinctrl {
compatible = "ralink,mt7621-pinctrl";
i2c_pins: i2c0-pins {
pinmux {
groups = "i2c";
function = "i2c";
};
};
spi_pins: spi0-pins {
pinmux {
groups = "spi";
function = "spi";
};
};
uart1_pins: uart1-pins {
pinmux {
groups = "uart1";
function = "uart1";
};
};
uart2_pins: uart2-pins {
pinmux {
groups = "uart2";
function = "uart2";
};
};
uart3_pins: uart3-pins {
pinmux {
groups = "uart3";
function = "uart3";
};
};
rgmii1_pins: rgmii1-pins {
pinmux {
groups = "rgmii1";
function = "rgmii1";
};
};
rgmii2_pins: rgmii2-pins {
pinmux {
groups = "rgmii2";
function = "rgmii2";
};
};
mdio_pins: mdio0-pins {
pinmux {
groups = "mdio";
function = "mdio";
};
};
pcie_pins: pcie0-pins {
pinmux {
groups = "pcie";
function = "gpio";
};
};
nand_pins: nand0-pins {
spi-pinmux {
groups = "spi";
function = "nand1";
};
sdhci-pinmux {
groups = "sdhci";
function = "nand2";
};
};
sdhci_pins: sdhci0-pins {
pinmux {
groups = "sdhci";
function = "sdhci";
};
};
};
mmc: mmc@1e130000 {
status = "disabled";