xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6qdl-tqma6b.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright 2013 Sascha Hauer, Pengutronix
4f126890aSEmmanuel Vadot * Copyright 2013-2017 Markus Niebel <Markus.Niebel@tq-group.com>
5f126890aSEmmanuel Vadot */
6f126890aSEmmanuel Vadot
7f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
8f126890aSEmmanuel Vadot
9f126890aSEmmanuel Vadot&i2c3 {
10f126890aSEmmanuel Vadot	pinctrl-names = "default", "gpio";
11f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
12f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c3_recovery>;
13f126890aSEmmanuel Vadot	scl-gpios = <&gpio1 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
14f126890aSEmmanuel Vadot	sda-gpios = <&gpio1 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
15f126890aSEmmanuel Vadot	clock-frequency = <100000>;
16f126890aSEmmanuel Vadot	status = "okay";
17f126890aSEmmanuel Vadot
18f126890aSEmmanuel Vadot	pmic: pmic@8 {
19f126890aSEmmanuel Vadot		compatible = "fsl,pfuze100";
20f126890aSEmmanuel Vadot		reg = <0x08>;
21f126890aSEmmanuel Vadot	};
22f126890aSEmmanuel Vadot
23*b2d2a78aSEmmanuel Vadot	temperature-sensor@48 {
24*b2d2a78aSEmmanuel Vadot		compatible = "national,lm75a";
25f126890aSEmmanuel Vadot		reg = <0x48>;
26aa1a8ff2SEmmanuel Vadot		vs-supply = <&reg_3p3v>;
27f126890aSEmmanuel Vadot	};
28f126890aSEmmanuel Vadot
29f126890aSEmmanuel Vadot	eeprom@50 {
30f126890aSEmmanuel Vadot		compatible = "st,24c64", "atmel,24c64";
31f126890aSEmmanuel Vadot		reg = <0x50>;
32f126890aSEmmanuel Vadot		pagesize = <32>;
33f126890aSEmmanuel Vadot		vcc-supply = <&reg_3p3v>;
34f126890aSEmmanuel Vadot	};
35f126890aSEmmanuel Vadot};
36*b2d2a78aSEmmanuel Vadot
37*b2d2a78aSEmmanuel Vadot&iomuxc {
38*b2d2a78aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
39*b2d2a78aSEmmanuel Vadot		fsl,pins = <
40*b2d2a78aSEmmanuel Vadot			MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b899
41*b2d2a78aSEmmanuel Vadot			MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b899
42*b2d2a78aSEmmanuel Vadot		>;
43*b2d2a78aSEmmanuel Vadot	};
44*b2d2a78aSEmmanuel Vadot
45*b2d2a78aSEmmanuel Vadot	pinctrl_i2c3_recovery: i2c3recoverygrp {
46*b2d2a78aSEmmanuel Vadot		fsl,pins = <
47*b2d2a78aSEmmanuel Vadot			MX6QDL_PAD_GPIO_5__GPIO1_IO05 0x4001b899
48*b2d2a78aSEmmanuel Vadot			MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x4001b899
49*b2d2a78aSEmmanuel Vadot		>;
50*b2d2a78aSEmmanuel Vadot	};
51*b2d2a78aSEmmanuel Vadot};
52