diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2020-04-12 20:58:29 +0800 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2020-04-12 22:29:17 +0800 |
commit | b756ea2a909a36d7e931b96edf0d15539421c733 (patch) | |
tree | fcdf71be66cce8bb5a588d1fd972cf4d77c3595f /target/linux/ramips/dts/mt7628an.dtsi | |
parent | 8f6334eb947a2594da8a2b58cf7afdabb83fb5a0 (diff) | |
download | upstream-b756ea2a909a36d7e931b96edf0d15539421c733.tar.gz upstream-b756ea2a909a36d7e931b96edf0d15539421c733.tar.bz2 upstream-b756ea2a909a36d7e931b96edf0d15539421c733.zip |
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: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7628an.dtsi')
-rw-r--r-- | target/linux/ramips/dts/mt7628an.dtsi | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index acbab706b5..097fc3b4a1 100644 --- a/target/linux/ramips/dts/mt7628an.dtsi +++ b/target/linux/ramips/dts/mt7628an.dtsi @@ -266,85 +266,85 @@ 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"; }; }; }; |