GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / imx7d-sdb-sht11.dts
1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
2 //
3 // Copyright (C) 2015 Freescale Semiconductor, Inc.
4
5 #include "imx7d-sdb.dts"
6
7 / {
8         sensor {
9                 pinctrl-names = "default";
10                 pinctrl-0 = <&pinctrl_sensor>;
11                 compatible = "sensirion,sht15";
12                 clk-gpios = <&gpio4 12 0>;
13                 data-gpios = <&gpio4 13 0>;
14                 vcc-supply = <&reg_sht15>;
15         };
16
17         reg_sht15: regulator-sht15 {
18                 compatible = "regulator-fixed";
19                 regulator-name = "reg_sht15";
20                 regulator-min-microvolt = <3300000>;
21                 regulator-max-microvolt = <3300000>;
22         };
23 };
24
25 &i2c3 {
26         status = "disabled";
27 };
28
29 &iomuxc {
30         pinctrl_sensor: sensorgrp {
31                 fsl,pins = <
32                         MX7D_PAD_I2C3_SDA__GPIO4_IO13   0x4000007f
33                         MX7D_PAD_I2C3_SCL__GPIO4_IO12   0x4000007f
34                 >;
35         };
36 };