1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2f126890aSEmmanuel Vadot// 3f126890aSEmmanuel Vadot// Copyright (C) 2019 Logic PD, Inc. 4f126890aSEmmanuel Vadot 5f126890aSEmmanuel Vadot/ { 6f126890aSEmmanuel Vadot keyboard { 7f126890aSEmmanuel Vadot compatible = "gpio-keys"; 8f126890aSEmmanuel Vadot 9f126890aSEmmanuel Vadot button-0 { 10f126890aSEmmanuel Vadot gpios = <&pcf8575 0 GPIO_ACTIVE_LOW>; 11f126890aSEmmanuel Vadot label = "btn0"; 12f126890aSEmmanuel Vadot linux,code = <KEY_WAKEUP>; 13f126890aSEmmanuel Vadot debounce-interval = <10>; 14f126890aSEmmanuel Vadot wakeup-source; 15f126890aSEmmanuel Vadot }; 16f126890aSEmmanuel Vadot 17f126890aSEmmanuel Vadot button-1 { 18f126890aSEmmanuel Vadot gpios = <&pcf8575 1 GPIO_ACTIVE_LOW>; 19f126890aSEmmanuel Vadot label = "btn1"; 20f126890aSEmmanuel Vadot linux,code = <KEY_WAKEUP>; 21f126890aSEmmanuel Vadot debounce-interval = <10>; 22f126890aSEmmanuel Vadot wakeup-source; 23f126890aSEmmanuel Vadot }; 24f126890aSEmmanuel Vadot 25f126890aSEmmanuel Vadot button-2 { 26f126890aSEmmanuel Vadot gpios = <&pcf8575 2 GPIO_ACTIVE_LOW>; 27f126890aSEmmanuel Vadot label = "btn2"; 28f126890aSEmmanuel Vadot linux,code = <KEY_WAKEUP>; 29f126890aSEmmanuel Vadot debounce-interval = <10>; 30f126890aSEmmanuel Vadot wakeup-source; 31f126890aSEmmanuel Vadot }; 32f126890aSEmmanuel Vadot 33f126890aSEmmanuel Vadot button-3 { 34f126890aSEmmanuel Vadot gpios = <&pcf8575 3 GPIO_ACTIVE_LOW>; 35f126890aSEmmanuel Vadot label = "btn3"; 36f126890aSEmmanuel Vadot linux,code = <KEY_WAKEUP>; 37f126890aSEmmanuel Vadot debounce-interval = <10>; 38f126890aSEmmanuel Vadot wakeup-source; 39f126890aSEmmanuel Vadot }; 40f126890aSEmmanuel Vadot 41f126890aSEmmanuel Vadot }; 42f126890aSEmmanuel Vadot 43f126890aSEmmanuel Vadot leds { 44f126890aSEmmanuel Vadot compatible = "gpio-leds"; 45f126890aSEmmanuel Vadot 46f126890aSEmmanuel Vadot gen-led0 { 47f126890aSEmmanuel Vadot label = "led0"; 48f126890aSEmmanuel Vadot pinctrl-names = "default"; 49f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_led0>; 50f126890aSEmmanuel Vadot gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>; 51f126890aSEmmanuel Vadot linux,default-trigger = "cpu0"; 52f126890aSEmmanuel Vadot }; 53f126890aSEmmanuel Vadot 54f126890aSEmmanuel Vadot gen-led1 { 55f126890aSEmmanuel Vadot label = "led1"; 56f126890aSEmmanuel Vadot gpios = <&pcf8575 8 GPIO_ACTIVE_HIGH>; 57f126890aSEmmanuel Vadot }; 58f126890aSEmmanuel Vadot 59f126890aSEmmanuel Vadot gen-led2 { 60f126890aSEmmanuel Vadot label = "led2"; 61f126890aSEmmanuel Vadot gpios = <&pcf8575 9 GPIO_ACTIVE_HIGH>; 62f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 63f126890aSEmmanuel Vadot }; 64f126890aSEmmanuel Vadot 65f126890aSEmmanuel Vadot gen-led3 { 66f126890aSEmmanuel Vadot label = "led3"; 67f126890aSEmmanuel Vadot gpios = <&pcf8575 10 GPIO_ACTIVE_HIGH>; 68f126890aSEmmanuel Vadot linux,default-trigger = "default-on"; 69f126890aSEmmanuel Vadot }; 70f126890aSEmmanuel Vadot }; 71f126890aSEmmanuel Vadot 72f126890aSEmmanuel Vadot reg_usb_otg_vbus: regulator-otg-vbus { 73f126890aSEmmanuel Vadot pinctrl-names = "default"; 74f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_reg_usb_otg>; 75f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 76f126890aSEmmanuel Vadot regulator-name = "usb_otg_vbus"; 77f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 78f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 79f126890aSEmmanuel Vadot gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>; 80f126890aSEmmanuel Vadot enable-active-high; 81f126890aSEmmanuel Vadot }; 82f126890aSEmmanuel Vadot 83f126890aSEmmanuel Vadot reg_usb_h1_vbus: regulator-usb-h1-vbus { 84f126890aSEmmanuel Vadot pinctrl-names = "default"; 85f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_reg_usb_h1_vbus>; 86f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 87f126890aSEmmanuel Vadot regulator-name = "usb_h1_vbus"; 88f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 89f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 90f126890aSEmmanuel Vadot gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>; 91f126890aSEmmanuel Vadot startup-delay-us = <70000>; 92f126890aSEmmanuel Vadot enable-active-high; 93f126890aSEmmanuel Vadot }; 94f126890aSEmmanuel Vadot 95f126890aSEmmanuel Vadot reg_3v3: regulator-3v3 { 96f126890aSEmmanuel Vadot pinctrl-names = "default"; 97f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_reg_3v3>; 98f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 99f126890aSEmmanuel Vadot regulator-name = "reg_3v3"; 100f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 101f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 102f126890aSEmmanuel Vadot gpio = <&gpio1 26 GPIO_ACTIVE_HIGH>; 103f126890aSEmmanuel Vadot startup-delay-us = <70000>; 104f126890aSEmmanuel Vadot enable-active-high; 105f126890aSEmmanuel Vadot regulator-always-on; 106f126890aSEmmanuel Vadot }; 107f126890aSEmmanuel Vadot 108f126890aSEmmanuel Vadot reg_enet: regulator-ethernet { 109f126890aSEmmanuel Vadot pinctrl-names = "default"; 110f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_reg_enet>; 111f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 112f126890aSEmmanuel Vadot regulator-name = "ethernet-supply"; 113f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 114f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 115f126890aSEmmanuel Vadot gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>; 116f126890aSEmmanuel Vadot startup-delay-us = <70000>; 117f126890aSEmmanuel Vadot enable-active-high; 118f126890aSEmmanuel Vadot vin-supply = <&sw4_reg>; 119f126890aSEmmanuel Vadot }; 120f126890aSEmmanuel Vadot 121f126890aSEmmanuel Vadot reg_audio: regulator-audio { 122f126890aSEmmanuel Vadot pinctrl-names = "default"; 123f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_reg_audio>; 124f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 125f126890aSEmmanuel Vadot regulator-name = "3v3_aud"; 126f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 127f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 128f126890aSEmmanuel Vadot gpio = <&gpio1 29 GPIO_ACTIVE_HIGH>; 129f126890aSEmmanuel Vadot enable-active-high; 130f126890aSEmmanuel Vadot vin-supply = <®_3v3>; 131f126890aSEmmanuel Vadot }; 132f126890aSEmmanuel Vadot 133f126890aSEmmanuel Vadot reg_hdmi: regulator-hdmi { 134f126890aSEmmanuel Vadot pinctrl-names = "default"; 135f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_reg_hdmi>; 136f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 137f126890aSEmmanuel Vadot regulator-name = "hdmi-supply"; 138f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 139f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 140f126890aSEmmanuel Vadot gpio = <&gpio3 20 GPIO_ACTIVE_HIGH>; 141f126890aSEmmanuel Vadot enable-active-high; 142f126890aSEmmanuel Vadot vin-supply = <®_3v3>; 143f126890aSEmmanuel Vadot }; 144f126890aSEmmanuel Vadot 145f126890aSEmmanuel Vadot reg_uart3: regulator-uart3 { 146f126890aSEmmanuel Vadot pinctrl-names = "default"; 147f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_reg_uart3>; 148f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 149f126890aSEmmanuel Vadot regulator-name = "uart3-supply"; 150f126890aSEmmanuel Vadot gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; 151f126890aSEmmanuel Vadot enable-active-high; 152f126890aSEmmanuel Vadot regulator-always-on; 153f126890aSEmmanuel Vadot vin-supply = <®_3v3>; 154f126890aSEmmanuel Vadot }; 155f126890aSEmmanuel Vadot 156f126890aSEmmanuel Vadot reg_1v8: regulator-1v8 { 157f126890aSEmmanuel Vadot pinctrl-names = "default"; 158f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_reg_1v8>; 159f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 160f126890aSEmmanuel Vadot regulator-name = "1v8-supply"; 161f126890aSEmmanuel Vadot gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>; 162f126890aSEmmanuel Vadot enable-active-high; 163f126890aSEmmanuel Vadot regulator-always-on; 164f126890aSEmmanuel Vadot vin-supply = <®_3v3>; 165f126890aSEmmanuel Vadot }; 166f126890aSEmmanuel Vadot 167f126890aSEmmanuel Vadot reg_pcie: regulator-pcie { 168f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 169f126890aSEmmanuel Vadot pinctrl-names = "default"; 170f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_reg_pcie>; 171f126890aSEmmanuel Vadot regulator-name = "mpcie_3v3"; 172f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 173f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 174f126890aSEmmanuel Vadot gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>; 175f126890aSEmmanuel Vadot enable-active-high; 176f126890aSEmmanuel Vadot }; 177f126890aSEmmanuel Vadot 178f126890aSEmmanuel Vadot reg_mipi: regulator-mipi { 179f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 180f126890aSEmmanuel Vadot pinctrl-names = "default"; 181f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_reg_mipi>; 182f126890aSEmmanuel Vadot regulator-name = "mipi_pwr_en"; 183f126890aSEmmanuel Vadot regulator-min-microvolt = <2800000>; 184f126890aSEmmanuel Vadot regulator-max-microvolt = <2800000>; 185f126890aSEmmanuel Vadot gpio = <&gpio3 19 GPIO_ACTIVE_HIGH>; 186f126890aSEmmanuel Vadot enable-active-high; 187f126890aSEmmanuel Vadot }; 188f126890aSEmmanuel Vadot 189f126890aSEmmanuel Vadot sound { 190f126890aSEmmanuel Vadot compatible = "fsl,imx-audio-wm8962"; 191f126890aSEmmanuel Vadot model = "wm8962-audio"; 192f126890aSEmmanuel Vadot ssi-controller = <&ssi2>; 193f126890aSEmmanuel Vadot audio-codec = <&wm8962>; 194f126890aSEmmanuel Vadot audio-routing = 195f126890aSEmmanuel Vadot "Headphone Jack", "HPOUTL", 196f126890aSEmmanuel Vadot "Headphone Jack", "HPOUTR", 197f126890aSEmmanuel Vadot "Ext Spk", "SPKOUTL", 198f126890aSEmmanuel Vadot "Ext Spk", "SPKOUTR", 199f126890aSEmmanuel Vadot "AMIC", "MICBIAS", 200f126890aSEmmanuel Vadot "IN3R", "AMIC"; 201f126890aSEmmanuel Vadot mux-int-port = <2>; 202f126890aSEmmanuel Vadot mux-ext-port = <4>; 203f126890aSEmmanuel Vadot }; 204f126890aSEmmanuel Vadot}; 205f126890aSEmmanuel Vadot 206f126890aSEmmanuel Vadot&audmux { 207f126890aSEmmanuel Vadot pinctrl-names = "default"; 208f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_audmux>; 209f126890aSEmmanuel Vadot status = "okay"; 210f126890aSEmmanuel Vadot}; 211f126890aSEmmanuel Vadot 212f126890aSEmmanuel Vadot&ecspi1 { 213f126890aSEmmanuel Vadot pinctrl-names = "default"; 214f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ecspi1>; 215f126890aSEmmanuel Vadot cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>; 216f126890aSEmmanuel Vadot status = "disabled"; 217f126890aSEmmanuel Vadot}; 218f126890aSEmmanuel Vadot 219f126890aSEmmanuel Vadot&fec { 220f126890aSEmmanuel Vadot pinctrl-names = "default"; 221f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_enet>; 222f126890aSEmmanuel Vadot phy-mode = "rgmii-id"; 223f126890aSEmmanuel Vadot phy-reset-duration = <10>; 224f126890aSEmmanuel Vadot phy-reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; 225f126890aSEmmanuel Vadot phy-supply = <®_enet>; 226f126890aSEmmanuel Vadot interrupt-parent = <&gpio1>; 227f126890aSEmmanuel Vadot interrupts = <25 IRQ_TYPE_EDGE_FALLING>; 228f126890aSEmmanuel Vadot status = "okay"; 229f126890aSEmmanuel Vadot}; 230f126890aSEmmanuel Vadot 231f126890aSEmmanuel Vadot&i2c1 { 232f126890aSEmmanuel Vadot pinctrl-names = "default"; 233f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c1>; 234f126890aSEmmanuel Vadot clock-frequency = <400000>; 235f126890aSEmmanuel Vadot status = "okay"; 236f126890aSEmmanuel Vadot 237f126890aSEmmanuel Vadot wm8962: audio-codec@1a { 238f126890aSEmmanuel Vadot compatible = "wlf,wm8962"; 239f126890aSEmmanuel Vadot reg = <0x1a>; 240f126890aSEmmanuel Vadot clocks = <&clks IMX6QDL_CLK_CKO>; 241f126890aSEmmanuel Vadot DCVDD-supply = <®_audio>; 242f126890aSEmmanuel Vadot DBVDD-supply = <®_audio>; 243f126890aSEmmanuel Vadot AVDD-supply = <®_audio>; 244f126890aSEmmanuel Vadot CPVDD-supply = <®_audio>; 245f126890aSEmmanuel Vadot MICVDD-supply = <®_audio>; 246f126890aSEmmanuel Vadot PLLVDD-supply = <®_audio>; 247f126890aSEmmanuel Vadot SPKVDD1-supply = <®_audio>; 248f126890aSEmmanuel Vadot SPKVDD2-supply = <®_audio>; 249f126890aSEmmanuel Vadot gpio-cfg = < 250f126890aSEmmanuel Vadot 0x0000 /* 0:Default */ 251f126890aSEmmanuel Vadot 0x0000 /* 1:Default */ 252f126890aSEmmanuel Vadot 0x0000 /* 2:FN_DMICCLK */ 253f126890aSEmmanuel Vadot 0x0000 /* 3:Default */ 254f126890aSEmmanuel Vadot 0x0000 /* 4:FN_DMICCDAT */ 255f126890aSEmmanuel Vadot 0x0000 /* 5:Default */ 256f126890aSEmmanuel Vadot >; 257f126890aSEmmanuel Vadot }; 258f126890aSEmmanuel Vadot}; 259f126890aSEmmanuel Vadot 260f126890aSEmmanuel Vadot&i2c3 { 261f126890aSEmmanuel Vadot ov5640: camera@10 { 262f126890aSEmmanuel Vadot compatible = "ovti,ov5640"; 263f126890aSEmmanuel Vadot pinctrl-names = "default"; 264f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ov5640>; 265f126890aSEmmanuel Vadot reg = <0x10>; 266f126890aSEmmanuel Vadot clocks = <&clks IMX6QDL_CLK_CKO>; 267f126890aSEmmanuel Vadot clock-names = "xclk"; 268f126890aSEmmanuel Vadot DOVDD-supply = <®_mipi>; 269f126890aSEmmanuel Vadot AVDD-supply = <®_mipi>; 270f126890aSEmmanuel Vadot DVDD-supply = <®_mipi>; 271f126890aSEmmanuel Vadot reset-gpios = <&gpio3 26 GPIO_ACTIVE_LOW>; 272f126890aSEmmanuel Vadot powerdown-gpios = <&gpio3 27 GPIO_ACTIVE_HIGH>; 273f126890aSEmmanuel Vadot 274f126890aSEmmanuel Vadot port { 275f126890aSEmmanuel Vadot ov5640_to_mipi_csi2: endpoint { 276f126890aSEmmanuel Vadot remote-endpoint = <&mipi_csi2_in>; 277f126890aSEmmanuel Vadot clock-lanes = <0>; 278f126890aSEmmanuel Vadot data-lanes = <1 2>; 279f126890aSEmmanuel Vadot }; 280f126890aSEmmanuel Vadot }; 281f126890aSEmmanuel Vadot }; 282f126890aSEmmanuel Vadot 283f126890aSEmmanuel Vadot pcf8575: gpio@20 { 284f126890aSEmmanuel Vadot pinctrl-names = "default"; 285f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pcf8574>; 286f126890aSEmmanuel Vadot compatible = "nxp,pcf8575"; 287f126890aSEmmanuel Vadot reg = <0x20>; 288f126890aSEmmanuel Vadot interrupt-parent = <&gpio6>; 289f126890aSEmmanuel Vadot interrupts = <31 IRQ_TYPE_EDGE_FALLING>; 290f126890aSEmmanuel Vadot gpio-controller; 291f126890aSEmmanuel Vadot #gpio-cells = <2>; 292f126890aSEmmanuel Vadot interrupt-controller; 293f126890aSEmmanuel Vadot #interrupt-cells = <2>; 294f126890aSEmmanuel Vadot lines-initial-states = <0x0710>; 295f126890aSEmmanuel Vadot wakeup-source; 296f126890aSEmmanuel Vadot }; 297f126890aSEmmanuel Vadot}; 298f126890aSEmmanuel Vadot 299f126890aSEmmanuel Vadot&ipu1_csi1_from_mipi_vc1 { 300f126890aSEmmanuel Vadot clock-lanes = <0>; 301f126890aSEmmanuel Vadot data-lanes = <1 2>; 302f126890aSEmmanuel Vadot}; 303f126890aSEmmanuel Vadot 304f126890aSEmmanuel Vadot&mipi_csi { 305f126890aSEmmanuel Vadot status = "okay"; 306f126890aSEmmanuel Vadot 307f126890aSEmmanuel Vadot port@0 { 308f126890aSEmmanuel Vadot reg = <0>; 309f126890aSEmmanuel Vadot 310f126890aSEmmanuel Vadot mipi_csi2_in: endpoint { 311f126890aSEmmanuel Vadot remote-endpoint = <&ov5640_to_mipi_csi2>; 312f126890aSEmmanuel Vadot clock-lanes = <0>; 313f126890aSEmmanuel Vadot data-lanes = <1 2>; 314f126890aSEmmanuel Vadot }; 315f126890aSEmmanuel Vadot }; 316f126890aSEmmanuel Vadot}; 317f126890aSEmmanuel Vadot 318f126890aSEmmanuel Vadot&pcie { 319f126890aSEmmanuel Vadot pinctrl-names = "default"; 320f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pcie>; 321f126890aSEmmanuel Vadot reset-gpio = <&gpio1 9 GPIO_ACTIVE_LOW>; 322f126890aSEmmanuel Vadot vpcie-supply = <®_pcie>; 323f126890aSEmmanuel Vadot status = "okay"; 324f126890aSEmmanuel Vadot}; 325f126890aSEmmanuel Vadot 326f126890aSEmmanuel Vadot&pwm3 { 327f126890aSEmmanuel Vadot pinctrl-names = "default"; 328f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pwm3>; 329f126890aSEmmanuel Vadot}; 330f126890aSEmmanuel Vadot 331f126890aSEmmanuel Vadot&snvs_pwrkey { 332f126890aSEmmanuel Vadot status = "okay"; 333f126890aSEmmanuel Vadot}; 334f126890aSEmmanuel Vadot 335f126890aSEmmanuel Vadot&ssi2 { 336f126890aSEmmanuel Vadot status = "okay"; 337f126890aSEmmanuel Vadot}; 338f126890aSEmmanuel Vadot 339f126890aSEmmanuel Vadot&uart3 { 340f126890aSEmmanuel Vadot pinctrl-names = "default"; 341f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart3>; 342f126890aSEmmanuel Vadot status = "okay"; 343f126890aSEmmanuel Vadot}; 344f126890aSEmmanuel Vadot 345f126890aSEmmanuel Vadot&usbh1 { 346f126890aSEmmanuel Vadot vbus-supply = <®_usb_h1_vbus>; 347f126890aSEmmanuel Vadot status = "okay"; 348f126890aSEmmanuel Vadot}; 349f126890aSEmmanuel Vadot 350f126890aSEmmanuel Vadot&usbotg { 351f126890aSEmmanuel Vadot vbus-supply = <®_usb_otg_vbus>; 352f126890aSEmmanuel Vadot pinctrl-names = "default"; 353f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usbotg>; 354f126890aSEmmanuel Vadot disable-over-current; 355f126890aSEmmanuel Vadot dr_mode = "otg"; 356f126890aSEmmanuel Vadot status = "okay"; 357f126890aSEmmanuel Vadot}; 358f126890aSEmmanuel Vadot 359f126890aSEmmanuel Vadot&usdhc2 { 360f126890aSEmmanuel Vadot pinctrl-names = "default"; 361f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc2>; 362f126890aSEmmanuel Vadot pinctrl-1 = <&pinctrl_usdhc2_100mhz>; 363f126890aSEmmanuel Vadot pinctrl-2 = <&pinctrl_usdhc2_200mhz>; 364f126890aSEmmanuel Vadot vmmc-supply = <®_3v3>; 365f126890aSEmmanuel Vadot no-1-8-v; 366f126890aSEmmanuel Vadot keep-power-in-suspend; 367f126890aSEmmanuel Vadot cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; 368f126890aSEmmanuel Vadot status = "okay"; 369f126890aSEmmanuel Vadot}; 370f126890aSEmmanuel Vadot 371f126890aSEmmanuel Vadot&iomuxc { 372f126890aSEmmanuel Vadot pinctrl_audmux: audmuxgrp { 373f126890aSEmmanuel Vadot fsl,pins = < 374f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT20__AUD4_TXC 0x130b0 375f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT21__AUD4_TXD 0x110b0 376f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT22__AUD4_TXFS 0x130b0 377f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT23__AUD4_RXD 0x130b0 378f126890aSEmmanuel Vadot >; 379f126890aSEmmanuel Vadot }; 380f126890aSEmmanuel Vadot 381f126890aSEmmanuel Vadot pinctrl_ecspi1: ecspi1grp { 382f126890aSEmmanuel Vadot fsl,pins = < 383f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL0__ECSPI1_SCLK 0x100b1 384f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW0__ECSPI1_MOSI 0x100b1 385f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL1__ECSPI1_MISO 0x100b1 386f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x1b0b0 387f126890aSEmmanuel Vadot >; 388f126890aSEmmanuel Vadot }; 389f126890aSEmmanuel Vadot 390f126890aSEmmanuel Vadot pinctrl_enet: enetgrp { 391f126890aSEmmanuel Vadot fsl,pins = < 392f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b8b0 393f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 394f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030 395f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030 396f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030 397f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030 398f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030 399f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x100b0 400f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030 401f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8 402f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030 403f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x13030 404f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x13030 405f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030 406f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030 407f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x13030 408f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0 /* ENET_INT */ 409f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_RX_ER__GPIO1_IO24 0x1b0b0 /* ETHR_nRST */ 410f126890aSEmmanuel Vadot >; 411f126890aSEmmanuel Vadot }; 412f126890aSEmmanuel Vadot 413f126890aSEmmanuel Vadot pinctrl_i2c1: i2c1grp { 414f126890aSEmmanuel Vadot fsl,pins = < 415f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 416f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 417f126890aSEmmanuel Vadot >; 418f126890aSEmmanuel Vadot }; 419f126890aSEmmanuel Vadot 420f126890aSEmmanuel Vadot pinctrl_led0: led0grp { 421f126890aSEmmanuel Vadot fsl,pins = < 422f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_TXD0__GPIO1_IO30 0x1b0b0 423f126890aSEmmanuel Vadot >; 424f126890aSEmmanuel Vadot }; 425f126890aSEmmanuel Vadot 426f126890aSEmmanuel Vadot pinctrl_ov5640: ov5640grp { 427f126890aSEmmanuel Vadot fsl,pins = < 428f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D26__GPIO3_IO26 0x1b0b1 429f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D27__GPIO3_IO27 0x1b0b1 430f126890aSEmmanuel Vadot >; 431f126890aSEmmanuel Vadot }; 432f126890aSEmmanuel Vadot 433f126890aSEmmanuel Vadot pinctrl_pcf8574: pcf8575grp { 434f126890aSEmmanuel Vadot fsl,pins = < 435f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_BCLK__GPIO6_IO31 0x1b0b0 436f126890aSEmmanuel Vadot >; 437f126890aSEmmanuel Vadot }; 438f126890aSEmmanuel Vadot 439f126890aSEmmanuel Vadot pinctrl_pcie: pciegrp { 440f126890aSEmmanuel Vadot fsl,pins = < 441f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x1b0b0 442f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0 443f126890aSEmmanuel Vadot >; 444f126890aSEmmanuel Vadot }; 445f126890aSEmmanuel Vadot 446f126890aSEmmanuel Vadot pinctrl_pwm3: pwm3grp { 447f126890aSEmmanuel Vadot fsl,pins = < 448f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1 449f126890aSEmmanuel Vadot >; 450f126890aSEmmanuel Vadot }; 451f126890aSEmmanuel Vadot 452f126890aSEmmanuel Vadot pinctrl_reg_1v8: reg1v8grp { 453f126890aSEmmanuel Vadot fsl,pins = < 454f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D30__GPIO3_IO30 0x1b0b0 455f126890aSEmmanuel Vadot >; 456f126890aSEmmanuel Vadot }; 457f126890aSEmmanuel Vadot 458f126890aSEmmanuel Vadot pinctrl_reg_3v3: reg3v3grp { 459f126890aSEmmanuel Vadot fsl,pins = < 460f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b0b0 461f126890aSEmmanuel Vadot >; 462f126890aSEmmanuel Vadot }; 463f126890aSEmmanuel Vadot 464f126890aSEmmanuel Vadot pinctrl_reg_audio: reg-audiogrp { 465f126890aSEmmanuel Vadot fsl,pins = < 466f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x1b0b0 467f126890aSEmmanuel Vadot >; 468f126890aSEmmanuel Vadot }; 469f126890aSEmmanuel Vadot 470f126890aSEmmanuel Vadot pinctrl_reg_enet: reg-enetgrp { 471f126890aSEmmanuel Vadot fsl,pins = < 472f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D31__GPIO3_IO31 0x1b0b0 473f126890aSEmmanuel Vadot >; 474f126890aSEmmanuel Vadot }; 475f126890aSEmmanuel Vadot 476f126890aSEmmanuel Vadot pinctrl_reg_hdmi: reg-hdmigrp { 477f126890aSEmmanuel Vadot fsl,pins = < 478f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D20__GPIO3_IO20 0x1b0b0 479f126890aSEmmanuel Vadot >; 480f126890aSEmmanuel Vadot }; 481f126890aSEmmanuel Vadot 482f126890aSEmmanuel Vadot pinctrl_reg_mipi: reg-mipigrp { 483f126890aSEmmanuel Vadot fsl,pins = <MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x1b0b1>; 484f126890aSEmmanuel Vadot }; 485f126890aSEmmanuel Vadot 486f126890aSEmmanuel Vadot pinctrl_reg_pcie: reg-pciegrp { 487f126890aSEmmanuel Vadot fsl,pins = < 488f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b0 489f126890aSEmmanuel Vadot >; 490f126890aSEmmanuel Vadot }; 491f126890aSEmmanuel Vadot 492f126890aSEmmanuel Vadot pinctrl_reg_uart3: reguart3grp { 493f126890aSEmmanuel Vadot fsl,pins = < 494f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x1b0b0 495f126890aSEmmanuel Vadot >; 496f126890aSEmmanuel Vadot }; 497f126890aSEmmanuel Vadot 498f126890aSEmmanuel Vadot pinctrl_reg_usb_h1_vbus: usbh1grp { 499f126890aSEmmanuel Vadot fsl,pins = < 500f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b0b0 501f126890aSEmmanuel Vadot >; 502f126890aSEmmanuel Vadot }; 503f126890aSEmmanuel Vadot 504f126890aSEmmanuel Vadot pinctrl_reg_usb_otg: reg-usb-otggrp { 505f126890aSEmmanuel Vadot fsl,pins = < 506f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x1b0b0 507f126890aSEmmanuel Vadot >; 508f126890aSEmmanuel Vadot }; 509f126890aSEmmanuel Vadot 510f126890aSEmmanuel Vadot pinctrl_uart3: uart3grp { 511f126890aSEmmanuel Vadot fsl,pins = < 512f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1 513f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1 514f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 515f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_EB3__UART3_RTS_B 0x1b0b1 516f126890aSEmmanuel Vadot >; 517f126890aSEmmanuel Vadot }; 518f126890aSEmmanuel Vadot 519f126890aSEmmanuel Vadot pinctrl_usbotg: usbotggrp { 520f126890aSEmmanuel Vadot fsl,pins = < 521f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_1__USB_OTG_ID 0xd17059 522f126890aSEmmanuel Vadot >; 523f126890aSEmmanuel Vadot }; 524f126890aSEmmanuel Vadot 525f126890aSEmmanuel Vadot pinctrl_usdhc2: usdhc2grp { 526f126890aSEmmanuel Vadot fsl,pins = < 527f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b0b0 /* CD */ 528f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17069 529f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10069 530f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17069 531f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17069 532f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17069 533f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17069 534f126890aSEmmanuel Vadot >; 535f126890aSEmmanuel Vadot }; 536f126890aSEmmanuel Vadot 537*5f62a964SEmmanuel Vadot pinctrl_usdhc2_100mhz: h100-usdhc2-100mhzgrp { 538f126890aSEmmanuel Vadot fsl,pins = < 539f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b0b0 /* CD */ 540f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CMD__SD2_CMD 0x170b9 541f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CLK__SD2_CLK 0x100b9 542f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x170b9 543f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x170b9 544f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x170b9 545f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x170b9 546f126890aSEmmanuel Vadot >; 547f126890aSEmmanuel Vadot }; 548f126890aSEmmanuel Vadot 549*5f62a964SEmmanuel Vadot pinctrl_usdhc2_200mhz: h100-usdhc2-200mhzgrp { 550f126890aSEmmanuel Vadot fsl,pins = < 551f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b0b0 /* CD */ 552f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CMD__SD2_CMD 0x170f9 553f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CLK__SD2_CLK 0x100f9 554f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x170f9 555f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x170f9 556f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x170f9 557f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x170f9 558f126890aSEmmanuel Vadot >; 559f126890aSEmmanuel Vadot }; 560f126890aSEmmanuel Vadot 561f126890aSEmmanuel Vadot}; 562