1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/media/amlogic,c3-isp.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Amlogic C3 Image Signal Processing Unit 8 9maintainers: 10 - Keke Li <keke.li@amlogic.com> 11 12description: 13 Amlogic ISP is the RAW image processing module 14 and supports three channels image output. 15 16properties: 17 compatible: 18 enum: 19 - amlogic,c3-isp 20 21 reg: 22 maxItems: 1 23 24 reg-names: 25 items: 26 - const: isp 27 28 power-domains: 29 maxItems: 1 30 31 clocks: 32 maxItems: 2 33 34 clock-names: 35 items: 36 - const: vapb 37 - const: isp0 38 39 interrupts: 40 maxItems: 1 41 42 port: 43 $ref: /schemas/graph.yaml#/properties/port 44 description: input port node. 45 46required: 47 - compatible 48 - reg 49 - reg-names 50 - power-domains 51 - clocks 52 - clock-names 53 - interrupts 54 - port 55 56additionalProperties: false 57 58examples: 59 - | 60 #include <dt-bindings/interrupt-controller/arm-gic.h> 61 #include <dt-bindings/clock/amlogic,c3-peripherals-clkc.h> 62 #include <dt-bindings/power/amlogic,c3-pwrc.h> 63 64 soc { 65 #address-cells = <2>; 66 #size-cells = <2>; 67 68 isp: isp@ff000000 { 69 compatible = "amlogic,c3-isp"; 70 reg = <0x0 0xff000000 0x0 0xf000>; 71 reg-names = "isp"; 72 power-domains = <&pwrc PWRC_C3_ISP_TOP_ID>; 73 clocks = <&clkc_periphs CLKID_VAPB>, 74 <&clkc_periphs CLKID_ISP0>; 75 clock-names = "vapb", "isp0"; 76 assigned-clocks = <&clkc_periphs CLKID_VAPB>, 77 <&clkc_periphs CLKID_ISP0>; 78 assigned-clock-rates = <0>, <400000000>; 79 interrupts = <GIC_SPI 145 IRQ_TYPE_EDGE_RISING>; 80 81 port { 82 c3_isp_in: endpoint { 83 remote-endpoint = <&c3_adap_out>; 84 }; 85 }; 86 }; 87 }; 88... 89