1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2f15cbe6fSPaul Mundt #ifndef __ASM_CPU_SH3_ADC_H 3f15cbe6fSPaul Mundt #define __ASM_CPU_SH3_ADC_H 4f15cbe6fSPaul Mundt 5f15cbe6fSPaul Mundt /* 6f15cbe6fSPaul Mundt * Copyright (C) 2004 Andriy Skulysh 7f15cbe6fSPaul Mundt */ 8f15cbe6fSPaul Mundt 9f15cbe6fSPaul Mundt 10f15cbe6fSPaul Mundt #define ADDRAH 0xa4000080 11f15cbe6fSPaul Mundt #define ADDRAL 0xa4000082 12f15cbe6fSPaul Mundt #define ADDRBH 0xa4000084 13f15cbe6fSPaul Mundt #define ADDRBL 0xa4000086 14f15cbe6fSPaul Mundt #define ADDRCH 0xa4000088 15f15cbe6fSPaul Mundt #define ADDRCL 0xa400008a 16f15cbe6fSPaul Mundt #define ADDRDH 0xa400008c 17f15cbe6fSPaul Mundt #define ADDRDL 0xa400008e 18f15cbe6fSPaul Mundt #define ADCSR 0xa4000090 19f15cbe6fSPaul Mundt 20f15cbe6fSPaul Mundt #define ADCSR_ADF 0x80 21f15cbe6fSPaul Mundt #define ADCSR_ADIE 0x40 22f15cbe6fSPaul Mundt #define ADCSR_ADST 0x20 23f15cbe6fSPaul Mundt #define ADCSR_MULTI 0x10 24f15cbe6fSPaul Mundt #define ADCSR_CKS 0x08 25f15cbe6fSPaul Mundt #define ADCSR_CH_MASK 0x07 26f15cbe6fSPaul Mundt 27f15cbe6fSPaul Mundt #define ADCR 0xa4000092 28f15cbe6fSPaul Mundt 29f15cbe6fSPaul Mundt #endif /* __ASM_CPU_SH3_ADC_H */ 30