summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-jz4740/gpio.h
blob: 2092a35977349ceb567809823cd3e43759e4b338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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