16 lines
356 B
C
16 lines
356 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2009, Lars-Peter Clausen <lars@metafoo.de>
|
|
* JZ4740 GPIO pin definitions
|
|
*/
|
|
|
|
#ifndef _JZ_GPIO_H
|
|
#define _JZ_GPIO_H
|
|
|
|
#define JZ_GPIO_PORTA(x) ((x) + 32 * 0)
|
|
#define JZ_GPIO_PORTB(x) ((x) + 32 * 1)
|
|
#define JZ_GPIO_PORTC(x) ((x) + 32 * 2)
|
|
#define JZ_GPIO_PORTD(x) ((x) + 32 * 3)
|
|
|
|
#endif
|