1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-12 19:19:18 +03:00
Commit Graph

528 Commits

Author SHA1 Message Date
juhosg
12930c3272 ar71xx: connect GMAC0 to the internal switch on DB120
Because the external switch has no driver yet, connect GMAC0
to the PHY4 of the internal switch for now. This allows to
use the DB120 board as a router with 4LAN+1WAN ports.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:38 +00:00
juhosg
ba50354437 ar71xx: add defines for the AR934X GMAC interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:36 +00:00
juhosg
a55b188ebe ar71xx: fix GMAC1 interface speed on the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:35 +00:00
juhosg
07d1bcb923 ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:30 +00:00
juhosg
e61b2d1ed9 ar71xx: allow to attach the internal switch for AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:22 +00:00
juhosg
812763d48e ar71xx: introduce ar71xx_switch_data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:11 +00:00
juhosg
803afe6e40 ar71xx: fix mac addresses on jjPlus devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:18 +00:00
juhosg
d8f4833329 ar71xx: add support for ALFA Network's Hornet-UB board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:10 +00:00
juhosg
33334db9dc ar71xx: add GPIO function bit defines for AR933X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:07 +00:00
nbd
5841748e56 ar71xx: fix gpio count for ar7241/ar7242
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:47:24 +00:00
nbd
75bbe95c04 ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:21:42 +00:00
nbd
e7bf9d2f6d ar71xx: fix wireless led on wzr-hp-g450h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 15:00:43 +00:00
juhosg
17595c4da2 ar71xx: enable AR9341 support at setup.c
Patch-by: dyq <729650915@qq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 14:59:43 +00:00
juhosg
6caa8876b2 ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.

The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.

I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 14:59:40 +00:00
nbd
ec66b62afa ar71xx: add gpios and usb for wzr-hp-g450h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 13:33:44 +00:00
juhosg
1e26277d1e ar71xx: use RedBoot parser on PB44
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-11 15:52:47 +00:00
juhosg
99997320ea ar71xx: use correct mac on the lan interface on several TP-LINK devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:10:58 +00:00
juhosg
a97fd90341 ar71xx: allow to pass negative offset values for ar71xx_init_mac
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:10:55 +00:00
juhosg
097436bca8 ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 18:21:15 +00:00
nbd
c1679af6b3 ar71xx: add preliminary support for wzr-hp-g450h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:51 +00:00
nbd
f684eb2454 ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80.c, other buffalo routers use it as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:44 +00:00
juhosg
44a7438217 ar71xx: rewrite WNDR3700/3800 handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 13:03:54 +00:00
juhosg
11a837ce02 ar71xx: use the tp-link parser on the tp-link boards
Also remove static partition maps.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:31 +00:00
juhosg
37a46ae9f4 ar71xx: run the RedBoot parser only on the RedBoot based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:25 +00:00
juhosg
23c921bb91 ar71xx: run the MyLoader parser only on the WP543 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:23 +00:00
juhosg
4dbb6eef31 ar71xx: run the wrt160nl parser only on the WRT160NL board
Also remove static mtd partition definitions.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:20 +00:00
juhosg
41d8ed17e0 ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:49:02 +00:00
juhosg
e6638f1bd3 ar71xx: modify phy mask of the WP543 board
This fixes ethernet on newer boards. Based on a patch from #9702.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:43 +00:00
juhosg
4baa5f5378 ar71xx: fix wndr3800 machine name
This fixes the machine name in /proc/cpuinfo and luci status page machine name.

Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:38 +00:00
juhosg
74bada8592 ar71xx: set GE0 phy_mask for AR933x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-20 11:30:10 +00:00
juhosg
2ba51b8c17 ar71xx: fix USB LED on the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:15 +00:00
juhosg
8f09b983e5 ar71xx: add a function for selecting output signal on a given GPIO pin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:14 +00:00
juhosg
95684215c0 ar71xx: fix GPIO function handling on AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:13 +00:00
juhosg
73b96446ee ar71xx: add AR71XX_ prefix to GPIO_REG_* defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:11 +00:00
juhosg
b9c4475b88 ar71xx: fix a compiler warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 13:07:47 +00:00
juhosg
e8a5cbc660 ar71xx: fix GPIO count for AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 13:07:45 +00:00
juhosg
2f0405019f ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:53 +00:00
juhosg
c86a746ece ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:51 +00:00
juhosg
c6f1eddcdf ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:49 +00:00
juhosg
de73b57f12 ar71xx: add an irq parameter for ar724x_pcibios_init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:47 +00:00
juhosg
1937a07a4e ar71xx: remove hardwired interface parameters from mach-* files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:09 +00:00
juhosg
2b0cd69920 ar71xx: force hardwired interface parameters in ar71xx_add_device_eth
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:07 +00:00
juhosg
7f6b8dc9f4 ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:05 +00:00
juhosg
f0f8408f20 ar71xx: enable has_gbit flag on AR724{0,1}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 17:36:36 +00:00
juhosg
5e68925d9a ar71xx: fixup onboard PCIe chip registration on the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 12:48:03 +00:00
juhosg
cf53375340 ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 12:48:01 +00:00
juhosg
7ea3800d31 ar71xx: remove mii_ctrl resources of the ethernet devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:03 +00:00
juhosg
228681e328 ar71xx: set MII interface speed from the set_speed callbacks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:59 +00:00
juhosg
7571fae3ab ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
Also rename the corresponding callback functions.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:57 +00:00
juhosg
95d3699b73 ar71xx: ag71xx: remove MII interface setup code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:56 +00:00