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/rt3052_jcg_jhr-n825r.dts | |
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/rt3052_jcg_jhr-n825r.dts')
-rw-r--r-- | target/linux/ramips/dts/rt3052_jcg_jhr-n825r.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/rt3052_jcg_jhr-n825r.dts b/target/linux/ramips/dts/rt3052_jcg_jhr-n825r.dts index 936de03913..15eceec661 100644 --- a/target/linux/ramips/dts/rt3052_jcg_jhr-n825r.dts +++ b/target/linux/ramips/dts/rt3052_jcg_jhr-n825r.dts @@ -74,8 +74,8 @@ &state_default { gpio { - ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; - ralink,function = "gpio"; + groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; + function = "gpio"; }; }; |