Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0 or MIT
0002 //
0003 // Device Tree Source for General Electric B1x5v2
0004 // patient monitor series
0005 //
0006 // Copyright 2018-2021 General Electric Company
0007 // Copyright 2018-2021 Collabora
0008 
0009 #include <dt-bindings/input/input.h>
0010 #include "imx6dl-b1x5pv2.dtsi"
0011 
0012 / {
0013         reg_3v3_acm: regulator-3v3-acm {
0014                 compatible = "regulator-fixed";
0015                 regulator-name = "3V3 ACM";
0016                 regulator-min-microvolt = <3300000>;
0017                 regulator-max-microvolt = <3300000>;
0018                 regulator-always-on;
0019                 vin-supply = <&reg_3v3>;
0020         };
0021 };
0022 
0023 &i2c1 {
0024         tca6416: gpio-controller@21 {
0025                 compatible = "ti,tca6416";
0026                 reg = <0x21>;
0027                 gpio-controller;
0028                 #gpio-cells = <2>;
0029                 reset-gpios = <&tca6424a 9 GPIO_ACTIVE_LOW>;
0030                 vcc-supply = <&reg_3v3_acm>;
0031                 gpio-line-names = "ACM1_EN", "ACM1_CL0", "ACM1_CL1", "ACM1_CL2",
0032                                   "", "ACM2_EN", "ACM2_CL0", "ACM2_CL1",
0033                                   "ACM2_CL2", "", "", "",
0034                                   "", "", "", "";
0035 
0036                 /*
0037                  * The interrupt pin is connected to &tca6424a pin 1, but the Linux
0038                  * TCA6424 driver cannot handle low type interrupts at the moment
0039                  * (and support cannot be added without some ugly hacks). Since this
0040                  * controller does not have any input type GPIOs, just pretend
0041                  * that the interrupt pin is unconnected.
0042                  */
0043         };
0044 };
0045 
0046 &i2c5 {
0047         mpl3115a2: pressure-sensor@60 {
0048                 compatible = "fsl,mpl3115";
0049                 reg = <0x60>;
0050 
0051                 /*
0052                  * The MPL3115 interrupts are connected to pin 22 and 23
0053                  * of &tca6424a, but the binding does not yet support
0054                  * interrupts.
0055                  */
0056         };
0057 };