1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright 2023 Gateworks Corporation 4 */ 5 6 #include <dt-bindings/gpio/gpio.h> 7 8 #include "imx8mp-pinfunc.h" 9 10 /dts-v1/; 11 /plugin/; 12 13 &{/} { 14 reg_vana: regulator-2p8v { 15 compatible = "regulator-fixed" 16 regulator-name = "2P8V"; 17 regulator-min-microvolt = <280 18 regulator-max-microvolt = <280 19 }; 20 21 reg_vddl: regulator-1p2v { 22 compatible = "regulator-fixed" 23 regulator-name = "1P2V"; 24 regulator-min-microvolt = <120 25 regulator-max-microvolt = <120 26 }; 27 28 reg_cam: regulator-cam { 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pinctrl_reg_cam> 31 compatible = "regulator-fixed" 32 regulator-name = "reg_cam"; 33 gpio = <&gpio1 4 GPIO_ACTIVE_H 34 enable-active-high; 35 regulator-min-microvolt = <180 36 regulator-max-microvolt = <180 37 }; 38 39 cam24m: cam24m { 40 compatible = "fixed-clock"; 41 #clock-cells = <0>; 42 clock-frequency = <24000000>; 43 clock-output-names = "cam24m"; 44 }; 45 }; 46 47 &i2c4 { 48 #address-cells = <1>; 49 #size-cells = <0>; 50 51 imx219: sensor@10 { 52 compatible = "sony,imx219"; 53 reg = <0x10>; 54 clocks = <&cam24m>; 55 VDIG-supply = <®_cam>; 56 VANA-supply = <®_vana>; 57 VDDL-supply = <®_vddl>; 58 59 port { 60 /* MIPI CSI-2 bus endp 61 imx219_to_mipi_csi2: e 62 remote-endpoin 63 clock-lanes = 64 data-lanes = < 65 link-frequenci 66 }; 67 }; 68 }; 69 }; 70 71 &isi_0 { 72 status = "okay"; 73 }; 74 75 &mipi_csi_0 { 76 status = "okay"; 77 78 ports { 79 #address-cells = <1>; 80 #size-cells = <0>; 81 82 port@0 { 83 reg = <0>; 84 85 mipi_csi_0_in: endpoin 86 remote-endpoin 87 data-lanes = < 88 }; 89 }; 90 91 port@1 { 92 reg = <1>; 93 94 mipi_csi_0_out: endpoi 95 remote-endpoin 96 }; 97 }; 98 }; 99 }; 100 101 &iomuxc { 102 pinctrl_reg_cam: regcamgrp { 103 fsl,pins = < 104 MX8MP_IOMUXC_GPIO1_IO0 105 >; 106 }; 107 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.