FILE
k3-am62x-sk-csi2-imx219.dtso
File preview with syntax highlighting.
linux-6.19.14/arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-imx219.dtso
1// SPDX-License-Identifier: GPL-2.0-only OR MIT 2/* 3 * IMX219 (RPi v2) Camera Module 4 * Copyright (C) 2023-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_imx219_fixed: imx219-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_1p2v: regulator-1p2v { 38 compatible = "regulator-fixed"; 39 regulator-name = "1P2V"; 40 regulator-min-microvolt = <1200000>; 41 regulator-max-microvolt = <1200000>; 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@10 { 65 compatible = "sony,imx219"; 66 reg = <0x10>; 67 68 clocks = <&clk_imx219_fixed>; 69 70 VANA-supply = <®_2p8v>; 71 VDIG-supply = <®_1p8v>; 72 VDDL-supply = <®_1p2v>; 73 74 reset-gpios = <&exp1 13 GPIO_ACTIVE_HIGH>; 75 76 port { 77 csi2_cam0: endpoint { 78 remote-endpoint = <&csi2rx0_in_sensor>; 79 link-frequencies = /bits/ 64 <456000000>; 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.