Commit 5c7fb203 authored by Biju Das's avatar Biju Das Committed by Geert Uytterhoeven
Browse files

dt-bindings: pinctrl: renesas: Document RZ/G3E SoC



Add documentation for the pin controller found on the Renesas RZ/G3E
(R9A09G047) SoC. The RZ/G3E PFC is similar to the RZ/V2H SoC but has more
pins(P00-PS3).

Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarBiju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20241216195325.164212-3-biju.das.jz@bp.renesas.com


Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent 25458fdd
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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,r9a09g047-pinctrl # RZ/G3E
              - renesas,r9a09g057-pinctrl # RZ/V2H(P)

      - items:
@@ -125,7 +126,7 @@ additionalProperties:
        drive-push-pull: true
        renesas,output-impedance:
          description:
            Output impedance for pins on the RZ/V2H(P) SoC. The value provided by this
            Output impedance for pins on the RZ/{G3E,V2H(P)} SoC. The value provided by this
            property corresponds to register bit values that can be set in the PFC_IOLH_mn
            register, which adjusts the drive strength value and is pin-dependent.
          $ref: /schemas/types.yaml#/definitions/uint32
@@ -142,7 +143,9 @@ allOf:
      properties:
        compatible:
          contains:
            const: renesas,r9a09g057-pinctrl
            enum:
              - renesas,r9a09g047-pinctrl
              - renesas,r9a09g057-pinctrl
    then:
      properties:
        resets:
+41 −0
Original line number Diff line number Diff line
/* 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__ */