2 * GE B1x5v2 Patient Monitor
4 * Copyright 2018-2020 GE Inc.
5 * Copyright 2018-2020 Collabora Ltd.
7 * SPDX-License-Identifier: GPL-2.0+
12 #include "imx6dl.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
16 compatible = "ge,imx6dl-b1x5v2", "congatec,qmx6", "fsl,imx6dl";
19 bootargs = "console=ttymxc2,115200";
24 compatible = "regulator-fixed";
25 regulator-name = "3P3V";
26 regulator-min-microvolt = <3300000>;
27 regulator-max-microvolt = <3300000>;
31 reg_5v: regulator-5v {
32 compatible = "regulator-fixed";
33 regulator-name = "5V";
34 regulator-min-microvolt = <5000000>;
35 regulator-max-microvolt = <5000000>;
39 reg_5v0_audio: regulator-5v0-audio {
40 compatible = "regulator-fixed";
41 regulator-name = "5V0_AUDIO";
42 regulator-min-microvolt = <5000000>;
43 regulator-max-microvolt = <5000000>;
44 vin-supply = <®_5v>;
46 gpio = <&tca6424a 16 GPIO_ACTIVE_HIGH>;
50 * This must be always-on for da7212, which has some not properly
51 * documented dependencies for it's speaker supply pin. The issue
52 * manifests as speaker volume being very low.
58 reg_lcd: regulator-lcd {
59 compatible = "regulator-fixed";
60 regulator-name = "LED_VCC";
61 regulator-min-microvolt = <12000000>;
62 regulator-max-microvolt = <12000000>;
64 pinctrl-0 = <&pinctrl_q7_lcd_power>;
65 pinctrl-names = "default";
66 gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>; // LCDPWR
70 usb_power: regulator-usb-power {
71 compatible = "regulator-fixed";
72 regulator-name = "USB POWER";
73 regulator-min-microvolt = <5000000>;
74 regulator-max-microvolt = <5000000>;
75 vin-supply = <®_5v>;
78 backlight: backlight {
79 compatible = "pwm-backlight";
80 pinctrl-names = "default";
81 pinctrl-0 = <&pinctrl_q7_backlight_enable>;
82 power-supply = <®_lcd>;
83 pwms = <&pwm4 0 5000000>;
84 brightness-levels = <0 4 8 16 32 64 128 255>;
85 default-brightness-level = <7>;
86 enable-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
90 compatible = "simple-panel";
91 backlight = <&backlight>;
95 remote-endpoint = <&lvds0_out>;
101 compatible = "u-boot,bootcount-spi-flash";
102 spi-flash = <&flash>;
103 offset = <0x01003fe>;
107 compatible = "gpio-leds";
108 pinctrl-names = "default";
109 pinctrl-0 = <&pinctrl_q7_gpio1 &pinctrl_q7_gpio3 &pinctrl_q7_gpio5>;
113 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
117 label = "alarm:yellow";
118 gpios = <&gpio4 27 GPIO_ACTIVE_HIGH>;
122 label = "alarm:blue";
123 gpios = <&gpio4 15 GPIO_ACTIVE_HIGH>;
128 compatible = "gpio-poweroff";
129 pinctrl-names = "default";
130 pinctrl-0 = <&pinctrl_q7_spi_cs1>;
131 gpios = <&gpio4 25 GPIO_ACTIVE_LOW>;
132 active-delay-ms = <1000>;
133 inactive-delay-ms = <0>;
138 compatible = "i2c-mux-gpio";
139 #address-cells = <1>;
141 pinctrl-names = "default";
142 pinctrl-0 = <&pinctrl_i2cmux>;
143 mux-gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>;
144 i2c-parent = <&i2c2>;
149 #address-cells = <1>;
152 tmp112: temperature-sensor@48 {
153 compatible = "ti,tmp112";
155 interrupt-parent = <&tca6424a>;
156 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
159 tca6424a: gpio-controller@22 {
160 compatible = "ti,tca6424";
165 interrupt-parent = <&gpio7>;
166 interrupts = <11 IRQ_TYPE_EDGE_RISING>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&pinctrl_q7_gpio6>;
169 interrupt-controller;
170 #interrupt-cells = <2>;
172 gpio-line-names = "GPIO_ROTOR#", "", "TMP_SENSOR_IRQ", "ACM_GPIO1", "ACM_GPIO2", "BATT_T", "", "",
173 "ACM_GPIO3", "ACM_GPIO4", "USB1_POWER_EN", "EGPIO_CC_CTL0", "EGPIO_CC_CTL1", "12V_OEMNBP_EN", "CP2105_RST", "",
174 "SPEAKER_PA_EN", "ARM7_UPI_RESET", "ARM7_PWR_RST", "NURSE_CALL", "MARKER_EN", "EGPIO_TOUCH_RST", "", "";
180 #address-cells = <1>;
184 compatible = "fsl,pfuze100";
192 /* Connected to USB-Hub SMSC USB2514, provides P0, P2, P3, P4 on Qseven connector */
193 vbus-supply = <®_5v>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&pinctrl_usbotg>;
200 vbus-supply = <&usb_power>;
201 disable-over-current;
209 regulator-min-microvolt = <300000>;
210 regulator-max-microvolt = <1875000>;
213 regulator-ramp-delay = <6250>;
217 regulator-min-microvolt = <300000>;
218 regulator-max-microvolt = <1875000>;
221 regulator-ramp-delay = <6250>;
225 regulator-min-microvolt = <800000>;
226 regulator-max-microvolt = <3300000>;
232 regulator-min-microvolt = <400000>;
233 regulator-max-microvolt = <1975000>;
239 regulator-min-microvolt = <400000>;
240 regulator-max-microvolt = <1975000>;
246 regulator-min-microvolt = <675000>;
247 regulator-max-microvolt = <3300000>;
253 regulator-min-microvolt = <5000000>;
254 regulator-max-microvolt = <5150000>;
258 regulator-min-microvolt = <1000000>;
259 regulator-max-microvolt = <3000000>;
269 /* keep VGEN3, VGEN4 and VGEN5 enabled in order to maintain backward compatibility with hw-rev. A.0 */
271 regulator-min-microvolt = <1800000>;
272 regulator-max-microvolt = <3300000>;
277 regulator-min-microvolt = <2500000>;
278 regulator-max-microvolt = <2500000>;
283 regulator-min-microvolt = <1800000>;
284 regulator-max-microvolt = <3300000>;
288 /* supply voltage for eMMC */
290 regulator-min-microvolt = <1800000>;
291 regulator-max-microvolt = <1800000>;
299 pinctrl-names = "default";
300 pinctrl-0 = <&pinctrl_uart2>;
305 pinctrl-names = "default";
306 pinctrl-0 = <&pinctrl_uart3>;
311 /* MicroSD card slot */
312 pinctrl-names = "default";
313 pinctrl-0 = <&pinctrl_usdhc2>;
314 cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
316 keep-power-in-suspend;
318 vmmc-supply = <®_3p3v>;
324 pinctrl-names = "default";
325 pinctrl-0 = <&pinctrl_usdhc3>;
329 keep-power-in-suspend;
331 vmmc-supply = <®_3p3v>;
337 pinctrl-names = "default", "gpio";
338 pinctrl-0 = <&pinctrl_i2c1>;
339 pinctrl-1 = <&pinctrl_i2c1_gpio>;
340 scl-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
341 sda-gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>;
343 clock-frequency = <100000>;
348 pinctrl-names = "default", "gpio";
349 pinctrl-0 = <&pinctrl_i2c2>;
350 pinctrl-1 = <&pinctrl_i2c2_gpio>;
351 scl-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
352 sda-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>;
354 clock-frequency = <100000>;
359 pinctrl-names = "default", "gpio";
360 pinctrl-0 = <&pinctrl_i2c3>;
361 pinctrl-1 = <&pinctrl_i2c3_gpio>;
362 scl-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
363 sda-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
365 clock-frequency = <100000>;
368 compatible = "st,m41t62";
376 lvds0: lvds-channel@0 {
378 fsl,data-mapping = "spwg";
379 fsl,data-width = <24>;
383 lvds0_out: endpoint {
384 remote-endpoint = <&panel_in>;
395 pinctrl-names = "default";
396 pinctrl-0 = <&pinctrl_enet &pinctrl_phy_reset>;
397 phy-mode = "rgmii-id";
404 #address-cells = <1>;
407 phy: ethernet-phy@6 {
408 compatible = "ethernet-phy-ieee802.3-c22";
410 qca,clk-out-frequency = <125000000>;
411 reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
412 reset-assert-us = <2000>;
418 pinctrl-names = "default";
419 pinctrl-0 = <&pinctrl_ecspi1>;
423 cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
426 #address-cells = <1>;
428 compatible = "st,sst25vf032b", "jedec,spi-nor";
429 spi-max-frequency = <20000000>;
433 label = "bootloader";
434 reg = <0x0000000 0x100000>;
439 reg = <0x0100000 0x2fc000>;
444 reg = <0x03fc000 0x4000>;
451 pinctrl-names = "default";
452 pinctrl-0 = <&pinctrl_pwm4>;
457 pinctrl-names = "default";
458 pinctrl-0 = <&pinctrl_wdog>;
459 fsl,ext-reset-output;
463 imx6qdl-congatec-qmx6 {
464 pinctrl_uart2: uart2grp {
466 MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1
467 MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
471 pinctrl_uart3: uart3grp {
473 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
474 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
478 pinctrl_wdog: wdoggrp {
480 MX6QDL_PAD_DISP0_DAT8__WDOG1_B 0x1b0b0
484 pinctrl_usdhc2: usdhc2grp {
486 MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059
487 MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059
488 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059
489 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059
490 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059
491 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059
495 pinctrl_usdhc2_cd: sd2cdgrp {
497 MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b0b0
501 pinctrl_usdhc3: usdhc4grp {
503 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
504 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
505 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
506 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
507 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
508 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
509 MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17059
510 MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17059
511 MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17059
512 MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059
516 pinctrl_i2c1: i2c1grp {
518 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
519 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
523 pinctrl_i2c1_gpio: i2c1gpiogrp {
525 MX6QDL_PAD_EIM_D21__GPIO3_IO21 0x1b0b0
526 MX6QDL_PAD_EIM_D28__GPIO3_IO28 0x1b0b0
530 pinctrl_i2c2: i2c2grp {
532 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
533 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
537 pinctrl_i2c2_gpio: i2c2gpiogrp {
539 MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x1b0b0
540 MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x1b0b0
544 pinctrl_i2c3: i2c3grp {
546 MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1
547 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
551 pinctrl_i2c3_gpio: i2c3gpiogrp {
553 MX6QDL_PAD_GPIO_3__GPIO1_IO03 0x1b0b0
554 MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x1b0b0
558 pinctrl_ecspi1: ecspi1grp {
560 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1
561 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
562 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1
563 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x1b0b0
567 pinctrl_enet: enetgrp {
569 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
570 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
571 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030
572 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030
573 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030
574 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030
575 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030
576 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030
577 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
578 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
579 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
580 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
581 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
582 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
583 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
584 MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x1b0b0
588 pinctrl_phy_reset: phyrstgrp {
590 MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x4001b0b0 /* RGMII Phy Reset */
594 pinctrl_pwm4: pwm4grp {
596 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 /* Q7[123] LVDS_BLT_CTRL */
600 pinctrl_q7_lcd_power: lcdpwrgrp {
602 MX6QDL_PAD_GPIO_7__GPIO1_IO07 0x4001b0b0 /* Q7[111] LVDS_PPEN */
606 pinctrl_q7_backlight_enable: blengrp {
608 MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x4001b0b0 /* Q7[112] LVDS_BLEN */
612 pinctrl_q7_gpio1: q7gpio1grp {
614 MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x4001b0b0 /* Q7[186] GPIO1 */
618 pinctrl_q7_gpio3: q7gpio3grp {
620 MX6QDL_PAD_DISP0_DAT6__GPIO4_IO27 0x4001b0b0 /* Q7[188] GPIO3 */
624 pinctrl_q7_gpio5: q7gpio5grp {
626 MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x4001b0b0 /* Q7[190] GPIO5 */
630 pinctrl_q7_gpio6: q7gpio6grp {
632 MX6QDL_PAD_GPIO_16__GPIO7_IO11 0x1b0b0 /* Q7[191] GPIO6 */
636 pinctrl_q7_spi_cs1: spics1grp {
638 MX6QDL_PAD_DISP0_DAT4__GPIO4_IO25 0x4001b0b0 /* Q7[202] SPI_CS1# */
642 pinctrl_i2cmux: i2cmuxgrp {
644 MX6QDL_PAD_NANDF_WP_B__GPIO6_IO09 0x4001b0b0
648 pinctrl_usbotg: usbotggrp {
650 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 /* Q7[92] USB_ID */