lantiq - vgv7519: fix gphy led configuration (this set correct alt function to gpio...
[openwrt/openwrt.git] / target / linux / lantiq / dts / VGV7519.dtsi
index 86b5741741e2af878f42d4f8886e3b02a20466f7..b4449f143d033f449cdc41f9a6cba226d331524e 100644 (file)
@@ -1,6 +1,9 @@
 /include/ "vr9.dtsi"
 
 / {
+
+    model = "VGV7519 - KPN Experiabox V8";
+
        chosen {
                bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
        };
                                        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>;