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