mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 08:25:12 +07:00
b36d5cf753
Add bindings for SAM9X60's slow clock controller. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
59 lines
1.8 KiB
Plaintext
59 lines
1.8 KiB
Plaintext
Device Tree Clock bindings for arch-at91
|
|
|
|
This binding uses the common clock binding[1].
|
|
|
|
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
|
|
|
|
Slow Clock controller:
|
|
|
|
Required properties:
|
|
- compatible : shall be one of the following:
|
|
"atmel,at91sam9x5-sckc",
|
|
"atmel,sama5d3-sckc",
|
|
"atmel,sama5d4-sckc" or
|
|
"microchip,sam9x60-sckc":
|
|
at91 SCKC (Slow Clock Controller)
|
|
- #clock-cells : shall be 1 for "microchip,sam9x60-sckc" otherwise shall be 0.
|
|
- clocks : shall be the input parent clock phandle for the clock.
|
|
|
|
Optional properties:
|
|
- atmel,osc-bypass : boolean property. Set this when a clock signal is directly
|
|
provided on XIN.
|
|
|
|
For example:
|
|
sckc@fffffe50 {
|
|
compatible = "atmel,at91sam9x5-sckc";
|
|
reg = <0xfffffe50 0x4>;
|
|
clocks = <&slow_xtal>;
|
|
#clock-cells = <0>;
|
|
};
|
|
|
|
Power Management Controller (PMC):
|
|
|
|
Required properties:
|
|
- compatible : shall be "atmel,<chip>-pmc", "syscon" or
|
|
"microchip,sam9x60-pmc"
|
|
<chip> can be: at91rm9200, at91sam9260, at91sam9261,
|
|
at91sam9263, at91sam9g45, at91sam9n12, at91sam9rl, at91sam9g15,
|
|
at91sam9g25, at91sam9g35, at91sam9x25, at91sam9x35, at91sam9x5,
|
|
sama5d2, sama5d3 or sama5d4.
|
|
- #clock-cells : from common clock binding; shall be set to 2. The first entry
|
|
is the type of the clock (core, system, peripheral or generated) and the
|
|
second entry its index as provided by the datasheet
|
|
- clocks : Must contain an entry for each entry in clock-names.
|
|
- clock-names: Must include the following entries: "slow_clk", "main_xtal"
|
|
|
|
Optional properties:
|
|
- atmel,osc-bypass : boolean property. Set this when a clock signal is directly
|
|
provided on XIN.
|
|
|
|
For example:
|
|
pmc: pmc@f0018000 {
|
|
compatible = "atmel,sama5d4-pmc", "syscon";
|
|
reg = <0xf0018000 0x120>;
|
|
interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
|
|
#clock-cells = <2>;
|
|
clocks = <&clk32k>, <&main_xtal>;
|
|
clock-names = "slow_clk", "main_xtal";
|
|
};
|