Laurent Pinchart | 10cdfe9 | 2013-11-06 13:14:19 +0100 | [diff] [blame] | 1 | * Renesas R-Car Gen2 Clock Pulse Generator (CPG) |
| 2 | |
| 3 | The CPG generates core clocks for the R-Car Gen2 SoCs. It includes three PLLs |
| 4 | and several fixed ratio dividers. |
| 5 | |
| 6 | Required 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 Kaneko | caa9657 | 2014-12-10 20:55:02 +0900 | [diff] [blame] | 11 | - "renesas,r8a7793-cpg-clocks" for the r8a7793 CPG |
Ulrich Hecht | 7466103 | 2014-08-29 20:15:10 +0200 | [diff] [blame] | 12 | - "renesas,r8a7794-cpg-clocks" for the r8a7794 CPG |
Geert Uytterhoeven | dd734a7 | 2015-05-28 11:31:17 +0200 | [diff] [blame^] | 13 | and "renesas,rcar-gen2-cpg-clocks" as a fallback. |
Laurent Pinchart | 10cdfe9 | 2013-11-06 13:14:19 +0100 | [diff] [blame] | 14 | |
| 15 | - reg: Base address and length of the memory resource used by the CPG |
| 16 | |
Sergei Shtylyov | 90cf0e2 | 2015-01-06 00:25:08 +0300 | [diff] [blame] | 17 | - clocks: References to the parent clocks: first to the EXTAL clock, second |
| 18 | to the USB_EXTAL clock |
Laurent Pinchart | 10cdfe9 | 2013-11-06 13:14:19 +0100 | [diff] [blame] | 19 | - #clock-cells: Must be 1 |
| 20 | - clock-output-names: The names of the clocks. Supported clocks are "main", |
Sergei Shtylyov | 1484276 | 2015-01-07 01:39:52 +0300 | [diff] [blame] | 21 | "pll0", "pll1", "pll3", "lb", "qspi", "sdh", "sd0", "sd1", "z", "rcan", and |
| 22 | "adsp" |
Laurent Pinchart | 10cdfe9 | 2013-11-06 13:14:19 +0100 | [diff] [blame] | 23 | |
| 24 | |
| 25 | Example |
| 26 | ------- |
| 27 | |
| 28 | cpg_clocks: cpg_clocks@e6150000 { |
| 29 | compatible = "renesas,r8a7790-cpg-clocks", |
| 30 | "renesas,rcar-gen2-cpg-clocks"; |
| 31 | reg = <0 0xe6150000 0 0x1000>; |
Sergei Shtylyov | 90cf0e2 | 2015-01-06 00:25:08 +0300 | [diff] [blame] | 32 | clocks = <&extal_clk &usb_extal_clk>; |
Laurent Pinchart | 10cdfe9 | 2013-11-06 13:14:19 +0100 | [diff] [blame] | 33 | #clock-cells = <1>; |
| 34 | clock-output-names = "main", "pll0, "pll1", "pll3", |
Sergei Shtylyov | 90cf0e2 | 2015-01-06 00:25:08 +0300 | [diff] [blame] | 35 | "lb", "qspi", "sdh", "sd0", "sd1", "z", |
Sergei Shtylyov | 1484276 | 2015-01-07 01:39:52 +0300 | [diff] [blame] | 36 | "rcan", "adsp"; |
Laurent Pinchart | 10cdfe9 | 2013-11-06 13:14:19 +0100 | [diff] [blame] | 37 | }; |