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
d9b73ec674
ar71xx: merge nand scan patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:10 +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
3095cc8090
ar71xx: ag71xx: add support for getting switch port link status
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:04 +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
451654dc3a
ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:01 +00:00
juhosg
749767a552
ar71xx: ag71xx: remove unused mii_cfg related functions and defines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:00 +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
juhosg
13e0098939
ar71xx: configure MII interface type from ar71xx_setup_phy_if_mode
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:54 +00:00
juhosg
0999f2be56
ar71xx: use the button for WPS control on the DB120
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:20 +00:00
juhosg
69a4e7ba6a
ar71xx: register the second ethernet interface on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:19 +00:00
juhosg
f42393b3c6
ar71xx: implement SoC specific phy interface setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:18 +00:00
juhosg
428566d3de
ar71xx: move phy interface setup into a separate function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:16 +00:00
juhosg
9c2632e5aa
ar71xx: register both MDIO bus on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:59 +00:00
juhosg
8255c166fd
ar71xx: add AR934X specific MDIO registration code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:56 +00:00
juhosg
79bc01d085
ar71xx: add a secondary mdio bus
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:54 +00:00
juhosg
4e5c6e94da
ar71xx: rename ar71xx_mdio_* structures to ar71xx_mdio0_*
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:50 +00:00
juhosg
f20b056795
ar71xx: add an id argument to ar71xx_add_device_mdio
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:48 +00:00
juhosg
7d1b33ecbd
ar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsa
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:42 +00:00
juhosg
1553f9eabd
ar71xx: add AR934x specific USB setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:20 +00:00
juhosg
5f0b41bae5
ar71xx: register the first ethernet interface on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:18 +00:00
juhosg
8a3f26299d
ar71xx: allow to register ethernet interfaces for AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:17 +00:00
juhosg
3cd36281d9
ar71xx: ag71xx: use fixed link parameters if the mii bus is not registered
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:16 +00:00
juhosg
a1f5559837
ar71xx: add AR934X specific bootstrap and reset register bits
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:15 +00:00
juhosg
bb977eb73b
ar71xx: fix GPIO direction setup for AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:09 +00:00
juhosg
1d1240855a
ar71xx: fix AR934X clock frequency calculation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:08 +00:00
nbd
33f4cde7a9
ar71xx: remove dead code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 00:33:20 +00:00
nbd
4677737b0a
ar71xx: on ar7240, exclude ports from their own port vlan destination mask
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 00:33:15 +00:00
juhosg
266baaf0dd
ar71xx: add support for the Buffalo WHR-HP-GN board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:10 +00:00
juhosg
17990be972
ar71xx: add support for the Buffalo WHR-G301N board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:07 +00:00
juhosg
29f0664566
ar71xx: fix WHR-HP-G300N MTD partitions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:03 +00:00