blob: bae39951eed00bb97bfc112bb5f915395f828cf4 [file] [log] [blame]
Konstantin Porotchkinaed83152016-12-08 12:22:29 +02001/*
2 * Copyright (C) 2016 Marvell International Ltd.
3 *
4 * SPDX-License-Identifier: GPL-2.0
5 * https://spdx.org/licenses
6 */
7
8#ifndef _SOC_INFO_H_
9#define _SOC_INFO_H_
10
11/* Pin Ctrl driver definitions */
12#define BITS_PER_PIN 4
13#define PIN_FUNC_MASK ((1 << BITS_PER_PIN) - 1)
14#define PIN_REG_SHIFT 3
15#define PIN_FIELD_MASK ((1 << PIN_REG_SHIFT) - 1)
16
17#endif /* _SOC_INFO_H_ */