zte's code,first commit
Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/boot/common/src/loader/include/asm/arch-m0/gpio.h b/boot/common/src/loader/include/asm/arch-m0/gpio.h
new file mode 100644
index 0000000..82db90f
--- /dev/null
+++ b/boot/common/src/loader/include/asm/arch-m0/gpio.h
@@ -0,0 +1,53 @@
+/*******************************************************************************
+ * 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__*/
+