diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2019-07-08 14:54:13 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-12-22 01:24:23 +0100 |
commit | dcb5e52209e52b6004b5888d41620386a28d2567 (patch) | |
tree | cab4f68188176c1fba57ba66e659ffb17e436aff /target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi | |
parent | 660200e53d627aee107ac90ba611bd762b98a4f6 (diff) | |
download | upstream-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/ar9.dtsi')
-rw-r--r-- | target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi index da56485214..a613131e48 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi @@ -223,6 +223,14 @@ lantiq,output = <1>; }; }; + + stp_pins: stp { + lantiq,groups = "stp"; + lantiq,function = "stp"; + lantiq,pull = <0>; + lantiq,open-drain = <0>; + lantiq,output = <1>; + }; }; stp: stp@e100bb0 { @@ -230,6 +238,10 @@ compatible = "lantiq,gpio-stp-xway"; gpio-controller; reg = <0xe100bb0 0x40>; + + pinctrl-0 = <&stp_pins>; + pinctrl-names = "default"; + status = "disabled"; }; |