Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'renesas-r9a09g047-dt-binding-defs-tag2' into renesas-pinctrl-for-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.

+93 -8
+9 -6
Documentation/devicetree/bindings/clock/renesas,rzv2h-cpg.yaml
··· 4 4 $id: http://devicetree.org/schemas/clock/renesas,rzv2h-cpg.yaml# 5 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 - title: Renesas RZ/V2H(P) Clock Pulse Generator (CPG) 7 + title: Renesas RZ/{G3E,V2H(P)} Clock Pulse Generator (CPG) 8 8 9 9 maintainers: 10 10 - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> 11 11 12 12 description: 13 - On Renesas RZ/V2H(P) SoCs, the CPG (Clock Pulse Generator) handles generation 14 - and control of clock signals for the IP modules, generation and control of resets, 15 - and control over booting, low power consumption and power supply domains. 13 + On Renesas RZ/{G3E,V2H(P)} SoCs, the CPG (Clock Pulse Generator) handles 14 + generation and control of clock signals for the IP modules, generation and 15 + control of resets, and control over booting, low power consumption and power 16 + supply domains. 16 17 17 18 properties: 18 19 compatible: 19 - const: renesas,r9a09g057-cpg 20 + enum: 21 + - renesas,r9a09g047-cpg # RZ/G3E 22 + - renesas,r9a09g057-cpg # RZ/V2H 20 23 21 24 reg: 22 25 maxItems: 1 ··· 40 37 description: | 41 38 - For CPG core clocks, the two clock specifier cells must be "CPG_CORE" 42 39 and a core clock reference, as defined in 43 - <dt-bindings/clock/renesas,r9a09g057-cpg.h>, 40 + <dt-bindings/clock/renesas,r9a09g0*-cpg.h>, 44 41 - For module clocks, the two clock specifier cells must be "CPG_MOD" and 45 42 a module number. The module number is calculated as the CLKON register 46 43 offset index multiplied by 16, plus the actual bit in the register
+5 -2
Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml
··· 26 26 - renesas,r9a07g043-pinctrl # RZ/G2UL{Type-1,Type-2} and RZ/Five 27 27 - renesas,r9a07g044-pinctrl # RZ/G2{L,LC} 28 28 - renesas,r9a08g045-pinctrl # RZ/G3S 29 + - renesas,r9a09g047-pinctrl # RZ/G3E 29 30 - renesas,r9a09g057-pinctrl # RZ/V2H(P) 30 31 31 32 - items: ··· 126 125 drive-push-pull: true 127 126 renesas,output-impedance: 128 127 description: 129 - Output impedance for pins on the RZ/V2H(P) SoC. The value provided by this 128 + Output impedance for pins on the RZ/{G3E,V2H(P)} SoC. The value provided by this 130 129 property corresponds to register bit values that can be set in the PFC_IOLH_mn 131 130 register, which adjusts the drive strength value and is pin-dependent. 132 131 $ref: /schemas/types.yaml#/definitions/uint32 ··· 143 142 properties: 144 143 compatible: 145 144 contains: 146 - const: renesas,r9a09g057-pinctrl 145 + enum: 146 + - renesas,r9a09g047-pinctrl 147 + - renesas,r9a09g057-pinctrl 147 148 then: 148 149 properties: 149 150 resets:
+17
Documentation/devicetree/bindings/soc/renesas/renesas.yaml
··· 525 525 - renesas,rzv2mevk2 # RZ/V2M Eval Board v2.0 526 526 - const: renesas,r9a09g011 527 527 528 + - description: RZ/G3E (R9A09G047) 529 + items: 530 + - enum: 531 + - renesas,smarc2-evk # RZ SMARC Carrier-II EVK 532 + - enum: 533 + - renesas,rzg3e-smarcm # RZ/G3E SMARC Module (SoM) 534 + - enum: 535 + - renesas,r9a09g047e27 # Dual Cortex-A55 + Cortex-M33 (15mm BGA) 536 + - renesas,r9a09g047e28 # Dual Cortex-A55 + Cortex-M33 (21mm BGA) 537 + - renesas,r9a09g047e37 # Dual Cortex-A55 + Cortex-M33 + Ethos-U55 (15mm BGA) 538 + - renesas,r9a09g047e38 # Dual Cortex-A55 + Cortex-M33 + Ethos-U55 (21mm BGA) 539 + - renesas,r9a09g047e47 # Quad Cortex-A55 + Cortex-M33 (15mm BGA) 540 + - renesas,r9a09g047e48 # Quad Cortex-A55 + Cortex-M33 (21mm BGA) 541 + - renesas,r9a09g047e57 # Quad Cortex-A55 + Cortex-M33 + Ethos-U55 (15mm BGA) 542 + - renesas,r9a09g047e58 # Quad Cortex-A55 + Cortex-M33 + Ethos-U55 (21mm BGA) 543 + - const: renesas,r9a09g047 544 + 528 545 - description: RZ/V2H(P) (R9A09G057) 529 546 items: 530 547 - enum:
+21
include/dt-bindings/clock/renesas,r9a09g047-cpg.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + * 3 + * Copyright (C) 2024 Renesas Electronics Corp. 4 + */ 5 + #ifndef __DT_BINDINGS_CLOCK_RENESAS_R9A09G047_CPG_H__ 6 + #define __DT_BINDINGS_CLOCK_RENESAS_R9A09G047_CPG_H__ 7 + 8 + #include <dt-bindings/clock/renesas-cpg-mssr.h> 9 + 10 + /* Core Clock list */ 11 + #define R9A09G047_SYS_0_PCLK 0 12 + #define R9A09G047_CA55_0_CORECLK0 1 13 + #define R9A09G047_CA55_0_CORECLK1 2 14 + #define R9A09G047_CA55_0_CORECLK2 3 15 + #define R9A09G047_CA55_0_CORECLK3 4 16 + #define R9A09G047_CA55_0_PERIPHCLK 5 17 + #define R9A09G047_CM33_CLK0 6 18 + #define R9A09G047_CST_0_SWCLKTCK 7 19 + #define R9A09G047_IOTOP_0_SHCLK 8 20 + 21 + #endif /* __DT_BINDINGS_CLOCK_RENESAS_R9A09G047_CPG_H__ */
+41
include/dt-bindings/pinctrl/renesas,r9a09g047-pinctrl.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 + /* 3 + * This header provides constants for Renesas RZ/G3E family pinctrl bindings. 4 + * 5 + * Copyright (C) 2024 Renesas Electronics Corp. 6 + * 7 + */ 8 + 9 + #ifndef __DT_BINDINGS_PINCTRL_RENESAS_R9A09G047_PINCTRL_H__ 10 + #define __DT_BINDINGS_PINCTRL_RENESAS_R9A09G047_PINCTRL_H__ 11 + 12 + #include <dt-bindings/pinctrl/rzg2l-pinctrl.h> 13 + 14 + /* RZG3E_Px = Offset address of PFC_P_mn - 0x20 */ 15 + #define RZG3E_P0 0 16 + #define RZG3E_P1 1 17 + #define RZG3E_P2 2 18 + #define RZG3E_P3 3 19 + #define RZG3E_P4 4 20 + #define RZG3E_P5 5 21 + #define RZG3E_P6 6 22 + #define RZG3E_P7 7 23 + #define RZG3E_P8 8 24 + #define RZG3E_PA 10 25 + #define RZG3E_PB 11 26 + #define RZG3E_PC 12 27 + #define RZG3E_PD 13 28 + #define RZG3E_PE 14 29 + #define RZG3E_PF 15 30 + #define RZG3E_PG 16 31 + #define RZG3E_PH 17 32 + #define RZG3E_PJ 19 33 + #define RZG3E_PK 20 34 + #define RZG3E_PL 21 35 + #define RZG3E_PM 22 36 + #define RZG3E_PS 28 37 + 38 + #define RZG3E_PORT_PINMUX(b, p, f) RZG2L_PORT_PINMUX(RZG3E_P##b, p, f) 39 + #define RZG3E_GPIO(port, pin) RZG2L_GPIO(RZG3E_P##port, pin) 40 + 41 + #endif /* __DT_BINDINGS_PINCTRL_RENESAS_R9A09G047_PINCTRL_H__ */