| # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| %YAML 1.2 |
| --- |
| $id: http://devicetree.org/schemas/clock/renesas,r9a06g032-sysctrl.yaml# |
| $schema: http://devicetree.org/meta-schemas/core.yaml# |
| |
| title: Renesas RZ/N1D (R9A06G032) System Controller |
| |
| maintainers: |
| - Gareth Williams <gareth.williams.jx@renesas.com> |
| - Geert Uytterhoeven <geert+renesas@glider.be> |
| |
| properties: |
| compatible: |
| const: renesas,r9a06g032-sysctrl |
| |
| reg: |
| maxItems: 1 |
| |
| clocks: |
| minItems: 1 |
| items: |
| - description: External 40 MHz crystal |
| - description: Optional external 32.768 kHz crystal |
| - description: Optional external JTAG input |
| - description: Optional external RGMII_REFCLK |
| |
| clock-names: |
| minItems: 1 |
| items: |
| - const: mclk |
| - const: rtc |
| - const: jtag |
| - const: rgmii_ref_ext |
| |
| '#clock-cells': |
| const: 1 |
| |
| '#power-domain-cells': |
| const: 0 |
| |
| '#address-cells': |
| const: 1 |
| |
| '#size-cells': |
| const: 1 |
| |
| patternProperties: |
| "^dma-router@[a-f0-9]+$": |
| type: object |
| $ref: "../dma/renesas,rzn1-dmamux.yaml#" |
| |
| required: |
| - compatible |
| - reg |
| - clocks |
| - clock-names |
| - '#clock-cells' |
| - '#power-domain-cells' |
| |
| additionalProperties: false |
| |
| examples: |
| - | |
| sysctrl: system-controller@4000c000 { |
| compatible = "renesas,r9a06g032-sysctrl"; |
| reg = <0x4000c000 0x1000>; |
| clocks = <&ext_mclk>, <&ext_rtc_clk>, <&ext_jtag_clk>, |
| <&ext_rgmii_ref>; |
| clock-names = "mclk", "rtc", "jtag", "rgmii_ref_ext"; |
| #clock-cells = <1>; |
| #power-domain-cells = <0>; |
| }; |