xref: /linux/Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml (revision 22d121281eaa2b75a317d6769d52ef2056ffd6e2)
19a7b0101SClaudiu Beznea# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
29a7b0101SClaudiu Beznea%YAML 1.2
39a7b0101SClaudiu Beznea---
49a7b0101SClaudiu Beznea$id: http://devicetree.org/schemas/clock/atmel,at91sam9x5-sckc.yaml#
59a7b0101SClaudiu Beznea$schema: http://devicetree.org/meta-schemas/core.yaml#
69a7b0101SClaudiu Beznea
79a7b0101SClaudiu Bezneatitle: Atmel Slow Clock Controller (SCKC)
89a7b0101SClaudiu Beznea
99a7b0101SClaudiu Bezneamaintainers:
109a7b0101SClaudiu Beznea  - Claudiu Beznea <claudiu.beznea@microchip.com>
119a7b0101SClaudiu Beznea
129a7b0101SClaudiu Bezneaproperties:
139a7b0101SClaudiu Beznea  compatible:
149a7b0101SClaudiu Beznea    oneOf:
159a7b0101SClaudiu Beznea      - enum:
169a7b0101SClaudiu Beznea          - atmel,at91sam9x5-sckc
179a7b0101SClaudiu Beznea          - atmel,sama5d3-sckc
189a7b0101SClaudiu Beznea          - atmel,sama5d4-sckc
199a7b0101SClaudiu Beznea          - microchip,sam9x60-sckc
209a7b0101SClaudiu Beznea      - items:
21*22d12128SVarshini Rajendran          - enum:
22*22d12128SVarshini Rajendran              - microchip,sam9x7-sckc
23*22d12128SVarshini Rajendran              - microchip,sama7g5-sckc
249a7b0101SClaudiu Beznea          - const: microchip,sam9x60-sckc
259a7b0101SClaudiu Beznea
269a7b0101SClaudiu Beznea  reg:
279a7b0101SClaudiu Beznea    maxItems: 1
289a7b0101SClaudiu Beznea
299a7b0101SClaudiu Beznea  clocks:
309a7b0101SClaudiu Beznea    maxItems: 1
319a7b0101SClaudiu Beznea
329a7b0101SClaudiu Beznea  "#clock-cells":
339a7b0101SClaudiu Beznea    enum: [0, 1]
349a7b0101SClaudiu Beznea
359a7b0101SClaudiu Beznea  atmel,osc-bypass:
369a7b0101SClaudiu Beznea    type: boolean
379a7b0101SClaudiu Beznea    description: set when a clock signal is directly provided on XIN
389a7b0101SClaudiu Beznea
399a7b0101SClaudiu Beznearequired:
409a7b0101SClaudiu Beznea  - compatible
419a7b0101SClaudiu Beznea  - reg
429a7b0101SClaudiu Beznea  - clocks
439a7b0101SClaudiu Beznea  - "#clock-cells"
449a7b0101SClaudiu Beznea
459a7b0101SClaudiu BezneaallOf:
469a7b0101SClaudiu Beznea  - if:
479a7b0101SClaudiu Beznea      properties:
489a7b0101SClaudiu Beznea        compatible:
499a7b0101SClaudiu Beznea          contains:
509a7b0101SClaudiu Beznea            enum:
519a7b0101SClaudiu Beznea              - microchip,sam9x60-sckc
529a7b0101SClaudiu Beznea    then:
539a7b0101SClaudiu Beznea      properties:
549a7b0101SClaudiu Beznea        "#clock-cells":
559a7b0101SClaudiu Beznea          const: 1
569a7b0101SClaudiu Beznea    else:
579a7b0101SClaudiu Beznea      properties:
589a7b0101SClaudiu Beznea        "#clock-cells":
599a7b0101SClaudiu Beznea          const: 0
609a7b0101SClaudiu Beznea
619a7b0101SClaudiu BezneaadditionalProperties: false
629a7b0101SClaudiu Beznea
639a7b0101SClaudiu Bezneaexamples:
649a7b0101SClaudiu Beznea  - |
659a7b0101SClaudiu Beznea    clk32k: clock-controller@fffffe50 {
669a7b0101SClaudiu Beznea        compatible = "microchip,sam9x60-sckc";
679a7b0101SClaudiu Beznea        reg = <0xfffffe50 0x4>;
689a7b0101SClaudiu Beznea        clocks = <&slow_xtal>;
699a7b0101SClaudiu Beznea        #clock-cells = <1>;
709a7b0101SClaudiu Beznea    };
719a7b0101SClaudiu Beznea
729a7b0101SClaudiu Beznea...
73