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-gw72xx-0x", "f 15 16 reg_vana: regulator-2p8v { 17 compatible = "regulator-fixed" 18 regulator-name = "2P8V"; 19 regulator-min-microvolt = <280 20 regulator-max-microvolt = <280 21 }; 22 23 reg_vddl: regulator-1p2v { 24 compatible = "regulator-fixed" 25 regulator-name = "1P2V"; 26 regulator-min-microvolt = <120 27 regulator-max-microvolt = <120 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_H 36 enable-active-high; 37 regulator-min-microvolt = <180 38 regulator-max-microvolt = <180 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 = <®_cam>; 62 VANA-supply = <®_vana>; 63 VDDL-supply = <®_vddl>; 64 65 port { 66 /* MIPI CSI-2 bus endp 67 imx219_to_mipi_csi2: e 68 remote-endpoin 69 clock-lanes = 70 data-lanes = < 71 link-frequenci 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: en 88 remote-endpoin 89 data-lanes = < 90 }; 91 }; 92 93 port@1 { 94 reg = <1>; 95 96 imx8mm_mipi_csi_out: e 97 remote-endpoin 98 }; 99 }; 100 }; 101 }; 102 103 &iomuxc { 104 pinctrl_reg_cam: regcamgrp { 105 fsl,pins = < 106 MX8MM_IOMUXC_GPIO1_IO0 107 >; 108 }; 109 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.