1*aa1a8ff2SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 OR MIT 2f126890aSEmmanuel Vadot// 3f126890aSEmmanuel Vadot// Device Tree Source for General Electric B1x5Pv2 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-qmx6.dtsi" 11f126890aSEmmanuel Vadot 12f126890aSEmmanuel Vadot/ { 13f126890aSEmmanuel Vadot chosen { 14f126890aSEmmanuel Vadot stdout-path = &uart3; 15f126890aSEmmanuel Vadot }; 16f126890aSEmmanuel Vadot 17f126890aSEmmanuel Vadot /* Do not allow frequencies above 800MHz */ 18f126890aSEmmanuel Vadot cpus { 19f126890aSEmmanuel Vadot cpu@0 { 20f126890aSEmmanuel Vadot operating-points = < 21f126890aSEmmanuel Vadot /* kHz uV */ 22f126890aSEmmanuel Vadot 792000 1175000 23f126890aSEmmanuel Vadot 396000 1150000 24f126890aSEmmanuel Vadot >; 25f126890aSEmmanuel Vadot fsl,soc-operating-points = < 26f126890aSEmmanuel Vadot /* ARM kHz SOC-PU uV */ 27f126890aSEmmanuel Vadot 792000 1175000 28f126890aSEmmanuel Vadot 396000 1175000 29f126890aSEmmanuel Vadot >; 30f126890aSEmmanuel Vadot }; 31f126890aSEmmanuel Vadot 32f126890aSEmmanuel Vadot cpu@1 { 33f126890aSEmmanuel Vadot operating-points = < 34f126890aSEmmanuel Vadot /* kHz uV */ 35f126890aSEmmanuel Vadot 792000 1175000 36f126890aSEmmanuel Vadot 396000 1150000 37f126890aSEmmanuel Vadot >; 38f126890aSEmmanuel Vadot fsl,soc-operating-points = < 39f126890aSEmmanuel Vadot /* ARM kHz SOC-PU uV */ 40f126890aSEmmanuel Vadot 792000 1175000 41f126890aSEmmanuel Vadot 396000 1175000 42f126890aSEmmanuel Vadot >; 43f126890aSEmmanuel Vadot }; 44f126890aSEmmanuel Vadot }; 45f126890aSEmmanuel Vadot 46f126890aSEmmanuel Vadot reg_syspwr: regulator-12v { 47f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 48f126890aSEmmanuel Vadot regulator-name = "SYS_PWR"; 49f126890aSEmmanuel Vadot regulator-min-microvolt = <12000000>; 50f126890aSEmmanuel Vadot regulator-max-microvolt = <12000000>; 51f126890aSEmmanuel Vadot }; 52f126890aSEmmanuel Vadot 53f126890aSEmmanuel Vadot reg_5v_pmc: regulator-5v-pmc { 54f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 55f126890aSEmmanuel Vadot regulator-name = "5V PMC"; 56f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 57f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 58f126890aSEmmanuel Vadot vin-supply = <®_syspwr>; 59f126890aSEmmanuel Vadot }; 60f126890aSEmmanuel Vadot 61f126890aSEmmanuel Vadot reg_5v: regulator-5v { 62f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 63f126890aSEmmanuel Vadot regulator-name = "5V"; 64f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 65f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 66f126890aSEmmanuel Vadot vin-supply = <®_syspwr>; 67f126890aSEmmanuel Vadot }; 68f126890aSEmmanuel Vadot 69f126890aSEmmanuel Vadot reg_3v3: regulator-3v3 { 70f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 71f126890aSEmmanuel Vadot regulator-name = "3V3"; 72f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 73f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 74f126890aSEmmanuel Vadot vin-supply = <®_syspwr>; 75f126890aSEmmanuel Vadot }; 76f126890aSEmmanuel Vadot 77f126890aSEmmanuel Vadot reg_5v0_audio: regulator-5v0-audio { 78f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 79f126890aSEmmanuel Vadot regulator-name = "5V0_AUDIO"; 80f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 81f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 82f126890aSEmmanuel Vadot vin-supply = <®_5v>; 83f126890aSEmmanuel Vadot gpio = <&tca6424a 16 GPIO_ACTIVE_HIGH>; 84f126890aSEmmanuel Vadot enable-active-high; 85f126890aSEmmanuel Vadot /* 86f126890aSEmmanuel Vadot * This must be always-on for da7212, which has some not 87f126890aSEmmanuel Vadot * properly documented dependencies for it's speaker supply 88f126890aSEmmanuel Vadot * pin. The issue manifests as speaker volume being very low. 89f126890aSEmmanuel Vadot */ 90f126890aSEmmanuel Vadot regulator-always-on; 91f126890aSEmmanuel Vadot }; 92f126890aSEmmanuel Vadot 93f126890aSEmmanuel Vadot 94f126890aSEmmanuel Vadot reg_3v3_audio: regulator-3v3-audio { 95f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 96f126890aSEmmanuel Vadot regulator-name = "3V3_AUDIO"; 97f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 98f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 99f126890aSEmmanuel Vadot vin-supply = <®_3v3>; 100f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_q7_hda_reset>; 101f126890aSEmmanuel Vadot pinctrl-names = "default"; 102f126890aSEmmanuel Vadot gpio = <&gpio6 8 GPIO_ACTIVE_HIGH>; 103f126890aSEmmanuel Vadot enable-active-high; 104f126890aSEmmanuel Vadot }; 105f126890aSEmmanuel Vadot 106f126890aSEmmanuel Vadot reg_2v5_audio: regulator-2v5-audio { 107f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 108f126890aSEmmanuel Vadot regulator-name = "2V5_AUDIO"; 109f126890aSEmmanuel Vadot regulator-min-microvolt = <2500000>; 110f126890aSEmmanuel Vadot regulator-max-microvolt = <2500000>; 111f126890aSEmmanuel Vadot regulator-always-on; 112f126890aSEmmanuel Vadot vin-supply = <®_3v3_audio>; 113f126890aSEmmanuel Vadot 114f126890aSEmmanuel Vadot }; 115f126890aSEmmanuel Vadot 116f126890aSEmmanuel Vadot reg_wlan: regulator-wlan { 117f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 118f126890aSEmmanuel Vadot regulator-name = "WLAN"; 119f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 120f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 121f126890aSEmmanuel Vadot vin-supply = <®_3v3>; 122f126890aSEmmanuel Vadot pinctrl-names = "default"; 123f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_q7_sdio_power>; 124f126890aSEmmanuel Vadot gpio = <&gpio4 30 GPIO_ACTIVE_HIGH>; 125f126890aSEmmanuel Vadot enable-active-high; 126f126890aSEmmanuel Vadot startup-delay-us = <70000>; 127f126890aSEmmanuel Vadot }; 128f126890aSEmmanuel Vadot 129f126890aSEmmanuel Vadot reg_bl: regulator-backlight { 130f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 131f126890aSEmmanuel Vadot regulator-name = "LED_VCC"; 132f126890aSEmmanuel Vadot regulator-min-microvolt = <12000000>; 133f126890aSEmmanuel Vadot regulator-max-microvolt = <12000000>; 134f126890aSEmmanuel Vadot vin-supply = <®_syspwr>; 135f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_q7_lcd_power>; 136f126890aSEmmanuel Vadot pinctrl-names = "default"; 137f126890aSEmmanuel Vadot gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>; 138f126890aSEmmanuel Vadot enable-active-high; 139f126890aSEmmanuel Vadot }; 140f126890aSEmmanuel Vadot 141f126890aSEmmanuel Vadot reg_lcd: regulator-lcd { 142f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 143f126890aSEmmanuel Vadot regulator-name = "LCD_5V"; 144f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 145f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 146f126890aSEmmanuel Vadot vin-supply = <®_5v>; 147f126890aSEmmanuel Vadot }; 148f126890aSEmmanuel Vadot 149f126890aSEmmanuel Vadot usb_power: regulator-usb-power { 150f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 151f126890aSEmmanuel Vadot regulator-name = "USB POWER"; 152f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 153f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 154f126890aSEmmanuel Vadot vin-supply = <®_5v>; 155f126890aSEmmanuel Vadot }; 156f126890aSEmmanuel Vadot 157f126890aSEmmanuel Vadot charger: battery-charger { 158f126890aSEmmanuel Vadot compatible = "gpio-charger"; /* ti,bq24172 */ 159f126890aSEmmanuel Vadot charger-type = "mains"; 160f126890aSEmmanuel Vadot gpios = <&tca6424a 3 GPIO_ACTIVE_LOW>; 161f126890aSEmmanuel Vadot charge-current-limit-gpios = <&tca6424a 11 GPIO_ACTIVE_HIGH>, 162f126890aSEmmanuel Vadot <&tca6424a 12 GPIO_ACTIVE_HIGH>; 163f126890aSEmmanuel Vadot charge-current-limit-mapping = <1300000 0x0>, 164f126890aSEmmanuel Vadot <700000 0x1>, 165f126890aSEmmanuel Vadot <0 0x2>; 166f126890aSEmmanuel Vadot charge-status-gpios = <&tca6424a 6 GPIO_ACTIVE_HIGH>; 167f126890aSEmmanuel Vadot }; 168f126890aSEmmanuel Vadot 169f126890aSEmmanuel Vadot poweroff { 170f126890aSEmmanuel Vadot compatible = "gpio-poweroff"; 171f126890aSEmmanuel Vadot pinctrl-names = "default"; 172f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_q7_spi_cs1>; 173f126890aSEmmanuel Vadot gpios = <&gpio4 25 GPIO_ACTIVE_LOW>; 174f126890aSEmmanuel Vadot }; 175f126890aSEmmanuel Vadot 176f126890aSEmmanuel Vadot power-button-key { 177f126890aSEmmanuel Vadot compatible = "gpio-keys"; 178f126890aSEmmanuel Vadot pinctrl-names = "default"; 179f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_q7_sleep_button>; 180f126890aSEmmanuel Vadot 181f126890aSEmmanuel Vadot power-button { 182f126890aSEmmanuel Vadot label = "power button"; 183f126890aSEmmanuel Vadot gpios = <&gpio4 7 GPIO_ACTIVE_LOW>; 184f126890aSEmmanuel Vadot linux,code = <KEY_POWER>; 185f126890aSEmmanuel Vadot }; 186f126890aSEmmanuel Vadot }; 187f126890aSEmmanuel Vadot 188f126890aSEmmanuel Vadot rotary-encoder-key { 189f126890aSEmmanuel Vadot compatible = "gpio-keys"; 190f126890aSEmmanuel Vadot 191f126890aSEmmanuel Vadot rotary-encoder-event { 192f126890aSEmmanuel Vadot label = "rotary-encoder press"; 193f126890aSEmmanuel Vadot gpios = <&tca6424a 0 GPIO_ACTIVE_HIGH>; 194f126890aSEmmanuel Vadot linux,code = <KEY_ENTER>; 195f126890aSEmmanuel Vadot linux,can-disable; 196f126890aSEmmanuel Vadot }; 197f126890aSEmmanuel Vadot }; 198f126890aSEmmanuel Vadot 199f126890aSEmmanuel Vadot rotary-encoder { 200f126890aSEmmanuel Vadot compatible = "rotary-encoder"; 201f126890aSEmmanuel Vadot pinctrl-names = "default"; 202f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_q7_gpio2 &pinctrl_q7_gpio4>; 203f126890aSEmmanuel Vadot gpios = <&gpio4 26 GPIO_ACTIVE_LOW>, <&gpio1 0 GPIO_ACTIVE_LOW>; 204f126890aSEmmanuel Vadot rotary-encoder,relative-axis; 205f126890aSEmmanuel Vadot rotary-encoder,steps-per-period = <2>; 206f126890aSEmmanuel Vadot wakeup-source; 207f126890aSEmmanuel Vadot }; 208f126890aSEmmanuel Vadot 209f126890aSEmmanuel Vadot leds { 210f126890aSEmmanuel Vadot compatible = "gpio-leds"; 211f126890aSEmmanuel Vadot pinctrl-names = "default"; 212f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_q7_gpio1 &pinctrl_q7_gpio3 &pinctrl_q7_gpio5>; 213f126890aSEmmanuel Vadot 214f126890aSEmmanuel Vadot led-alarm1 { 215f126890aSEmmanuel Vadot label = "alarm:red"; 216f126890aSEmmanuel Vadot gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; 217f126890aSEmmanuel Vadot }; 218f126890aSEmmanuel Vadot 219f126890aSEmmanuel Vadot led-alarm2 { 220f126890aSEmmanuel Vadot label = "alarm:yellow"; 221f126890aSEmmanuel Vadot gpios = <&gpio4 27 GPIO_ACTIVE_HIGH>; 222f126890aSEmmanuel Vadot }; 223f126890aSEmmanuel Vadot 224f126890aSEmmanuel Vadot led-alarm3 { 225f126890aSEmmanuel Vadot label = "alarm:blue"; 226f126890aSEmmanuel Vadot gpios = <&gpio4 15 GPIO_ACTIVE_HIGH>; 227f126890aSEmmanuel Vadot }; 228f126890aSEmmanuel Vadot }; 229f126890aSEmmanuel Vadot 230f126890aSEmmanuel Vadot backlight: backlight { 231f126890aSEmmanuel Vadot compatible = "pwm-backlight"; 232f126890aSEmmanuel Vadot pinctrl-names = "default"; 233f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_q7_backlight_enable>; 234f126890aSEmmanuel Vadot power-supply = <®_bl>; 235f126890aSEmmanuel Vadot pwms = <&pwm4 0 5000000 0>; 236f126890aSEmmanuel Vadot brightness-levels = <0 255>; 237f126890aSEmmanuel Vadot num-interpolated-steps = <255>; 238f126890aSEmmanuel Vadot default-brightness-level = <179>; 239f126890aSEmmanuel Vadot enable-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; 240f126890aSEmmanuel Vadot }; 241f126890aSEmmanuel Vadot 242f126890aSEmmanuel Vadot panel { 243f126890aSEmmanuel Vadot backlight = <&backlight>; 244f126890aSEmmanuel Vadot power-supply = <®_lcd>; 245f126890aSEmmanuel Vadot 246f126890aSEmmanuel Vadot port { 247f126890aSEmmanuel Vadot panel_in: endpoint { 248f126890aSEmmanuel Vadot remote-endpoint = <&lvds0_out>; 249f126890aSEmmanuel Vadot }; 250f126890aSEmmanuel Vadot }; 251f126890aSEmmanuel Vadot }; 252f126890aSEmmanuel Vadot 253f126890aSEmmanuel Vadot sound { 254f126890aSEmmanuel Vadot compatible = "simple-audio-card"; 255f126890aSEmmanuel Vadot simple-audio-card,name = "audio-card"; 256f126890aSEmmanuel Vadot simple-audio-card,format = "i2s"; 257f126890aSEmmanuel Vadot simple-audio-card,bitclock-master = <&dailink_master>; 258f126890aSEmmanuel Vadot simple-audio-card,frame-master = <&dailink_master>; 259f126890aSEmmanuel Vadot simple-audio-card,widgets = "Speaker", "Ext Spk"; 260*aa1a8ff2SEmmanuel Vadot simple-audio-card,routing = "Ext Spk", "LINE"; 261f126890aSEmmanuel Vadot 262f126890aSEmmanuel Vadot simple-audio-card,cpu { 263f126890aSEmmanuel Vadot sound-dai = <&ssi1>; 264f126890aSEmmanuel Vadot }; 265f126890aSEmmanuel Vadot 266f126890aSEmmanuel Vadot dailink_master: simple-audio-card,codec { 267f126890aSEmmanuel Vadot sound-dai = <&codec>; 268f126890aSEmmanuel Vadot }; 269f126890aSEmmanuel Vadot }; 270f126890aSEmmanuel Vadot 271f126890aSEmmanuel Vadot clk_ext_audio_codec: clock-codec { 272f126890aSEmmanuel Vadot compatible = "fixed-clock"; 273f126890aSEmmanuel Vadot #clock-cells = <0>; 274f126890aSEmmanuel Vadot clock-frequency = <12288000>; 275f126890aSEmmanuel Vadot }; 276f126890aSEmmanuel Vadot}; 277f126890aSEmmanuel Vadot 278f126890aSEmmanuel Vadot&audmux { 279f126890aSEmmanuel Vadot status = "okay"; 280f126890aSEmmanuel Vadot}; 281f126890aSEmmanuel Vadot 282f126890aSEmmanuel Vadot&fec { 283f126890aSEmmanuel Vadot status = "okay"; 284f126890aSEmmanuel Vadot}; 285f126890aSEmmanuel Vadot 286f126890aSEmmanuel Vadot&hdmi { 287f126890aSEmmanuel Vadot status = "okay"; 288f126890aSEmmanuel Vadot}; 289f126890aSEmmanuel Vadot 290f126890aSEmmanuel Vadot&i2c1 { 291f126890aSEmmanuel Vadot battery: battery@b { 292f126890aSEmmanuel Vadot compatible = "ti,bq20z65", "sbs,sbs-battery"; 293f126890aSEmmanuel Vadot reg = <0x0b>; 294f126890aSEmmanuel Vadot sbs,battery-detect-gpios = <&tca6424a 5 GPIO_ACTIVE_LOW>; 295f126890aSEmmanuel Vadot sbs,i2c-retry-count = <5>; 296f126890aSEmmanuel Vadot power-supplies = <&charger>; 297f126890aSEmmanuel Vadot }; 298f126890aSEmmanuel Vadot 299f126890aSEmmanuel Vadot codec: audio-codec@1a { 300f126890aSEmmanuel Vadot compatible = "dlg,da7212"; 301f126890aSEmmanuel Vadot reg = <0x1a>; 302f126890aSEmmanuel Vadot #sound-dai-cells = <0>; 303f126890aSEmmanuel Vadot VDDA-supply = <®_2v5_audio>; 304f126890aSEmmanuel Vadot VDDSP-supply = <®_5v0_audio>; 305f126890aSEmmanuel Vadot VDDMIC-supply = <®_3v3_audio>; 306f126890aSEmmanuel Vadot VDDIO-supply = <®_3v3_audio>; 307f126890aSEmmanuel Vadot clocks = <&clk_ext_audio_codec>; 308f126890aSEmmanuel Vadot clock-names = "mclk"; 309f126890aSEmmanuel Vadot }; 310f126890aSEmmanuel Vadot}; 311f126890aSEmmanuel Vadot 312f126890aSEmmanuel Vadot&i2c5 { 313f126890aSEmmanuel Vadot tca6424a: gpio-controller@22 { 314f126890aSEmmanuel Vadot compatible = "ti,tca6424"; 315f126890aSEmmanuel Vadot reg = <0x22>; 316f126890aSEmmanuel Vadot gpio-controller; 317f126890aSEmmanuel Vadot #gpio-cells = <2>; 318f126890aSEmmanuel Vadot vcc-supply = <®_3v3>; 319f126890aSEmmanuel Vadot interrupt-parent = <&gpio7>; 320f126890aSEmmanuel Vadot interrupts = <11 IRQ_TYPE_LEVEL_LOW>; 321f126890aSEmmanuel Vadot pinctrl-names = "default"; 322f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_q7_gpio6>; 323f126890aSEmmanuel Vadot interrupt-controller; 324f126890aSEmmanuel Vadot #interrupt-cells = <2>; 325f126890aSEmmanuel Vadot gpio-line-names = "GPIO_ROTOR#", "ACM_IO_INT", "TMP_SENSOR_IRQ", "AC_IN", 326f126890aSEmmanuel Vadot "TF_S", "BATT_T", "LED_INC_CHAR", "ACM1_OCF", 327f126890aSEmmanuel Vadot "ACM2_OCF", "ACM_IO_RST", "USB1_POWER_EN", "EGPIO_CC_CTL0", 328f126890aSEmmanuel Vadot "EGPIO_CC_CTL1", "12V_OEMNBP_EN", "CP2105_RST", "", 329f126890aSEmmanuel Vadot "SPEAKER_PA_EN", "ARM7_UPI_RESET", "ARM7_PWR_RST", "NURSE_CALL", 330f126890aSEmmanuel Vadot "MARKER_EN", "EGPIO_TOUCH_RST", "PRESSURE_INT1", "PRESSURE_INT2"; 331f126890aSEmmanuel Vadot 332f126890aSEmmanuel Vadot }; 333f126890aSEmmanuel Vadot 334f126890aSEmmanuel Vadot tmp75: temperature-sensor@48 { 335f126890aSEmmanuel Vadot compatible = "ti,tmp75"; 336f126890aSEmmanuel Vadot reg = <0x48>; 337f126890aSEmmanuel Vadot vs-supply = <®_3v3>; 338f126890aSEmmanuel Vadot interrupt-parent = <&tca6424a>; 339f126890aSEmmanuel Vadot interrupts = <2 IRQ_TYPE_EDGE_FALLING>; 340f126890aSEmmanuel Vadot }; 341f126890aSEmmanuel Vadot}; 342f126890aSEmmanuel Vadot 343f126890aSEmmanuel Vadot&ldb { 344f126890aSEmmanuel Vadot status = "okay"; 345f126890aSEmmanuel Vadot 346f126890aSEmmanuel Vadot lvds0: lvds-channel@0 { 347f126890aSEmmanuel Vadot status = "okay"; 348f126890aSEmmanuel Vadot fsl,data-mapping = "spwg"; 349f126890aSEmmanuel Vadot fsl,data-width = <24>; 350f126890aSEmmanuel Vadot 351f126890aSEmmanuel Vadot port@4 { 352f126890aSEmmanuel Vadot reg = <4>; 353f126890aSEmmanuel Vadot 354f126890aSEmmanuel Vadot lvds0_out: endpoint { 355f126890aSEmmanuel Vadot remote-endpoint = <&panel_in>; 356f126890aSEmmanuel Vadot }; 357f126890aSEmmanuel Vadot }; 358f126890aSEmmanuel Vadot }; 359f126890aSEmmanuel Vadot}; 360f126890aSEmmanuel Vadot 361f126890aSEmmanuel Vadot&pwm4 { 362f126890aSEmmanuel Vadot status = "okay"; 363f126890aSEmmanuel Vadot}; 364f126890aSEmmanuel Vadot 365f126890aSEmmanuel Vadot&ssi1 { 366f126890aSEmmanuel Vadot fsl,mode = "i2s-slave"; 367f126890aSEmmanuel Vadot status = "okay"; 368f126890aSEmmanuel Vadot}; 369f126890aSEmmanuel Vadot 370f126890aSEmmanuel Vadot&usbotg { 371f126890aSEmmanuel Vadot vbus-supply = <&usb_power>; 372f126890aSEmmanuel Vadot disable-over-current; 373f126890aSEmmanuel Vadot dr_mode = "host"; 374f126890aSEmmanuel Vadot status = "okay"; 375f126890aSEmmanuel Vadot 376f126890aSEmmanuel Vadot /* 377f126890aSEmmanuel Vadot * TPS2051BDGN fault-gpio is connected to Q7[86] USB_0_1_OC_N. 378f126890aSEmmanuel Vadot * On QMX6 this is not connceted to the i.MX6, but to the USB Hub 379f126890aSEmmanuel Vadot * from &usbh1. This means, that we cannot easily detect and handle 380f126890aSEmmanuel Vadot * over-current events. Fortunately the regulator limits the current 381f126890aSEmmanuel Vadot * automatically, so the hardware is still protected. 382f126890aSEmmanuel Vadot */ 383f126890aSEmmanuel Vadot}; 384f126890aSEmmanuel Vadot 385f126890aSEmmanuel Vadot&usdhc4 { 386f126890aSEmmanuel Vadot /* WiFi module */ 387f126890aSEmmanuel Vadot pinctrl-names = "default"; 388f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc4>; 389f126890aSEmmanuel Vadot bus-width = <4>; 390f126890aSEmmanuel Vadot no-1-8-v; 391f126890aSEmmanuel Vadot non-removable; 392f126890aSEmmanuel Vadot wakeup-source; 393f126890aSEmmanuel Vadot keep-power-in-suspend; 394f126890aSEmmanuel Vadot cap-power-off-card; 395f126890aSEmmanuel Vadot max-frequency = <25000000>; 396f126890aSEmmanuel Vadot vmmc-supply = <®_wlan>; 397f126890aSEmmanuel Vadot #address-cells = <1>; 398f126890aSEmmanuel Vadot #size-cells = <0>; 399f126890aSEmmanuel Vadot status = "okay"; 400f126890aSEmmanuel Vadot 401f126890aSEmmanuel Vadot wlcore: wlcore@2 { 402f126890aSEmmanuel Vadot compatible = "ti,wl1837"; 403f126890aSEmmanuel Vadot reg = <2>; 404f126890aSEmmanuel Vadot 405f126890aSEmmanuel Vadot pinctrl-names = "default"; 406f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_q7_gpio7>; 407f126890aSEmmanuel Vadot 408f126890aSEmmanuel Vadot interrupt-parent = <&gpio4>; 409f126890aSEmmanuel Vadot interrupts = <14 IRQ_TYPE_LEVEL_HIGH>; 410f126890aSEmmanuel Vadot 411f126890aSEmmanuel Vadot tcxo-clock-frequency = <26000000>; 412f126890aSEmmanuel Vadot }; 413f126890aSEmmanuel Vadot}; 414