Back to home page

OSCL-LXR

 
 

    


0001 Device Tree Clock bindings for arch-at91
0002 
0003 This binding uses the common clock binding[1].
0004 
0005 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
0006 
0007 Slow Clock controller:
0008 
0009 Required properties:
0010 - compatible : shall be one of the following:
0011         "atmel,at91sam9x5-sckc",
0012         "atmel,sama5d3-sckc",
0013         "atmel,sama5d4-sckc" or
0014         "microchip,sam9x60-sckc":
0015                 at91 SCKC (Slow Clock Controller)
0016 - #clock-cells : shall be 1 for "microchip,sam9x60-sckc" otherwise shall be 0.
0017 - clocks : shall be the input parent clock phandle for the clock.
0018 
0019 Optional properties:
0020 - atmel,osc-bypass : boolean property. Set this when a clock signal is directly
0021   provided on XIN.
0022 
0023 For example:
0024         sckc@fffffe50 {
0025                 compatible = "atmel,at91sam9x5-sckc";
0026                 reg = <0xfffffe50 0x4>;
0027                 clocks = <&slow_xtal>;
0028                 #clock-cells = <0>;
0029         };
0030 
0031 Power Management Controller (PMC):
0032 
0033 Required properties:
0034 - compatible : shall be "atmel,<chip>-pmc", "syscon" or
0035         "microchip,sam9x60-pmc"
0036         <chip> can be: at91rm9200, at91sam9260, at91sam9261,
0037         at91sam9263, at91sam9g45, at91sam9n12, at91sam9rl, at91sam9g15,
0038         at91sam9g25, at91sam9g35, at91sam9x25, at91sam9x35, at91sam9x5,
0039         sama5d2, sama5d3 or sama5d4.
0040 - #clock-cells : from common clock binding; shall be set to 2. The first entry
0041   is the type of the clock (core, system, peripheral or generated) and the
0042   second entry its index as provided by the datasheet
0043 - clocks : Must contain an entry for each entry in clock-names.
0044 - clock-names: Must include the following entries: "slow_clk", "main_xtal"
0045 
0046 Optional properties:
0047 - atmel,osc-bypass : boolean property. Set this when a clock signal is directly
0048   provided on XIN.
0049 
0050 For example:
0051         pmc: pmc@f0018000 {
0052                 compatible = "atmel,sama5d4-pmc", "syscon";
0053                 reg = <0xf0018000 0x120>;
0054                 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
0055                 #clock-cells = <2>;
0056                 clocks = <&clk32k>, <&main_xtal>;
0057                 clock-names = "slow_clk", "main_xtal";
0058         };