1 // SPDX-License-Identifier: GPL-2.0-only OR MI 2 /* 3 * ALINX AN5641 & Digilent PCam 5C - OV5640 ca 4 * Copyright (C) 2022-2024 Texas Instruments I 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 = <12000000>; 17 }; 18 }; 19 20 &main_gpio0 { 21 p11-hog { 22 /* P11 - CSI2_CAMERA_GPIO1 */ 23 gpio-hog; 24 gpios = <11 GPIO_ACTIVE_HIGH>; 25 output-high; 26 line-name = "CSI2_CAMERA_GPIO1 27 }; 28 }; 29 30 &wkup_i2c0 { 31 #address-cells = <1>; 32 #size-cells = <0>; 33 status = "okay"; 34 35 ov5640: camera@3c { 36 compatible = "ovti,ov5640"; 37 reg = <0x3c>; 38 39 clocks = <&clk_ov5640_fixed>; 40 clock-names = "xclk"; 41 42 port { 43 csi2_cam0: endpoint { 44 remote-endpoin 45 clock-lanes = 46 data-lanes = < 47 }; 48 }; 49 }; 50 }; 51 52 &cdns_csi2rx0 { 53 ports { 54 #address-cells = <1>; 55 #size-cells = <0>; 56 57 csi0_port0: port@0 { 58 reg = <0>; 59 status = "okay"; 60 61 csi2rx0_in_sensor: end 62 remote-endpoin 63 bus-type = <4> 64 clock-lanes = 65 data-lanes = < 66 }; 67 }; 68 }; 69 }; 70 71 &dphy0 { 72 status = "okay"; 73 }; 74 75 &ti_csi2rx0 { 76 status = "okay"; 77 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.