[OpenWrt-Devel] [PATCH 02/10] lantiq - vgv7519: fix gphy led configuration (this set correct alt function to gpio and let peripherials on pci bus to comes up)

Eddi De Pieri eddi at depieri.net
Mon Oct 6 11:10:49 EDT 2014


Signed-off-by: Eddi De Pieri <eddi at depieri.net>
---
 target/linux/lantiq/dts/VGV7519.dtsi |   13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/target/linux/lantiq/dts/VGV7519.dtsi
b/target/linux/lantiq/dts/VGV7519.dtsi
index 3f56d82..b4449f1 100644
--- a/target/linux/lantiq/dts/VGV7519.dtsi
+++ b/target/linux/lantiq/dts/VGV7519.dtsi
@@ -58,15 +58,24 @@
                                        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>;
--
1.7.10.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list