1# SPDX-License-Identifier: GPL-2.0-only 2# Copyright (C) 2016-2021 Microchip Technology, Inc. 3%YAML 1.2 4--- 5$id: http://devicetree.org/schemas/media/atmel,isc.yaml# 6$schema: http://devicetree.org/meta-schemas/core.yaml# 7 8title: Atmel Image Sensor Controller (ISC) 9 10maintainers: 11 - Eugen Hristev <eugen.hristev@microchip.com> 12 13description: | 14 The Image Sensor Controller (ISC) device provides the video input capabilities for the 15 Atmel/Microchip AT91 SAMA family of devices. 16 17 The ISC has a single parallel input that supports RAW Bayer, RGB or YUV video, 18 with both external synchronization and BT.656 synchronization for the latter. 19 20properties: 21 compatible: 22 const: atmel,sama5d2-isc 23 24 reg: 25 maxItems: 1 26 27 interrupts: 28 maxItems: 1 29 30 clocks: 31 minItems: 3 32 maxItems: 3 33 34 clock-names: 35 items: 36 - const: hclock 37 - const: iscck 38 - const: gck 39 40 '#clock-cells': 41 const: 0 42 43 clock-output-names: 44 const: isc-mck 45 46 port: 47 $ref: /schemas/graph.yaml#/properties/port 48 description: 49 Input port node, single endpoint describing the input pad. 50 51 properties: 52 endpoint: 53 $ref: video-interfaces.yaml# 54 55 properties: 56 remote-endpoint: true 57 58 bus-width: 59 enum: [8, 9, 10, 11, 12] 60 default: 12 61 62 hsync-active: 63 enum: [0, 1] 64 default: 1 65 66 vsync-active: 67 enum: [0, 1] 68 default: 1 69 70 pclk-sample: 71 enum: [0, 1] 72 default: 1 73 74 required: 75 - remote-endpoint 76 77 additionalProperties: false 78 79 additionalProperties: false 80 81required: 82 - compatible 83 - reg 84 - clocks 85 - clock-names 86 - '#clock-cells' 87 - clock-output-names 88 - port 89 90additionalProperties: false 91 92examples: 93 - | 94 #include <dt-bindings/interrupt-controller/irq.h> 95 96 isc: isc@f0008000 { 97 compatible = "atmel,sama5d2-isc"; 98 reg = <0xf0008000 0x4000>; 99 interrupts = <46 IRQ_TYPE_LEVEL_HIGH 5>; 100 clocks = <&isc_clk>, <&iscck>, <&isc_gclk>; 101 clock-names = "hclock", "iscck", "gck"; 102 #clock-cells = <0>; 103 clock-output-names = "isc-mck"; 104 105 port { 106 isc_0: endpoint { 107 remote-endpoint = <&ov7740_0>; 108 hsync-active = <1>; 109 vsync-active = <0>; 110 pclk-sample = <1>; 111 bus-width = <8>; 112 }; 113 }; 114 }; 115