18c2ecf20Sopenharmony_ci* Renesas R9A06G032 SYSCTRL 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired Properties: 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci - compatible: Must be: 68c2ecf20Sopenharmony_ci - "renesas,r9a06g032-sysctrl" 78c2ecf20Sopenharmony_ci - reg: Base address and length of the SYSCTRL IO block. 88c2ecf20Sopenharmony_ci - #clock-cells: Must be 1 98c2ecf20Sopenharmony_ci - clocks: References to the parent clocks: 108c2ecf20Sopenharmony_ci - external 40mhz crystal. 118c2ecf20Sopenharmony_ci - external (optional) 32.768khz 128c2ecf20Sopenharmony_ci - external (optional) jtag input 138c2ecf20Sopenharmony_ci - external (optional) RGMII_REFCLK 148c2ecf20Sopenharmony_ci - clock-names: Must be: 158c2ecf20Sopenharmony_ci clock-names = "mclk", "rtc", "jtag", "rgmii_ref_ext"; 168c2ecf20Sopenharmony_ci - #power-domain-cells: Must be 0 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ciExamples 198c2ecf20Sopenharmony_ci-------- 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci - SYSCTRL node: 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci sysctrl: system-controller@4000c000 { 248c2ecf20Sopenharmony_ci compatible = "renesas,r9a06g032-sysctrl"; 258c2ecf20Sopenharmony_ci reg = <0x4000c000 0x1000>; 268c2ecf20Sopenharmony_ci #clock-cells = <1>; 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci clocks = <&ext_mclk>, <&ext_rtc_clk>, 298c2ecf20Sopenharmony_ci <&ext_jtag_clk>, <&ext_rgmii_ref>; 308c2ecf20Sopenharmony_ci clock-names = "mclk", "rtc", "jtag", "rgmii_ref_ext"; 318c2ecf20Sopenharmony_ci #power-domain-cells = <0>; 328c2ecf20Sopenharmony_ci }; 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci - Other nodes can use the clocks provided by SYSCTRL as in: 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci #include <dt-bindings/clock/r9a06g032-sysctrl.h> 378c2ecf20Sopenharmony_ci uart0: serial@40060000 { 388c2ecf20Sopenharmony_ci compatible = "snps,dw-apb-uart"; 398c2ecf20Sopenharmony_ci reg = <0x40060000 0x400>; 408c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 418c2ecf20Sopenharmony_ci reg-shift = <2>; 428c2ecf20Sopenharmony_ci reg-io-width = <4>; 438c2ecf20Sopenharmony_ci clocks = <&sysctrl R9A06G032_CLK_UART0>, <&sysctrl R9A06G032_HCLK_UART0>; 448c2ecf20Sopenharmony_ci clock-names = "baudclk", "apb_pclk"; 458c2ecf20Sopenharmony_ci power-domains = <&sysctrl>; 468c2ecf20Sopenharmony_ci }; 47