xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx6dl-b1x5v2.dtsi (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1*aa1a8ff2SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 OR MIT
2f126890aSEmmanuel Vadot//
3f126890aSEmmanuel Vadot// Device Tree Source for General Electric B1x5v2
4f126890aSEmmanuel Vadot// patient monitor series
5f126890aSEmmanuel Vadot//
6f126890aSEmmanuel Vadot// Copyright 2018-2021 General Electric Company
7f126890aSEmmanuel Vadot// Copyright 2018-2021 Collabora
8f126890aSEmmanuel Vadot
9f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
10f126890aSEmmanuel Vadot#include "imx6dl-b1x5pv2.dtsi"
11f126890aSEmmanuel Vadot
12f126890aSEmmanuel Vadot/ {
13f126890aSEmmanuel Vadot	reg_3v3_acm: regulator-3v3-acm {
14f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
15f126890aSEmmanuel Vadot		regulator-name = "3V3 ACM";
16f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
17f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
18f126890aSEmmanuel Vadot		regulator-always-on;
19f126890aSEmmanuel Vadot		vin-supply = <&reg_3v3>;
20f126890aSEmmanuel Vadot	};
21f126890aSEmmanuel Vadot};
22f126890aSEmmanuel Vadot
23f126890aSEmmanuel Vadot&i2c1 {
24f126890aSEmmanuel Vadot	tca6416: gpio-controller@21 {
25f126890aSEmmanuel Vadot		compatible = "ti,tca6416";
26f126890aSEmmanuel Vadot		reg = <0x21>;
27f126890aSEmmanuel Vadot		gpio-controller;
28f126890aSEmmanuel Vadot		#gpio-cells = <2>;
29f126890aSEmmanuel Vadot		reset-gpios = <&tca6424a 9 GPIO_ACTIVE_LOW>;
30f126890aSEmmanuel Vadot		vcc-supply = <&reg_3v3_acm>;
31f126890aSEmmanuel Vadot		gpio-line-names = "ACM1_EN", "ACM1_CL0", "ACM1_CL1", "ACM1_CL2",
32f126890aSEmmanuel Vadot				  "", "ACM2_EN", "ACM2_CL0", "ACM2_CL1",
33f126890aSEmmanuel Vadot				  "ACM2_CL2", "", "", "",
34f126890aSEmmanuel Vadot				  "", "", "", "";
35f126890aSEmmanuel Vadot
36f126890aSEmmanuel Vadot		/*
37f126890aSEmmanuel Vadot		 * The interrupt pin is connected to &tca6424a pin 1, but the Linux
38f126890aSEmmanuel Vadot		 * TCA6424 driver cannot handle low type interrupts at the moment
39f126890aSEmmanuel Vadot		 * (and support cannot be added without some ugly hacks). Since this
40f126890aSEmmanuel Vadot		 * controller does not have any input type GPIOs, just pretend
41f126890aSEmmanuel Vadot		 * that the interrupt pin is unconnected.
42f126890aSEmmanuel Vadot		 */
43f126890aSEmmanuel Vadot	};
44f126890aSEmmanuel Vadot};
45f126890aSEmmanuel Vadot
46f126890aSEmmanuel Vadot&i2c5 {
47f126890aSEmmanuel Vadot	mpl3115a2: pressure-sensor@60 {
48f126890aSEmmanuel Vadot		compatible = "fsl,mpl3115";
49f126890aSEmmanuel Vadot		reg = <0x60>;
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot		/*
52f126890aSEmmanuel Vadot		 * The MPL3115 interrupts are connected to pin 22 and 23
53f126890aSEmmanuel Vadot		 * of &tca6424a, but the binding does not yet support
54f126890aSEmmanuel Vadot		 * interrupts.
55f126890aSEmmanuel Vadot		 */
56f126890aSEmmanuel Vadot	};
57f126890aSEmmanuel Vadot};
58