1*381d661aSTommaso Merciai# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*381d661aSTommaso Merciai%YAML 1.2 3*381d661aSTommaso Merciai--- 4*381d661aSTommaso Merciai$id: http://devicetree.org/schemas/media/i2c/alliedvision,alvium-csi2.yaml# 5*381d661aSTommaso Merciai$schema: http://devicetree.org/meta-schemas/core.yaml# 6*381d661aSTommaso Merciai 7*381d661aSTommaso Merciaititle: Allied Vision Alvium Camera 8*381d661aSTommaso Merciai 9*381d661aSTommaso Merciaimaintainers: 10*381d661aSTommaso Merciai - Tommaso Merciai <tomm.merciai@gmail.com> 11*381d661aSTommaso Merciai - Martin Hecht <martin.hecht@avnet.eu> 12*381d661aSTommaso Merciai 13*381d661aSTommaso MerciaiallOf: 14*381d661aSTommaso Merciai - $ref: /schemas/media/video-interface-devices.yaml# 15*381d661aSTommaso Merciai 16*381d661aSTommaso Merciaiproperties: 17*381d661aSTommaso Merciai compatible: 18*381d661aSTommaso Merciai const: alliedvision,alvium-csi2 19*381d661aSTommaso Merciai 20*381d661aSTommaso Merciai reg: 21*381d661aSTommaso Merciai maxItems: 1 22*381d661aSTommaso Merciai 23*381d661aSTommaso Merciai vcc-ext-in-supply: 24*381d661aSTommaso Merciai description: | 25*381d661aSTommaso Merciai The regulator that supplies power to the VCC_EXT_IN pins. 26*381d661aSTommaso Merciai 27*381d661aSTommaso Merciai port: 28*381d661aSTommaso Merciai description: Digital Output Port 29*381d661aSTommaso Merciai $ref: /schemas/graph.yaml#/$defs/port-base 30*381d661aSTommaso Merciai additionalProperties: false 31*381d661aSTommaso Merciai 32*381d661aSTommaso Merciai properties: 33*381d661aSTommaso Merciai endpoint: 34*381d661aSTommaso Merciai $ref: /schemas/media/video-interfaces.yaml# 35*381d661aSTommaso Merciai unevaluatedProperties: false 36*381d661aSTommaso Merciai 37*381d661aSTommaso Merciai properties: 38*381d661aSTommaso Merciai link-frequencies: true 39*381d661aSTommaso Merciai 40*381d661aSTommaso Merciai data-lanes: 41*381d661aSTommaso Merciai minItems: 1 42*381d661aSTommaso Merciai items: 43*381d661aSTommaso Merciai - const: 1 44*381d661aSTommaso Merciai - const: 2 45*381d661aSTommaso Merciai - const: 3 46*381d661aSTommaso Merciai - const: 4 47*381d661aSTommaso Merciai 48*381d661aSTommaso Merciai required: 49*381d661aSTommaso Merciai - data-lanes 50*381d661aSTommaso Merciai - link-frequencies 51*381d661aSTommaso Merciai 52*381d661aSTommaso Merciairequired: 53*381d661aSTommaso Merciai - compatible 54*381d661aSTommaso Merciai - reg 55*381d661aSTommaso Merciai - vcc-ext-in-supply 56*381d661aSTommaso Merciai - port 57*381d661aSTommaso Merciai 58*381d661aSTommaso MerciaiadditionalProperties: false 59*381d661aSTommaso Merciai 60*381d661aSTommaso Merciaiexamples: 61*381d661aSTommaso Merciai - | 62*381d661aSTommaso Merciai i2c { 63*381d661aSTommaso Merciai #address-cells = <1>; 64*381d661aSTommaso Merciai #size-cells = <0>; 65*381d661aSTommaso Merciai 66*381d661aSTommaso Merciai alvium: camera@3c { 67*381d661aSTommaso Merciai compatible = "alliedvision,alvium-csi2"; 68*381d661aSTommaso Merciai reg = <0x3c>; 69*381d661aSTommaso Merciai vcc-ext-in-supply = <®_vcc_ext_in>; 70*381d661aSTommaso Merciai 71*381d661aSTommaso Merciai port { 72*381d661aSTommaso Merciai alvium_out: endpoint { 73*381d661aSTommaso Merciai remote-endpoint = <&mipi_csi_0_in>; 74*381d661aSTommaso Merciai data-lanes = <1 2 3 4>; 75*381d661aSTommaso Merciai link-frequencies = /bits/ 64 <681250000>; 76*381d661aSTommaso Merciai }; 77*381d661aSTommaso Merciai }; 78*381d661aSTommaso Merciai }; 79*381d661aSTommaso Merciai }; 80*381d661aSTommaso Merciai 81*381d661aSTommaso Merciai... 82