lantiq - vgv7519: fix gphy led configuration (this set correct alt function to gpio...
[openwrt/openwrt.git] / target / linux / lantiq / dts / VGV7519.dtsi
index 3f56d823cc105481be3287596f57823de3da7849..b4449f143d033f449cdc41f9a6cba226d331524e 100644 (file)
                                        lantiq,groups = "gnt1", "req1";
                                        lantiq,function = "pci";
                                };
+                               gphy-leds_out {
+                                       lantiq,pins = "io7", "io44";
+                                       lantiq,pull = <0>;
+                                       lantiq,output = <1>;
+                               };
                                conf_out {
                                        lantiq,pins = "io4", "io5", "io6", /* stp */
                                                        "io21",
-                                                       "io33",
-                                                       "io7", "io44"; /* Internal ethernet phy leds */
+                                                       "io33";
                                        lantiq,open-drain;
                                        lantiq,pull = <0>;
                                        lantiq,output = <1>;
                                };
+                               gphy-leds {
+                                       lantiq,groups = "gphy0 led1", "gphy1 led0";
+                                       lantiq,function = "gphy";
+                                       lantiq,open-drain = <0>;
+                               };
                                pcie-rst {
                                        lantiq,pins = "io38";
                                        lantiq,pull = <0>;