-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'renesas-r9a09g047-dt-binding-defs-tag2' into renesas-dts-f…
…or-v6.14 Renesas RZ/G3E Pin Control DT Binding Definitions Pin control DT bindings and binding definitions for the Renesas RZ/G3E (R9A09G047) SoC, shared by driver and DT source files.
- Loading branch information
Showing
2 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ | ||
/* | ||
* This header provides constants for Renesas RZ/G3E family pinctrl bindings. | ||
* | ||
* Copyright (C) 2024 Renesas Electronics Corp. | ||
* | ||
*/ | ||
|
||
#ifndef __DT_BINDINGS_PINCTRL_RENESAS_R9A09G047_PINCTRL_H__ | ||
#define __DT_BINDINGS_PINCTRL_RENESAS_R9A09G047_PINCTRL_H__ | ||
|
||
#include <dt-bindings/pinctrl/rzg2l-pinctrl.h> | ||
|
||
/* RZG3E_Px = Offset address of PFC_P_mn - 0x20 */ | ||
#define RZG3E_P0 0 | ||
#define RZG3E_P1 1 | ||
#define RZG3E_P2 2 | ||
#define RZG3E_P3 3 | ||
#define RZG3E_P4 4 | ||
#define RZG3E_P5 5 | ||
#define RZG3E_P6 6 | ||
#define RZG3E_P7 7 | ||
#define RZG3E_P8 8 | ||
#define RZG3E_PA 10 | ||
#define RZG3E_PB 11 | ||
#define RZG3E_PC 12 | ||
#define RZG3E_PD 13 | ||
#define RZG3E_PE 14 | ||
#define RZG3E_PF 15 | ||
#define RZG3E_PG 16 | ||
#define RZG3E_PH 17 | ||
#define RZG3E_PJ 19 | ||
#define RZG3E_PK 20 | ||
#define RZG3E_PL 21 | ||
#define RZG3E_PM 22 | ||
#define RZG3E_PS 28 | ||
|
||
#define RZG3E_PORT_PINMUX(b, p, f) RZG2L_PORT_PINMUX(RZG3E_P##b, p, f) | ||
#define RZG3E_GPIO(port, pin) RZG2L_GPIO(RZG3E_P##port, pin) | ||
|
||
#endif /* __DT_BINDINGS_PINCTRL_RENESAS_R9A09G047_PINCTRL_H__ */ |