xref: /freebsd/sys/contrib/device-tree/Bindings/clock/renesas,r9a06g032-sysctrl.yaml (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
15956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25956d97fSEmmanuel Vadot%YAML 1.2
35956d97fSEmmanuel Vadot---
45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/renesas,r9a06g032-sysctrl.yaml#
55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65956d97fSEmmanuel Vadot
75956d97fSEmmanuel Vadottitle: Renesas RZ/N1D (R9A06G032) System Controller
85956d97fSEmmanuel Vadot
95956d97fSEmmanuel Vadotmaintainers:
10fac71e4eSEmmanuel Vadot  - Fabrizio Castro <fabrizio.castro.jz@renesas.com>
115956d97fSEmmanuel Vadot  - Geert Uytterhoeven <geert+renesas@glider.be>
125956d97fSEmmanuel Vadot
135956d97fSEmmanuel Vadotproperties:
145956d97fSEmmanuel Vadot  compatible:
155956d97fSEmmanuel Vadot    const: renesas,r9a06g032-sysctrl
165956d97fSEmmanuel Vadot
175956d97fSEmmanuel Vadot  reg:
185956d97fSEmmanuel Vadot    maxItems: 1
195956d97fSEmmanuel Vadot
205956d97fSEmmanuel Vadot  clocks:
215956d97fSEmmanuel Vadot    minItems: 1
225956d97fSEmmanuel Vadot    items:
235956d97fSEmmanuel Vadot      - description: External 40 MHz crystal
245956d97fSEmmanuel Vadot      - description: Optional external 32.768 kHz crystal
255956d97fSEmmanuel Vadot      - description: Optional external JTAG input
265956d97fSEmmanuel Vadot      - description: Optional external RGMII_REFCLK
275956d97fSEmmanuel Vadot
285956d97fSEmmanuel Vadot  clock-names:
295956d97fSEmmanuel Vadot    minItems: 1
305956d97fSEmmanuel Vadot    items:
315956d97fSEmmanuel Vadot      - const: mclk
325956d97fSEmmanuel Vadot      - const: rtc
335956d97fSEmmanuel Vadot      - const: jtag
345956d97fSEmmanuel Vadot      - const: rgmii_ref_ext
355956d97fSEmmanuel Vadot
365956d97fSEmmanuel Vadot  '#clock-cells':
375956d97fSEmmanuel Vadot    const: 1
385956d97fSEmmanuel Vadot
395956d97fSEmmanuel Vadot  '#power-domain-cells':
405956d97fSEmmanuel Vadot    const: 0
415956d97fSEmmanuel Vadot
42d5b0e70fSEmmanuel Vadot  '#address-cells':
43d5b0e70fSEmmanuel Vadot    const: 1
44d5b0e70fSEmmanuel Vadot
45d5b0e70fSEmmanuel Vadot  '#size-cells':
46d5b0e70fSEmmanuel Vadot    const: 1
47d5b0e70fSEmmanuel Vadot
48d5b0e70fSEmmanuel VadotpatternProperties:
49d5b0e70fSEmmanuel Vadot  "^dma-router@[a-f0-9]+$":
50d5b0e70fSEmmanuel Vadot    type: object
51*f126890aSEmmanuel Vadot    $ref: /schemas/dma/renesas,rzn1-dmamux.yaml#
52d5b0e70fSEmmanuel Vadot
535956d97fSEmmanuel Vadotrequired:
545956d97fSEmmanuel Vadot  - compatible
555956d97fSEmmanuel Vadot  - reg
565956d97fSEmmanuel Vadot  - clocks
575956d97fSEmmanuel Vadot  - clock-names
585956d97fSEmmanuel Vadot  - '#clock-cells'
595956d97fSEmmanuel Vadot  - '#power-domain-cells'
605956d97fSEmmanuel Vadot
615956d97fSEmmanuel VadotadditionalProperties: false
625956d97fSEmmanuel Vadot
635956d97fSEmmanuel Vadotexamples:
645956d97fSEmmanuel Vadot  - |
655956d97fSEmmanuel Vadot    sysctrl: system-controller@4000c000 {
665956d97fSEmmanuel Vadot            compatible = "renesas,r9a06g032-sysctrl";
675956d97fSEmmanuel Vadot            reg = <0x4000c000 0x1000>;
685956d97fSEmmanuel Vadot            clocks = <&ext_mclk>, <&ext_rtc_clk>, <&ext_jtag_clk>,
695956d97fSEmmanuel Vadot                     <&ext_rgmii_ref>;
705956d97fSEmmanuel Vadot            clock-names = "mclk", "rtc", "jtag", "rgmii_ref_ext";
715956d97fSEmmanuel Vadot            #clock-cells = <1>;
725956d97fSEmmanuel Vadot            #power-domain-cells = <0>;
735956d97fSEmmanuel Vadot    };
74