1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright 2018-2022 TQ-Systems GmbH 4f126890aSEmmanuel Vadot * Author: Markus Niebel <Markus.Niebel@tq-group.com> 5f126890aSEmmanuel Vadot */ 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadot/ { 8f126890aSEmmanuel Vadot model = "TQ-Systems MBA6ULx Baseboard"; 9f126890aSEmmanuel Vadot 10f126890aSEmmanuel Vadot aliases { 11f126890aSEmmanuel Vadot mmc0 = &usdhc2; 12f126890aSEmmanuel Vadot mmc1 = &usdhc1; 13f126890aSEmmanuel Vadot rtc0 = &rtc0; 14f126890aSEmmanuel Vadot rtc1 = &snvs_rtc; 15f126890aSEmmanuel Vadot }; 16f126890aSEmmanuel Vadot 17f126890aSEmmanuel Vadot chosen { 18f126890aSEmmanuel Vadot stdout-path = &uart1; 19f126890aSEmmanuel Vadot }; 20f126890aSEmmanuel Vadot 21f126890aSEmmanuel Vadot backlight: backlight { 22f126890aSEmmanuel Vadot compatible = "pwm-backlight"; 23f126890aSEmmanuel Vadot power-supply = <®_mba6ul_3v3>; 24f126890aSEmmanuel Vadot enable-gpios = <&expander_out0 4 GPIO_ACTIVE_HIGH>; 25f126890aSEmmanuel Vadot status = "disabled"; 26f126890aSEmmanuel Vadot }; 27f126890aSEmmanuel Vadot 28f126890aSEmmanuel Vadot beeper: beeper { 29f126890aSEmmanuel Vadot compatible = "gpio-beeper"; 30f126890aSEmmanuel Vadot gpios = <&expander_out1 6 GPIO_ACTIVE_HIGH>; 31f126890aSEmmanuel Vadot }; 32f126890aSEmmanuel Vadot 33f126890aSEmmanuel Vadot gpio_buttons: gpio-keys { 34f126890aSEmmanuel Vadot compatible = "gpio-keys"; 35f126890aSEmmanuel Vadot pinctrl-names = "default"; 36f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_buttons>; 37f126890aSEmmanuel Vadot 38f126890aSEmmanuel Vadot button1 { 39f126890aSEmmanuel Vadot label = "s14"; 40f126890aSEmmanuel Vadot linux,code = <KEY_1>; 41f126890aSEmmanuel Vadot gpios = <&expander_in0 0 GPIO_ACTIVE_LOW>; 42f126890aSEmmanuel Vadot }; 43f126890aSEmmanuel Vadot 44f126890aSEmmanuel Vadot button2 { 45f126890aSEmmanuel Vadot label = "s6"; 46f126890aSEmmanuel Vadot linux,code = <KEY_2>; 47f126890aSEmmanuel Vadot gpios = <&expander_in0 1 GPIO_ACTIVE_LOW>; 48f126890aSEmmanuel Vadot }; 49f126890aSEmmanuel Vadot 50f126890aSEmmanuel Vadot button3 { 51f126890aSEmmanuel Vadot label = "s7"; 52f126890aSEmmanuel Vadot linux,code = <KEY_3>; 53f126890aSEmmanuel Vadot gpios = <&expander_in0 2 GPIO_ACTIVE_LOW>; 54f126890aSEmmanuel Vadot }; 55f126890aSEmmanuel Vadot 56f126890aSEmmanuel Vadot power-button { 57f126890aSEmmanuel Vadot label = "POWER"; 58f126890aSEmmanuel Vadot linux,code = <KEY_POWER>; 59f126890aSEmmanuel Vadot gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; 60f126890aSEmmanuel Vadot wakeup-source; 61f126890aSEmmanuel Vadot }; 62f126890aSEmmanuel Vadot }; 63f126890aSEmmanuel Vadot 64f126890aSEmmanuel Vadot gpio-leds { 65f126890aSEmmanuel Vadot compatible = "gpio-leds"; 66f126890aSEmmanuel Vadot status = "okay"; 67f126890aSEmmanuel Vadot 68f126890aSEmmanuel Vadot led1 { 69f126890aSEmmanuel Vadot label = "led1"; 70f126890aSEmmanuel Vadot gpios = <&expander_out1 4 GPIO_ACTIVE_HIGH>; 71f126890aSEmmanuel Vadot linux,default-trigger = "default-on"; 72f126890aSEmmanuel Vadot }; 73f126890aSEmmanuel Vadot 74f126890aSEmmanuel Vadot led2 { 75f126890aSEmmanuel Vadot label = "led2"; 76f126890aSEmmanuel Vadot gpios = <&expander_out1 5 GPIO_ACTIVE_HIGH>; 77f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 78f126890aSEmmanuel Vadot }; 79f126890aSEmmanuel Vadot }; 80f126890aSEmmanuel Vadot 81f126890aSEmmanuel Vadot reg_lcd_pwr: regulator-lcd-pwr { 82f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 83f126890aSEmmanuel Vadot regulator-name = "lcd-pwr"; 84f126890aSEmmanuel Vadot gpio = <&expander_out0 1 GPIO_ACTIVE_HIGH>; 85f126890aSEmmanuel Vadot enable-active-high; 86f126890aSEmmanuel Vadot status = "disabled"; 87f126890aSEmmanuel Vadot }; 88f126890aSEmmanuel Vadot 89f126890aSEmmanuel Vadot reg_mba6ul_3v3: regulator-mba6ul-3v3 { 90f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 91f126890aSEmmanuel Vadot regulator-name = "supply-mba6ul-3v3"; 92f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 93f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 94f126890aSEmmanuel Vadot regulator-always-on; 95f126890aSEmmanuel Vadot }; 96f126890aSEmmanuel Vadot 97f126890aSEmmanuel Vadot reg_mba6ul_5v0: regulator-mba6ul-5v0 { 98f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 99f126890aSEmmanuel Vadot regulator-name = "supply-mba6ul-5v0"; 100f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 101f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 102f126890aSEmmanuel Vadot regulator-always-on; 103f126890aSEmmanuel Vadot }; 104f126890aSEmmanuel Vadot 105f126890aSEmmanuel Vadot reg_mpcie: regulator-mpcie-3v3 { 106f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 107f126890aSEmmanuel Vadot regulator-name = "mpcie-3v3"; 108f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 109f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 110f126890aSEmmanuel Vadot gpio = <&expander_out0 2 GPIO_ACTIVE_HIGH>; 111f126890aSEmmanuel Vadot enable-active-high; 112f126890aSEmmanuel Vadot regulator-always-on; 113f126890aSEmmanuel Vadot startup-delay-us = <500000>; 114f126890aSEmmanuel Vadot vin-supply = <®_mba6ul_3v3>; 115f126890aSEmmanuel Vadot }; 116f126890aSEmmanuel Vadot 117f126890aSEmmanuel Vadot reg_otg2vbus_5v0: regulator-otg2-vbus-5v0 { 118f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 119f126890aSEmmanuel Vadot gpio = <&expander_out1 0 GPIO_ACTIVE_HIGH>; 120f126890aSEmmanuel Vadot enable-active-high; 121f126890aSEmmanuel Vadot regulator-name = "otg2-vbus-supply-5v0"; 122f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 123f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 124f126890aSEmmanuel Vadot vin-supply = <®_mpcie>; 125f126890aSEmmanuel Vadot }; 126f126890aSEmmanuel Vadot 127f126890aSEmmanuel Vadot reserved-memory { 128f126890aSEmmanuel Vadot #address-cells = <1>; 129f126890aSEmmanuel Vadot #size-cells = <1>; 130f126890aSEmmanuel Vadot ranges; 131f126890aSEmmanuel Vadot 132f126890aSEmmanuel Vadot linux,cma { 133f126890aSEmmanuel Vadot compatible = "shared-dma-pool"; 134f126890aSEmmanuel Vadot reusable; 135f126890aSEmmanuel Vadot size = <0x6000000>; 136f126890aSEmmanuel Vadot linux,cma-default; 137f126890aSEmmanuel Vadot }; 138f126890aSEmmanuel Vadot }; 139f126890aSEmmanuel Vadot 140f126890aSEmmanuel Vadot sound { 141f126890aSEmmanuel Vadot compatible = "fsl,imx-audio-tlv320aic32x4"; 142f126890aSEmmanuel Vadot model = "imx-audio-tlv320aic32x4"; 143f126890aSEmmanuel Vadot ssi-controller = <&sai1>; 144f126890aSEmmanuel Vadot audio-codec = <&tlv320aic32x4>; 145f126890aSEmmanuel Vadot audio-asrc = <&asrc>; 146f126890aSEmmanuel Vadot }; 147f126890aSEmmanuel Vadot}; 148f126890aSEmmanuel Vadot 149f126890aSEmmanuel Vadot&can1 { 150f126890aSEmmanuel Vadot pinctrl-names = "default"; 151f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_flexcan1>; 152f126890aSEmmanuel Vadot xceiver-supply = <®_mba6ul_3v3>; 153f126890aSEmmanuel Vadot status = "okay"; 154f126890aSEmmanuel Vadot}; 155f126890aSEmmanuel Vadot 156f126890aSEmmanuel Vadot&can2 { 157f126890aSEmmanuel Vadot pinctrl-names = "default"; 158f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_flexcan2>; 159f126890aSEmmanuel Vadot xceiver-supply = <®_mba6ul_3v3>; 160f126890aSEmmanuel Vadot status = "okay"; 161f126890aSEmmanuel Vadot}; 162f126890aSEmmanuel Vadot 163f126890aSEmmanuel Vadot&clks { 164f126890aSEmmanuel Vadot assigned-clocks = <&clks IMX6UL_CLK_PLL4_AUDIO_DIV>; 165f126890aSEmmanuel Vadot assigned-clock-rates = <768000000>; 166f126890aSEmmanuel Vadot}; 167f126890aSEmmanuel Vadot 168f126890aSEmmanuel Vadot&ecspi2 { 169f126890aSEmmanuel Vadot pinctrl-names = "default"; 170f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ecspi2>; 171f126890aSEmmanuel Vadot num-cs = <1>; 172f126890aSEmmanuel Vadot status = "okay"; 173f126890aSEmmanuel Vadot}; 174f126890aSEmmanuel Vadot 175f126890aSEmmanuel Vadot&fec1 { 176f126890aSEmmanuel Vadot pinctrl-names = "default"; 177f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_enet1>; 178f126890aSEmmanuel Vadot phy-mode = "rmii"; 179f126890aSEmmanuel Vadot phy-handle = <ðphy0>; 180f126890aSEmmanuel Vadot phy-supply = <®_mba6ul_3v3>; 181f126890aSEmmanuel Vadot phy-reset-gpios = <&expander_out1 1 GPIO_ACTIVE_LOW>; 182f126890aSEmmanuel Vadot phy-reset-duration = <25>; 183f126890aSEmmanuel Vadot phy-reset-post-delay = <1>; 184f126890aSEmmanuel Vadot status = "okay"; 185f126890aSEmmanuel Vadot}; 186f126890aSEmmanuel Vadot 187f126890aSEmmanuel Vadot&fec2 { 188f126890aSEmmanuel Vadot pinctrl-names = "default"; 189f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_enet2>, <&pinctrl_enet2_mdc>; 190f126890aSEmmanuel Vadot phy-mode = "rmii"; 191f126890aSEmmanuel Vadot phy-handle = <ðphy1>; 192f126890aSEmmanuel Vadot phy-supply = <®_mba6ul_3v3>; 193f126890aSEmmanuel Vadot phy-reset-gpios = <&expander_out1 2 GPIO_ACTIVE_LOW>; 194f126890aSEmmanuel Vadot phy-reset-duration = <25>; 195f126890aSEmmanuel Vadot phy-reset-post-delay = <1>; 196f126890aSEmmanuel Vadot status = "okay"; 197f126890aSEmmanuel Vadot 198f126890aSEmmanuel Vadot mdio { 199f126890aSEmmanuel Vadot #address-cells = <1>; 200f126890aSEmmanuel Vadot #size-cells = <0>; 201f126890aSEmmanuel Vadot 202f126890aSEmmanuel Vadot ethphy0: ethernet-phy@0 { 203f126890aSEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c22"; 204f126890aSEmmanuel Vadot clocks = <&clks IMX6UL_CLK_ENET_REF>; 205f126890aSEmmanuel Vadot reg = <0>; 206f126890aSEmmanuel Vadot max-speed = <100>; 207f126890aSEmmanuel Vadot }; 208f126890aSEmmanuel Vadot 209f126890aSEmmanuel Vadot ethphy1: ethernet-phy@1 { 210f126890aSEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c22"; 211f126890aSEmmanuel Vadot clocks = <&clks IMX6UL_CLK_ENET2_REF_125M>; 212f126890aSEmmanuel Vadot reg = <1>; 213f126890aSEmmanuel Vadot max-speed = <100>; 214f126890aSEmmanuel Vadot }; 215f126890aSEmmanuel Vadot }; 216f126890aSEmmanuel Vadot}; 217f126890aSEmmanuel Vadot 218f126890aSEmmanuel Vadot&i2c4 { 219f126890aSEmmanuel Vadot tlv320aic32x4: audio-codec@18 { 220f126890aSEmmanuel Vadot compatible = "ti,tlv320aic32x4"; 221f126890aSEmmanuel Vadot reg = <0x18>; 222f126890aSEmmanuel Vadot clocks = <&clks IMX6UL_CLK_SAI1>; 223f126890aSEmmanuel Vadot clock-names = "mclk"; 224f126890aSEmmanuel Vadot ldoin-supply = <®_mba6ul_3v3>; 225f126890aSEmmanuel Vadot iov-supply = <®_mba6ul_3v3>; 226f126890aSEmmanuel Vadot }; 227f126890aSEmmanuel Vadot 228f126890aSEmmanuel Vadot jc42: temperature-sensor@19 { 229f126890aSEmmanuel Vadot compatible = "nxp,se97b", "jedec,jc-42.4-temp"; 230f126890aSEmmanuel Vadot reg = <0x19>; 231f126890aSEmmanuel Vadot }; 232f126890aSEmmanuel Vadot 233f126890aSEmmanuel Vadot expander_out0: gpio-expander@20 { 234f126890aSEmmanuel Vadot compatible = "nxp,pca9554"; 235f126890aSEmmanuel Vadot reg = <0x20>; 236f126890aSEmmanuel Vadot gpio-controller; 237f126890aSEmmanuel Vadot #gpio-cells = <2>; 238f126890aSEmmanuel Vadot vcc-supply = <®_mba6ul_3v3>; 239f126890aSEmmanuel Vadot }; 240f126890aSEmmanuel Vadot 241f126890aSEmmanuel Vadot expander_in0: gpio-expander@21 { 242f126890aSEmmanuel Vadot compatible = "nxp,pca9554"; 243f126890aSEmmanuel Vadot reg = <0x21>; 244f126890aSEmmanuel Vadot pinctrl-names = "default"; 245f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_expander_in0>; 246f126890aSEmmanuel Vadot interrupt-parent = <&gpio4>; 247f126890aSEmmanuel Vadot interrupts = <23 IRQ_TYPE_LEVEL_LOW>; 248f126890aSEmmanuel Vadot interrupt-controller; 249f126890aSEmmanuel Vadot #interrupt-cells = <2>; 250f126890aSEmmanuel Vadot gpio-controller; 251f126890aSEmmanuel Vadot #gpio-cells = <2>; 252f126890aSEmmanuel Vadot vcc-supply = <®_mba6ul_3v3>; 253f126890aSEmmanuel Vadot 254f126890aSEmmanuel Vadot enet1_int-hog { 255f126890aSEmmanuel Vadot gpio-hog; 256f126890aSEmmanuel Vadot gpios = <6 0>; 257f126890aSEmmanuel Vadot input; 258f126890aSEmmanuel Vadot }; 259f126890aSEmmanuel Vadot 260f126890aSEmmanuel Vadot enet2_int-hog { 261f126890aSEmmanuel Vadot gpio-hog; 262f126890aSEmmanuel Vadot gpios = <7 0>; 263f126890aSEmmanuel Vadot input; 264f126890aSEmmanuel Vadot }; 265f126890aSEmmanuel Vadot }; 266f126890aSEmmanuel Vadot 267f126890aSEmmanuel Vadot expander_out1: gpio-expander@22 { 268f126890aSEmmanuel Vadot compatible = "nxp,pca9554"; 269f126890aSEmmanuel Vadot reg = <0x22>; 270f126890aSEmmanuel Vadot gpio-controller; 271f126890aSEmmanuel Vadot #gpio-cells = <2>; 272f126890aSEmmanuel Vadot vcc-supply = <®_mba6ul_3v3>; 273f126890aSEmmanuel Vadot }; 274f126890aSEmmanuel Vadot 275f126890aSEmmanuel Vadot analog_touch: touchscreen@41 { 276f126890aSEmmanuel Vadot compatible = "st,stmpe811"; 277f126890aSEmmanuel Vadot reg = <0x41>; 278f126890aSEmmanuel Vadot interrupts = <21 IRQ_TYPE_EDGE_FALLING>; 279f126890aSEmmanuel Vadot interrupt-parent = <&gpio4>; 280f126890aSEmmanuel Vadot status = "disabled"; 281f126890aSEmmanuel Vadot 282*aa1a8ff2SEmmanuel Vadot touchscreen { 283f126890aSEmmanuel Vadot compatible = "st,stmpe-ts"; 284f126890aSEmmanuel Vadot st,adc-freq = <1>; /* 3.25 MHz ADC clock speed */ 285f126890aSEmmanuel Vadot st,ave-ctrl = <3>; /* 8 sample average control */ 286f126890aSEmmanuel Vadot st,fraction-z = <7>; /* 7 length fractional part in z */ 287f126890aSEmmanuel Vadot /* 288f126890aSEmmanuel Vadot * 50 mA typical 80 mA max touchscreen drivers 289f126890aSEmmanuel Vadot * current limit value 290f126890aSEmmanuel Vadot */ 291f126890aSEmmanuel Vadot st,i-drive = <1>; 292f126890aSEmmanuel Vadot st,mod-12b = <1>; /* 12-bit ADC */ 293f126890aSEmmanuel Vadot st,ref-sel = <0>; /* internal ADC reference */ 294f126890aSEmmanuel Vadot st,sample-time = <4>; /* ADC converstion time: 80 clocks */ 295f126890aSEmmanuel Vadot st,settling = <3>; /* 1 ms panel driver settling time */ 296f126890aSEmmanuel Vadot st,touch-det-delay = <5>; /* 5 ms touch detect interrupt delay */ 297f126890aSEmmanuel Vadot }; 298f126890aSEmmanuel Vadot }; 299f126890aSEmmanuel Vadot 300f126890aSEmmanuel Vadot /* NXP SE97BTP with temperature sensor + eeprom */ 301f126890aSEmmanuel Vadot se97b: eeprom@51 { 302f126890aSEmmanuel Vadot compatible = "nxp,se97b", "atmel,24c02"; 303f126890aSEmmanuel Vadot reg = <0x51>; 304f126890aSEmmanuel Vadot pagesize = <16>; 305f126890aSEmmanuel Vadot vcc-supply = <®_mba6ul_3v3>; 306f126890aSEmmanuel Vadot }; 307f126890aSEmmanuel Vadot}; 308f126890aSEmmanuel Vadot 309f126890aSEmmanuel Vadot&pwm2 { 310f126890aSEmmanuel Vadot pinctrl-names = "default"; 311f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pwm2>; 312f126890aSEmmanuel Vadot status = "okay"; 313f126890aSEmmanuel Vadot}; 314f126890aSEmmanuel Vadot 315f126890aSEmmanuel Vadot&sai1 { 316f126890aSEmmanuel Vadot pinctrl-names = "default"; 317f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_sai1>; 318f126890aSEmmanuel Vadot assigned-clocks = <&clks IMX6UL_CLK_SAI1_SEL>, 319f126890aSEmmanuel Vadot <&clks IMX6UL_CLK_SAI1>; 320f126890aSEmmanuel Vadot assigned-clock-parents = <&clks IMX6UL_CLK_PLL4_AUDIO_DIV>; 321f126890aSEmmanuel Vadot assigned-clock-rates = <0>, <24000000>; 322f126890aSEmmanuel Vadot fsl,sai-mclk-direction-output; 323f126890aSEmmanuel Vadot status = "okay"; 324f126890aSEmmanuel Vadot}; 325f126890aSEmmanuel Vadot 326f126890aSEmmanuel Vadot&uart1 { 327f126890aSEmmanuel Vadot pinctrl-names = "default"; 328f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart1>; 329f126890aSEmmanuel Vadot status = "okay"; 330f126890aSEmmanuel Vadot}; 331f126890aSEmmanuel Vadot 332f126890aSEmmanuel Vadot&uart3 { 333f126890aSEmmanuel Vadot pinctrl-names = "default"; 334f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart3>; 335f126890aSEmmanuel Vadot status = "okay"; 336f126890aSEmmanuel Vadot}; 337f126890aSEmmanuel Vadot 338f126890aSEmmanuel Vadot&uart6 { 339f126890aSEmmanuel Vadot pinctrl-names = "default"; 340f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart6>; 341f126890aSEmmanuel Vadot /* for DTE mode, add below change */ 342f126890aSEmmanuel Vadot /* fsl,dte-mode; */ 343f126890aSEmmanuel Vadot /* pinctrl-0 = <&pinctrl_uart6dte>; */ 344f126890aSEmmanuel Vadot uart-has-rtscts; 345f126890aSEmmanuel Vadot linux,rs485-enabled-at-boot-time; 346f126890aSEmmanuel Vadot rs485-rts-active-low; 347f126890aSEmmanuel Vadot rs485-rx-during-tx; 348f126890aSEmmanuel Vadot status = "okay"; 349f126890aSEmmanuel Vadot}; 350f126890aSEmmanuel Vadot 351f126890aSEmmanuel Vadot/* otg-port */ 352f126890aSEmmanuel Vadot&usbotg1 { 353f126890aSEmmanuel Vadot pinctrl-names = "default"; 354f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usb_otg1>; 355f126890aSEmmanuel Vadot power-active-high; 356f126890aSEmmanuel Vadot over-current-active-low; 357f126890aSEmmanuel Vadot /* we implement only dual role but not a fully featured OTG */ 358f126890aSEmmanuel Vadot hnp-disable; 359f126890aSEmmanuel Vadot srp-disable; 360f126890aSEmmanuel Vadot adp-disable; 361f126890aSEmmanuel Vadot dr_mode = "otg"; 362f126890aSEmmanuel Vadot status = "okay"; 363f126890aSEmmanuel Vadot}; 364f126890aSEmmanuel Vadot 365f126890aSEmmanuel Vadot/* 7-port usb hub */ 366f126890aSEmmanuel Vadot/* id, pwr, oc pins not connected */ 367f126890aSEmmanuel Vadot&usbotg2 { 368f126890aSEmmanuel Vadot disable-over-current; 369f126890aSEmmanuel Vadot vbus-supply = <®_otg2vbus_5v0>; 370f126890aSEmmanuel Vadot dr_mode = "host"; 371f126890aSEmmanuel Vadot status = "okay"; 372f126890aSEmmanuel Vadot}; 373f126890aSEmmanuel Vadot 374f126890aSEmmanuel Vadot&usdhc1 { 375f126890aSEmmanuel Vadot pinctrl-names = "default"; 376f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc1>; 377f126890aSEmmanuel Vadot cd-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>; 378f126890aSEmmanuel Vadot wp-gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>; 379f126890aSEmmanuel Vadot bus-width = <4>; 380f126890aSEmmanuel Vadot vmmc-supply = <®_mba6ul_3v3>; 381f126890aSEmmanuel Vadot vqmmc-supply = <®_vccsd>; 382f126890aSEmmanuel Vadot no-1-8-v; 383f126890aSEmmanuel Vadot no-mmc; 384f126890aSEmmanuel Vadot no-sdio; 385f126890aSEmmanuel Vadot status = "okay"; 386f126890aSEmmanuel Vadot}; 387f126890aSEmmanuel Vadot 388f126890aSEmmanuel Vadot&wdog1 { 389f126890aSEmmanuel Vadot pinctrl-names = "default"; 390f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_wdog1>; 391f126890aSEmmanuel Vadot fsl,ext-reset-output; 392f126890aSEmmanuel Vadot status = "okay"; 393f126890aSEmmanuel Vadot}; 394f126890aSEmmanuel Vadot 395f126890aSEmmanuel Vadot&iomuxc { 396f126890aSEmmanuel Vadot pinctrl_buttons: buttonsgrp { 397f126890aSEmmanuel Vadot fsl,pins = < 398f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0x100b0 399f126890aSEmmanuel Vadot >; 400f126890aSEmmanuel Vadot }; 401f126890aSEmmanuel Vadot 402f126890aSEmmanuel Vadot pinctrl_ecspi2: ecspi2grp { 403f126890aSEmmanuel Vadot fsl,pins = < 404f126890aSEmmanuel Vadot MX6UL_PAD_UART4_TX_DATA__ECSPI2_SCLK 0x1b020 405f126890aSEmmanuel Vadot MX6UL_PAD_UART5_RX_DATA__ECSPI2_MISO 0x1b020 406f126890aSEmmanuel Vadot MX6UL_PAD_UART5_TX_DATA__ECSPI2_MOSI 0x1b020 407f126890aSEmmanuel Vadot MX6UL_PAD_UART4_RX_DATA__ECSPI2_SS0 0x1b020 408f126890aSEmmanuel Vadot >; 409f126890aSEmmanuel Vadot }; 410f126890aSEmmanuel Vadot 411f126890aSEmmanuel Vadot pinctrl_enet1: enet1grp { 412f126890aSEmmanuel Vadot fsl,pins = < 413f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x1b0b0 414f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_RX_ER__ENET1_RX_ER 0x1b0b0 415f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0b0 416f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0b0 417f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x1b0b0 418f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x1b0b0 419f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0x1b0b0 420f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x4001b0a8 421f126890aSEmmanuel Vadot >; 422f126890aSEmmanuel Vadot }; 423f126890aSEmmanuel Vadot 424f126890aSEmmanuel Vadot pinctrl_enet2: enet2grp { 425f126890aSEmmanuel Vadot fsl,pins = < 426f126890aSEmmanuel Vadot MX6UL_PAD_ENET2_RX_EN__ENET2_RX_EN 0x1b0b0 427f126890aSEmmanuel Vadot MX6UL_PAD_ENET2_RX_ER__ENET2_RX_ER 0x1b0b0 428f126890aSEmmanuel Vadot MX6UL_PAD_ENET2_RX_DATA0__ENET2_RDATA00 0x1b0b0 429f126890aSEmmanuel Vadot MX6UL_PAD_ENET2_RX_DATA1__ENET2_RDATA01 0x1b0b0 430f126890aSEmmanuel Vadot MX6UL_PAD_ENET2_TX_DATA0__ENET2_TDATA00 0x1b0a0 431f126890aSEmmanuel Vadot MX6UL_PAD_ENET2_TX_DATA1__ENET2_TDATA01 0x1b0a0 432f126890aSEmmanuel Vadot MX6UL_PAD_ENET2_TX_EN__ENET2_TX_EN 0x1b0b0 433f126890aSEmmanuel Vadot MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2 0x4001b0a8 434f126890aSEmmanuel Vadot >; 435f126890aSEmmanuel Vadot }; 436f126890aSEmmanuel Vadot 437f126890aSEmmanuel Vadot pinctrl_enet2_mdc: enet2mdcgrp { 438f126890aSEmmanuel Vadot fsl,pins = < 439f126890aSEmmanuel Vadot /* mdio */ 440f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO07__ENET2_MDC 0x1b0b0 441f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO06__ENET2_MDIO 0x1b0b0 442f126890aSEmmanuel Vadot >; 443f126890aSEmmanuel Vadot }; 444f126890aSEmmanuel Vadot 445f126890aSEmmanuel Vadot pinctrl_expander_in0: expanderin0grp { 446f126890aSEmmanuel Vadot fsl,pins = < 447f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA02__GPIO4_IO23 0x1b0b1 448f126890aSEmmanuel Vadot >; 449f126890aSEmmanuel Vadot }; 450f126890aSEmmanuel Vadot 451f126890aSEmmanuel Vadot pinctrl_flexcan1: flexcan1grp { 452f126890aSEmmanuel Vadot fsl,pins = < 453f126890aSEmmanuel Vadot MX6UL_PAD_UART3_RTS_B__FLEXCAN1_RX 0x1b020 454f126890aSEmmanuel Vadot MX6UL_PAD_UART3_CTS_B__FLEXCAN1_TX 0x1b020 455f126890aSEmmanuel Vadot >; 456f126890aSEmmanuel Vadot }; 457f126890aSEmmanuel Vadot 458f126890aSEmmanuel Vadot pinctrl_flexcan2: flexcan2grp { 459f126890aSEmmanuel Vadot fsl,pins = < 460f126890aSEmmanuel Vadot MX6UL_PAD_UART2_RTS_B__FLEXCAN2_RX 0x1b020 461f126890aSEmmanuel Vadot MX6UL_PAD_UART2_CTS_B__FLEXCAN2_TX 0x1b020 462f126890aSEmmanuel Vadot >; 463f126890aSEmmanuel Vadot }; 464f126890aSEmmanuel Vadot 465f126890aSEmmanuel Vadot pinctrl_pwm2: pwm2grp { 466f126890aSEmmanuel Vadot fsl,pins = < 467f126890aSEmmanuel Vadot /* 100 k PD, DSE 120 OHM, SPPEED LO */ 468f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO09__PWM2_OUT 0x00003050 469f126890aSEmmanuel Vadot >; 470f126890aSEmmanuel Vadot }; 471f126890aSEmmanuel Vadot 472f126890aSEmmanuel Vadot pinctrl_sai1: sai1grp { 473f126890aSEmmanuel Vadot fsl,pins = < 474f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA05__SAI1_TX_BCLK 0x1b0b1 475f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA04__SAI1_TX_SYNC 0x1b0b1 476f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA07__SAI1_TX_DATA 0x1f0b8 477f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA06__SAI1_RX_DATA 0x110b0 478f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA01__SAI1_MCLK 0x1b0b1 479f126890aSEmmanuel Vadot >; 480f126890aSEmmanuel Vadot }; 481f126890aSEmmanuel Vadot 482f126890aSEmmanuel Vadot pinctrl_uart1: uart1grp { 483f126890aSEmmanuel Vadot fsl,pins = < 484f126890aSEmmanuel Vadot MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0x1b0b1 485f126890aSEmmanuel Vadot MX6UL_PAD_UART1_RX_DATA__UART1_DCE_RX 0x1b0b1 486f126890aSEmmanuel Vadot >; 487f126890aSEmmanuel Vadot }; 488f126890aSEmmanuel Vadot 489f126890aSEmmanuel Vadot pinctrl_uart3: uart3grp { 490f126890aSEmmanuel Vadot fsl,pins = < 491f126890aSEmmanuel Vadot MX6UL_PAD_UART3_TX_DATA__UART3_DCE_TX 0x1b0b1 492f126890aSEmmanuel Vadot MX6UL_PAD_UART3_RX_DATA__UART3_DCE_RX 0x1b0b1 493f126890aSEmmanuel Vadot >; 494f126890aSEmmanuel Vadot }; 495f126890aSEmmanuel Vadot 496f126890aSEmmanuel Vadot pinctrl_uart6: uart6grp { 497f126890aSEmmanuel Vadot fsl,pins = < 498f126890aSEmmanuel Vadot MX6UL_PAD_CSI_MCLK__UART6_DCE_TX 0x1b0b1 499f126890aSEmmanuel Vadot MX6UL_PAD_CSI_PIXCLK__UART6_DCE_RX 0x1b0b1 500f126890aSEmmanuel Vadot MX6UL_PAD_CSI_VSYNC__UART6_DCE_RTS 0x1b0b1 501f126890aSEmmanuel Vadot MX6UL_PAD_CSI_HSYNC__UART6_DCE_CTS 0x1b0b1 502f126890aSEmmanuel Vadot >; 503f126890aSEmmanuel Vadot }; 504f126890aSEmmanuel Vadot 505f126890aSEmmanuel Vadot pinctrl_uart6dte: uart6dte { 506f126890aSEmmanuel Vadot fsl,pins = < 507f126890aSEmmanuel Vadot MX6UL_PAD_CSI_PIXCLK__UART6_DTE_TX 0x1b0b1 508f126890aSEmmanuel Vadot MX6UL_PAD_CSI_MCLK__UART6_DTE_RX 0x1b0b1 509f126890aSEmmanuel Vadot MX6UL_PAD_CSI_HSYNC__UART6_DTE_RTS 0x1b0b1 510f126890aSEmmanuel Vadot MX6UL_PAD_CSI_VSYNC__UART6_DTE_CTS 0x1b0b1 511f126890aSEmmanuel Vadot >; 512f126890aSEmmanuel Vadot }; 513f126890aSEmmanuel Vadot 514f126890aSEmmanuel Vadot pinctrl_usb_otg1: usbotg1grp { 515f126890aSEmmanuel Vadot fsl,pins = < 516f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO00__ANATOP_OTG1_ID 0x00017059 517f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO01__USB_OTG1_OC 0x0001b0b0 518f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO04__USB_OTG1_PWR 0x0001b099 519f126890aSEmmanuel Vadot >; 520f126890aSEmmanuel Vadot }; 521f126890aSEmmanuel Vadot 522f126890aSEmmanuel Vadot pinctrl_usdhc1: usdhc1grp { 523f126890aSEmmanuel Vadot fsl,pins = < 524f126890aSEmmanuel Vadot MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x00017069 525f126890aSEmmanuel Vadot MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x00017059 526f126890aSEmmanuel Vadot MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x00017059 527f126890aSEmmanuel Vadot MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x00017059 528f126890aSEmmanuel Vadot MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x00017059 529f126890aSEmmanuel Vadot MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x00017059 530f126890aSEmmanuel Vadot /* WP */ 531f126890aSEmmanuel Vadot MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x0001b099 532f126890aSEmmanuel Vadot /* CD */ 533f126890aSEmmanuel Vadot MX6UL_PAD_UART1_RTS_B__GPIO1_IO19 0x0001b099 534f126890aSEmmanuel Vadot >; 535f126890aSEmmanuel Vadot }; 536f126890aSEmmanuel Vadot 537f126890aSEmmanuel Vadot pinctrl_usdhc1_100mhz: usdhc1grp100mhz { 538f126890aSEmmanuel Vadot fsl,pins = < 539f126890aSEmmanuel Vadot MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x00017069 540f126890aSEmmanuel Vadot MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x000170b9 541f126890aSEmmanuel Vadot MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x000170b9 542f126890aSEmmanuel Vadot MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x000170b9 543f126890aSEmmanuel Vadot MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x000170b9 544f126890aSEmmanuel Vadot MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x000170b9 545f126890aSEmmanuel Vadot /* WP */ 546f126890aSEmmanuel Vadot MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x0001b099 547f126890aSEmmanuel Vadot /* CD */ 548f126890aSEmmanuel Vadot MX6UL_PAD_UART1_RTS_B__GPIO1_IO19 0x0001b099 549f126890aSEmmanuel Vadot >; 550f126890aSEmmanuel Vadot }; 551f126890aSEmmanuel Vadot 552f126890aSEmmanuel Vadot pinctrl_usdhc1_200mhz: usdhc1grp200mhz { 553f126890aSEmmanuel Vadot fsl,pins = < 554f126890aSEmmanuel Vadot MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x00017069 555f126890aSEmmanuel Vadot MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x000170f9 556f126890aSEmmanuel Vadot MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x000170f9 557f126890aSEmmanuel Vadot MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x000170f9 558f126890aSEmmanuel Vadot MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x000170f9 559f126890aSEmmanuel Vadot MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x000170f9 560f126890aSEmmanuel Vadot /* WP */ 561f126890aSEmmanuel Vadot MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x0001b099 562f126890aSEmmanuel Vadot /* CD */ 563f126890aSEmmanuel Vadot MX6UL_PAD_UART1_RTS_B__GPIO1_IO19 0x0001b099 564f126890aSEmmanuel Vadot >; 565f126890aSEmmanuel Vadot }; 566f126890aSEmmanuel Vadot 567f126890aSEmmanuel Vadot pinctrl_wdog1: wdog1grp { 568f126890aSEmmanuel Vadot fsl,pins = < 569f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO08__WDOG1_WDOG_B 0x0001b099 570f126890aSEmmanuel Vadot >; 571f126890aSEmmanuel Vadot }; 572f126890aSEmmanuel Vadot}; 573