From 660200e53d627aee107ac90ba611bd762b98a4f6 Mon Sep 17 00:00:00 2001 From: Martin Blumenstingl Date: Mon, 8 Jul 2019 14:47:37 +0200 Subject: 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 --- .../linux/lantiq/files/arch/mips/boot/dts/P2812HNUFX.dtsi | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'target/linux/lantiq/files/arch/mips/boot/dts/P2812HNUFX.dtsi') diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/P2812HNUFX.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/P2812HNUFX.dtsi index d02c8837f4..f22dc912de 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/P2812HNUFX.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/P2812HNUFX.dtsi @@ -111,6 +111,11 @@ }; ð0 { + pinctrl-0 = <&mdio_pins>, + <&gphy0_led0_pins>, <&gphy0_led2_pins>, + <&gphy1_led1_pins>, <&gphy1_led2_pins>; + pinctrl-names = "default"; + lan: interface@0 { compatible = "lantiq,xrx200-pdi"; #address-cells = <1>; @@ -196,14 +201,6 @@ lantiq,groups = "exin3"; lantiq,function = "exin"; }; - gphy-leds { - lantiq,groups = "gphy0 led1", "gphy1 led1", - "gphy0 led2", "gphy1 led2"; - lantiq,function = "gphy"; - lantiq,pull = <2>; - lantiq,open-drain = <0>; - lantiq,output = <1>; - }; stp { lantiq,groups = "stp"; lantiq,function = "stp"; -- cgit v1.2.3