Browse Source

lantiq: Fix ARV7518 DTS definitions

Fix EBU leds by removing req2 and gnt2 from pinmux.
Fix rfkill button gpio.
Enable reset button.
Fix power led activation status.

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

SVN-Revision: 37004
John Crispin 12 years ago
parent
commit
81c57ec131
1 changed files with 16 additions and 6 deletions
  1. 16 6
      target/linux/lantiq/dts/ARV7518PW.dts

+ 16 - 6
target/linux/lantiq/dts/ARV7518PW.dts

@@ -87,14 +87,14 @@
 					lantiq,function = "ebu";
 					lantiq,function = "ebu";
 				};
 				};
 				pci_in {
 				pci_in {
-					lantiq,groups = "req1", "req2";
+					lantiq,groups = "req1";
 					lantiq,function = "pci";
 					lantiq,function = "pci";
 					lantiq,open-drain = <1>;
 					lantiq,open-drain = <1>;
 					lantiq,pull = <2>;
 					lantiq,pull = <2>;
 					lantiq,output = <0>;
 					lantiq,output = <0>;
 				};
 				};
 				pci_out {
 				pci_out {
-					lantiq,groups = "gnt1", "gnt2";
+					lantiq,groups = "gnt1";
 					lantiq,function = "pci";
 					lantiq,function = "pci";
 					lantiq,pull = <0>;
 					lantiq,pull = <0>;
 					lantiq,output = <1>;
 					lantiq,output = <1>;
@@ -104,6 +104,16 @@
 					lantiq,pull = <2>;
 					lantiq,pull = <2>;
 					lantiq,output = <1>;
 					lantiq,output = <1>;
 				};
 				};
+				leds {
+					lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
+					lantiq,output = <1>;
+				};
+				keys {
+					lantiq,pins = "io28", "io30";
+					lantiq,output = <0>;
+					lantiq,pull = <2>;
+					lantiq,open-drain = <1>;
+				};
 			};
 			};
 		};
 		};
 
 
@@ -136,21 +146,21 @@
 
 
 		rfkill {
 		rfkill {
 			label = "rfkill";
 			label = "rfkill";
-			gpios = <&gpio 25 1>;
+			gpios = <&gpio 28 1>;
 			linux,code = <0xf7>;
 			linux,code = <0xf7>;
 		};
 		};
-/*		reset {
+		reset {
 			label = "reset";
 			label = "reset";
 			gpios = <&gpio 30 1>;
 			gpios = <&gpio 30 1>;
 			linux,code = <0x198>;
 			linux,code = <0x198>;
-		};*/
+		};
 	};
 	};
 
 
 	gpio-leds {
 	gpio-leds {
 		compatible = "gpio-leds";
 		compatible = "gpio-leds";
 		power {
 		power {
 			label = "power";
 			label = "power";
-			gpios = <&gpio 2 0>;
+			gpios = <&gpio 2 1>;
 		};
 		};
 		dsl {
 		dsl {
 			label = "dsl";
 			label = "dsl";