aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-22 21:26:01 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-23 02:24:55 +0100
commite4ce3109f28712dad3b3db27938a7b853346d9b6 (patch)
tree5bb59404fbefa9802792d03546508d48b5fcb5c7 /target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi
parenta22b7a60d98836343c4f7b9ec0fcae68d9131522 (diff)
downloadupstream-e4ce3109f28712dad3b3db27938a7b853346d9b6.tar.gz
upstream-e4ce3109f28712dad3b3db27938a7b853346d9b6.tar.bz2
upstream-e4ce3109f28712dad3b3db27938a7b853346d9b6.zip
ramips: simplify state_default/pinctrl0 in device DTS files
The node pinctrl0 is already set up in the SOC DTSI files, but defined again as member of pinctrl in most of the device DTS(I) files. This patch removes this redundancy for the entire ramips target. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi10
1 files changed, 4 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi b/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi
index cf9d1c6077..52af14723e 100644
--- a/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi
+++ b/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi
@@ -99,12 +99,10 @@
mtd-mac-address = <&factory 0x4>;
};
-&pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "uart3", "uart2", "jtag", "wdt";
- ralink,function = "gpio";
- };
+&state_default {
+ gpio {
+ ralink,group = "uart3", "uart2", "jtag", "wdt";
+ ralink,function = "gpio";
};
};