From dcb5e52209e52b6004b5888d41620386a28d2567 Mon Sep 17 00:00:00 2001 From: Martin Blumenstingl Date: Mon, 8 Jul 2019 14:54:13 +0200 Subject: 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 --- target/linux/lantiq/files/arch/mips/boot/dts/vr9.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'target/linux/lantiq/files/arch/mips/boot/dts/vr9.dtsi') diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/vr9.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/vr9.dtsi index 2cb34eab01..fa8d2fae63 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/vr9.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/vr9.dtsi @@ -313,6 +313,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 { @@ -322,6 +330,9 @@ #gpio-cells = <2>; gpio-controller; + pinctrl-0 = <&stp_pins>; + pinctrl-names = "default"; + lantiq,shadow = <0xffffff>; lantiq,groups = <0x7>; lantiq,dsl = <0x0>; -- cgit v1.2.3