Lines Matching +full:irda +full:- +full:mode +full:- +full:ports

1 /* SPDX-License-Identifier: GPL-2.0 */
3 /* include/asm-m68knommu/MC68328.h: '328 control registers
8 * Based on include/asm-m68knommu/MC68332.h
26 * 0xFFFFF0xx -- System Control
36 #define SCR_WDTH8 0x01 /* 8-Bit Width Select */
39 #define SCR_BETEN 0x10 /* Bus-Error Time-Out Enable */
42 #define SCR_BETO 0x80 /* Bus-Error TimeOut */
52 * 0xFFFFF1xx -- Chip-Select logic
58 * 0xFFFFF2xx -- Phase Locked Loop (PLL) & Power Control
76 #define GRPBASE_GBA_MASK 0xfff0 /* Group Base Address (bits 31-20) */
91 #define GRMMASK_GMA_MASK 0xfffff0 /* Group Base Mask (bits 31-20) */
94 * Chip-Select Option Registers (group A)
108 #define CSA_RO 0x00000008 /* Read-Only */
109 #define CSA_AM_MASK 0x0000ff00 /* Address Mask (bits 23-16) */
112 #define CSA_AC_MASK 0xff000000 /* Address Compare (bits 23-16) */
116 * Chip-Select Option Registers (group B)
130 #define CSB_RO 0x00000008 /* Read-Only */
131 #define CSB_AM_MASK 0x0000ff00 /* Address Mask (bits 23-16) */
134 #define CSB_AC_MASK 0xff000000 /* Address Compare (bits 23-16) */
138 * Chip-Select Option Registers (group C)
152 #define CSC_RO 0x00000008 /* Read-Only */
153 #define CSC_AM_MASK 0x0000fff0 /* Address Mask (bits 23-12) */
156 #define CSC_AC_MASK 0xfff00000 /* Address Compare (bits 23-12) */
160 * Chip-Select Option Registers (group D)
174 #define CSD_RO 0x00000008 /* Read-Only */
175 #define CSD_AM_MASK 0x0000fff0 /* Address Mask (bits 23-12) */
178 #define CSD_AC_MASK 0xfff00000 /* Address Compare (bits 23-12) */
183 * 0xFFFFF2xx -- Phase Locked Loop (PLL) & Power Control
200 /* 'EZ328-compatible definitions */
225 #define PCTRL_STOP 0x40 /* Enter power-save mode immediately */
230 * 0xFFFFF3xx -- Interrupt Controller
273 #define PWM_IRQ_NUM 7 /* Pulse-Width Modulator int. */
291 /* '328-compatible definitions */
304 #define IMR_MPWM (1 << PWM_IRQ_NUM) /* Mask Pulse-Width Modulator int. */
322 /* 'EZ328-compatible definitions */
327 * Interrupt Wake-Up Enable Register
338 #define IWR_PWM (1 << PWM_IRQ_NUM) /* Pulse-Width Modulator int. */
368 #define ISR_PWM (1 << PWM_IRQ_NUM) /* Pulse-Width Modulator int. */
386 /* 'EZ328-compatible definitions */
402 #define IPR_PWM (1 << PWM_IRQ_NUM) /* Pulse-Width Modulator int. */
420 /* 'EZ328-compatible definitions */
426 * 0xFFFFF4xx -- Parallel Ports
442 #define PA_A(x) PA((x) - 16) /* This is specific to PA only! */
501 #define PDPUEN_ADDR 0xfffff41a /* Port D Pull-Up enable reg */
530 #define PEPUEN_ADDR 0xfffff422 /* Port E Pull-Up enable reg */
553 #define PFPUEN_ADDR 0xfffff42a /* Port F Pull-Up enable reg */
562 #define PF_A(x) PF((x) - 24) /* This is Port F specific only */
578 #define PGPUEN_ADDR 0xfffff432 /* Port G Pull-Up enable reg */
617 #define PKPUEN_ADDR 0xfffff442 /* Port K Pull-Up enable reg */
632 #define PMPUEN_ADDR 0xfffff43a /* Port M Pull-Up enable reg */
644 * 0xFFFFF5xx -- Pulse-Width Modulator (PWM)
663 /* 'EZ328-compatible definitions */
686 * 0xFFFFF6xx -- General-Purpose Timers
706 #define TCTL_OM 0x0020 /* Output Mode */
710 #define TCTL_FRR 0x0010 /* Free-Run Mode */
712 /* 'EZ328-compatible definitions */
724 /* 'EZ328-compatible definitions */
736 /* 'EZ328-compatible definitions */
748 /* 'EZ328-compatible definitions */
760 /* 'EZ328-compatible definitions */
775 /* 'EZ328-compatible definitions */
803 * 0xFFFFF7xx -- Serial Peripheral Interface Slave (SPIS)
829 * 0xFFFFF8xx -- Serial Peripheral Interface Master (SPIM)
856 /* 'EZ328-compatible definitions */
861 * 0xFFFFF9xx -- UART
875 #define USTCNT_RXHALFEN 0x0010 /* Receiver Half-Full Int Enable */
879 #define USTCNT_8_7 0x0100 /* Eight or seven-bit transmission */
883 #define USTCNT_CLKMODE 0x1000 /* Clock Mode Select */
888 /* 'EZ328-compatible definitions */
907 #define UBAUD_PRESCALER_MASK 0x003f /* Actual divisor is 65 - PRESCALER */
933 #define URX_FIFO_HALF 0x4000 /* FIFO is Half-Full */
955 /* 'EZ328-compatible definitions */
967 #define UMISC_IRDA_LOOP 0x0010 /* IrDA Loopback Enable */
968 #define UMISC_IRDA_EN 0x0020 /* Infra-Red Enable */
976 /* generalization of uart control registers to support multiple ports: */
1003 * 0xFFFFFAxx -- LCD Controller
1027 #define LXMAX_XM_MASK 0x02ff /* Bits 0-3 are reserved */
1035 #define LYMAX_YM_MASK 0x02ff /* Bits 10-15 are reserved */
1085 #define LPICF_GS_MASK 0x01 /* Gray-Scale Mode */
1130 #define LCKCON_DWS_MASK 0x3c /* Display Wait-State */
1135 /* 'EZ328-compatible definitions */
1160 #define LPOSR_BOS 0x08 /* Byte offset (for B/W mode only */
1192 * 0xFFFFFBxx -- Real-Time Clock (RTC)
1231 /* 'EZ328-compatible definitions */
1242 #define RTCISR_MIN 0x0002 /* 1-minute interrupt has occurred */
1244 #define RTCISR_DAY 0x0008 /* 24-hour rollover interrupt has occurred */
1254 #define RTCIENR_MIN 0x0002 /* 1-minute interrupt enable */
1256 #define RTCIENR_DAY 0x0008 /* 24-hour rollover interrupt enable */