[OpenWrt-Devel] [PATCH][ar71xx] - WNDAP360 add Wifi LED support

2014-04-23 Thread Jacek Kikiewicz

From: Jacek Kikiewicz ja...@aol.pl

Re-sending as previous did not get where it should.
I added WIFI LED support (so now AP blinks nicely), I removed WPS
button GPIO (as it doesn't exist) and changed GPIO for reset button.

Signed-off-by: Jacek Kikiewicz ja...@aol.pl


---

Index: target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
===
--- target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
(revision 39638)
+++ target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
(working copy)
@@ -28,9 +28,7 @@
 #define WNDAP360_GPIO_LED_POWER_GREEN  2

 /* Reset button - next to the power connector */
-#define WNDAP360_GPIO_BTN_RESET3
-/* WPS button - next to a led on right */
-#define WNDAP360_GPIO_BTN_WPS  8
+#define WNDAP360_GPIO_BTN_RESET8

 #define WNDAP360_KEYS_POLL_INTERVAL20  /* msecs */
  #define WNDAP360_KEYS_DEBOUNCE_INTERVAL(3 *
WNDAP360_KEYS_POLL_INTERVAL)
@@ -95,6 +93,9 @@
 ARRAY_SIZE(wndap360_gpio_keys),
 wndap360_gpio_keys);

+ap9x_pci_setup_wmac_led_pin(0, 5);
+ap9x_pci_setup_wmac_led_pin(1, 5);
+
ap94_pci_init(art + WNDAP360_CALDATA0_OFFSET,
  art + WNDAP360_WMAC0_MAC_OFFSET,
   art + WNDAP360_CALDATA1_OFFSET,
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [ar71xx] WNDAP360 add Wifi LED support

2014-04-23 Thread Jacek Kikiewicz

From: Jacek Kikiewicz ja...@aol.pl

Re-sending as previous did not get where it should.
I added WIFI LED support (so now AP blinks nicely), I removed WPS
button GPIO (as it doesn't exist) and changed GPIO for reset button.

Signed-off-by: Jacek Kikiewicz ja...@aol.pl

---

Index: target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
===
--- target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
(revision 39638)
+++ target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
(working copy)
@@ -28,9 +28,7 @@
 #define WNDAP360_GPIO_LED_POWER_GREEN  2

 /* Reset button - next to the power connector */
-#define WNDAP360_GPIO_BTN_RESET3
-/* WPS button - next to a led on right */
-#define WNDAP360_GPIO_BTN_WPS  8
+#define WNDAP360_GPIO_BTN_RESET8

 #define WNDAP360_KEYS_POLL_INTERVAL20  /* msecs */
  #define WNDAP360_KEYS_DEBOUNCE_INTERVAL(3 *
WNDAP360_KEYS_POLL_INTERVAL)
@@ -95,6 +93,9 @@
 ARRAY_SIZE(wndap360_gpio_keys),
 wndap360_gpio_keys);

+ap9x_pci_setup_wmac_led_pin(0, 5);
+ap9x_pci_setup_wmac_led_pin(1, 5);
+
ap94_pci_init(art + WNDAP360_CALDATA0_OFFSET,
  art + WNDAP360_WMAC0_MAC_OFFSET,
   art + WNDAP360_CALDATA1_OFFSET,
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [ar71xx] WNDAP360 add Wifi LED support

2014-04-23 Thread Jacek Kikiewicz

From: Jacek Kikiewicz ja...@aol.pl

Re-sending as previous did not get where it should.
I added WIFI LED support (so now AP blinks nicely), I removed WPS
button GPIO (as it doesn't exist) and changed GPIO for reset button.

Signed-off-by: Jacek Kikiewicz ja...@aol.pl

---

Index: target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
===
--- target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
(revision 39638)
+++ target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
(working copy)
@@ -28,9 +28,7 @@
 #define WNDAP360_GPIO_LED_POWER_GREEN  2

 /* Reset button - next to the power connector */
-#define WNDAP360_GPIO_BTN_RESET3
-/* WPS button - next to a led on right */
-#define WNDAP360_GPIO_BTN_WPS  8
+#define WNDAP360_GPIO_BTN_RESET8

 #define WNDAP360_KEYS_POLL_INTERVAL20  /* msecs */
  #define WNDAP360_KEYS_DEBOUNCE_INTERVAL(3 *
WNDAP360_KEYS_POLL_INTERVAL)
@@ -95,6 +93,9 @@
 ARRAY_SIZE(wndap360_gpio_keys),
 wndap360_gpio_keys);

+ap9x_pci_setup_wmac_led_pin(0, 5);
+ap9x_pci_setup_wmac_led_pin(1, 5);
+
ap94_pci_init(art + WNDAP360_CALDATA0_OFFSET,
  art + WNDAP360_WMAC0_MAC_OFFSET,
   art + WNDAP360_CALDATA1_OFFSET,
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] ar71xx - WNDAP360 add Wifi LED support

2014-04-16 Thread jaceq
I added WIFI LED support (so now AP blinks nicely), I removed WPS 
button GPIO (as it doesn't exist) and changed GPIO for reset button.


Signed-off-by: Jacek Kikiewicz ja...@aol.pl

---

Index: target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
===
--- target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c   
(revision 39638)
+++ target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c   
(working copy)

@@ -28,9 +28,7 @@
#define WNDAP360_GPIO_LED_POWER_GREEN  2

/* Reset button - next to the power connector */
-#define WNDAP360_GPIO_BTN_RESET3
-/* WPS button - next to a led on right */
-#define WNDAP360_GPIO_BTN_WPS  8
+#define WNDAP360_GPIO_BTN_RESET8

#define WNDAP360_KEYS_POLL_INTERVAL20  /* msecs */
 #define WNDAP360_KEYS_DEBOUNCE_INTERVAL(3 * 
WNDAP360_KEYS_POLL_INTERVAL)

@@ -95,6 +93,9 @@
ARRAY_SIZE(wndap360_gpio_keys),
wndap360_gpio_keys);

+ap9x_pci_setup_wmac_led_pin(0, 5);
+ap9x_pci_setup_wmac_led_pin(1, 5);
+
   ap94_pci_init(art + WNDAP360_CALDATA0_OFFSET,
 art + WNDAP360_WMAC0_MAC_OFFSET,
  art + WNDAP360_CALDATA1_OFFSET,
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [ar71xx] - WNDAP360 add Wifi LED support

2014-04-16 Thread jaceq

From: Jacek Kikiewicz ja...@aol.pl

Re-sending as previous did not get where it should.
I added WIFI LED support (so now AP blinks nicely), I removed WPS 
button GPIO (as it doesn't exist) and changed GPIO for reset button.


Signed-off-by: Jacek Kikiewicz ja...@aol.pl


---
Index: target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
===
--- target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c   
(revision 39638)
+++ target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c   
(working copy)

@@ -28,9 +28,7 @@
#define WNDAP360_GPIO_LED_POWER_GREEN  2

/* Reset button - next to the power connector */
-#define WNDAP360_GPIO_BTN_RESET3
-/* WPS button - next to a led on right */
-#define WNDAP360_GPIO_BTN_WPS  8
+#define WNDAP360_GPIO_BTN_RESET8

#define WNDAP360_KEYS_POLL_INTERVAL20  /* msecs */
 #define WNDAP360_KEYS_DEBOUNCE_INTERVAL(3 * 
WNDAP360_KEYS_POLL_INTERVAL)

@@ -95,6 +93,9 @@
ARRAY_SIZE(wndap360_gpio_keys),
wndap360_gpio_keys);

+ap9x_pci_setup_wmac_led_pin(0, 5);
+ap9x_pci_setup_wmac_led_pin(1, 5);
+
   ap94_pci_init(art + WNDAP360_CALDATA0_OFFSET,
 art + WNDAP360_WMAC0_MAC_OFFSET,
  art + WNDAP360_CALDATA1_OFFSET,
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] ar71xx - WNDAP360 add Wifi LED support

2014-03-04 Thread jaceq
I added WIFI LED support (so now AP blinks nicely), I removed WPS 
button GPIO (as it doesn't exist) and changed GPIO for reset button.


Signed-off-by: Jacek Kikiewicz ja...@aol.pl

---

Index: target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
===
--- target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c   
(revision 39638)
+++ target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c   
(working copy)

@@ -28,9 +28,7 @@
#define WNDAP360_GPIO_LED_POWER_GREEN  2

/* Reset button - next to the power connector */
-#define WNDAP360_GPIO_BTN_RESET3
-/* WPS button - next to a led on right */
-#define WNDAP360_GPIO_BTN_WPS  8
+#define WNDAP360_GPIO_BTN_RESET8

#define WNDAP360_KEYS_POLL_INTERVAL20  /* msecs */
 #define WNDAP360_KEYS_DEBOUNCE_INTERVAL(3 * 
WNDAP360_KEYS_POLL_INTERVAL)

@@ -95,6 +93,9 @@
ARRAY_SIZE(wndap360_gpio_keys),
wndap360_gpio_keys);

+ap9x_pci_setup_wmac_led_pin(0, 5);
+ap9x_pci_setup_wmac_led_pin(1, 5);
+
   ap94_pci_init(art + WNDAP360_CALDATA0_OFFSET,
 art + WNDAP360_WMAC0_MAC_OFFSET,
  art + WNDAP360_CALDATA1_OFFSET,
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel