brintos

brintos / linux-shallow public Read only

0
0
Text · 2.1 KiB · 3b8b85b Raw
88 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/clock/starfive,jh7110-ispcrg.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: StarFive JH7110 Image-Signal-Process Clock and Reset Generator8 9maintainers:10  - Xingyu Wu <xingyu.wu@starfivetech.com>11 12properties:13  compatible:14    const: starfive,jh7110-ispcrg15 16  reg:17    maxItems: 118 19  clocks:20    items:21      - description: ISP Top core22      - description: ISP Top Axi23      - description: NOC ISP Bus24      - description: external DVP25 26  clock-names:27    items:28      - const: isp_top_core29      - const: isp_top_axi30      - const: noc_bus_isp_axi31      - const: dvp_clk32 33  resets:34    items:35      - description: ISP Top core36      - description: ISP Top Axi37      - description: NOC ISP Bus38 39  '#clock-cells':40    const: 141    description:42      See <dt-bindings/clock/starfive,jh7110-crg.h> for valid indices.43 44  '#reset-cells':45    const: 146    description:47      See <dt-bindings/reset/starfive,jh7110-crg.h> for valid indices.48 49  power-domains:50    maxItems: 151    description:52      ISP domain power53 54required:55  - compatible56  - reg57  - clocks58  - clock-names59  - resets60  - '#clock-cells'61  - '#reset-cells'62  - power-domains63 64additionalProperties: false65 66examples:67  - |68    #include <dt-bindings/clock/starfive,jh7110-crg.h>69    #include <dt-bindings/power/starfive,jh7110-pmu.h>70    #include <dt-bindings/reset/starfive,jh7110-crg.h>71 72    ispcrg: clock-controller@19810000 {73        compatible = "starfive,jh7110-ispcrg";74        reg = <0x19810000 0x10000>;75        clocks = <&syscrg JH7110_SYSCLK_ISP_TOP_CORE>,76                 <&syscrg JH7110_SYSCLK_ISP_TOP_AXI>,77                 <&syscrg JH7110_SYSCLK_NOC_BUS_ISP_AXI>,78                 <&dvp_clk>;79        clock-names = "isp_top_core", "isp_top_axi",80                      "noc_bus_isp_axi", "dvp_clk";81        resets = <&syscrg JH7110_SYSRST_ISP_TOP>,82                 <&syscrg JH7110_SYSRST_ISP_TOP_AXI>,83                 <&syscrg JH7110_SYSRST_NOC_BUS_ISP_AXI>;84        #clock-cells = <1>;85        #reset-cells = <1>;86        power-domains = <&pwrc JH7110_PD_ISP>;87    };88