blob: 5b704b5ab8ab2139c81e86839f8dc209264ffbfc [file] [log] [blame]
Laurent Pinchart10cdfe92013-11-06 13:14:19 +01001* Renesas R-Car Gen2 Clock Pulse Generator (CPG)
2
3The CPG generates core clocks for the R-Car Gen2 SoCs. It includes three PLLs
4and several fixed ratio dividers.
5
6Required Properties:
7
8 - compatible: Must be one of
9 - "renesas,r8a7790-cpg-clocks" for the r8a7790 CPG
10 - "renesas,r8a7791-cpg-clocks" for the r8a7791 CPG
Yoshihiro Kanekocaa96572014-12-10 20:55:02 +090011 - "renesas,r8a7793-cpg-clocks" for the r8a7793 CPG
Ulrich Hecht74661032014-08-29 20:15:10 +020012 - "renesas,r8a7794-cpg-clocks" for the r8a7794 CPG
Laurent Pinchart10cdfe92013-11-06 13:14:19 +010013 - "renesas,rcar-gen2-cpg-clocks" for the generic R-Car Gen2 CPG
14
15 - reg: Base address and length of the memory resource used by the CPG
16
Sergei Shtylyov90cf0e22015-01-06 00:25:08 +030017 - clocks: References to the parent clocks: first to the EXTAL clock, second
18 to the USB_EXTAL clock
Laurent Pinchart10cdfe92013-11-06 13:14:19 +010019 - #clock-cells: Must be 1
20 - clock-output-names: The names of the clocks. Supported clocks are "main",
Sergei Shtylyov90cf0e22015-01-06 00:25:08 +030021 "pll0", "pll1", "pll3", "lb", "qspi", "sdh", "sd0", "sd1", "z", and "rcan"
Laurent Pinchart10cdfe92013-11-06 13:14:19 +010022
23
24Example
25-------
26
27 cpg_clocks: cpg_clocks@e6150000 {
28 compatible = "renesas,r8a7790-cpg-clocks",
29 "renesas,rcar-gen2-cpg-clocks";
30 reg = <0 0xe6150000 0 0x1000>;
Sergei Shtylyov90cf0e22015-01-06 00:25:08 +030031 clocks = <&extal_clk &usb_extal_clk>;
Laurent Pinchart10cdfe92013-11-06 13:14:19 +010032 #clock-cells = <1>;
33 clock-output-names = "main", "pll0, "pll1", "pll3",
Sergei Shtylyov90cf0e22015-01-06 00:25:08 +030034 "lb", "qspi", "sdh", "sd0", "sd1", "z",
35 "rcan";
Laurent Pinchart10cdfe92013-11-06 13:14:19 +010036 };