Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/samsung,s5pv210-clock.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Samsung S5P6442/S5PC110/S5PV210 SoC clock controller
0008 
0009 maintainers:
0010   - Chanwoo Choi <cw00.choi@samsung.com>
0011   - Krzysztof Kozlowski <krzk@kernel.org>
0012   - Sylwester Nawrocki <s.nawrocki@samsung.com>
0013   - Tomasz Figa <tomasz.figa@gmail.com>
0014 
0015 description: |
0016   Expected external clocks, defined in DTS as fixed-rate clocks with a matching
0017   name::
0018     - "xxti" - external crystal oscillator connected to XXTI and XXTO pins of
0019       the SoC,
0020     - "xusbxti" - external crystal oscillator connected to XUSBXTI and XUSBXTO
0021       pins of the SoC,
0022 
0023   All available clocks are defined as preprocessor macros in
0024   include/dt-bindings/clock/s5pv210.h header.
0025 
0026 properties:
0027   compatible:
0028     enum:
0029       - samsung,s5pv210-clock
0030       - samsung,s5p6442-clock
0031 
0032   clocks:
0033     items:
0034       - description: xxti clock
0035       - description: xusbxti clock
0036 
0037   clock-names:
0038     items:
0039       - const: xxti
0040       - const: xusbxti
0041 
0042   "#clock-cells":
0043     const: 1
0044 
0045   reg:
0046     maxItems: 1
0047 
0048 required:
0049   - compatible
0050   - "#clock-cells"
0051   - reg
0052 
0053 additionalProperties: false
0054 
0055 examples:
0056   - |
0057     #include <dt-bindings/clock/s5pv210.h>
0058 
0059     xxti: clock-0 {
0060         compatible = "fixed-clock";
0061         clock-frequency = <0>;
0062         clock-output-names = "xxti";
0063         #clock-cells = <0>;
0064     };
0065 
0066     xusbxti: clock-1 {
0067         compatible = "fixed-clock";
0068         clock-frequency = <0>;
0069         clock-output-names = "xusbxti";
0070         #clock-cells = <0>;
0071     };
0072 
0073     clock-controller@e0100000 {
0074         compatible = "samsung,s5pv210-clock";
0075         reg = <0xe0100000 0x10000>;
0076         clock-names = "xxti", "xusbxti";
0077         clocks = <&xxti>, <&xusbxti>;
0078         #clock-cells = <1>;
0079     };