mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 09:36:57 +07:00
1923ca92a6
Driver for the R8A7740's clocks that are too specific to be supported by a generic driver. Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
These bindings should be considered EXPERIMENTAL for now.
|
|
|
|
* Renesas R8A7740 Clock Pulse Generator (CPG)
|
|
|
|
The CPG generates core clocks for the R8A7740 SoC. It includes three PLLs
|
|
and several fixed ratio and variable ratio dividers.
|
|
|
|
Required Properties:
|
|
|
|
- compatible: Must be "renesas,r8a7740-cpg-clocks"
|
|
|
|
- reg: Base address and length of the memory resource used by the CPG
|
|
|
|
- clocks: Reference to the three parent clocks
|
|
- #clock-cells: Must be 1
|
|
- clock-output-names: The names of the clocks. Supported clocks are
|
|
"system", "pllc0", "pllc1", "pllc2", "r", "usb24s", "i", "zg", "b",
|
|
"m1", "hp", "hpp", "usbp", "s", "zb", "m3", and "cp".
|
|
|
|
- renesas,mode: board-specific settings of the MD_CK* bits
|
|
|
|
|
|
Example
|
|
-------
|
|
|
|
cpg_clocks: cpg_clocks@e6150000 {
|
|
compatible = "renesas,r8a7740-cpg-clocks";
|
|
reg = <0xe6150000 0x10000>;
|
|
clocks = <&extal1_clk>, <&extal2_clk>, <&extalr_clk>;
|
|
#clock-cells = <1>;
|
|
clock-output-names = "system", "pllc0", "pllc1",
|
|
"pllc2", "r",
|
|
"usb24s",
|
|
"i", "zg", "b", "m1", "hp",
|
|
"hpp", "usbp", "s", "zb", "m3",
|
|
"cp";
|
|
};
|
|
|
|
&cpg_clocks {
|
|
renesas,mode = <0x05>;
|
|
};
|