aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-pxa/pxa-regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-pxa/pxa-regs.h')
-rw-r--r--include/asm-arm/arch-pxa/pxa-regs.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/include/asm-arm/arch-pxa/pxa-regs.h b/include/asm-arm/arch-pxa/pxa-regs.h
index c8f53a71c076..f5cc65dd7d0d 100644
--- a/include/asm-arm/arch-pxa/pxa-regs.h
+++ b/include/asm-arm/arch-pxa/pxa-regs.h
@@ -13,7 +13,6 @@
13#ifndef __PXA_REGS_H 13#ifndef __PXA_REGS_H
14#define __PXA_REGS_H 14#define __PXA_REGS_H
15 15
16#include <linux/config.h>
17 16
18/* 17/*
19 * PXA Chip selects 18 * PXA Chip selects
@@ -1330,6 +1329,7 @@
1330#define GPIO84_NSRXD 84 /* NSSP receive */ 1329#define GPIO84_NSRXD 84 /* NSSP receive */
1331#define GPIO85_nPCE_1 85 /* Card Enable for Card Space (PXA27x) */ 1330#define GPIO85_nPCE_1 85 /* Card Enable for Card Space (PXA27x) */
1332#define GPIO92_MMCDAT0 92 /* MMC DAT0 (PXA27x) */ 1331#define GPIO92_MMCDAT0 92 /* MMC DAT0 (PXA27x) */
1332#define GPIO102_nPCE_1 102 /* PCMCIA (PXA27x) */
1333#define GPIO109_MMCDAT1 109 /* MMC DAT1 (PXA27x) */ 1333#define GPIO109_MMCDAT1 109 /* MMC DAT1 (PXA27x) */
1334#define GPIO110_MMCDAT2 110 /* MMC DAT2 (PXA27x) */ 1334#define GPIO110_MMCDAT2 110 /* MMC DAT2 (PXA27x) */
1335#define GPIO110_MMCCS0 110 /* MMC Chip Select 0 (PXA27x) */ 1335#define GPIO110_MMCCS0 110 /* MMC Chip Select 0 (PXA27x) */
@@ -1472,6 +1472,7 @@
1472#define GPIO84_NSSP_RX (84 | GPIO_ALT_FN_2_IN) 1472#define GPIO84_NSSP_RX (84 | GPIO_ALT_FN_2_IN)
1473#define GPIO85_nPCE_1_MD (85 | GPIO_ALT_FN_1_OUT) 1473#define GPIO85_nPCE_1_MD (85 | GPIO_ALT_FN_1_OUT)
1474#define GPIO92_MMCDAT0_MD (92 | GPIO_ALT_FN_1_OUT) 1474#define GPIO92_MMCDAT0_MD (92 | GPIO_ALT_FN_1_OUT)
1475#define GPIO102_nPCE_1_MD (102 | GPIO_ALT_FN_1_OUT)
1475#define GPIO104_pSKTSEL_MD (104 | GPIO_ALT_FN_1_OUT) 1476#define GPIO104_pSKTSEL_MD (104 | GPIO_ALT_FN_1_OUT)
1476#define GPIO109_MMCDAT1_MD (109 | GPIO_ALT_FN_1_OUT) 1477#define GPIO109_MMCDAT1_MD (109 | GPIO_ALT_FN_1_OUT)
1477#define GPIO110_MMCDAT2_MD (110 | GPIO_ALT_FN_1_OUT) 1478#define GPIO110_MMCDAT2_MD (110 | GPIO_ALT_FN_1_OUT)
@@ -1626,7 +1627,7 @@
1626#define SSCR0_RIM (1 << 22) /* Receive FIFO overrrun interrupt mask */ 1627#define SSCR0_RIM (1 << 22) /* Receive FIFO overrrun interrupt mask */
1627#define SSCR0_TUM (1 << 23) /* Transmit FIFO underrun interrupt mask */ 1628#define SSCR0_TUM (1 << 23) /* Transmit FIFO underrun interrupt mask */
1628#define SSCR0_FRDC (0x07000000) /* Frame rate divider control (mask) */ 1629#define SSCR0_FRDC (0x07000000) /* Frame rate divider control (mask) */
1629#define SSCR0_SlotsPerFrm(c) ((x) - 1) /* Time slots per frame [1..8] */ 1630#define SSCR0_SlotsPerFrm(x) ((x) - 1) /* Time slots per frame [1..8] */
1630#define SSCR0_ADC (1 << 30) /* Audio clock select */ 1631#define SSCR0_ADC (1 << 30) /* Audio clock select */
1631#define SSCR0_MOD (1 << 31) /* Mode (normal or network) */ 1632#define SSCR0_MOD (1 << 31) /* Mode (normal or network) */
1632#endif 1633#endif
@@ -1707,6 +1708,10 @@
1707#if defined (CONFIG_PXA27x) 1708#if defined (CONFIG_PXA27x)
1708#define SSTO_P1 __REG(0x41000028) /* SSP Port 1 Time Out Register */ 1709#define SSTO_P1 __REG(0x41000028) /* SSP Port 1 Time Out Register */
1709#define SSPSP_P1 __REG(0x4100002C) /* SSP Port 1 Programmable Serial Protocol */ 1710#define SSPSP_P1 __REG(0x4100002C) /* SSP Port 1 Programmable Serial Protocol */
1711#define SSTSA_P1 __REG(0x41000030) /* SSP Port 1 Tx Timeslot Active */
1712#define SSRSA_P1 __REG(0x41000034) /* SSP Port 1 Rx Timeslot Active */
1713#define SSTSS_P1 __REG(0x41000038) /* SSP Port 1 Timeslot Status */
1714#define SSACD_P1 __REG(0x4100003C) /* SSP Port 1 Audio Clock Divider */
1710#define SSCR0_P2 __REG(0x41700000) /* SSP Port 2 Control Register 0 */ 1715#define SSCR0_P2 __REG(0x41700000) /* SSP Port 2 Control Register 0 */
1711#define SSCR1_P2 __REG(0x41700004) /* SSP Port 2 Control Register 1 */ 1716#define SSCR1_P2 __REG(0x41700004) /* SSP Port 2 Control Register 1 */
1712#define SSSR_P2 __REG(0x41700008) /* SSP Port 2 Status Register */ 1717#define SSSR_P2 __REG(0x41700008) /* SSP Port 2 Status Register */
@@ -1714,6 +1719,10 @@
1714#define SSDR_P2 __REG(0x41700010) /* (Write / Read) SSP Port 2 Data Write Register/SSP Data Read Register */ 1719#define SSDR_P2 __REG(0x41700010) /* (Write / Read) SSP Port 2 Data Write Register/SSP Data Read Register */
1715#define SSTO_P2 __REG(0x41700028) /* SSP Port 2 Time Out Register */ 1720#define SSTO_P2 __REG(0x41700028) /* SSP Port 2 Time Out Register */
1716#define SSPSP_P2 __REG(0x4170002C) /* SSP Port 2 Programmable Serial Protocol */ 1721#define SSPSP_P2 __REG(0x4170002C) /* SSP Port 2 Programmable Serial Protocol */
1722#define SSTSA_P2 __REG(0x41700030) /* SSP Port 2 Tx Timeslot Active */
1723#define SSRSA_P2 __REG(0x41700034) /* SSP Port 2 Rx Timeslot Active */
1724#define SSTSS_P2 __REG(0x41700038) /* SSP Port 2 Timeslot Status */
1725#define SSACD_P2 __REG(0x4170003C) /* SSP Port 2 Audio Clock Divider */
1717#define SSCR0_P3 __REG(0x41900000) /* SSP Port 3 Control Register 0 */ 1726#define SSCR0_P3 __REG(0x41900000) /* SSP Port 3 Control Register 0 */
1718#define SSCR1_P3 __REG(0x41900004) /* SSP Port 3 Control Register 1 */ 1727#define SSCR1_P3 __REG(0x41900004) /* SSP Port 3 Control Register 1 */
1719#define SSSR_P3 __REG(0x41900008) /* SSP Port 3 Status Register */ 1728#define SSSR_P3 __REG(0x41900008) /* SSP Port 3 Status Register */
@@ -1721,6 +1730,10 @@
1721#define SSDR_P3 __REG(0x41900010) /* (Write / Read) SSP Port 3 Data Write Register/SSP Data Read Register */ 1730#define SSDR_P3 __REG(0x41900010) /* (Write / Read) SSP Port 3 Data Write Register/SSP Data Read Register */
1722#define SSTO_P3 __REG(0x41900028) /* SSP Port 3 Time Out Register */ 1731#define SSTO_P3 __REG(0x41900028) /* SSP Port 3 Time Out Register */
1723#define SSPSP_P3 __REG(0x4190002C) /* SSP Port 3 Programmable Serial Protocol */ 1732#define SSPSP_P3 __REG(0x4190002C) /* SSP Port 3 Programmable Serial Protocol */
1733#define SSTSA_P3 __REG(0x41900030) /* SSP Port 3 Tx Timeslot Active */
1734#define SSRSA_P3 __REG(0x41900034) /* SSP Port 3 Rx Timeslot Active */
1735#define SSTSS_P3 __REG(0x41900038) /* SSP Port 3 Timeslot Status */
1736#define SSACD_P3 __REG(0x4190003C) /* SSP Port 3 Audio Clock Divider */
1724#else /* PXA255 (only port 2) and PXA26x ports*/ 1737#else /* PXA255 (only port 2) and PXA26x ports*/
1725#define SSTO_P1 __REG(0x41000028) /* SSP Port 1 Time Out Register */ 1738#define SSTO_P1 __REG(0x41000028) /* SSP Port 1 Time Out Register */
1726#define SSPSP_P1 __REG(0x4100002C) /* SSP Port 1 Programmable Serial Protocol */ 1739#define SSPSP_P1 __REG(0x4100002C) /* SSP Port 1 Programmable Serial Protocol */
@@ -1747,6 +1760,10 @@
1747#define SSDR_P(x) (*(((x) == 1) ? &SSDR_P1 : ((x) == 2) ? &SSDR_P2 : ((x) == 3) ? &SSDR_P3 : NULL)) 1760#define SSDR_P(x) (*(((x) == 1) ? &SSDR_P1 : ((x) == 2) ? &SSDR_P2 : ((x) == 3) ? &SSDR_P3 : NULL))
1748#define SSTO_P(x) (*(((x) == 1) ? &SSTO_P1 : ((x) == 2) ? &SSTO_P2 : ((x) == 3) ? &SSTO_P3 : NULL)) 1761#define SSTO_P(x) (*(((x) == 1) ? &SSTO_P1 : ((x) == 2) ? &SSTO_P2 : ((x) == 3) ? &SSTO_P3 : NULL))
1749#define SSPSP_P(x) (*(((x) == 1) ? &SSPSP_P1 : ((x) == 2) ? &SSPSP_P2 : ((x) == 3) ? &SSPSP_P3 : NULL)) 1762#define SSPSP_P(x) (*(((x) == 1) ? &SSPSP_P1 : ((x) == 2) ? &SSPSP_P2 : ((x) == 3) ? &SSPSP_P3 : NULL))
1763#define SSTSA_P(x) (*(((x) == 1) ? &SSTSA_P1 : ((x) == 2) ? &SSTSA_P2 : ((x) == 3) ? &SSTSA_P3 : NULL))
1764#define SSRSA_P(x) (*(((x) == 1) ? &SSRSA_P1 : ((x) == 2) ? &SSRSA_P2 : ((x) == 3) ? &SSRSA_P3 : NULL))
1765#define SSTSS_P(x) (*(((x) == 1) ? &SSTSS_P1 : ((x) == 2) ? &SSTSS_P2 : ((x) == 3) ? &SSTSS_P3 : NULL))
1766#define SSACD_P(x) (*(((x) == 1) ? &SSACD_P1 : ((x) == 2) ? &SSACD_P2 : ((x) == 3) ? &SSACD_P3 : NULL))
1750 1767
1751/* 1768/*
1752 * MultiMediaCard (MMC) controller 1769 * MultiMediaCard (MMC) controller