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/VG3503J.dts | |
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/VG3503J.dts')
-rw-r--r-- | target/linux/lantiq/files/arch/mips/boot/dts/VG3503J.dts | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/VG3503J.dts b/target/linux/lantiq/files/arch/mips/boot/dts/VG3503J.dts index f37980a536..e074147d66 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/VG3503J.dts +++ b/target/linux/lantiq/files/arch/mips/boot/dts/VG3503J.dts @@ -57,6 +57,10 @@ }; ð0 { + pinctrl-0 = <&mdio_pins>, + <&gphy0_led0_pins>, <&gphy0_led1_pins>, <&gphy0_led2_pins>, + <&gphy1_led0_pins>, <&gphy1_led1_pins>, <&gphy1_led2_pins>; + interface@0 { compatible = "lantiq,xrx200-pdi"; #address-cells = <1>; @@ -110,23 +114,6 @@ lantiq,gphy-mode = <GPHY_MODE_GE>; }; -&gpio { - pinctrl-names = "default"; - pinctrl-0 = <&state_default>; - - state_default: pinmux { - gphy-leds { - lantiq,groups = "gphy0 led0", "gphy0 led1", - "gphy0 led2", "gphy1 led0", - "gphy1 led1", "gphy1 led2"; - lantiq,function = "gphy"; - lantiq,pull = <2>; - lantiq,open-drain = <0>; - lantiq,output = <1>; - }; - }; -}; - &localbus { flash@0 { compatible = "lantiq,nor"; |