Merge tag 'xtensa-20190510' of git://github.com/jcmvbkbc/linux-xtensa
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / clock / at91-clock.txt
1 Device Tree Clock bindings for arch-at91
2
3 This binding uses the common clock binding[1].
4
5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
6
7 Slow Clock controller:
8
9 Required properties:
10 - compatible : shall be one of the following:
11         "atmel,at91sam9x5-sckc",
12         "atmel,sama5d3-sckc" or
13         "atmel,sama5d4-sckc":
14                 at91 SCKC (Slow Clock Controller)
15 - #clock-cells : shall be 0.
16 - clocks : shall be the input parent clock phandle for the clock.
17
18 Optional properties:
19 - atmel,osc-bypass : boolean property. Set this when a clock signal is directly
20   provided on XIN.
21
22 For example:
23         sckc@fffffe50 {
24                 compatible = "atmel,at91sam9x5-sckc";
25                 reg = <0xfffffe50 0x4>;
26                 clocks = <&slow_xtal>;
27                 #clock-cells = <0>;
28         };
29
30 Power Management Controller (PMC):
31
32 Required properties:
33 - compatible : shall be "atmel,<chip>-pmc", "syscon" or
34         "microchip,sam9x60-pmc"
35         <chip> can be: at91rm9200, at91sam9260, at91sam9261,
36         at91sam9263, at91sam9g45, at91sam9n12, at91sam9rl, at91sam9g15,
37         at91sam9g25, at91sam9g35, at91sam9x25, at91sam9x35, at91sam9x5,
38         sama5d2, sama5d3 or sama5d4.
39 - #clock-cells : from common clock binding; shall be set to 2. The first entry
40   is the type of the clock (core, system, peripheral or generated) and the
41   second entry its index as provided by the datasheet
42 - clocks : Must contain an entry for each entry in clock-names.
43 - clock-names: Must include the following entries: "slow_clk", "main_xtal"
44
45 Optional properties:
46 - atmel,osc-bypass : boolean property. Set this when a clock signal is directly
47   provided on XIN.
48
49 For example:
50         pmc: pmc@f0018000 {
51                 compatible = "atmel,sama5d4-pmc", "syscon";
52                 reg = <0xf0018000 0x120>;
53                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
54                 #clock-cells = <2>;
55                 clocks = <&clk32k>, <&main_xtal>;
56                 clock-names = "slow_clk", "main_xtal";
57         };