Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+ OR MIT
0002 //
0003 // Copyright (C) 2015 Freescale Semiconductor, Inc.
0004 
0005 #include "imx7d-sdb.dts"
0006 
0007 / {
0008         sensor {
0009                 pinctrl-names = "default";
0010                 pinctrl-0 = <&pinctrl_sensor>;
0011                 compatible = "sensirion,sht15";
0012                 clk-gpios = <&gpio4 12 0>;
0013                 data-gpios = <&gpio4 13 0>;
0014                 vcc-supply = <&reg_sht15>;
0015         };
0016 
0017         reg_sht15: regulator-sht15 {
0018                 compatible = "regulator-fixed";
0019                 regulator-name = "reg_sht15";
0020                 regulator-min-microvolt = <3300000>;
0021                 regulator-max-microvolt = <3300000>;
0022         };
0023 };
0024 
0025 &i2c3 {
0026         status = "disabled";
0027 };
0028 
0029 &iomuxc {
0030         pinctrl_sensor: sensorgrp {
0031                 fsl,pins = <
0032                         MX7D_PAD_I2C3_SDA__GPIO4_IO13   0x4000007f
0033                         MX7D_PAD_I2C3_SCL__GPIO4_IO12   0x4000007f
0034                 >;
0035         };
0036 };