mirror of
https://github.com/smaeul/u-boot.git
synced 2025-09-15 14:36:03 +01:00
[1] https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git Based on what "git diff" suggests, rename a device tree for imx8mm_venice_defconfig and imx8mp_venice_defconfig Signed-off-by: Tom Rini <trini@konsulko.com> --- Cc: Tim Harvey <tharvey@gateworks.com>
20 lines
475 B
C
20 lines
475 B
C
/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
|
|
/*
|
|
* Copyright (C) 2023 Sophgo Ltd.
|
|
*
|
|
* Author: Inochi Amaoto <inochiama@outlook.com>
|
|
*/
|
|
|
|
#ifndef _DT_BINDINGS_PINCTRL_CV18XX_H
|
|
#define _DT_BINDINGS_PINCTRL_CV18XX_H
|
|
|
|
#define PIN_MUX_INVALD 0xff
|
|
|
|
#define PINMUX2(pin, mux, mux2) \
|
|
(((pin) & 0xffff) | (((mux) & 0xff) << 16) | (((mux2) & 0xff) << 24))
|
|
|
|
#define PINMUX(pin, mux) \
|
|
PINMUX2(pin, mux, PIN_MUX_INVALD)
|
|
|
|
#endif /* _DT_BINDINGS_PINCTRL_CV18XX_H */
|