Commit b756ea2a authored by Chuanhong Guo's avatar Chuanhong Guo
Browse files

ramips: replace pinctrl property names



Upstream pinctrl driver in drivers/staging uses
groups/function/ralink,num-gpios instead of
ralink,group/ralink,function/ralink,nr-gpio
Replace these properties in dts as well as the pinctrl driver in
patches-4.14.
This commit is created using:
sed -i 's/ralink,group/groups/g'
sed -i 's/ralink,function/function/g'
sed -i 's/ralink,nr-gpio/ralink,num-gpios/g'
Signed-off-by: default avatarChuanhong Guo <gch981213@gmail.com>
parent 8f6334eb
......@@ -116,7 +116,7 @@
#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 ];
......@@ -133,7 +133,7 @@
#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 ];
......@@ -152,7 +152,7 @@
#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 ];
......@@ -171,7 +171,7 @@
#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 ];
......@@ -315,113 +315,113 @@
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";
};
};
};
......
......@@ -99,8 +99,8 @@
&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";
};
};
......
......@@ -125,8 +125,8 @@
&state_default {
gpio {
ralink,group = "nd_sd", "spi refclk", "wled";
ralink,function = "gpio";
groups = "nd_sd", "spi refclk", "wled";
function = "gpio";
};
};
......
......@@ -156,8 +156,8 @@
&state_default {
gpio {
ralink,group = "ephy", "pcie", "rgmii1", "wled";
ralink,function = "gpio";
groups = "ephy", "pcie", "rgmii1", "wled";
function = "gpio";
};
};
......
......@@ -133,8 +133,8 @@
&state_default {
gpio {
ralink,group = "ephy", "nd_sd", "pcie", "uartf";
ralink,function = "gpio";
groups = "ephy", "nd_sd", "pcie", "uartf";
function = "gpio";
};
};
......
......@@ -150,8 +150,8 @@
&state_default {
gpio {
ralink,group = "mdio", "rgmii1";
ralink,function = "gpio";
groups = "mdio", "rgmii1";
function = "gpio";
};
};
......
......@@ -127,8 +127,8 @@
&state_default {
gpio {
ralink,group = "i2c", "wled", "uartf";
ralink,function = "gpio";
groups = "i2c", "wled", "uartf";
function = "gpio";
};
};
......
......@@ -144,7 +144,7 @@
&state_default {
default {
ralink,group = "spi refclk", "uartf", "wled";
ralink,function = "gpio";
groups = "spi refclk", "uartf", "wled";
function = "gpio";
};
};
......@@ -132,8 +132,8 @@
&state_default {
gpio {
ralink,group = "i2c", "uartf", "wled", "nd_sd";
ralink,function = "gpio";
groups = "i2c", "uartf", "wled", "nd_sd";
function = "gpio";
};
};
......
......@@ -132,8 +132,8 @@
&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";
};
};
......
......@@ -132,8 +132,8 @@
&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";
};
};
......
......@@ -163,13 +163,13 @@
&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";
};
};
......
......@@ -131,7 +131,7 @@
&state_default {
default {
ralink,group = "i2c", "uartf";
ralink,function = "gpio";
groups = "i2c", "uartf";
function = "gpio";
};
};
......@@ -119,8 +119,8 @@
&state_default {
gpio {
ralink,group = "i2c", "uartf";
ralink,function = "gpio";
groups = "i2c", "uartf";
function = "gpio";
};
};
......
......@@ -131,8 +131,8 @@
&state_default {
default {
ralink,group = "ephy", "uartf", "spi refclk", "wled";
ralink,function = "gpio";
groups = "ephy", "uartf", "spi refclk", "wled";
function = "gpio";
};
};
......
......@@ -129,8 +129,8 @@
&state_default {
default {
ralink,group = "ephy", "uartf", "spi refclk", "wled";
ralink,function = "gpio";
groups = "ephy", "uartf", "spi refclk", "wled";
function = "gpio";
};
};
......
......@@ -184,7 +184,7 @@
&state_default {
default {
ralink,group = "i2c", "wled", "spi refclk", "uartf", "ephy";
ralink,function = "gpio";
groups = "i2c", "wled", "spi refclk", "uartf", "ephy";
function = "gpio";
};
};
......@@ -154,8 +154,8 @@
&state_default {
gpio {
ralink,group = "uartf", "nd_sd", "wled";
ralink,function = "gpio";
groups = "uartf", "nd_sd", "wled";
function = "gpio";
};
};
......
......@@ -132,8 +132,8 @@
&state_default {
gpio {
ralink,group = "i2c", "uartf", "nd_sd";
ralink,function = "gpio";
groups = "i2c", "uartf", "nd_sd";
function = "gpio";
};
};
......
......@@ -117,8 +117,8 @@
&state_default {
gpio {
ralink,group = "i2c", "uartf", "nd_sd";
ralink,function = "gpio";
groups = "i2c", "uartf", "nd_sd";
function = "gpio";
};
};
......
Supports Markdown
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