#gpio-cells = <2>;
ralink,gpio-base = <0>;
- ralink,nr-gpio = <24>;
+ ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
#gpio-cells = <2>;
ralink,gpio-base = <24>;
- ralink,nr-gpio = <16>;
+ ralink,num-gpios = <16>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
#gpio-cells = <2>;
ralink,gpio-base = <40>;
- ralink,nr-gpio = <32>;
+ ralink,num-gpios = <32>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
#gpio-cells = <2>;
ralink,gpio-base = <72>;
- ralink,nr-gpio = <1>;
+ ralink,num-gpios = <1>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
pcm_i2s_pins: pcm_i2s {
pcm_i2s {
- ralink,group = "uartf";
- ralink,function = "pcm i2s";
+ groups = "uartf";
+ function = "pcm i2s";
};
};
uartf_gpio_pins: uartf_gpio {
uartf_gpio {
- ralink,group = "uartf";
- ralink,function = "gpio uartf";
+ groups = "uartf";
+ function = "gpio uartf";
};
};
gpio_i2s_pins: gpio_i2s {
gpio_i2s {
- ralink,group = "uartf";
- ralink,function = "gpio i2s";
+ groups = "uartf";
+ function = "gpio i2s";
};
};
spi_pins: spi_pins {
spi_pins {
- ralink,group = "spi";
- ralink,function = "spi";
+ groups = "spi";
+ function = "spi";
};
};
spi_cs1: spi1 {
spi1 {
- ralink,group = "spi refclk";
- ralink,function = "spi refclk";
+ groups = "spi refclk";
+ function = "spi refclk";
};
};
i2c_pins: i2c_pins {
i2c_pins {
- ralink,group = "i2c";
- ralink,function = "i2c";
+ groups = "i2c";
+ function = "i2c";
};
};
uartlite_pins: uartlite {
uart {
- ralink,group = "uartlite";
- ralink,function = "uartlite";
+ groups = "uartlite";
+ function = "uartlite";
};
};
mdio_pins: mdio {
mdio {
- ralink,group = "mdio";
- ralink,function = "mdio";
+ groups = "mdio";
+ function = "mdio";
};
};
mdio_refclk_pins: mdio_refclk {
mdio_refclk {
- ralink,group = "mdio";
- ralink,function = "refclk";
+ groups = "mdio";
+ function = "refclk";
};
};
ephy_pins: ephy {
ephy {
- ralink,group = "ephy";
- ralink,function = "ephy";
+ groups = "ephy";
+ function = "ephy";
};
};
wled_pins: wled {
wled {
- ralink,group = "wled";
- ralink,function = "wled";
+ groups = "wled";
+ function = "wled";
};
};
rgmii1_pins: rgmii1 {
rgmii1 {
- ralink,group = "rgmii1";
- ralink,function = "rgmii1";
+ groups = "rgmii1";
+ function = "rgmii1";
};
};
rgmii2_pins: rgmii2 {
rgmii2 {
- ralink,group = "rgmii2";
- ralink,function = "rgmii2";
+ groups = "rgmii2";
+ function = "rgmii2";
};
};
pcie_pins: pcie {
pcie {
- ralink,group = "pcie";
- ralink,function = "pcie rst";
+ groups = "pcie";
+ function = "pcie rst";
};
};
pa_pins: pa {
pa {
- ralink,group = "pa";
- ralink,function = "pa";
+ groups = "pa";
+ function = "pa";
};
};
sdhci_pins: sdhci {
sdhci {
- ralink,group = "nd_sd";
- ralink,function = "sd";
+ groups = "nd_sd";
+ function = "sd";
};
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "nd_sd", "spi refclk", "wled";
- ralink,function = "gpio";
+ groups = "nd_sd", "spi refclk", "wled";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "ephy", "pcie", "rgmii1", "wled";
- ralink,function = "gpio";
+ groups = "ephy", "pcie", "rgmii1", "wled";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "ephy", "nd_sd", "pcie", "uartf";
- ralink,function = "gpio";
+ groups = "ephy", "nd_sd", "pcie", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "mdio", "rgmii1";
- ralink,function = "gpio";
+ groups = "mdio", "rgmii1";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "wled", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "wled", "uartf";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "spi refclk", "uartf", "wled";
- ralink,function = "gpio";
+ groups = "spi refclk", "uartf", "wled";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "wled", "nd_sd";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "wled", "nd_sd";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "wdt", "rgmii1";
- ralink,function = "gpio";
+ groups = "wdt", "rgmii1";
+ function = "gpio";
};
gpio_i2s {
- ralink,group = "uartf";
- ralink,function = "gpio i2s";
+ groups = "uartf";
+ function = "gpio i2s";
};
};
&state_default {
default {
- ralink,group = "i2c", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "uartf";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "ephy", "uartf", "spi refclk", "wled";
- ralink,function = "gpio";
+ groups = "ephy", "uartf", "spi refclk", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "ephy", "uartf", "spi refclk", "wled";
- ralink,function = "gpio";
+ groups = "ephy", "uartf", "spi refclk", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "wled", "spi refclk", "uartf", "ephy";
- ralink,function = "gpio";
+ groups = "i2c", "wled", "spi refclk", "uartf", "ephy";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "uartf", "nd_sd", "wled";
- ralink,function = "gpio";
+ groups = "uartf", "nd_sd", "wled";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "nd_sd";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "nd_sd";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "nd_sd";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "nd_sd";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "nd_sd", "rgmii2";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "nd_sd", "rgmii2";
+ function = "gpio";
};
};
&pinctrl {
phy_reset_pins: phy-reset {
gpio {
- ralink,group = "spi refclk";
- ralink,function = "gpio";
+ groups = "spi refclk";
+ function = "gpio";
};
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "nd_sd", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "nd_sd", "wled";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "uartf";
+ function = "gpio";
};
nd_sd {
- ralink,group = "nd_sd";
- ralink,function = "sd";
+ groups = "nd_sd";
+ function = "sd";
};
spi_cs {
- ralink,group = "spi refclk";
- ralink,function = "spi refclk";
+ groups = "spi refclk";
+ function = "spi refclk";
};
};
&state_default {
gpio {
- ralink,group = "wled","ephy","uartf","i2c";
- ralink,function = "gpio";
+ groups = "wled","ephy","uartf","i2c";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "wled","ephy","i2c";
- ralink,function = "gpio";
+ groups = "wled","ephy","i2c";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "wled","ephy","uartf";
- ralink,function = "gpio";
+ groups = "wled","ephy","uartf";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "uartf", "pa", "spi refclk",
+ groups = "i2c", "uartf", "pa", "spi refclk",
"wled";
- ralink,function = "gpio";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "uartf", "wled";
- ralink,function = "gpio";
+ groups = "uartf", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "uartf", "spi refclk", "ephy";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "spi refclk", "ephy";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "mdio";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "mdio";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "uartf", "spi refclk";
- ralink,function = "gpio";
+ groups = "uartf", "spi refclk";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "uartf", "ephy", "wled";
- ralink,function = "gpio";
+ groups = "uartf", "ephy", "wled";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "uartf", "i2c";
- ralink,function = "gpio";
+ groups = "uartf", "i2c";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "uartf", "wled", "nd_sd";
- ralink,function = "gpio";
+ groups = "uartf", "wled", "nd_sd";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "uartf";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "wled", "i2c", "wdt", "uartf";
- ralink,function = "gpio";
+ groups = "wled", "i2c", "wdt", "uartf";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "uartf", "spi refclk";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "spi refclk";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "rgmii2", "spi refclk";
- ralink,function = "gpio";
+ groups = "i2c", "rgmii2", "spi refclk";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "spi refclk", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "spi refclk", "wled";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "pa";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "pa";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi refclk", "rgmii1";
- ralink,function = "gpio";
+ groups = "spi refclk", "rgmii1";
+ function = "gpio";
};
wdt {
- ralink,group = "wdt";
- ralink,function = "wdt refclk";
+ groups = "wdt";
+ function = "wdt refclk";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "spi refclk", "rgmii1";
- ralink,function = "gpio";
+ groups = "i2c", "spi refclk", "rgmii1";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "spi refclk", "rgmii1", "nd_sd";
- ralink,function = "gpio";
+ groups = "i2c", "spi refclk", "rgmii1", "nd_sd";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "spi refclk", "rgmii1", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "spi refclk", "rgmii1", "wled";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "uartf", "nd_sd", "rgmii2", "wled";
- ralink,function = "gpio";
+ groups = "uartf", "nd_sd", "rgmii2", "wled";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "spi";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "spi";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "wled", "spi refclk", "pa";
+ function = "gpio";
};
/*
* means during pinmux driver load.
*/
gpio_sd {
- ralink,group = "nd_sd";
- ralink,function = "sd";
+ groups = "nd_sd";
+ function = "sd";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "rgmii2", "spi", "ephy";
- ralink,function = "gpio";
+ groups = "i2c", "rgmii2", "spi", "ephy";
+ function = "gpio";
};
uartf_gpio {
- ralink,group = "uartf";
- ralink,function = "gpio uartf";
+ groups = "uartf";
+ function = "gpio uartf";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "wled", "ephy", "spi refclk";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "wled", "ephy", "spi refclk";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "wled", "ephy", "spi refclk", "wdt";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "wled", "ephy", "spi refclk", "wdt";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "ephy", "spi refclk", "mdio", "wdt", "nd_sd";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "ephy", "spi refclk", "mdio", "wdt", "nd_sd";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "ephy", "wled", "rgmii1", "spi refclk";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "ephy", "wled", "rgmii1", "spi refclk";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "wled", "rgmii1";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "wled", "rgmii1";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "rgmii1";
- ralink,function = "gpio";
+ groups = "i2c", "rgmii1";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "rgmii1", "ephy", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "rgmii1", "ephy", "wled";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi refclk", "rgmii1";
- ralink,function = "gpio";
+ groups = "spi refclk", "rgmii1";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "wled", "i2c", "uartf", "wdt";
- ralink,function = "gpio";
+ groups = "wled", "i2c", "uartf", "wdt";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "uartf", "spi refclk", "ephy", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "spi refclk", "ephy", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "uartf", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "wled", "spi refclk", "pa";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "uartf";
+ function = "gpio";
};
};
#gpio-cells = <2>;
ralink,gpio-base = <0>;
- ralink,nr-gpio = <24>;
+ ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
#gpio-cells = <2>;
ralink,gpio-base = <24>;
- ralink,nr-gpio = <16>;
+ ralink,num-gpios = <16>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
#gpio-cells = <2>;
ralink,gpio-base = <40>;
- ralink,nr-gpio = <32>;
+ ralink,num-gpios = <32>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
#gpio-cells = <2>;
ralink,gpio-base = <72>;
- ralink,nr-gpio = <1>;
+ ralink,num-gpios = <1>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
ephy_pins: ephy {
ephy {
- ralink,group = "ephy";
- ralink,function = "ephy";
+ groups = "ephy";
+ function = "ephy";
};
};
spi_pins: spi_pins {
spi_pins {
- ralink,group = "spi";
- ralink,function = "spi";
+ groups = "spi";
+ function = "spi";
};
};
spi_cs1: spi1 {
spi1 {
- ralink,group = "spi refclk";
- ralink,function = "spi refclk";
+ groups = "spi refclk";
+ function = "spi refclk";
};
};
i2c_pins: i2c_pins {
i2c_pins {
- ralink,group = "i2c";
- ralink,function = "i2c";
+ groups = "i2c";
+ function = "i2c";
};
};
uartlite_pins: uartlite {
uart {
- ralink,group = "uartlite";
- ralink,function = "uartlite";
+ groups = "uartlite";
+ function = "uartlite";
};
};
};
&state_default {
default {
- ralink,group = "ephy", "wled", "i2c", "wdt", "pa", "spi refclk";
- ralink,function = "gpio";
+ groups = "ephy", "wled", "i2c", "wdt", "pa", "spi refclk";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "ephy", "wled", "i2c";
- ralink,function = "gpio";
+ groups = "ephy", "wled", "i2c";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "ephy";
- ralink,function = "gpio";
+ groups = "i2c", "ephy";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "ephy", "wled", "spi refclk", "i2c";
- ralink,function = "gpio";
+ groups = "ephy", "wled", "spi refclk", "i2c";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "spi refclk", "i2c", "ephy", "wled";
- ralink,function = "gpio";
+ groups = "spi refclk", "i2c", "ephy", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "spi refclk", "i2c", "ephy", "wled";
- ralink,function = "gpio";
+ groups = "spi refclk", "i2c", "ephy", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "ephy", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "ephy", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "ephy", "wled";
- ralink,function = "gpio";
+ groups = "ephy", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "ephy", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "ephy", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "ephy", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "ephy", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "ephy", "wled", "pa", "i2c", "wdt", "uartf";
- ralink,function = "gpio";
+ groups = "ephy", "wled", "pa", "i2c", "wdt", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "wled", "ephy";
- ralink,function = "gpio";
+ groups = "wled", "ephy";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c";
- ralink,function = "gpio";
+ groups = "i2c";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "ephy", "wled", "pa", "i2c", "wdt", "uartf", "spi refclk";
- ralink,function = "gpio";
+ groups = "ephy", "wled", "pa", "i2c", "wdt", "uartf", "spi refclk";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "spi refclk", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "spi refclk", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "spi refclk", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "spi refclk", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "spi refclk", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "spi refclk", "wled";
+ function = "gpio";
};
};
&state_default {
default {
- ralink,group = "i2c", "uartf", "spi refclk", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "uartf", "spi refclk", "wled";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "wdt", "pa", "spi refclk", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "wdt", "pa", "spi refclk", "wled";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "wdt", "pa", "spi refclk", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "wdt", "pa", "spi refclk", "wled";
+ function = "gpio";
};
};
spi_pins: spi_pins {
spi_pins {
- ralink,group = "spi";
- ralink,function = "spi";
+ groups = "spi";
+ function = "spi";
};
};
spi_cs1_pins: spi_cs1 {
spi_cs1 {
- ralink,group = "spi cs1";
- ralink,function = "spi cs1";
+ groups = "spi cs1";
+ function = "spi cs1";
};
};
i2c_pins: i2c_pins {
i2c_pins {
- ralink,group = "i2c";
- ralink,function = "i2c";
+ groups = "i2c";
+ function = "i2c";
};
};
i2s_pins: i2s {
i2s {
- ralink,group = "i2s";
- ralink,function = "i2s";
+ groups = "i2s";
+ function = "i2s";
};
};
uart0_pins: uartlite {
uartlite {
- ralink,group = "uart0";
- ralink,function = "uart0";
+ groups = "uart0";
+ function = "uart0";
};
};
uart1_pins: uart1 {
uart1 {
- ralink,group = "uart1";
- ralink,function = "uart1";
+ groups = "uart1";
+ function = "uart1";
};
};
uart2_pins: uart2 {
uart2 {
- ralink,group = "uart2";
- ralink,function = "uart2";
+ groups = "uart2";
+ function = "uart2";
};
};
sdxc_pins: sdxc {
sdxc {
- ralink,group = "sdmode";
- ralink,function = "sdxc";
+ groups = "sdmode";
+ function = "sdxc";
};
};
pwm0_pins: pwm0 {
pwm0 {
- ralink,group = "pwm0";
- ralink,function = "pwm0";
+ groups = "pwm0";
+ function = "pwm0";
};
};
pwm1_pins: pwm1 {
pwm1 {
- ralink,group = "pwm1";
- ralink,function = "pwm1";
+ groups = "pwm1";
+ function = "pwm1";
};
};
pcm_i2s_pins: pcm_i2s {
pcm_i2s {
- ralink,group = "i2s";
- ralink,function = "pcm";
+ groups = "i2s";
+ function = "pcm";
};
};
refclk_pins: refclk {
refclk {
- ralink,group = "refclk";
- ralink,function = "refclk";
+ groups = "refclk";
+ function = "refclk";
};
};
};
&state_default {
gpio {
- ralink,group = "p0led_an", "wdt", "wled_an";
- ralink,function = "gpio";
+ groups = "p0led_an", "wdt", "wled_an";
+ function = "gpio";
};
ext_lna {
- ralink,group = "uart1";
- ralink,function = "sw_r";
+ groups = "uart1";
+ function = "sw_r";
};
ext_pa {
- ralink,group = "i2s";
- ralink,function = "antenna";
+ groups = "i2s";
+ function = "antenna";
};
};
&state_default {
gpio {
- ralink,group = "uart1", "wled_an", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "wdt", "refclk", "gpio", "i2s";
- ralink,function = "gpio";
+ groups = "uart1", "wled_an", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "wdt", "refclk", "gpio", "i2s";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2s", "refclk", "wdt", "p4led_an",
+ groups = "i2s", "refclk", "wdt", "p4led_an",
"p3led_an", "p2led_an", "wled_an";
- ralink,function = "gpio";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "gpio";
- ralink,function = "gpio";
+ groups = "gpio";
+ function = "gpio";
};
i2c {
- ralink,group = "i2c";
- ralink,function = "gpio";
+ groups = "i2c";
+ function = "gpio";
};
i2s {
- ralink,group = "i2s";
- ralink,function = "gpio";
+ groups = "i2s";
+ function = "gpio";
};
spis {
- ralink,group = "spis";
- ralink,function = "gpio";
+ groups = "spis";
+ function = "gpio";
};
wdt {
- ralink,group = "wdt";
- ralink,function = "gpio";
+ groups = "wdt";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "wdt", "uart1";
- ralink,function = "gpio";
+ groups = "wdt", "uart1";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s";
- ralink,function = "gpio";
+ groups = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "wdt", "wled_an", "p1led_an";
- ralink,function = "gpio";
+ groups = "wdt", "wled_an", "p1led_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c";
- ralink,function = "gpio";
+ groups = "i2c";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "refclk", "wdt", "wled_an";
- ralink,function = "gpio";
+ groups = "i2c", "refclk", "wdt", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "refclk", "wdt", "p2led_an", "p3led_an", "wled_an";
- ralink,function = "gpio";
+ groups = "i2c", "refclk", "wdt", "p2led_an", "p3led_an", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "refclk", "wdt", "wled_an";
- ralink,function = "gpio";
+ groups = "refclk", "wdt", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "uart1", "wdt";
- ralink,function = "gpio";
+ groups = "uart1", "wdt";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uart1", "wdt";
- ralink,function = "gpio";
+ groups = "i2c", "uart1", "wdt";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "gpio";
- ralink,function = "gpio";
+ groups = "gpio";
+ function = "gpio";
};
refclk {
- ralink,group = "refclk";
- ralink,function = "gpio";
+ groups = "refclk";
+ function = "gpio";
};
i2s {
- ralink,group = "i2s";
- ralink,function = "gpio";
+ groups = "i2s";
+ function = "gpio";
};
spis {
- ralink,group = "spis";
- ralink,function = "gpio";
+ groups = "spis";
+ function = "gpio";
};
wled_an {
- ralink,group = "wled_an";
- ralink,function = "gpio";
+ groups = "wled_an";
+ function = "gpio";
};
wdt {
- ralink,group = "wdt";
- ralink,function = "gpio";
+ groups = "wdt";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c";
- ralink,function = "gpio";
+ groups = "i2c";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "p0led_an", "p1led_an", "p2led_an",
+ groups = "p0led_an", "p1led_an", "p2led_an",
"p3led_an", "p4led_an", "wdt",
"wled_an", "uart1";
- ralink,function = "gpio";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "gpio";
- ralink,function = "gpio";
+ groups = "gpio";
+ function = "gpio";
};
perst {
- ralink,group = "perst";
- ralink,function = "gpio";
+ groups = "perst";
+ function = "gpio";
};
refclk {
- ralink,group = "refclk";
- ralink,function = "gpio";
+ groups = "refclk";
+ function = "gpio";
};
i2s {
- ralink,group = "i2s";
- ralink,function = "gpio";
+ groups = "i2s";
+ function = "gpio";
};
spis {
- ralink,group = "spis";
- ralink,function = "gpio";
+ groups = "spis";
+ function = "gpio";
};
wled_kn {
- ralink,group = "wled_kn";
- ralink,function = "gpio";
+ groups = "wled_kn";
+ function = "gpio";
};
wled_an {
- ralink,group = "wled_an";
- ralink,function = "gpio";
+ groups = "wled_an";
+ function = "gpio";
};
wdt {
- ralink,group = "wdt";
- ralink,function = "gpio";
+ groups = "wdt";
+ function = "gpio";
};
pwm0 {
- ralink,group = "pwm0";
- ralink,function = "gpio";
+ groups = "pwm0";
+ function = "gpio";
};
pwm1 {
- ralink,group = "pwm1";
- ralink,function = "gpio";
+ groups = "pwm1";
+ function = "gpio";
};
};
&state_default {
wled_an {
- ralink,group = "wled_an";
- ralink,function = "gpio";
+ groups = "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "wdt", "refclk", "wled_an";
- ralink,function = "gpio";
+ groups = "wdt", "refclk", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "uart1", "p0led_an", "wdt";
- ralink,function = "gpio";
+ groups = "uart1", "p0led_an", "wdt";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "gpio", "i2c", "i2s", "refclk", "uart1", "wdt", "wled_an";
- ralink,function = "gpio";
+ groups = "gpio", "i2c", "i2s", "refclk", "uart1", "wdt", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2s", "gpio", "refclk", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "wdt";
- ralink,function = "gpio";
+ groups = "i2s", "gpio", "refclk", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "wdt";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2s", "gpio", "refclk", "p0led_an", "p1led_an",
+ groups = "i2s", "gpio", "refclk", "p0led_an", "p1led_an",
"p2led_an", "p3led_an", "p4led_an", "wdt";
- ralink,function = "gpio";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "gpio", "p0led_an", "p1led_an", "p2led_an",
+ groups = "i2c", "gpio", "p0led_an", "p1led_an", "p2led_an",
"p3led_an", "p4led_an", "wdt", "wled_an";
- ralink,function = "gpio";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "p0led_an", "p1led_an", "p2led_an",
+ groups = "i2c", "p0led_an", "p1led_an", "p2led_an",
"p3led_an", "p4led_an", "wdt", "wled_an";
- ralink,function = "gpio";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "p4led_an", "p3led_an", "p2led_an", "p1led_an",
+ groups = "p4led_an", "p3led_an", "p2led_an", "p1led_an",
"p0led_an", "wled_an", "i2c", "wdt", "refclk";
- ralink,function = "gpio";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "refclk", "wdt", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an";
- ralink,function = "gpio";
+ groups = "refclk", "wdt", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2s", "refclk", "wdt", "p2led_an", "p1led_an", "p0led_an", "wled_an";
- ralink,function = "gpio";
+ groups = "i2s", "refclk", "wdt", "p2led_an", "p1led_an", "p0led_an", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "i2s", "p2led_an", "refclk", "uart1", "wdt", "wled_an";
- ralink,function = "gpio";
+ groups = "i2c", "i2s", "p2led_an", "refclk", "uart1", "wdt", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "p0led_an", "p1led_an", "perst", "refclk",
+ groups = "p0led_an", "p1led_an", "perst", "refclk",
"uart1", "wdt", "wled_an";
- ralink,function = "gpio";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "refclk", "wdt";
- ralink,function = "gpio";
+ groups = "refclk", "wdt";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "p0led_an", "p2led_an", "perst", "refclk", "wdt", "wled_an";
- ralink,function = "gpio";
+ groups = "p0led_an", "p2led_an", "perst", "refclk", "wdt", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "p0led_an", "p2led_an", "perst";
- ralink,function = "gpio";
+ groups = "p0led_an", "p2led_an", "perst";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "gpio", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "perst", "refclk", "uart1", "wdt", "wled_an";
- ralink,function = "gpio";
+ groups = "gpio", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "perst", "refclk", "uart1", "wdt", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "p4led_an", "p3led_an", "p2led_an", "p1led_an", "p0led_an", "wdt";
- ralink,function = "gpio";
+ groups = "p4led_an", "p3led_an", "p2led_an", "p1led_an", "p0led_an", "wdt";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "i2s", "p2led_an", "refclk", "uart1", "wdt", "wled_an";
- ralink,function = "gpio";
+ groups = "i2c", "i2s", "p2led_an", "refclk", "uart1", "wdt", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "i2s", "p0led_an", "p2led_an", "p4led_an", "uart1", "wdt", "wled_an";
- ralink,function = "gpio";
+ groups = "i2c", "i2s", "p0led_an", "p2led_an", "p4led_an", "uart1", "wdt", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "gpio", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "refclk", "wdt", "wled_an";
- ralink,function = "gpio";
+ groups = "gpio", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "refclk", "wdt", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "wled_an", "refclk", "wdt";
- ralink,function = "gpio";
+ groups = "wled_an", "refclk", "wdt";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "wled_an", "p0led_an", "wdt", "refclk";
- ralink,function = "gpio";
+ groups = "i2c", "wled_an", "p0led_an", "wdt", "refclk";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "wled_an", "gpio", "refclk", "wdt", "p0led_an";
- ralink,function = "gpio";
+ groups = "i2c", "wled_an", "gpio", "refclk", "wdt", "p0led_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "gpio";
- ralink,function = "gpio";
+ groups = "gpio";
+ function = "gpio";
};
perst {
- ralink,group = "perst";
- ralink,function = "gpio";
+ groups = "perst";
+ function = "gpio";
};
refclk {
- ralink,group = "refclk";
- ralink,function = "gpio";
+ groups = "refclk";
+ function = "gpio";
};
i2s {
- ralink,group = "i2s";
- ralink,function = "gpio";
+ groups = "i2s";
+ function = "gpio";
};
spis {
- ralink,group = "spis";
- ralink,function = "gpio";
+ groups = "spis";
+ function = "gpio";
};
wled_kn {
- ralink,group = "wled_kn";
- ralink,function = "gpio";
+ groups = "wled_kn";
+ function = "gpio";
};
wled_an {
- ralink,group = "wled_an";
- ralink,function = "wled_an";
+ groups = "wled_an";
+ function = "wled_an";
};
wdt {
- ralink,group = "wdt";
- ralink,function = "gpio";
+ groups = "wdt";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "gpio";
- ralink,function = "gpio";
+ groups = "gpio";
+ function = "gpio";
};
i2s {
- ralink,group = "i2s";
- ralink,function = "gpio";
+ groups = "i2s";
+ function = "gpio";
};
wdt {
- ralink,group = "wdt";
- ralink,function = "gpio";
+ groups = "wdt";
+ function = "gpio";
};
i2c {
- ralink,group = "i2c";
- ralink,function = "gpio";
+ groups = "i2c";
+ function = "gpio";
};
refclk {
- ralink,group = "refclk";
- ralink,function = "gpio";
+ groups = "refclk";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "gpio";
- ralink,function = "gpio";
+ groups = "i2c", "gpio";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "gpio";
- ralink,function = "gpio";
+ groups = "gpio";
+ function = "gpio";
};
};
&pinctrl {
led_pins: led {
gpio {
- ralink,group = "wled_an";
- ralink,function = "gpio";
+ groups = "wled_an";
+ function = "gpio";
};
};
};
&state_default {
gpio {
- ralink,group = "gpio", "wdt", "wled_an";
- ralink,function = "gpio";
+ groups = "gpio", "wdt", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "gpio", "refclk", "wdt", "wled_an";
- ralink,function = "gpio";
+ groups = "gpio", "refclk", "wdt", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "p0led_an", "p1led_an", "p4led_an", "wdt", "wled_an";
- ralink,function = "gpio";
+ groups = "p0led_an", "p1led_an", "p4led_an", "wdt", "wled_an";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "gpio", "i2s", "refclk", "spi cs1", "uart1", "wled_an";
- ralink,function = "gpio";
+ groups = "gpio", "i2s", "refclk", "spi cs1", "uart1", "wled_an";
+ function = "gpio";
};
};
#gpio-cells = <2>;
ralink,gpio-base = <0>;
- ralink,nr-gpio = <24>;
+ ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
#gpio-cells = <2>;
ralink,gpio-base = <24>;
- ralink,nr-gpio = <16>;
+ ralink,num-gpios = <16>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
#gpio-cells = <2>;
ralink,gpio-base = <40>;
- ralink,nr-gpio = <32>;
+ ralink,num-gpios = <32>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
state_default: pinctrl0 {
sdram {
- ralink,group = "sdram";
- ralink,function = "sdram";
+ groups = "sdram";
+ function = "sdram";
};
};
i2c_pins: i2c_pins {
i2c_pins {
- ralink,group = "i2c";
- ralink,function = "i2c";
+ groups = "i2c";
+ function = "i2c";
};
};
spi_pins: spi_pins {
spi_pins {
- ralink,group = "spi";
- ralink,function = "spi";
+ groups = "spi";
+ function = "spi";
};
};
uartlite_pins: uartlite {
uart {
- ralink,group = "uartlite";
- ralink,function = "uartlite";
+ groups = "uartlite";
+ function = "uartlite";
};
};
};
&state_default {
gpio {
- ralink,group = "i2c", "spi", "uartlite";
- ralink,function = "gpio";
+ groups = "i2c", "spi", "uartlite";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "spi", "uartlite";
- ralink,function = "gpio";
+ groups = "i2c", "spi", "uartlite";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartlite", "mdio";
- ralink,function = "gpio";
+ groups = "i2c", "uartlite", "mdio";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "mdio", "uartlite";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "mdio", "uartlite";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartlite", "mdio";
- ralink,function = "gpio";
+ groups = "i2c", "uartlite", "mdio";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartlite", "pci";
- ralink,function = "gpio";
+ groups = "i2c", "uartlite", "pci";
+ function = "gpio";
};
};
#gpio-cells = <2>;
ralink,gpio-base = <0>;
- ralink,nr-gpio = <24>;
+ ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
#gpio-cells = <2>;
ralink,gpio-base = <24>;
- ralink,nr-gpio = <16>;
+ ralink,num-gpios = <16>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
#gpio-cells = <2>;
ralink,gpio-base = <40>;
- ralink,nr-gpio = <12>;
+ ralink,num-gpios = <12>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
state_default: pinctrl0 {
sdram {
- ralink,group = "sdram";
- ralink,function = "sdram";
+ groups = "sdram";
+ function = "sdram";
};
};
i2c_pins: i2c_pins {
i2c_pins {
- ralink,group = "i2c";
- ralink,function = "i2c";
+ groups = "i2c";
+ function = "i2c";
};
};
spi_pins: spi_pins {
spi_pins {
- ralink,group = "spi";
- ralink,function = "spi";
+ groups = "spi";
+ function = "spi";
};
};
rgmii_pins: rgmii {
rgmii {
- ralink,group = "rgmii";
- ralink,function = "rgmii";
+ groups = "rgmii";
+ function = "rgmii";
};
};
uartlite_pins: uartlite {
uart {
- ralink,group = "uartlite";
- ralink,function = "uartlite";
+ groups = "uartlite";
+ function = "uartlite";
};
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "uartf";
- ralink,function = "gpio";
+ groups = "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "uartf";
- ralink,function = "gpio";
+ groups = "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
#gpio-cells = <2>;
ralink,gpio-base = <0>;
- ralink,nr-gpio = <24>;
+ ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
#gpio-cells = <2>;
ralink,gpio-base = <24>;
- ralink,nr-gpio = <16>;
+ ralink,num-gpios = <16>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
#gpio-cells = <2>;
ralink,gpio-base = <40>;
- ralink,nr-gpio = <6>;
+ ralink,num-gpios = <6>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
i2c_pins: i2c_pins {
i2c_pins {
- ralink,group = "i2c";
- ralink,function = "i2c";
+ groups = "i2c";
+ function = "i2c";
};
};
mdio_pins: mdio {
mdio {
- ralink,group = "mdio";
- ralink,function = "mdio";
+ groups = "mdio";
+ function = "mdio";
};
};
rgmii_pins: rgmii {
rgmii {
- ralink,group = "rgmii";
- ralink,function = "rgmii";
+ groups = "rgmii";
+ function = "rgmii";
};
};
spi_pins: spi_pins {
spi_pins {
- ralink,group = "spi";
- ralink,function = "spi";
+ groups = "spi";
+ function = "spi";
};
};
spi_cs1: spi1 {
spi1 {
- ralink,group = "spi_cs1";
- ralink,function = "spi_cs1";
+ groups = "spi_cs1";
+ function = "spi_cs1";
};
};
uartlite_pins: uartlite {
uart {
- ralink,group = "uartlite";
- ralink,function = "uartlite";
+ groups = "uartlite";
+ function = "uartlite";
};
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "spi";
- ralink,function = "gpio";
+ groups = "i2c", "spi";
+ function = "gpio";
};
};
#gpio-cells = <2>;
ralink,gpio-base = <0>;
- ralink,nr-gpio = <24>;
+ ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
#gpio-cells = <2>;
ralink,gpio-base = <24>;
- ralink,nr-gpio = <16>;
+ ralink,num-gpios = <16>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
#gpio-cells = <2>;
ralink,gpio-base = <40>;
- ralink,nr-gpio = <32>;
+ ralink,num-gpios = <32>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
#gpio-cells = <2>;
ralink,gpio-base = <72>;
- ralink,nr-gpio = <24>;
+ ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
i2c_pins: i2c_pins {
i2c_pins {
- ralink,group = "i2c";
- ralink,function = "i2c";
+ groups = "i2c";
+ function = "i2c";
};
};
spi_pins: spi_pins {
spi_pins {
- ralink,group = "spi";
- ralink,function = "spi";
+ groups = "spi";
+ function = "spi";
};
};
spi_cs1: spi1 {
spi1 {
- ralink,group = "pci";
- ralink,function = "pci-func";
+ groups = "pci";
+ function = "pci-func";
};
};
uartlite_pins: uartlite {
uart {
- ralink,group = "uartlite";
- ralink,function = "uartlite";
+ groups = "uartlite";
+ function = "uartlite";
};
};
pci_pins: pci {
pci {
- ralink,group = "pci";
- ralink,function = "pci-fnc";
+ groups = "pci";
+ function = "pci-fnc";
};
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "spi", "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "spi", "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
#gpio-cells = <2>;
ralink,gpio-base = <0>;
- ralink,nr-gpio = <22>;
+ ralink,num-gpios = <22>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
#gpio-cells = <2>;
ralink,gpio-base = <22>;
- ralink,nr-gpio = <6>;
+ ralink,num-gpios = <6>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
i2c_pins: i2c_pins {
i2c_pins {
- ralink,group = "i2c";
- ralink,function = "i2c";
+ groups = "i2c";
+ function = "i2c";
};
};
spi_pins: spi_pins {
spi_pins {
- ralink,group = "spi";
- ralink,function = "spi";
+ groups = "spi";
+ function = "spi";
};
};
phy_led_pins: phy_led {
phy_led {
- ralink,group = "led";
- ralink,function = "led";
+ groups = "led";
+ function = "led";
};
};
uartlite_pins: uartlite {
uart {
- ralink,group = "uartlite";
- ralink,function = "uartlite";
+ groups = "uartlite";
+ function = "uartlite";
};
};
uartf_pins: uartf {
uartf {
- ralink,group = "uartf";
- ralink,function = "uartf";
+ groups = "uartf";
+ function = "uartf";
};
};
spi_cs1: spi1 {
spi1 {
- ralink,group = "spi_cs1";
- ralink,function = "spi_cs1";
+ groups = "spi_cs1";
+ function = "spi_cs1";
};
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag";
- ralink,function = "gpio";
+ groups = "i2c", "jtag";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf", "led";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf", "led";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf", "led";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf", "led";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag";
- ralink,function = "gpio";
+ groups = "i2c", "jtag";
+ function = "gpio";
};
uartf_gpio {
- ralink,group = "uartf";
- ralink,function = "gpio uartf";
+ groups = "uartf";
+ function = "gpio uartf";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "jtag", "led", "spi_cs1";
- ralink,function = "gpio";
+ groups = "jtag", "led", "spi_cs1";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "jtag";
- ralink,function = "gpio";
+ groups = "jtag";
+ function = "gpio";
};
uartf_gpio {
- ralink,group = "uartf";
- ralink,function = "gpio uartf";
+ groups = "uartf";
+ function = "gpio uartf";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "jtag", "uartf", "led";
- ralink,function = "gpio";
+ groups = "jtag", "uartf", "led";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf", "led";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf", "led";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf", "led";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf", "led";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "jtag", "uartf", "led";
- ralink,function = "gpio";
+ groups = "jtag", "uartf", "led";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag" ;
- ralink,function = "gpio";
+ groups = "i2c", "jtag" ;
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "jtag", "uartf";
+ function = "gpio";
};
};
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
+ struct pinctrl_map **map)
+{
+ const char *function;
-+ int func = of_property_read_string(np, "ralink,function", &function);
-+ int grps = of_property_count_strings(np, "ralink,group");
++ int func = of_property_read_string(np, "function", &function);
++ int grps = of_property_count_strings(np, "groups");
+ int i;
+
+ if (func || !grps)
+ for (i = 0; i < grps; i++) {
+ const char *group;
+
-+ of_property_read_string_index(np, "ralink,group", i, &group);
++ of_property_read_string_index(np, "groups", i, &group);
+
+ (*map)->type = PIN_MAP_TYPE_MUX_GROUP;
+ (*map)->name = function;
+ struct device_node *np;
+
+ for_each_child_of_node(np_config, np) {
-+ int ret = of_property_count_strings(np, "ralink,group");
++ int ret = of_property_count_strings(np, "groups");
+
+ if (ret >= 0)
+ max_maps += ret;
+ if (!of_device_is_available(np))
+ continue;
+
-+ ngpio = of_get_property(np, "ralink,nr-gpio", NULL);
++ ngpio = of_get_property(np, "ralink,num-gpios", NULL);
+ gpiobase = of_get_property(np, "ralink,gpio-base", NULL);
+ if (!ngpio || !gpiobase) {
+ dev_err(&pdev->dev, "failed to load chip info\n");
+- reg : Physical base address and length of the controller's registers
+- interrupt-parent: phandle to the INTC device node
+- interrupts : Specify the INTC interrupt number
-+- ralink,nr-gpio : Specify the number of GPIOs
++- ralink,num-gpios : Specify the number of GPIOs
+- ralink,register-map : The register layout depends on the GPIO bank and actual
+ SoC type. Register offsets need to be in this order.
+ [ INT, EDGE, RENA, FENA, DATA, DIR, POL, SET, RESET, TOGGLE ]
+ interrupts = <6>;
+
+ ralink,gpio-base = <0>;
-+ ralink,nr-gpio = <24>;
++ ralink,num-gpios = <24>;
+ ralink,register-map = [ 00 04 08 0c
+ 20 24 28 2c
+ 30 34 ];
+ return -EINVAL;
+ }
+
-+ ngpio = of_get_property(np, "ralink,nr-gpio", NULL);
++ ngpio = of_get_property(np, "ralink,num-gpios", NULL);
+ if (!ngpio) {
+ dev_err(&pdev->dev, "failed to read number of pins\n");
+ return -EINVAL;
+- reg : Physical base address and length of the controller's registers
+- interrupt-parent: phandle to the INTC device node
+- interrupts : Specify the INTC interrupt number
-+- ralink,nr-gpio : Specify the number of GPIOs
++- ralink,num-gpios : Specify the number of GPIOs
+- ralink,register-map : The register layout depends on the GPIO bank and actual
+ SoC type. Register offsets need to be in this order.
+ [ INT, EDGE, RENA, FENA, DATA, DIR, POL, SET, RESET, TOGGLE ]
+ interrupts = <6>;
+
+ ralink,gpio-base = <0>;
-+ ralink,nr-gpio = <24>;
++ ralink,num-gpios = <24>;
+ ralink,register-map = [ 00 04 08 0c
+ 20 24 28 2c
+ 30 34 ];
+ return -EINVAL;
+ }
+
-+ ngpio = of_get_property(np, "ralink,nr-gpio", NULL);
++ ngpio = of_get_property(np, "ralink,num-gpios", NULL);
+ if (!ngpio) {
+ dev_err(&pdev->dev, "failed to read number of pins\n");
+ return -EINVAL;