Renesas RZ/G3L DT Pin Control Binding Definitions

Pin Control DT bindings and binding definitions for the Renesas RZ/G3L
 (R9A08G046) SoC, shared by driver and DT source files.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCagGbvwAKCRCKwlD9ZEnx
 cFqvAQCHXu26Wa1NofTCjZkXFWDCCDv5Mku42tZdgy4FxAipagEArInzwVlKhr5u
 q9YGJ0ayxbfRpSSEyoNNTNojkXEyJw8=
 =bHGM
 -----END PGP SIGNATURE-----

Merge tag 'renesas-r9a08g046-dt-binding-defs-tag2' into renesas-dts-for-v7.2

Renesas RZ/G3L DT Pin Control Binding Definitions

Pin Control DT bindings and binding definitions for the Renesas RZ/G3L
(R9A08G046) SoC, shared by driver and DT source files.
This commit is contained in:
Geert Uytterhoeven 2026-05-12 11:51:51 +02:00
commit fdbf2cfbac
2 changed files with 73 additions and 0 deletions

View File

@ -26,6 +26,7 @@ properties:
- renesas,r9a07g043-pinctrl # RZ/G2UL{Type-1,Type-2} and RZ/Five
- renesas,r9a07g044-pinctrl # RZ/G2{L,LC}
- renesas,r9a08g045-pinctrl # RZ/G3S
- renesas,r9a08g046-pinctrl # RZ/G3L
- renesas,r9a09g047-pinctrl # RZ/G3E
- renesas,r9a09g056-pinctrl # RZ/V2N
- renesas,r9a09g057-pinctrl # RZ/V2H(P)
@ -78,6 +79,26 @@ properties:
- description: PFC main reset
- description: Reset for the control register related to WDTUDFCA and WDTUDFFCM pins
reset-names:
oneOf:
- items:
- const: rstn
- const: port
- const: spare
- items:
- const: main
- const: error
renesas,clonech:
$ref: /schemas/types.yaml#/definitions/phandle-array
items:
- items:
- description: phandle to system controller
- description: offset of clone channel control register
description:
Phandle and offset to the system controller containing the clone channel
control values.
additionalProperties:
anyOf:
- type: object
@ -140,6 +161,15 @@ additionalProperties:
allOf:
- $ref: pinctrl.yaml#
- if:
properties:
compatible:
contains:
const: renesas,r9a08g046-pinctrl
then:
required:
- renesas,clonech
- if:
properties:
compatible:
@ -152,10 +182,14 @@ allOf:
properties:
resets:
maxItems: 2
reset-names:
maxItems: 2
else:
properties:
resets:
minItems: 3
reset-names:
minItems: 3
required:
- compatible
@ -187,6 +221,7 @@ examples:
resets = <&cpg R9A07G044_GPIO_RSTN>,
<&cpg R9A07G044_GPIO_PORT_RESETN>,
<&cpg R9A07G044_GPIO_SPARE_RESETN>;
reset-names = "rstn", "port", "spare";
power-domains = <&cpg>;
scif0_pins: serial0 {

View File

@ -0,0 +1,38 @@
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
/*
* This header provides constants for Renesas RZ/G3L family pinctrl bindings.
*
* Copyright (C) 2026 Renesas Electronics Corp.
*
*/
#ifndef __DT_BINDINGS_PINCTRL_RENESAS_R9A08G046_PINCTRL_H__
#define __DT_BINDINGS_PINCTRL_RENESAS_R9A08G046_PINCTRL_H__
#include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
/* RZG3L_Px = Offset address of PFC_P_mn - 0x22 */
#define RZG3L_P2 2
#define RZG3L_P3 3
#define RZG3L_P5 5
#define RZG3L_P6 6
#define RZG3L_P7 7
#define RZG3L_P8 8
#define RZG3L_PA 10
#define RZG3L_PB 11
#define RZG3L_PC 12
#define RZG3L_PD 13
#define RZG3L_PE 14
#define RZG3L_PF 15
#define RZG3L_PG 16
#define RZG3L_PH 17
#define RZG3L_PJ 19
#define RZG3L_PK 20
#define RZG3L_PL 21
#define RZG3L_PM 22
#define RZG3L_PS 28
#define RZG3L_PORT_PINMUX(b, p, f) RZG2L_PORT_PINMUX(RZG3L_P##b, p, f)
#define RZG3L_GPIO(port, pin) RZG2L_GPIO(RZG3L_P##port, pin)
#endif /* __DT_BINDINGS_PINCTRL_RENESAS_R9A08G046_PINCTRL_H__ */