mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Blackfin arch: add NFC driver support in BF527-EZKIT board
Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Bryan Wu <[email protected]>
This commit is contained in:
parent
ab472a0484
commit
64307f7db3
3 changed files with 73 additions and 1 deletions
|
|
@ -35,7 +35,6 @@
|
|||
#define MAX_BLACKFIN_DMA_CHANNEL 16
|
||||
|
||||
#define CH_PPI 0 /* PPI receive/transmit or NFC */
|
||||
#define CH_NFC 0 /* PPI receive/transmit or NFC */
|
||||
#define CH_EMAC_RX 1 /* Ethernet MAC receive or HOSTDP */
|
||||
#define CH_EMAC_HOSTDP 1 /* Ethernet MAC receive or HOSTDP */
|
||||
#define CH_EMAC_TX 2 /* Ethernet MAC transmit or NFC */
|
||||
|
|
@ -54,6 +53,12 @@
|
|||
#define CH_MEM_STREAM1_DEST 14 /* TX */
|
||||
#define CH_MEM_STREAM1_SRC 15 /* RX */
|
||||
|
||||
#if defined(CONFIG_BF527_NAND_D_PORTF)
|
||||
#define CH_NFC CH_PPI /* PPI receive/transmit or NFC */
|
||||
#elif defined(CONFIG_BF527_NAND_D_PORTH)
|
||||
#define CH_NFC CH_EMAC_TX /* PPI receive/transmit or NFC */
|
||||
#endif
|
||||
|
||||
extern int channel2irq(unsigned int channel);
|
||||
extern struct dma_register *base_addr[];
|
||||
|
||||
|
|
|
|||
|
|
@ -267,4 +267,18 @@
|
|||
#define P_AMC_BG (P_DEFINED | P_IDENT(GPIO_PJ12) | P_FUNCT(0))
|
||||
#define P_AMC_BGH (P_DEFINED | P_IDENT(GPIO_PJ13) | P_FUNCT(0))
|
||||
|
||||
|
||||
#define P_NAND_D0 (P_DONTCARE)
|
||||
#define P_NAND_D1 (P_DONTCARE)
|
||||
#define P_NAND_D2 (P_DONTCARE)
|
||||
#define P_NAND_D3 (P_DONTCARE)
|
||||
#define P_NAND_D4 (P_DONTCARE)
|
||||
#define P_NAND_D5 (P_DONTCARE)
|
||||
#define P_NAND_D6 (P_DONTCARE)
|
||||
#define P_NAND_D7 (P_DONTCARE)
|
||||
#define P_NAND_WE (P_DONTCARE)
|
||||
#define P_NAND_RE (P_DONTCARE)
|
||||
#define P_NAND_CLE (P_DONTCARE)
|
||||
#define P_NAND_ALE (P_DONTCARE)
|
||||
|
||||
#endif /* _MACH_PORTMUX_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue