brintos

brintos / linux-shallow public Read only

0
0
Text · 1.8 KiB · c9094e5 Raw
81 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/arm/sp810.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ARM Versatile Express SP810 System Controller8 9maintainers:10  - Andre Przywara <andre.przywara@arm.com>11 12description:13  The Arm SP810 system controller provides clocks, timers and a watchdog.14 15# We need a select here so we don't match all nodes with 'arm,primecell'16select:17  properties:18    compatible:19      contains:20        const: arm,sp81021  required:22    - compatible23 24properties:25  compatible:26    items:27      - const: arm,sp81028      - const: arm,primecell29 30  reg:31    maxItems: 132 33  clock-names:34    items:35      - const: refclk36      - const: timclk37      - const: apb_pclk38 39  clocks:40    items:41      - description: reference clock42      - description: timer clock43      - description: APB register access clock44 45  "#clock-cells":46    const: 147 48  clock-output-names:49    maxItems: 450 51  assigned-clocks:52    maxItems: 453 54  assigned-clock-parents:55    maxItems: 456 57additionalProperties: false58 59required:60  - compatible61  - reg62  - clocks63  - clock-names64  - "#clock-cells"65 66examples:67  - |68    sysctl@20000 {69        compatible = "arm,sp810", "arm,primecell";70        reg = <0x020000 0x1000>;71        clocks = <&v2m_refclk32khz>, <&v2m_refclk1mhz>, <&smbclk>;72        clock-names = "refclk", "timclk", "apb_pclk";73        #clock-cells = <1>;74        clock-output-names = "timerclken0", "timerclken1",75                             "timerclken2", "timerclken3";76        assigned-clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>,77                          <&v2m_sysctl 3>, <&v2m_sysctl 3>;78        assigned-clock-parents = <&v2m_refclk1mhz>, <&v2m_refclk1mhz>,79                                 <&v2m_refclk1mhz>, <&v2m_refclk1mhz>;80    };81