mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-25 04:23:46 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
155 lines
1.2 KiB
C
155 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2012.
|
|
*
|
|
* Gabriel Huau <contact@huau-gabriel.fr>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _S3C24X0_GPIO_H_
|
|
#define _S3C24X0_GPIO_H_
|
|
|
|
enum s3c2440_gpio {
|
|
GPA0,
|
|
GPA1,
|
|
GPA2,
|
|
GPA3,
|
|
GPA4,
|
|
GPA5,
|
|
GPA6,
|
|
GPA7,
|
|
GPA8,
|
|
GPA9,
|
|
GPA10,
|
|
GPA11,
|
|
GPA12,
|
|
GPA13,
|
|
GPA14,
|
|
GPA15,
|
|
GPA16,
|
|
GPA17,
|
|
GPA18,
|
|
GPA19,
|
|
GPA20,
|
|
GPA21,
|
|
GPA22,
|
|
GPA23,
|
|
GPA24,
|
|
|
|
GPB0 = 32,
|
|
GPB1,
|
|
GPB2,
|
|
GPB3,
|
|
GPB4,
|
|
GPB5,
|
|
GPB6,
|
|
GPB7,
|
|
GPB8,
|
|
GPB9,
|
|
GPB10,
|
|
|
|
GPC0 = 64,
|
|
GPC1,
|
|
GPC2,
|
|
GPC3,
|
|
GPC4,
|
|
GPC5,
|
|
GPC6,
|
|
GPC7,
|
|
GPC8,
|
|
GPC9,
|
|
GPC10,
|
|
GPC11,
|
|
GPC12,
|
|
GPC13,
|
|
GPC14,
|
|
GPC15,
|
|
|
|
GPD0 = 96,
|
|
GPD1,
|
|
GPD2,
|
|
GPD3,
|
|
GPD4,
|
|
GPD5,
|
|
GPD6,
|
|
GPD7,
|
|
GPD8,
|
|
GPD9,
|
|
GPD10,
|
|
GPD11,
|
|
GPD12,
|
|
GPD13,
|
|
GPD14,
|
|
GPD15,
|
|
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