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