Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
43 lines
994 B
C
43 lines
994 B
C
/*
|
|
* GPIOs and interrupts for Voipac PXA270
|
|
*
|
|
* Copyright (C) 2010
|
|
* Marek Vasut <marek.vasut@gmail.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
*/
|
|
|
|
#ifndef _INCLUDE_VPAC270_H_
|
|
#define _INCLUDE_VPAC270_H_
|
|
|
|
#define GPIO1_VPAC270_USER_BTN 1
|
|
|
|
#define GPIO15_VPAC270_LED_ORANGE 15
|
|
|
|
#define GPIO81_VPAC270_BKL_ON 81
|
|
#define GPIO83_VPAC270_NL_ON 83
|
|
|
|
#define GPIO52_VPAC270_SD_READONLY 52
|
|
#define GPIO53_VPAC270_SD_DETECT_N 53
|
|
|
|
#define GPIO84_VPAC270_PCMCIA_CD 84
|
|
#define GPIO35_VPAC270_PCMCIA_RDY 35
|
|
#define GPIO107_VPAC270_PCMCIA_PPEN 107
|
|
#define GPIO11_VPAC270_PCMCIA_RESET 11
|
|
#define GPIO17_VPAC270_CF_CD 17
|
|
#define GPIO12_VPAC270_CF_RDY 12
|
|
#define GPIO16_VPAC270_CF_RESET 16
|
|
|
|
#define GPIO41_VPAC270_UDC_DETECT 41
|
|
|
|
#define GPIO114_VPAC270_ETH_IRQ 114
|
|
|
|
#define GPIO36_VPAC270_IDE_IRQ 36
|
|
|
|
#define GPIO113_VPAC270_TS_IRQ 113
|
|
|
|
#endif
|