FILE
k3-am62x-sk-csi2-tevi-ov5640.dtso
File preview with syntax highlighting.
linux-6.19.14/arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-tevi-ov5640.dtso
1// SPDX-License-Identifier: GPL-2.0-only OR MIT 2/* 3 * Technexion TEVI-OV5640-*-RPI - OV5640 camera module 4 * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/ 5 */ 6 7/dts-v1/; 8/plugin/; 9 10#include <dt-bindings/gpio/gpio.h> 11 12&{/} { 13 clk_ov5640_fixed: ov5640-xclk { 14 compatible = "fixed-clock"; 15 #clock-cells = <0>; 16 clock-frequency = <24000000>; 17 }; 18 19 reg_2p8v: regulator-2p8v { 20 compatible = "regulator-fixed"; 21 regulator-name = "2P8V"; 22 regulator-min-microvolt = <2800000>; 23 regulator-max-microvolt = <2800000>; 24 vin-supply = <&vcc_3v3_sys>; 25 regulator-always-on; 26 }; 27 28 reg_1p8v: regulator-1p8v { 29 compatible = "regulator-fixed"; 30 regulator-name = "1P8V"; 31 regulator-min-microvolt = <1800000>; 32 regulator-max-microvolt = <1800000>; 33 vin-supply = <&vcc_3v3_sys>; 34 regulator-always-on; 35 }; 36 37 reg_3p3v: regulator-3p3v { 38 compatible = "regulator-fixed"; 39 regulator-name = "3P3V"; 40 regulator-min-microvolt = <3300000>; 41 regulator-max-microvolt = <3300000>; 42 vin-supply = <&vcc_3v3_sys>; 43 regulator-always-on; 44 }; 45}; 46 47&main_i2c2 { 48 #address-cells = <1>; 49 #size-cells = <0>; 50 status = "okay"; 51 52 i2c-mux@71 { 53 compatible = "nxp,pca9543"; 54 #address-cells = <1>; 55 #size-cells = <0>; 56 reg = <0x71>; 57 58 /* CAM port */ 59 i2c@1 { 60 #address-cells = <1>; 61 #size-cells = <0>; 62 reg = <1>; 63 64 ov5640: camera@3c { 65 compatible = "ovti,ov5640"; 66 reg = <0x3c>; 67 68 clocks = <&clk_ov5640_fixed>; 69 clock-names = "xclk"; 70 71 AVDD-supply = <®_2p8v>; 72 DOVDD-supply = <®_1p8v>; 73 DVDD-supply = <®_3p3v>; 74 75 powerdown-gpios = <&exp1 13 GPIO_ACTIVE_LOW>; 76 77 port { 78 csi2_cam0: endpoint { 79 remote-endpoint = <&csi2rx0_in_sensor>; 80 clock-lanes = <0>; 81 data-lanes = <1 2>; 82 }; 83 }; 84 }; 85 }; 86 }; 87}; 88 89&cdns_csi2rx0 { 90 ports { 91 #address-cells = <1>; 92 #size-cells = <0>; 93 94 csi0_port0: port@0 { 95 reg = <0>; 96 status = "okay"; 97 98 csi2rx0_in_sensor: endpoint { 99 remote-endpoint = <&csi2_cam0>; 100 bus-type = <4>; /* CSI2 DPHY. */ 101 clock-lanes = <0>; 102 data-lanes = <1 2>; 103 }; 104 }; 105 }; 106}; 107 108&ti_csi2rx0 { 109 status = "okay"; 110}; 111 112&dphy0 { 113 status = "okay"; 114};
~/
Read-only file preview.