1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/media/i2c/adv748x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices ADV748X video decoder with HDMI receiver
10 - Kieran Bingham <kieran.bingham@ideasonboard.com>
11 - Niklas Söderlund <niklas.soderlund@ragnatech.se>
14 The ADV7481 and ADV7482 are multi format video decoders with an integrated
15 HDMI receiver. They can output CSI-2 on two independent outputs TXA and TXB
16 from three input sources HDMI, analog and TTL.
29 The ADV748x has up to twelve 256-byte maps that can be accessed via the
30 main I2C ports. Each map has it own I2C address and acts as a standard
31 slave device on the I2C bus. The main address is mandatory, others are
32 optional and remain at default values if not specified.
38 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
39 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
40 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
41 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
42 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
43 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
44 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
45 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
46 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
47 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
48 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
55 $ref: /schemas/graph.yaml#/properties/ports
59 $ref: /schemas/graph.yaml#/properties/port
60 description: Input port nodes for analog inputs AIN[0-7].
64 $ref: /schemas/graph.yaml#/properties/port
65 description: Input port node for HDMI.
68 $ref: /schemas/graph.yaml#/properties/port
69 description: Input port node for TTL.
72 $ref: /schemas/graph.yaml#/$defs/port-base
73 unevaluatedProperties: false
75 Output port node, single endpoint describing the CSI-2 transmitter TXA.
79 $ref: /schemas/media/video-interfaces.yaml#
80 unevaluatedProperties: false
95 $ref: /schemas/graph.yaml#/$defs/port-base
96 unevaluatedProperties: false
98 Output port node, single endpoint describing the CSI-2 transmitter TXB.
102 $ref: /schemas/media/video-interfaces.yaml#
103 unevaluatedProperties: false
132 enum: [ intrq1, intrq2, intrq3 ]
143 enum: [ intrq1, intrq2 ]
145 additionalProperties: false
154 #include <dt-bindings/interrupt-controller/irq.h>
157 #address-cells = <1>;
161 compatible = "adi,adv7482";
162 reg = <0x70 0x71 0x72 0x73 0x74 0x75
163 0x60 0x61 0x62 0x63 0x64 0x65>;
164 reg-names = "main", "dpll", "cp", "hdmi", "edid", "repeater",
165 "infoframe", "cbus", "cec", "sdp", "txa", "txb";
167 interrupt-parent = <&gpio6>;
168 interrupts = <30 IRQ_TYPE_LEVEL_LOW>, <31 IRQ_TYPE_LEVEL_LOW>;
169 interrupt-names = "intrq1", "intrq2";
172 #address-cells = <1>;
178 adv7482_ain7: endpoint {
179 remote-endpoint = <&cvbs_in>;
186 adv7482_hdmi: endpoint {
187 remote-endpoint = <&hdmi_in>;
194 adv7482_txa: endpoint {
196 data-lanes = <1 2 3 4>;
197 remote-endpoint = <&csi40_in>;
204 adv7482_txb: endpoint {
207 remote-endpoint = <&csi20_in>;