aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2019-07-08 14:54:13 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-22 01:24:23 +0100
commitdcb5e52209e52b6004b5888d41620386a28d2567 (patch)
treecab4f68188176c1fba57ba66e659ffb17e436aff /target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi
parent660200e53d627aee107ac90ba611bd762b98a4f6 (diff)
downloadupstream-dcb5e52209e52b6004b5888d41620386a28d2567.tar.gz
upstream-dcb5e52209e52b6004b5888d41620386a28d2567.tar.bz2
upstream-dcb5e52209e52b6004b5888d41620386a28d2567.zip
lantiq: dts: assign the STP pins to the STP GPIO controller node
Assign the STP pins to the STP GPIO controller node instead of using pin hogging (where pins are assigned to the pin controller). This is the preferred way of assigning pins upstream. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Diffstat (limited to 'target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi')
-rw-r--r--target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi
index eec7a5d054..795df712e2 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi
@@ -144,6 +144,10 @@
compatible = "lantiq,gpio-stp-xway";
gpio-controller;
reg = <0xe100bb0 0x40>;
+
+ pinctrl-0 = <&stp_pins>;
+ pinctrl-names = "default";
+
lantiq,shadow = <0xfff>;
lantiq,groups = <0x3>;
status = "disabled";
@@ -188,6 +192,14 @@
lantiq,pull = <0>;
};
};
+
+ stp_pins: stp {
+ lantiq,groups = "stp";
+ lantiq,function = "stp";
+ lantiq,pull = <0>;
+ lantiq,open-drain = <0>;
+ lantiq,output = <1>;
+ };
};
asc1: serial@e100c00 {