181 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/media/starfive,jh7110-camss.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Starfive SoC CAMSS ISP8 9maintainers:10 - Jack Zhu <jack.zhu@starfivetech.com>11 - Changhuang Liang <changhuang.liang@starfivetech.com>12 13description:14 The Starfive CAMSS ISP is a Camera interface for Starfive JH7110 SoC. It15 consists of a VIN controller (Video In Controller, a top-level control unit)16 and an ISP.17 18properties:19 compatible:20 const: starfive,jh7110-camss21 22 reg:23 maxItems: 224 25 reg-names:26 items:27 - const: syscon28 - const: isp29 30 clocks:31 maxItems: 732 33 clock-names:34 items:35 - const: apb_func36 - const: wrapper_clk_c37 - const: dvp_inv38 - const: axiwr39 - const: mipi_rx0_pxl40 - const: ispcore_2x41 - const: isp_axi42 43 resets:44 maxItems: 645 46 reset-names:47 items:48 - const: wrapper_p49 - const: wrapper_c50 - const: axird51 - const: axiwr52 - const: isp_top_n53 - const: isp_top_axi54 55 power-domains:56 items:57 - description: JH7110 ISP Power Domain Switch Controller.58 59 interrupts:60 maxItems: 461 62 ports:63 $ref: /schemas/graph.yaml#/properties/ports64 65 properties:66 port@0:67 $ref: /schemas/graph.yaml#/$defs/port-base68 unevaluatedProperties: false69 description: Input port for receiving DVP data.70 71 properties:72 endpoint:73 $ref: video-interfaces.yaml#74 unevaluatedProperties: false75 76 properties:77 bus-type:78 enum: [5, 6]79 80 bus-width:81 enum: [8, 10, 12]82 83 data-shift:84 enum: [0, 2]85 default: 086 87 hsync-active:88 enum: [0, 1]89 default: 190 91 vsync-active:92 enum: [0, 1]93 default: 194 95 required:96 - bus-type97 - bus-width98 99 port@1:100 $ref: /schemas/graph.yaml#/properties/port101 description: Input port for receiving CSI data.102 103 required:104 - port@0105 - port@1106 107required:108 - compatible109 - reg110 - reg-names111 - clocks112 - clock-names113 - resets114 - reset-names115 - power-domains116 - interrupts117 - ports118 119additionalProperties: false120 121examples:122 - |123 isp@19840000 {124 compatible = "starfive,jh7110-camss";125 reg = <0x19840000 0x10000>,126 <0x19870000 0x30000>;127 reg-names = "syscon", "isp";128 clocks = <&ispcrg 0>,129 <&ispcrg 13>,130 <&ispcrg 2>,131 <&ispcrg 12>,132 <&ispcrg 1>,133 <&syscrg 51>,134 <&syscrg 52>;135 clock-names = "apb_func",136 "wrapper_clk_c",137 "dvp_inv",138 "axiwr",139 "mipi_rx0_pxl",140 "ispcore_2x",141 "isp_axi";142 resets = <&ispcrg 0>,143 <&ispcrg 1>,144 <&ispcrg 10>,145 <&ispcrg 11>,146 <&syscrg 41>,147 <&syscrg 42>;148 reset-names = "wrapper_p",149 "wrapper_c",150 "axird",151 "axiwr",152 "isp_top_n",153 "isp_top_axi";154 power-domains = <&pwrc 5>;155 interrupts = <92>, <87>, <88>, <90>;156 157 ports {158 #address-cells = <1>;159 #size-cells = <0>;160 port@0 {161 reg = <0>;162 vin_from_sc2235: endpoint {163 remote-endpoint = <&sc2235_to_vin>;164 bus-type = <5>;165 bus-width = <8>;166 data-shift = <2>;167 hsync-active = <1>;168 vsync-active = <0>;169 pclk-sample = <1>;170 };171 };172 173 port@1 {174 reg = <1>;175 vin_from_csi2rx: endpoint {176 remote-endpoint = <&csi2rx_to_vin>;177 };178 };179 };180 };181