lantiq: dts: assign the GPHY LED pins to the Ethernet controller node
[openwrt/staging/rmilecki.git] / target / linux / lantiq / files / arch / mips / boot / dts / P2812HNUFX.dtsi
index d02c8837f4d507c9bc2a94c5c83390d0b141bd89..f22dc912decb7a87cecccf50b8ada05e13c82362 100644 (file)
 };
 
 &eth0 {
+       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>;
                        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";