Deleted Added
full compact
ar91xxreg.h (217184) ar91xxreg.h (221518)
1/*-
2 * Copyright (c) 2010 Adrian Chadd
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 10 unchanged lines hidden (view full) ---

19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
1/*-
2 * Copyright (c) 2010 Adrian Chadd
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 10 unchanged lines hidden (view full) ---

19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27/* $FreeBSD: head/sys/mips/atheros/ar91xxreg.h 217184 2011-01-09 06:17:46Z adrian $ */
27/* $FreeBSD: head/sys/mips/atheros/ar91xxreg.h 221518 2011-05-06 02:45:02Z adrian $ */
28
29#ifndef __AR91XX_REG_H__
30#define __AR91XX_REG_H__
31
32#define AR91XX_BASE_FREQ 5000000
33
34/* reset block */
35#define AR91XX_RESET_REG_RESET_MODULE AR71XX_RST_BLOCK_BASE + 0x1c

--- 40 unchanged lines hidden (view full) ---

76#define AR91XX_GPIO_FUNC_I2S_MCKEN (1 << 19)
77#define AR91XX_GPIO_FUNC_I2S1_EN (1 << 18)
78#define AR91XX_GPIO_FUNC_I2S0_EN (1 << 17)
79#define AR91XX_GPIO_FUNC_SLIC_EN (1 << 16)
80#define AR91XX_GPIO_FUNC_UART_RTSCTS_EN (1 << 9)
81#define AR91XX_GPIO_FUNC_UART_EN (1 << 8)
82#define AR91XX_GPIO_FUNC_USB_CLK_EN (1 << 4)
83
28
29#ifndef __AR91XX_REG_H__
30#define __AR91XX_REG_H__
31
32#define AR91XX_BASE_FREQ 5000000
33
34/* reset block */
35#define AR91XX_RESET_REG_RESET_MODULE AR71XX_RST_BLOCK_BASE + 0x1c

--- 40 unchanged lines hidden (view full) ---

76#define AR91XX_GPIO_FUNC_I2S_MCKEN (1 << 19)
77#define AR91XX_GPIO_FUNC_I2S1_EN (1 << 18)
78#define AR91XX_GPIO_FUNC_I2S0_EN (1 << 17)
79#define AR91XX_GPIO_FUNC_SLIC_EN (1 << 16)
80#define AR91XX_GPIO_FUNC_UART_RTSCTS_EN (1 << 9)
81#define AR91XX_GPIO_FUNC_UART_EN (1 << 8)
82#define AR91XX_GPIO_FUNC_USB_CLK_EN (1 << 4)
83
84#define AR91XX_GPIO_COUNT 22
85
86#endif
84#endif