blob: 82db90fe62d2199cfbed20e19b2f2559f0aac88f [file] [log] [blame]
/*******************************************************************************
* Copyright (C) 2016, ZXIC Corporation.
*
* File Name:
* File Mark:
* Description:
* Others:
* Version: v1.0
* Author: zhouqi
* Date: 2013-4-2
* History 1:
* Date:
* Version:
* Author:
* Modification:
* History 2:
********************************************************************************/
#ifndef __GPIO_7520_H__
#define __GPIO_7520_H__
/*
*******************************************************************************
* GPIO MUX UART1
******************************************************************************
*/
#if 0
#define STANDBY_PAD 0x0010E000
#define STANDBY_PAD_UART1_RXD (STANDBY_PAD + 0x5C)
#define UART1_RXD (0x1 << 24)
#define STANDBY_PAD_UART1_TXD (STANDBY_PAD + 0x60)
#define UART1_TXD (0x1 << 24)
#define STANDBY_PAD_UART_MASK (0x7 << 24)
#endif
/*PIN MUX*/
#define ZX29_PIN_MUX 0x01303000
#define GPIO_PINMUX_REG_BASE ZX29_PIN_MUX
/*PAD*/
#define ZX29_A1_PAD_CTRL0 0x0013C000
#define PAD_CTRL_REG_BASE ZX29_A1_PAD_CTRL0
#define PD_FUNC_SEL_BASE (GPIO_PINMUX_REG_BASE)
#define AON_FUNC_SEL_BASE (PAD_CTRL_REG_BASE)
#define TOP_FUNC_SEL_BASE (PAD_CTRL_REG_BASE)
#define IO_CFG_BASE (PAD_CTRL_REG_BASE+0x800)
#endif /*__GPIO_7520_H__*/