18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28c2ecf20Sopenharmony_ci%YAML 1.2
38c2ecf20Sopenharmony_ci---
48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/arm/hisilicon/controller/hi3798cv200-perictrl.yaml#
58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cititle: Hisilicon Hi3798CV200 Peripheral Controller
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cimaintainers:
108c2ecf20Sopenharmony_ci  - Wei Xu <xuwei5@hisilicon.com>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_cidescription: |
138c2ecf20Sopenharmony_ci  The Hi3798CV200 Peripheral Controller controls peripherals, queries
148c2ecf20Sopenharmony_ci  their status, and configures some functions of peripherals.
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciproperties:
178c2ecf20Sopenharmony_ci  compatible:
188c2ecf20Sopenharmony_ci    items:
198c2ecf20Sopenharmony_ci      - const: hisilicon,hi3798cv200-perictrl
208c2ecf20Sopenharmony_ci      - const: syscon
218c2ecf20Sopenharmony_ci      - const: simple-mfd
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci  reg:
248c2ecf20Sopenharmony_ci    maxItems: 1
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci  "#address-cells":
278c2ecf20Sopenharmony_ci    const: 1
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci  "#size-cells":
308c2ecf20Sopenharmony_ci    const: 1
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci  ranges: true
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_cirequired:
358c2ecf20Sopenharmony_ci  - compatible
368c2ecf20Sopenharmony_ci  - reg
378c2ecf20Sopenharmony_ci  - "#address-cells"
388c2ecf20Sopenharmony_ci  - "#size-cells"
398c2ecf20Sopenharmony_ci  - ranges
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciadditionalProperties:
428c2ecf20Sopenharmony_ci  type: object
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciexamples:
458c2ecf20Sopenharmony_ci  - |
468c2ecf20Sopenharmony_ci    peripheral-controller@8a20000 {
478c2ecf20Sopenharmony_ci        compatible = "hisilicon,hi3798cv200-perictrl", "syscon", "simple-mfd";
488c2ecf20Sopenharmony_ci        reg = <0x8a20000 0x1000>;
498c2ecf20Sopenharmony_ci        #address-cells = <1>;
508c2ecf20Sopenharmony_ci        #size-cells = <1>;
518c2ecf20Sopenharmony_ci        ranges = <0x0 0x8a20000 0x1000>;
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ci        phy@850 {
548c2ecf20Sopenharmony_ci            compatible = "hisilicon,hi3798cv200-combphy";
558c2ecf20Sopenharmony_ci            reg = <0x850 0x8>;
568c2ecf20Sopenharmony_ci            #phy-cells = <1>;
578c2ecf20Sopenharmony_ci            clocks = <&crg 42>;
588c2ecf20Sopenharmony_ci            resets = <&crg 0x188 4>;
598c2ecf20Sopenharmony_ci            assigned-clocks = <&crg 42>;
608c2ecf20Sopenharmony_ci            assigned-clock-rates = <100000000>;
618c2ecf20Sopenharmony_ci            hisilicon,fixed-mode = <4>;
628c2ecf20Sopenharmony_ci        };
638c2ecf20Sopenharmony_ci    };
648c2ecf20Sopenharmony_ci...
65