1*aa1a8ff2SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 OR MIT 2f126890aSEmmanuel Vadot// 3f126890aSEmmanuel Vadot// Device Tree Source for i.MX6DL based congatec QMX6 4f126890aSEmmanuel Vadot// System on Module 5f126890aSEmmanuel Vadot// 6f126890aSEmmanuel Vadot// Copyright 2018-2021 General Electric Company 7f126890aSEmmanuel Vadot// Copyright 2018-2021 Collabora 8f126890aSEmmanuel Vadot// Copyright 2016 congatec AG 9f126890aSEmmanuel Vadot 10f126890aSEmmanuel Vadot#include "imx6dl.dtsi" 11f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 12f126890aSEmmanuel Vadot#include <dt-bindings/sound/fsl-imx-audmux.h> 13f126890aSEmmanuel Vadot 14f126890aSEmmanuel Vadot/ { 15f126890aSEmmanuel Vadot memory@10000000 { 16f126890aSEmmanuel Vadot reg = <0x10000000 0x40000000>; 17f126890aSEmmanuel Vadot }; 18f126890aSEmmanuel Vadot 19f126890aSEmmanuel Vadot reg_3p3v: 3p3v { 20f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 21f126890aSEmmanuel Vadot regulator-name = "3P3V"; 22f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 23f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 24f126890aSEmmanuel Vadot }; 25f126890aSEmmanuel Vadot 26f126890aSEmmanuel Vadot i2cmux { 27f126890aSEmmanuel Vadot compatible = "i2c-mux-gpio"; 28f126890aSEmmanuel Vadot #address-cells = <1>; 29f126890aSEmmanuel Vadot #size-cells = <0>; 30f126890aSEmmanuel Vadot mux-gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>; 31f126890aSEmmanuel Vadot i2c-parent = <&i2c2>; 32f126890aSEmmanuel Vadot 33f126890aSEmmanuel Vadot i2c5: i2c@0 { 34f126890aSEmmanuel Vadot reg = <0>; 35f126890aSEmmanuel Vadot #address-cells = <1>; 36f126890aSEmmanuel Vadot #size-cells = <0>; 37f126890aSEmmanuel Vadot }; 38f126890aSEmmanuel Vadot 39f126890aSEmmanuel Vadot i2c6: i2c@1 { 40f126890aSEmmanuel Vadot reg = <1>; 41f126890aSEmmanuel Vadot #address-cells = <1>; 42f126890aSEmmanuel Vadot #size-cells = <0>; 43f126890aSEmmanuel Vadot }; 44f126890aSEmmanuel Vadot }; 45f126890aSEmmanuel Vadot}; 46f126890aSEmmanuel Vadot 47f126890aSEmmanuel Vadot&audmux { 48f126890aSEmmanuel Vadot pinctrl-names = "default"; 49f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_audmux>; 50f126890aSEmmanuel Vadot 51f126890aSEmmanuel Vadot mux-ssi1 { 52f126890aSEmmanuel Vadot fsl,audmux-port = <MX51_AUDMUX_PORT1_SSI0>; 53f126890aSEmmanuel Vadot fsl,port-config = < 54f126890aSEmmanuel Vadot (IMX_AUDMUX_V2_PTCR_TFSDIR | 55f126890aSEmmanuel Vadot IMX_AUDMUX_V2_PTCR_TFSEL(MX51_AUDMUX_PORT6) | 56f126890aSEmmanuel Vadot IMX_AUDMUX_V2_PTCR_TCLKDIR | 57f126890aSEmmanuel Vadot IMX_AUDMUX_V2_PTCR_TCSEL(MX51_AUDMUX_PORT6) | 58f126890aSEmmanuel Vadot IMX_AUDMUX_V2_PTCR_SYN) 59f126890aSEmmanuel Vadot IMX_AUDMUX_V2_PDCR_RXDSEL(MX51_AUDMUX_PORT6) 60f126890aSEmmanuel Vadot >; 61f126890aSEmmanuel Vadot }; 62f126890aSEmmanuel Vadot 63f126890aSEmmanuel Vadot mux-aud6 { 64f126890aSEmmanuel Vadot fsl,audmux-port = <MX51_AUDMUX_PORT6>; 65f126890aSEmmanuel Vadot fsl,port-config = < 66f126890aSEmmanuel Vadot IMX_AUDMUX_V2_PTCR_SYN 67f126890aSEmmanuel Vadot IMX_AUDMUX_V2_PDCR_RXDSEL(MX51_AUDMUX_PORT1_SSI0) 68f126890aSEmmanuel Vadot >; 69f126890aSEmmanuel Vadot }; 70f126890aSEmmanuel Vadot}; 71f126890aSEmmanuel Vadot 72f126890aSEmmanuel Vadot&clks { 73f126890aSEmmanuel Vadot clocks = <&rtc_sqw>; 74f126890aSEmmanuel Vadot clock-names = "ckil"; 75f126890aSEmmanuel Vadot assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, 76f126890aSEmmanuel Vadot <&clks IMX6QDL_CLK_LDB_DI1_SEL>; 77f126890aSEmmanuel Vadot assigned-clock-parents = <&clks IMX6QDL_CLK_PLL2_PFD0_352M>, 78f126890aSEmmanuel Vadot <&clks IMX6QDL_CLK_PLL2_PFD0_352M>; 79f126890aSEmmanuel Vadot}; 80f126890aSEmmanuel Vadot 81f126890aSEmmanuel Vadot&ecspi1 { 82f126890aSEmmanuel Vadot cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 83f126890aSEmmanuel Vadot pinctrl-names = "default"; 84f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_spi1>; 85f126890aSEmmanuel Vadot status = "okay"; 86f126890aSEmmanuel Vadot 87f126890aSEmmanuel Vadot flash@0 { 88f126890aSEmmanuel Vadot #address-cells = <1>; 89f126890aSEmmanuel Vadot #size-cells = <1>; 90f126890aSEmmanuel Vadot compatible = "sst,sst25vf032b", "jedec,spi-nor"; 91f126890aSEmmanuel Vadot spi-max-frequency = <20000000>; 92f126890aSEmmanuel Vadot reg = <0>; 93f126890aSEmmanuel Vadot 94f126890aSEmmanuel Vadot partition@0 { 95f126890aSEmmanuel Vadot label = "bootloader"; 96f126890aSEmmanuel Vadot reg = <0x0000000 0x100000>; 97f126890aSEmmanuel Vadot }; 98f126890aSEmmanuel Vadot 99f126890aSEmmanuel Vadot partition@100000 { 100f126890aSEmmanuel Vadot label = "user"; 101f126890aSEmmanuel Vadot reg = <0x0100000 0x2fc000>; 102f126890aSEmmanuel Vadot }; 103f126890aSEmmanuel Vadot 104f126890aSEmmanuel Vadot partition@3fc000 { 105f126890aSEmmanuel Vadot label = "reserved"; 106f126890aSEmmanuel Vadot reg = <0x03fc000 0x4000>; 107f126890aSEmmanuel Vadot read-only; 108f126890aSEmmanuel Vadot }; 109f126890aSEmmanuel Vadot }; 110f126890aSEmmanuel Vadot}; 111f126890aSEmmanuel Vadot 112f126890aSEmmanuel Vadot&fec { 113f126890aSEmmanuel Vadot pinctrl-names = "default"; 114f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_enet &pinctrl_phy_reset>; 115f126890aSEmmanuel Vadot phy-mode = "rgmii-id"; 116f126890aSEmmanuel Vadot phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>; 117f126890aSEmmanuel Vadot fsl,magic-packet; 118f126890aSEmmanuel Vadot phy-handle = <&phy0>; 119f126890aSEmmanuel Vadot 120f126890aSEmmanuel Vadot mdio { 121f126890aSEmmanuel Vadot #address-cells = <1>; 122f126890aSEmmanuel Vadot #size-cells = <0>; 123f126890aSEmmanuel Vadot 124f126890aSEmmanuel Vadot phy0: ethernet-phy@6 { 125f126890aSEmmanuel Vadot reg = <6>; 126f126890aSEmmanuel Vadot qca,clk-out-frequency = <125000000>; 127f126890aSEmmanuel Vadot }; 128f126890aSEmmanuel Vadot }; 129f126890aSEmmanuel Vadot}; 130f126890aSEmmanuel Vadot 131f126890aSEmmanuel Vadot&i2c1 { 132f126890aSEmmanuel Vadot clock-frequency = <100000>; 133f126890aSEmmanuel Vadot pinctrl-names = "default", "gpio"; 134f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c1>; 135f126890aSEmmanuel Vadot pinctrl-1 = <&pinctrl_i2c1_gpio>; 136f126890aSEmmanuel Vadot scl-gpios = <&gpio3 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 137f126890aSEmmanuel Vadot sda-gpios = <&gpio3 28 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 138f126890aSEmmanuel Vadot status = "okay"; 139f126890aSEmmanuel Vadot}; 140f126890aSEmmanuel Vadot 141f126890aSEmmanuel Vadot&i2c2 { 142f126890aSEmmanuel Vadot clock-frequency = <100000>; 143f126890aSEmmanuel Vadot pinctrl-names = "default", "gpio"; 144f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c2>; 145f126890aSEmmanuel Vadot pinctrl-1 = <&pinctrl_i2c2_gpio>; 146f126890aSEmmanuel Vadot scl-gpios = <&gpio4 12 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 147f126890aSEmmanuel Vadot sda-gpios = <&gpio4 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 148f126890aSEmmanuel Vadot status = "okay"; 149f126890aSEmmanuel Vadot}; 150f126890aSEmmanuel Vadot 151f126890aSEmmanuel Vadot&i2c3 { 152f126890aSEmmanuel Vadot clock-frequency = <100000>; 153f126890aSEmmanuel Vadot pinctrl-names = "default", "gpio"; 154f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c3>; 155f126890aSEmmanuel Vadot pinctrl-1 = <&pinctrl_i2c3_gpio>; 156f126890aSEmmanuel Vadot scl-gpios = <&gpio1 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 157f126890aSEmmanuel Vadot sda-gpios = <&gpio1 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 158f126890aSEmmanuel Vadot status = "okay"; 159f126890aSEmmanuel Vadot 160f126890aSEmmanuel Vadot rtc: m41t62@68 { 161f126890aSEmmanuel Vadot compatible = "st,m41t62"; 162f126890aSEmmanuel Vadot reg = <0x68>; 163f126890aSEmmanuel Vadot 164f126890aSEmmanuel Vadot rtc_sqw: clock { 165f126890aSEmmanuel Vadot compatible = "fixed-clock"; 166f126890aSEmmanuel Vadot #clock-cells = <0>; 167f126890aSEmmanuel Vadot clock-frequency = <32768>; 168f126890aSEmmanuel Vadot }; 169f126890aSEmmanuel Vadot }; 170f126890aSEmmanuel Vadot}; 171f126890aSEmmanuel Vadot 172f126890aSEmmanuel Vadot&i2c6 { 173f126890aSEmmanuel Vadot pmic@8 { 174f126890aSEmmanuel Vadot compatible = "fsl,pfuze100"; 175f126890aSEmmanuel Vadot reg = <0x08>; 176f126890aSEmmanuel Vadot 177f126890aSEmmanuel Vadot regulators { 178f126890aSEmmanuel Vadot sw1a_reg: sw1ab { 179f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 180f126890aSEmmanuel Vadot regulator-max-microvolt = <1875000>; 181f126890aSEmmanuel Vadot regulator-boot-on; 182f126890aSEmmanuel Vadot regulator-always-on; 183f126890aSEmmanuel Vadot regulator-ramp-delay = <6250>; 184f126890aSEmmanuel Vadot }; 185f126890aSEmmanuel Vadot 186f126890aSEmmanuel Vadot sw1c_reg: sw1c { 187f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 188f126890aSEmmanuel Vadot regulator-max-microvolt = <1875000>; 189f126890aSEmmanuel Vadot regulator-boot-on; 190f126890aSEmmanuel Vadot regulator-always-on; 191f126890aSEmmanuel Vadot regulator-ramp-delay = <6250>; 192f126890aSEmmanuel Vadot }; 193f126890aSEmmanuel Vadot 194f126890aSEmmanuel Vadot sw2_reg: sw2 { 195f126890aSEmmanuel Vadot regulator-min-microvolt = <800000>; 196f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 197f126890aSEmmanuel Vadot regulator-boot-on; 198f126890aSEmmanuel Vadot regulator-always-on; 199f126890aSEmmanuel Vadot }; 200f126890aSEmmanuel Vadot 201f126890aSEmmanuel Vadot sw3a_reg: sw3a { 202f126890aSEmmanuel Vadot regulator-min-microvolt = <400000>; 203f126890aSEmmanuel Vadot regulator-max-microvolt = <1975000>; 204f126890aSEmmanuel Vadot regulator-boot-on; 205f126890aSEmmanuel Vadot regulator-always-on; 206f126890aSEmmanuel Vadot }; 207f126890aSEmmanuel Vadot 208f126890aSEmmanuel Vadot sw3b_reg: sw3b { 209f126890aSEmmanuel Vadot regulator-min-microvolt = <400000>; 210f126890aSEmmanuel Vadot regulator-max-microvolt = <1975000>; 211f126890aSEmmanuel Vadot regulator-boot-on; 212f126890aSEmmanuel Vadot regulator-always-on; 213f126890aSEmmanuel Vadot }; 214f126890aSEmmanuel Vadot 215f126890aSEmmanuel Vadot sw4_reg: sw4 { 216f126890aSEmmanuel Vadot regulator-min-microvolt = <675000>; 217f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 218f126890aSEmmanuel Vadot regulator-boot-on; 219f126890aSEmmanuel Vadot regulator-always-on; 220f126890aSEmmanuel Vadot }; 221f126890aSEmmanuel Vadot 222f126890aSEmmanuel Vadot swbst_reg: swbst { 223f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 224f126890aSEmmanuel Vadot regulator-max-microvolt = <5150000>; 225f126890aSEmmanuel Vadot }; 226f126890aSEmmanuel Vadot 227f126890aSEmmanuel Vadot snvs_reg: vsnvs { 228f126890aSEmmanuel Vadot regulator-min-microvolt = <1000000>; 229f126890aSEmmanuel Vadot regulator-max-microvolt = <3000000>; 230f126890aSEmmanuel Vadot regulator-boot-on; 231f126890aSEmmanuel Vadot regulator-always-on; 232f126890aSEmmanuel Vadot }; 233f126890aSEmmanuel Vadot 234f126890aSEmmanuel Vadot vref_reg: vrefddr { 235f126890aSEmmanuel Vadot regulator-boot-on; 236f126890aSEmmanuel Vadot regulator-always-on; 237f126890aSEmmanuel Vadot }; 238f126890aSEmmanuel Vadot 239f126890aSEmmanuel Vadot /* 240f126890aSEmmanuel Vadot * keep VGEN3, VGEN4 and VGEN5 enabled in order to 241f126890aSEmmanuel Vadot * maintain backward compatibility with hw-rev. A.0 242f126890aSEmmanuel Vadot */ 243f126890aSEmmanuel Vadot vgen3_reg: vgen3 { 244f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 245f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 246f126890aSEmmanuel Vadot regulator-always-on; 247f126890aSEmmanuel Vadot }; 248f126890aSEmmanuel Vadot 249f126890aSEmmanuel Vadot vgen4_reg: vgen4 { 250f126890aSEmmanuel Vadot regulator-min-microvolt = <2500000>; 251f126890aSEmmanuel Vadot regulator-max-microvolt = <2500000>; 252f126890aSEmmanuel Vadot regulator-always-on; 253f126890aSEmmanuel Vadot }; 254f126890aSEmmanuel Vadot 255f126890aSEmmanuel Vadot vgen5_reg: vgen5 { 256f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 257f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 258f126890aSEmmanuel Vadot regulator-always-on; 259f126890aSEmmanuel Vadot }; 260f126890aSEmmanuel Vadot 261f126890aSEmmanuel Vadot /* supply voltage for eMMC */ 262f126890aSEmmanuel Vadot vgen6_reg: vgen6 { 263f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 264f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 265f126890aSEmmanuel Vadot regulator-boot-on; 266f126890aSEmmanuel Vadot regulator-always-on; 267f126890aSEmmanuel Vadot }; 268f126890aSEmmanuel Vadot }; 269f126890aSEmmanuel Vadot }; 270f126890aSEmmanuel Vadot}; 271f126890aSEmmanuel Vadot 272f126890aSEmmanuel Vadot&pcie { 273f126890aSEmmanuel Vadot reset-gpio = <&gpio1 20 0>; 274f126890aSEmmanuel Vadot}; 275f126890aSEmmanuel Vadot 276f126890aSEmmanuel Vadot&pwm4 { 277f126890aSEmmanuel Vadot pinctrl-names = "default"; 278f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pwm4>; 279f126890aSEmmanuel Vadot}; 280f126890aSEmmanuel Vadot 281f126890aSEmmanuel Vadot®_arm { 282f126890aSEmmanuel Vadot vin-supply = <&sw1a_reg>; 283f126890aSEmmanuel Vadot}; 284f126890aSEmmanuel Vadot 285f126890aSEmmanuel Vadot®_pu { 286f126890aSEmmanuel Vadot vin-supply = <&sw1c_reg>; 287f126890aSEmmanuel Vadot}; 288f126890aSEmmanuel Vadot 289f126890aSEmmanuel Vadot®_soc { 290f126890aSEmmanuel Vadot vin-supply = <&sw1c_reg>; 291f126890aSEmmanuel Vadot}; 292f126890aSEmmanuel Vadot 293f126890aSEmmanuel Vadot&snvs_poweroff { 294f126890aSEmmanuel Vadot status = "okay"; 295f126890aSEmmanuel Vadot}; 296f126890aSEmmanuel Vadot 297f126890aSEmmanuel Vadot&uart2 { 298f126890aSEmmanuel Vadot pinctrl-names = "default"; 299f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart2>; 300f126890aSEmmanuel Vadot status = "okay"; 301f126890aSEmmanuel Vadot}; 302f126890aSEmmanuel Vadot 303f126890aSEmmanuel Vadot&uart3 { 304f126890aSEmmanuel Vadot pinctrl-names = "default"; 305f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart3>; 306f126890aSEmmanuel Vadot status = "okay"; 307f126890aSEmmanuel Vadot}; 308f126890aSEmmanuel Vadot 309f126890aSEmmanuel Vadot&usbh1 { 310f126890aSEmmanuel Vadot /* Connected to USB-Hub SMSC USB2514, provides P0, P2, P3, P4 on Qseven connector */ 311f126890aSEmmanuel Vadot vbus-supply = <®_5v>; 312f126890aSEmmanuel Vadot status = "okay"; 313f126890aSEmmanuel Vadot}; 314f126890aSEmmanuel Vadot 315f126890aSEmmanuel Vadot&usbotg { 316f126890aSEmmanuel Vadot pinctrl-names = "default"; 317f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usbotg>; 318f126890aSEmmanuel Vadot}; 319f126890aSEmmanuel Vadot 320f126890aSEmmanuel Vadot&usdhc2 { 321f126890aSEmmanuel Vadot /* MicroSD card slot */ 322f126890aSEmmanuel Vadot pinctrl-names = "default"; 323f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc2>; 324f126890aSEmmanuel Vadot cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; 325f126890aSEmmanuel Vadot no-1-8-v; 326f126890aSEmmanuel Vadot keep-power-in-suspend; 327f126890aSEmmanuel Vadot wakeup-source; 328f126890aSEmmanuel Vadot vmmc-supply = <®_3p3v>; 329f126890aSEmmanuel Vadot status = "okay"; 330f126890aSEmmanuel Vadot}; 331f126890aSEmmanuel Vadot 332f126890aSEmmanuel Vadot&usdhc3 { 333f126890aSEmmanuel Vadot /* eMMC module */ 334f126890aSEmmanuel Vadot pinctrl-names = "default"; 335f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc3>; 336f126890aSEmmanuel Vadot non-removable; 337f126890aSEmmanuel Vadot bus-width = <8>; 338f126890aSEmmanuel Vadot no-1-8-v; 339f126890aSEmmanuel Vadot keep-power-in-suspend; 340f126890aSEmmanuel Vadot wakeup-source; 341f126890aSEmmanuel Vadot vmmc-supply = <®_3p3v>; 342f126890aSEmmanuel Vadot status = "okay"; 343f126890aSEmmanuel Vadot}; 344f126890aSEmmanuel Vadot 345f126890aSEmmanuel Vadot&wdog1 { 346f126890aSEmmanuel Vadot pinctrl-names = "default"; 347f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_wdog>; 348f126890aSEmmanuel Vadot fsl,ext-reset-output; 349f126890aSEmmanuel Vadot}; 350f126890aSEmmanuel Vadot 351f126890aSEmmanuel Vadot&iomuxc { 352f126890aSEmmanuel Vadot pinctrl-names = "default"; 353f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hog>; 354f126890aSEmmanuel Vadot 355f126890aSEmmanuel Vadot qmx6mux: imx6qdl-qmx6 { 356f126890aSEmmanuel Vadot pinctrl_audmux: audmuxgrp { 357f126890aSEmmanuel Vadot fsl,pins = < 358f126890aSEmmanuel Vadot MX6QDL_PAD_DI0_PIN2__AUD6_TXD 0x110b0 /* Q7[67] HDA_SDO */ 359f126890aSEmmanuel Vadot MX6QDL_PAD_DI0_PIN3__AUD6_TXFS 0x30b0 /* Q7[59] HDA_SYNC */ 360f126890aSEmmanuel Vadot MX6QDL_PAD_DI0_PIN4__AUD6_RXD 0x30b0 /* Q7[65] HDA_SDI */ 361f126890aSEmmanuel Vadot MX6QDL_PAD_DI0_PIN15__AUD6_TXC 0x30b0 /* Q7[63] HDA_BITCLK */ 362f126890aSEmmanuel Vadot >; 363f126890aSEmmanuel Vadot }; 364f126890aSEmmanuel Vadot 365f126890aSEmmanuel Vadot /* PHY is on System on Module, Q7[3-15] have Ethernet lines */ 366f126890aSEmmanuel Vadot pinctrl_enet: enet { 367f126890aSEmmanuel Vadot fsl,pins = < 368f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 369f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 370f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030 371f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030 372f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030 373f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030 374f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030 375f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030 376f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 377f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030 378f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030 379f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030 380f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030 381f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030 382f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030 383f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x1b0b0 384f126890aSEmmanuel Vadot >; 385f126890aSEmmanuel Vadot }; 386f126890aSEmmanuel Vadot 387f126890aSEmmanuel Vadot pinctrl_hog: hoggrp { 388f126890aSEmmanuel Vadot fsl,pins = < 389f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x80000000 /* PCIE_WAKE_B */ 390f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_WP_B__GPIO6_IO09 0x80000000 /* I2C multiplexer */ 391f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x80000000 /* SD4_CD# */ 392f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D7__GPIO2_IO07 0x80000000 /* SD4_WP */ 393f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_MCLK__CCM_CLKO1 0x80000000 /* Camera MCLK */ 394f126890aSEmmanuel Vadot >; 395f126890aSEmmanuel Vadot }; 396f126890aSEmmanuel Vadot 397f126890aSEmmanuel Vadot pinctrl_i2c1: i2c1 { 398f126890aSEmmanuel Vadot fsl,pins = < 399f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 /* Q7[66] I2C_CLK */ 400f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 /* Q7[68] I2C_DAT */ 401f126890aSEmmanuel Vadot >; 402f126890aSEmmanuel Vadot }; 403f126890aSEmmanuel Vadot 404f126890aSEmmanuel Vadot pinctrl_i2c1_gpio: i2c1-gpio { 405f126890aSEmmanuel Vadot fsl,pins = < 406f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D21__GPIO3_IO21 0x1b0b0 /* Q7[66] I2C_CLK */ 407f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D28__GPIO3_IO28 0x1b0b0 /* Q7[68] I2C_DAT */ 408f126890aSEmmanuel Vadot >; 409f126890aSEmmanuel Vadot }; 410f126890aSEmmanuel Vadot 411f126890aSEmmanuel Vadot pinctrl_i2c2: i2c2 { 412f126890aSEmmanuel Vadot fsl,pins = < 413f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 /* Q7[152] SDVO_CTRL_CLK */ 414f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 /* Q7[150] SDVO_CTRL_DAT */ 415f126890aSEmmanuel Vadot >; 416f126890aSEmmanuel Vadot }; 417f126890aSEmmanuel Vadot 418f126890aSEmmanuel Vadot pinctrl_i2c2_gpio: i2c2-gpio { 419f126890aSEmmanuel Vadot fsl,pins = < 420f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x1b0b0 /* Q7[152] SDVO_CTRL_CLK */ 421f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x1b0b0 /* Q7[150] SDVO_CTRL_DAT */ 422f126890aSEmmanuel Vadot >; 423f126890aSEmmanuel Vadot }; 424f126890aSEmmanuel Vadot 425f126890aSEmmanuel Vadot pinctrl_i2c3: i2c3 { 426f126890aSEmmanuel Vadot fsl,pins = < 427f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1 /* Q7[60] SMB_CLK */ 428f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 /* Q7[62] SMB_DAT */ 429f126890aSEmmanuel Vadot >; 430f126890aSEmmanuel Vadot }; 431f126890aSEmmanuel Vadot 432f126890aSEmmanuel Vadot pinctrl_i2c3_gpio: i2c3-gpio { 433f126890aSEmmanuel Vadot fsl,pins = < 434f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_3__GPIO1_IO03 0x1b0b0 /* Q7[60] SMB_CLK */ 435f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x1b0b0 /* Q7[62] SMB_DAT */ 436f126890aSEmmanuel Vadot >; 437f126890aSEmmanuel Vadot }; 438f126890aSEmmanuel Vadot 439f126890aSEmmanuel Vadot pinctrl_phy_reset: phy-reset { 440f126890aSEmmanuel Vadot fsl,pins = < 441f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x1b0b0 /* RGMII Phy Reset */ 442f126890aSEmmanuel Vadot >; 443f126890aSEmmanuel Vadot }; 444f126890aSEmmanuel Vadot 445f126890aSEmmanuel Vadot pinctrl_pwm4: pwm4 { 446f126890aSEmmanuel Vadot fsl,pins = < 447f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 /* Q7[123] LVDS_BLT_CTRL */ 448f126890aSEmmanuel Vadot >; 449f126890aSEmmanuel Vadot }; 450f126890aSEmmanuel Vadot 451f126890aSEmmanuel Vadot pinctrl_q7_backlight_enable: q7-backlight-enable { 452f126890aSEmmanuel Vadot fsl,pins = < 453f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0 /* Q7[112] LVDS_BLEN */ 454f126890aSEmmanuel Vadot >; 455f126890aSEmmanuel Vadot }; 456f126890aSEmmanuel Vadot 457f126890aSEmmanuel Vadot pinctrl_q7_gpio0: q7-gpio0 { 458f126890aSEmmanuel Vadot fsl,pins = < 459f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_A25__GPIO5_IO02 0x1b0b0 /* Q7[185] GPIO0 */ 460f126890aSEmmanuel Vadot >; 461f126890aSEmmanuel Vadot }; 462f126890aSEmmanuel Vadot 463f126890aSEmmanuel Vadot pinctrl_q7_gpio1: q7-gpio1 { 464f126890aSEmmanuel Vadot fsl,pins = < 465f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x1b0b0 /* Q7[186] GPIO1 */ 466f126890aSEmmanuel Vadot >; 467f126890aSEmmanuel Vadot }; 468f126890aSEmmanuel Vadot 469f126890aSEmmanuel Vadot pinctrl_q7_gpio2: q7-gpio2 { 470f126890aSEmmanuel Vadot fsl,pins = < 471f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT5__GPIO4_IO26 0x1b0b0 /* Q7[187] GPIO2 */ 472f126890aSEmmanuel Vadot >; 473f126890aSEmmanuel Vadot }; 474f126890aSEmmanuel Vadot 475f126890aSEmmanuel Vadot pinctrl_q7_gpio3: q7-gpio3 { 476f126890aSEmmanuel Vadot fsl,pins = < 477f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT6__GPIO4_IO27 0x1b0b0 /* Q7[188] GPIO3 */ 478f126890aSEmmanuel Vadot >; 479f126890aSEmmanuel Vadot }; 480f126890aSEmmanuel Vadot 481f126890aSEmmanuel Vadot pinctrl_q7_gpio4: q7-gpio4 { 482f126890aSEmmanuel Vadot fsl,pins = < 483f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0 /* Q7[189] GPIO4 */ 484f126890aSEmmanuel Vadot >; 485f126890aSEmmanuel Vadot }; 486f126890aSEmmanuel Vadot 487f126890aSEmmanuel Vadot pinctrl_q7_gpio5: q7-gpio5 { 488f126890aSEmmanuel Vadot fsl,pins = < 489f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x1b0b0 /* Q7[190] GPIO5 */ 490f126890aSEmmanuel Vadot >; 491f126890aSEmmanuel Vadot }; 492f126890aSEmmanuel Vadot 493f126890aSEmmanuel Vadot pinctrl_q7_gpio6: q7-gpio6 { 494f126890aSEmmanuel Vadot fsl,pins = < 495f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_16__GPIO7_IO11 0x1b0b0 /* Q7[191] GPIO6 */ 496f126890aSEmmanuel Vadot >; 497f126890aSEmmanuel Vadot }; 498f126890aSEmmanuel Vadot 499f126890aSEmmanuel Vadot pinctrl_q7_gpio7: q7-gpio7 { 500f126890aSEmmanuel Vadot fsl,pins = < 501f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x1b0b0 /* Q7[192] GPIO7 */ 502f126890aSEmmanuel Vadot >; 503f126890aSEmmanuel Vadot }; 504f126890aSEmmanuel Vadot 505f126890aSEmmanuel Vadot pinctrl_q7_hda_reset: q7-hda-reset { 506f126890aSEmmanuel Vadot fsl,pins = < 507f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_ALE__GPIO6_IO08 0x1b0b0 /* Q7[61] HDA_RST_N */ 508f126890aSEmmanuel Vadot >; 509f126890aSEmmanuel Vadot }; 510f126890aSEmmanuel Vadot 511f126890aSEmmanuel Vadot pinctrl_q7_lcd_power: lcd-power { 512f126890aSEmmanuel Vadot fsl,pins = < 513f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_7__GPIO1_IO07 0x1b0b0 /* Q7[111] LVDS_PPEN */ 514f126890aSEmmanuel Vadot >; 515f126890aSEmmanuel Vadot }; 516f126890aSEmmanuel Vadot 517f126890aSEmmanuel Vadot pinctrl_q7_sdio_power: q7-sdio-power { 518f126890aSEmmanuel Vadot fsl,pins = < 519f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT9__GPIO4_IO30 0x1b0b0 /* Q7[47] SDIO_PWR# */ 520f126890aSEmmanuel Vadot >; 521f126890aSEmmanuel Vadot }; 522f126890aSEmmanuel Vadot 523f126890aSEmmanuel Vadot pinctrl_q7_sleep_button: q7-sleep-button { 524f126890aSEmmanuel Vadot fsl,pins = < 525f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW0__GPIO4_IO07 0x1b0b0 /* Q7[21] SLP_BTN# */ 526f126890aSEmmanuel Vadot >; 527f126890aSEmmanuel Vadot }; 528f126890aSEmmanuel Vadot 529f126890aSEmmanuel Vadot pinctrl_q7_spi_cs1: spi-cs1 { 530f126890aSEmmanuel Vadot fsl,pins = < 531f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT4__GPIO4_IO25 0x1b0b0 /* Q7[202] SPI_CS1# */ 532f126890aSEmmanuel Vadot >; 533f126890aSEmmanuel Vadot }; 534f126890aSEmmanuel Vadot 535f126890aSEmmanuel Vadot /* SPI1 bus does not leave System on Module */ 536f126890aSEmmanuel Vadot pinctrl_spi1: spi1 { 537f126890aSEmmanuel Vadot fsl,pins = < 538f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1 539f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1 540f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1 541f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x1b0b0 542f126890aSEmmanuel Vadot >; 543f126890aSEmmanuel Vadot }; 544f126890aSEmmanuel Vadot 545f126890aSEmmanuel Vadot /* Debug connector on Q7 module */ 546f126890aSEmmanuel Vadot pinctrl_uart2: uart2 { 547f126890aSEmmanuel Vadot fsl,pins = < 548f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1 549f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1 550f126890aSEmmanuel Vadot >; 551f126890aSEmmanuel Vadot }; 552f126890aSEmmanuel Vadot 553f126890aSEmmanuel Vadot pinctrl_uart3: uart3 { 554f126890aSEmmanuel Vadot fsl,pins = < 555f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 /* Q7[177] UART0_RX */ 556f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1 /* Q7[171] UART0_TX */ 557f126890aSEmmanuel Vadot >; 558f126890aSEmmanuel Vadot }; 559f126890aSEmmanuel Vadot 560f126890aSEmmanuel Vadot pinctrl_usbotg: usbotg { 561f126890aSEmmanuel Vadot fsl,pins = < 562f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 /* Q7[92] USB_ID */ 563f126890aSEmmanuel Vadot >; 564f126890aSEmmanuel Vadot }; 565f126890aSEmmanuel Vadot 566f126890aSEmmanuel Vadot /* µSD card slot on Q7 module */ 567f126890aSEmmanuel Vadot pinctrl_usdhc2: usdhc2 { 568f126890aSEmmanuel Vadot fsl,pins = < 569f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059 570f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059 571f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059 572f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059 573f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059 574f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059 575f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b0b0 /* SD2_CD */ 576f126890aSEmmanuel Vadot >; 577f126890aSEmmanuel Vadot }; 578f126890aSEmmanuel Vadot 579f126890aSEmmanuel Vadot /* eMMC module on Q7 module */ 580f126890aSEmmanuel Vadot pinctrl_usdhc3: usdhc3 { 581f126890aSEmmanuel Vadot fsl,pins = < 582f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059 583f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059 584f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059 585f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 586f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 587f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 588f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17059 589f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17059 590f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17059 591f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059 592f126890aSEmmanuel Vadot >; 593f126890aSEmmanuel Vadot }; 594f126890aSEmmanuel Vadot 595f126890aSEmmanuel Vadot pinctrl_usdhc4: usdhc4 { 596f126890aSEmmanuel Vadot fsl,pins = < 597f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059 /* Q7[45] SDIO_CMD */ 598f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_CLK__SD4_CLK 0x17059 /* Q7[42] SDIO_CLK */ 599f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059 /* Q7[48] SDIO_DAT1 */ 600f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059 /* Q7[49] SDIO_DAT0 */ 601f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059 /* Q7[50] SDIO_DAT3 */ 602f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059 /* Q7[51] SDIO_DAT2 */ 603f126890aSEmmanuel Vadot >; 604f126890aSEmmanuel Vadot }; 605f126890aSEmmanuel Vadot 606f126890aSEmmanuel Vadot pinctrl_wdog: wdog { 607f126890aSEmmanuel Vadot fsl,pins = < 608f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT8__WDOG1_B 0x1b0b0 /* Watchdog output signal */ 609f126890aSEmmanuel Vadot >; 610f126890aSEmmanuel Vadot }; 611f126890aSEmmanuel Vadot }; 612f126890aSEmmanuel Vadot}; 613