-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: clock: renesas,r9a06g032-sysctrl: documentation
The Renesas R9A06G032 SYSCTRL node description. Signed-off-by: Michel Pollet <michel.pollet@bp.renesas.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
- Loading branch information
Michel Pollet
authored and
Geert Uytterhoeven
committed
Jun 25, 2018
1 parent
d467239
commit e4b08e1
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
Documentation/devicetree/bindings/clock/renesas,r9a06g032-sysctrl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
* Renesas R9A06G032 SYSCTRL | ||
|
||
Required Properties: | ||
|
||
- compatible: Must be: | ||
- "renesas,r9a06g032-sysctrl" | ||
- reg: Base address and length of the SYSCTRL IO block. | ||
- #clock-cells: Must be 1 | ||
- clocks: References to the parent clocks: | ||
- external 40mhz crystal. | ||
- external (optional) 32.768khz | ||
- external (optional) jtag input | ||
- external (optional) RGMII_REFCLK | ||
- clock-names: Must be: | ||
clock-names = "mclk", "rtc", "jtag", "rgmii_ref_ext"; | ||
|
||
Examples | ||
-------- | ||
|
||
- SYSCTRL node: | ||
|
||
sysctrl: system-controller@4000c000 { | ||
compatible = "renesas,r9a06g032-sysctrl"; | ||
reg = <0x4000c000 0x1000>; | ||
#clock-cells = <1>; | ||
|
||
clocks = <&ext_mclk>, <&ext_rtc_clk>, | ||
<&ext_jtag_clk>, <&ext_rgmii_ref>; | ||
clock-names = "mclk", "rtc", "jtag", "rgmii_ref_ext"; | ||
}; | ||
|
||
- Other nodes can use the clocks provided by SYSCTRL as in: | ||
|
||
#include <dt-bindings/clock/r9a06g032-sysctrl.h> | ||
uart0: serial@40060000 { | ||
compatible = "snps,dw-apb-uart"; | ||
reg = <0x40060000 0x400>; | ||
interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; | ||
reg-shift = <2>; | ||
reg-io-width = <4>; | ||
clocks = <&sysctrl R9A06G032_CLK_UART0>; | ||
clock-names = "baudclk"; | ||
}; |