brintos

brintos / linux-shallow public Read only

0
0
Text · 1.8 KiB · 67a3366 Raw
80 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/clock/samsung,s5pv210-clock.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung S5P6442/S5PC110/S5PV210 SoC clock controller8 9maintainers:10  - Chanwoo Choi <cw00.choi@samsung.com>11  - Krzysztof Kozlowski <krzk@kernel.org>12  - Sylwester Nawrocki <s.nawrocki@samsung.com>13  - Tomasz Figa <tomasz.figa@gmail.com>14 15description: |16  Expected external clocks, defined in DTS as fixed-rate clocks with a matching17  name::18    - "xxti" - external crystal oscillator connected to XXTI and XXTO pins of19      the SoC,20    - "xusbxti" - external crystal oscillator connected to XUSBXTI and XUSBXTO21      pins of the SoC,22 23  All available clocks are defined as preprocessor macros in24  include/dt-bindings/clock/s5pv210.h header.25 26properties:27  compatible:28    enum:29      - samsung,s5pv210-clock30      - samsung,s5p6442-clock31 32  clocks:33    items:34      - description: xxti clock35      - description: xusbxti clock36 37  clock-names:38    items:39      - const: xxti40      - const: xusbxti41 42  "#clock-cells":43    const: 144 45  reg:46    maxItems: 147 48required:49  - compatible50  - "#clock-cells"51  - reg52 53additionalProperties: false54 55examples:56  - |57    #include <dt-bindings/clock/s5pv210.h>58 59    xxti: clock-0 {60        compatible = "fixed-clock";61        clock-frequency = <0>;62        clock-output-names = "xxti";63        #clock-cells = <0>;64    };65 66    xusbxti: clock-1 {67        compatible = "fixed-clock";68        clock-frequency = <0>;69        clock-output-names = "xusbxti";70        #clock-cells = <0>;71    };72 73    clock-controller@e0100000 {74        compatible = "samsung,s5pv210-clock";75        reg = <0xe0100000 0x10000>;76        clock-names = "xxti", "xusbxti";77        clocks = <&xxti>, <&xusbxti>;78        #clock-cells = <1>;79    };80