18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __ASM_CPU_SH3_ADC_H 38c2ecf20Sopenharmony_ci#define __ASM_CPU_SH3_ADC_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* 68c2ecf20Sopenharmony_ci * Copyright (C) 2004 Andriy Skulysh 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#define ADDRAH 0xa4000080 118c2ecf20Sopenharmony_ci#define ADDRAL 0xa4000082 128c2ecf20Sopenharmony_ci#define ADDRBH 0xa4000084 138c2ecf20Sopenharmony_ci#define ADDRBL 0xa4000086 148c2ecf20Sopenharmony_ci#define ADDRCH 0xa4000088 158c2ecf20Sopenharmony_ci#define ADDRCL 0xa400008a 168c2ecf20Sopenharmony_ci#define ADDRDH 0xa400008c 178c2ecf20Sopenharmony_ci#define ADDRDL 0xa400008e 188c2ecf20Sopenharmony_ci#define ADCSR 0xa4000090 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#define ADCSR_ADF 0x80 218c2ecf20Sopenharmony_ci#define ADCSR_ADIE 0x40 228c2ecf20Sopenharmony_ci#define ADCSR_ADST 0x20 238c2ecf20Sopenharmony_ci#define ADCSR_MULTI 0x10 248c2ecf20Sopenharmony_ci#define ADCSR_CKS 0x08 258c2ecf20Sopenharmony_ci#define ADCSR_CH_MASK 0x07 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci#define ADCR 0xa4000092 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci#endif /* __ASM_CPU_SH3_ADC_H */ 30