diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2019-07-08 14:47:37 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-12-22 01:24:23 +0100 |
commit | 660200e53d627aee107ac90ba611bd762b98a4f6 (patch) | |
tree | 8ea650ad0de31e746eccab4751f0d3d21a1a1a05 /target/linux/lantiq/files/arch/mips/boot/dts/TDW89X0.dtsi | |
parent | 7298c25f744a042f021da7a5e0fa81268bb454ce (diff) | |
download | upstream-660200e53d627aee107ac90ba611bd762b98a4f6.tar.gz upstream-660200e53d627aee107ac90ba611bd762b98a4f6.tar.bz2 upstream-660200e53d627aee107ac90ba611bd762b98a4f6.zip |
lantiq: dts: assign the GPHY LED pins to the Ethernet controller node
Assign the GPHY LED pins to the Ethernet 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/TDW89X0.dtsi')
-rw-r--r-- | target/linux/lantiq/files/arch/mips/boot/dts/TDW89X0.dtsi | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/TDW89X0.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/TDW89X0.dtsi index d0e8cd8ced..eabbc0257f 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/TDW89X0.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/TDW89X0.dtsi @@ -103,6 +103,9 @@ }; ð0 { + pinctrl-0 = <&mdio_pins>, <&gphy0_led1_pins>, <&gphy1_led1_pins>; + pinctrl-names = "default"; + lan: interface@0 { compatible = "lantiq,xrx200-pdi"; #address-cells = <1>; @@ -175,13 +178,6 @@ pinctrl-0 = <&state_default>; state_default: pinmux { - gphy-leds { - lantiq,groups = "gphy0 led1", "gphy1 led1"; - lantiq,function = "gphy"; - lantiq,pull = <2>; - lantiq,open-drain = <0>; - lantiq,output = <1>; - }; phy-rst { lantiq,pins = "io42"; lantiq,pull = <0>; |