mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-05 02:51:00 +00:00
18 lines
378 B
C
18 lines
378 B
C
|
/*
|
||
|
* Copyright (C) 2016 Marvell International Ltd.
|
||
|
*
|
||
|
* SPDX-License-Identifier: GPL-2.0
|
||
|
* https://spdx.org/licenses
|
||
|
*/
|
||
|
|
||
|
#ifndef _SOC_INFO_H_
|
||
|
#define _SOC_INFO_H_
|
||
|
|
||
|
/* Pin Ctrl driver definitions */
|
||
|
#define BITS_PER_PIN 4
|
||
|
#define PIN_FUNC_MASK ((1 << BITS_PER_PIN) - 1)
|
||
|
#define PIN_REG_SHIFT 3
|
||
|
#define PIN_FIELD_MASK ((1 << PIN_REG_SHIFT) - 1)
|
||
|
|
||
|
#endif /* _SOC_INFO_H_ */
|