~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-imx219.dtso

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * Copyright 2022 Gateworks Corporation
  4  */
  5 
  6 #include <dt-bindings/gpio/gpio.h>
  7 
  8 #include "imx8mm-pinfunc.h"
  9 
 10 /dts-v1/;
 11 /plugin/;
 12 
 13 &{/} {
 14         compatible = "gw,imx8mm-gw73xx-0x", "fsl,imx8mm";
 15 
 16         reg_vana: regulator-2p8v {
 17                 compatible = "regulator-fixed";
 18                 regulator-name = "2P8V";
 19                 regulator-min-microvolt = <2800000>;
 20                 regulator-max-microvolt = <2800000>;
 21         };
 22 
 23         reg_vddl: regulator-1p2v {
 24                 compatible = "regulator-fixed";
 25                 regulator-name = "1P2V";
 26                 regulator-min-microvolt = <1200000>;
 27                 regulator-max-microvolt = <1200000>;
 28         };
 29 
 30         reg_cam: regulator-cam {
 31                 pinctrl-names = "default";
 32                 pinctrl-0 = <&pinctrl_reg_cam>;
 33                 compatible = "regulator-fixed";
 34                 regulator-name = "reg_cam";
 35                 gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>;
 36                 enable-active-high;
 37                 regulator-min-microvolt = <1800000>;
 38                 regulator-max-microvolt = <1800000>;
 39         };
 40 
 41         cam24m: cam24m {
 42                 compatible = "fixed-clock";
 43                 #clock-cells = <0>;
 44                 clock-frequency = <24000000>;
 45                 clock-output-names = "cam24m";
 46         };
 47 };
 48 
 49 &csi {
 50         status = "okay";
 51 };
 52 
 53 &i2c3 {
 54         #address-cells = <1>;
 55         #size-cells = <0>;
 56 
 57         imx219: sensor@10 {
 58                 compatible = "sony,imx219";
 59                 reg = <0x10>;
 60                 clocks = <&cam24m>;
 61                 VDIG-supply = <&reg_cam>;
 62                 VANA-supply = <&reg_vana>;
 63                 VDDL-supply = <&reg_vddl>;
 64 
 65                 port {
 66                         /* MIPI CSI-2 bus endpoint */
 67                         imx219_to_mipi_csi2: endpoint {
 68                                 remote-endpoint = <&imx8mm_mipi_csi_in>;
 69                                 clock-lanes = <0>;
 70                                 data-lanes = <1 2>;
 71                                 link-frequencies = /bits/ 64 <456000000>;
 72                         };
 73                 };
 74         };
 75 };
 76 
 77 &mipi_csi {
 78         status = "okay";
 79 
 80         ports {
 81                 #address-cells = <1>;
 82                 #size-cells = <0>;
 83 
 84                 port@0 {
 85                         reg = <0>;
 86 
 87                         imx8mm_mipi_csi_in: endpoint {
 88                                 remote-endpoint = <&imx219_to_mipi_csi2>;
 89                                 data-lanes = <1 2>;
 90                         };
 91                 };
 92 
 93                 port@1 {
 94                         reg = <1>;
 95 
 96                         imx8mm_mipi_csi_out: endpoint {
 97                                 remote-endpoint = <&csi_in>;
 98                         };
 99                 };
100         };
101 };
102 
103 &iomuxc {
104         pinctrl_reg_cam: regcamgrp {
105                 fsl,pins = <
106                         MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1       0x41
107                 >;
108         };
109 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php