1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Device tree for the Kobo Aura 2 ebook reader 4*f126890aSEmmanuel Vadot * 5*f126890aSEmmanuel Vadot * Name on mainboard is: 37NB-E60QL0+4B1 6*f126890aSEmmanuel Vadot * Serials start with: E60QL2 7*f126890aSEmmanuel Vadot * 8*f126890aSEmmanuel Vadot * Copyright 2022 Andreas Kemnade 9*f126890aSEmmanuel Vadot */ 10*f126890aSEmmanuel Vadot 11*f126890aSEmmanuel Vadot/dts-v1/; 12*f126890aSEmmanuel Vadot 13*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h> 14*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 15*f126890aSEmmanuel Vadot#include <dt-bindings/leds/common.h> 16*f126890aSEmmanuel Vadot#include "imx6sl.dtsi" 17*f126890aSEmmanuel Vadot 18*f126890aSEmmanuel Vadot/ { 19*f126890aSEmmanuel Vadot model = "Kobo Aura 2"; 20*f126890aSEmmanuel Vadot compatible = "kobo,aura2", "fsl,imx6sl"; 21*f126890aSEmmanuel Vadot 22*f126890aSEmmanuel Vadot aliases { 23*f126890aSEmmanuel Vadot mmc0 = &usdhc2; 24*f126890aSEmmanuel Vadot mmc1 = &usdhc3; 25*f126890aSEmmanuel Vadot }; 26*f126890aSEmmanuel Vadot 27*f126890aSEmmanuel Vadot chosen { 28*f126890aSEmmanuel Vadot stdout-path = &uart1; 29*f126890aSEmmanuel Vadot }; 30*f126890aSEmmanuel Vadot 31*f126890aSEmmanuel Vadot gpio_keys: gpio-keys { 32*f126890aSEmmanuel Vadot compatible = "gpio-keys"; 33*f126890aSEmmanuel Vadot pinctrl-names = "default"; 34*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_gpio_keys>; 35*f126890aSEmmanuel Vadot 36*f126890aSEmmanuel Vadot key-cover { 37*f126890aSEmmanuel Vadot label = "Cover"; 38*f126890aSEmmanuel Vadot gpios = <&gpio5 12 GPIO_ACTIVE_LOW>; 39*f126890aSEmmanuel Vadot linux,code = <SW_LID>; 40*f126890aSEmmanuel Vadot linux,input-type = <EV_SW>; 41*f126890aSEmmanuel Vadot wakeup-source; 42*f126890aSEmmanuel Vadot }; 43*f126890aSEmmanuel Vadot 44*f126890aSEmmanuel Vadot key-power { 45*f126890aSEmmanuel Vadot label = "Power"; 46*f126890aSEmmanuel Vadot gpios = <&gpio5 8 GPIO_ACTIVE_LOW>; 47*f126890aSEmmanuel Vadot linux,code = <KEY_POWER>; 48*f126890aSEmmanuel Vadot wakeup-source; 49*f126890aSEmmanuel Vadot }; 50*f126890aSEmmanuel Vadot }; 51*f126890aSEmmanuel Vadot 52*f126890aSEmmanuel Vadot leds: leds { 53*f126890aSEmmanuel Vadot compatible = "gpio-leds"; 54*f126890aSEmmanuel Vadot pinctrl-names = "default"; 55*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_led>; 56*f126890aSEmmanuel Vadot 57*f126890aSEmmanuel Vadot led-0 { 58*f126890aSEmmanuel Vadot label = "koboaura2:white:on"; 59*f126890aSEmmanuel Vadot gpios = <&gpio5 7 GPIO_ACTIVE_LOW>; 60*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_WHITE>; 61*f126890aSEmmanuel Vadot linux,default-trigger = "timer"; 62*f126890aSEmmanuel Vadot }; 63*f126890aSEmmanuel Vadot }; 64*f126890aSEmmanuel Vadot 65*f126890aSEmmanuel Vadot memory@80000000 { 66*f126890aSEmmanuel Vadot device_type = "memory"; 67*f126890aSEmmanuel Vadot reg = <0x80000000 0x10000000>; 68*f126890aSEmmanuel Vadot }; 69*f126890aSEmmanuel Vadot 70*f126890aSEmmanuel Vadot reg_wifi: regulator-wifi { 71*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 72*f126890aSEmmanuel Vadot pinctrl-names = "default"; 73*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_wifi_power>; 74*f126890aSEmmanuel Vadot regulator-name = "SD3_SPWR"; 75*f126890aSEmmanuel Vadot regulator-min-microvolt = <3000000>; 76*f126890aSEmmanuel Vadot regulator-max-microvolt = <3000000>; 77*f126890aSEmmanuel Vadot gpio = <&gpio4 29 GPIO_ACTIVE_LOW>; 78*f126890aSEmmanuel Vadot }; 79*f126890aSEmmanuel Vadot 80*f126890aSEmmanuel Vadot wifi_pwrseq: wifi-pwrseq { 81*f126890aSEmmanuel Vadot compatible = "mmc-pwrseq-simple"; 82*f126890aSEmmanuel Vadot pinctrl-names = "default"; 83*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_wifi_reset>; 84*f126890aSEmmanuel Vadot post-power-on-delay-ms = <20>; 85*f126890aSEmmanuel Vadot reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; 86*f126890aSEmmanuel Vadot }; 87*f126890aSEmmanuel Vadot}; 88*f126890aSEmmanuel Vadot 89*f126890aSEmmanuel Vadot&i2c1 { 90*f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 91*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c1>; 92*f126890aSEmmanuel Vadot pinctrl-1 = <&pinctrl_i2c1_sleep>; 93*f126890aSEmmanuel Vadot status = "okay"; 94*f126890aSEmmanuel Vadot 95*f126890aSEmmanuel Vadot lm3630a: backlight@36 { 96*f126890aSEmmanuel Vadot compatible = "ti,lm3630a"; 97*f126890aSEmmanuel Vadot pinctrl-names = "default"; 98*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_lm3630a_bl_gpio>; 99*f126890aSEmmanuel Vadot reg = <0x36>; 100*f126890aSEmmanuel Vadot enable-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; 101*f126890aSEmmanuel Vadot 102*f126890aSEmmanuel Vadot #address-cells = <1>; 103*f126890aSEmmanuel Vadot #size-cells = <0>; 104*f126890aSEmmanuel Vadot 105*f126890aSEmmanuel Vadot led@0 { 106*f126890aSEmmanuel Vadot reg = <0>; 107*f126890aSEmmanuel Vadot led-sources = <0>; 108*f126890aSEmmanuel Vadot label = "backlight"; 109*f126890aSEmmanuel Vadot default-brightness = <0>; 110*f126890aSEmmanuel Vadot max-brightness = <255>; 111*f126890aSEmmanuel Vadot }; 112*f126890aSEmmanuel Vadot }; 113*f126890aSEmmanuel Vadot}; 114*f126890aSEmmanuel Vadot 115*f126890aSEmmanuel Vadot&i2c2 { 116*f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 117*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c2>; 118*f126890aSEmmanuel Vadot pinctrl-1 = <&pinctrl_i2c2_sleep>; 119*f126890aSEmmanuel Vadot clock-frequency = <100000>; 120*f126890aSEmmanuel Vadot status = "okay"; 121*f126890aSEmmanuel Vadot 122*f126890aSEmmanuel Vadot /* eKTF2232 at 0x15 */ 123*f126890aSEmmanuel Vadot /* FP9928 at 0x48 */ 124*f126890aSEmmanuel Vadot}; 125*f126890aSEmmanuel Vadot 126*f126890aSEmmanuel Vadot&i2c3 { 127*f126890aSEmmanuel Vadot pinctrl-names = "default"; 128*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c3>; 129*f126890aSEmmanuel Vadot clock-frequency = <400000>; 130*f126890aSEmmanuel Vadot status = "okay"; 131*f126890aSEmmanuel Vadot 132*f126890aSEmmanuel Vadot ricoh619: pmic@32 { 133*f126890aSEmmanuel Vadot compatible = "ricoh,rc5t619"; 134*f126890aSEmmanuel Vadot pinctrl-names = "default"; 135*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ricoh_gpio>; 136*f126890aSEmmanuel Vadot reg = <0x32>; 137*f126890aSEmmanuel Vadot interrupt-parent = <&gpio5>; 138*f126890aSEmmanuel Vadot interrupts = <11 IRQ_TYPE_LEVEL_LOW>; 139*f126890aSEmmanuel Vadot system-power-controller; 140*f126890aSEmmanuel Vadot 141*f126890aSEmmanuel Vadot regulators { 142*f126890aSEmmanuel Vadot dcdc1_reg: DCDC1 { 143*f126890aSEmmanuel Vadot regulator-name = "DCDC1"; 144*f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 145*f126890aSEmmanuel Vadot regulator-max-microvolt = <1875000>; 146*f126890aSEmmanuel Vadot regulator-always-on; 147*f126890aSEmmanuel Vadot regulator-boot-on; 148*f126890aSEmmanuel Vadot 149*f126890aSEmmanuel Vadot regulator-state-mem { 150*f126890aSEmmanuel Vadot regulator-on-in-suspend; 151*f126890aSEmmanuel Vadot regulator-suspend-max-microvolt = <900000>; 152*f126890aSEmmanuel Vadot regulator-suspend-min-microvolt = <900000>; 153*f126890aSEmmanuel Vadot }; 154*f126890aSEmmanuel Vadot }; 155*f126890aSEmmanuel Vadot 156*f126890aSEmmanuel Vadot /* Core3_3V3 */ 157*f126890aSEmmanuel Vadot dcdc2_reg: DCDC2 { 158*f126890aSEmmanuel Vadot regulator-name = "DCDC2"; 159*f126890aSEmmanuel Vadot regulator-always-on; 160*f126890aSEmmanuel Vadot regulator-boot-on; 161*f126890aSEmmanuel Vadot 162*f126890aSEmmanuel Vadot regulator-state-mem { 163*f126890aSEmmanuel Vadot regulator-on-in-suspend; 164*f126890aSEmmanuel Vadot regulator-suspend-max-microvolt = <3100000>; 165*f126890aSEmmanuel Vadot regulator-suspend-min-microvolt = <3100000>; 166*f126890aSEmmanuel Vadot }; 167*f126890aSEmmanuel Vadot }; 168*f126890aSEmmanuel Vadot 169*f126890aSEmmanuel Vadot dcdc3_reg: DCDC3 { 170*f126890aSEmmanuel Vadot regulator-name = "DCDC3"; 171*f126890aSEmmanuel Vadot regulator-min-microvolt = <300000>; 172*f126890aSEmmanuel Vadot regulator-max-microvolt = <1875000>; 173*f126890aSEmmanuel Vadot regulator-always-on; 174*f126890aSEmmanuel Vadot regulator-boot-on; 175*f126890aSEmmanuel Vadot 176*f126890aSEmmanuel Vadot regulator-state-mem { 177*f126890aSEmmanuel Vadot regulator-on-in-suspend; 178*f126890aSEmmanuel Vadot regulator-suspend-max-microvolt = <1140000>; 179*f126890aSEmmanuel Vadot regulator-suspend-min-microvolt = <1140000>; 180*f126890aSEmmanuel Vadot }; 181*f126890aSEmmanuel Vadot }; 182*f126890aSEmmanuel Vadot 183*f126890aSEmmanuel Vadot /* Core4_1V2 */ 184*f126890aSEmmanuel Vadot dcdc4_reg: DCDC4 { 185*f126890aSEmmanuel Vadot regulator-name = "DCDC4"; 186*f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 187*f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 188*f126890aSEmmanuel Vadot regulator-always-on; 189*f126890aSEmmanuel Vadot regulator-boot-on; 190*f126890aSEmmanuel Vadot 191*f126890aSEmmanuel Vadot regulator-state-mem { 192*f126890aSEmmanuel Vadot regulator-on-in-suspend; 193*f126890aSEmmanuel Vadot regulator-suspend-max-microvolt = <1140000>; 194*f126890aSEmmanuel Vadot regulator-suspend-min-microvolt = <1140000>; 195*f126890aSEmmanuel Vadot }; 196*f126890aSEmmanuel Vadot }; 197*f126890aSEmmanuel Vadot 198*f126890aSEmmanuel Vadot /* Core4_1V8 */ 199*f126890aSEmmanuel Vadot dcdc5_reg: DCDC5 { 200*f126890aSEmmanuel Vadot regulator-name = "DCDC5"; 201*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 202*f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 203*f126890aSEmmanuel Vadot regulator-always-on; 204*f126890aSEmmanuel Vadot regulator-boot-on; 205*f126890aSEmmanuel Vadot 206*f126890aSEmmanuel Vadot regulator-state-mem { 207*f126890aSEmmanuel Vadot regulator-on-in-suspend; 208*f126890aSEmmanuel Vadot regulator-suspend-max-microvolt = <1700000>; 209*f126890aSEmmanuel Vadot regulator-suspend-min-microvolt = <1700000>; 210*f126890aSEmmanuel Vadot }; 211*f126890aSEmmanuel Vadot }; 212*f126890aSEmmanuel Vadot 213*f126890aSEmmanuel Vadot /* IR_3V3 */ 214*f126890aSEmmanuel Vadot ldo1_reg: LDO1 { 215*f126890aSEmmanuel Vadot regulator-name = "LDO1"; 216*f126890aSEmmanuel Vadot regulator-always-on; 217*f126890aSEmmanuel Vadot regulator-boot-on; 218*f126890aSEmmanuel Vadot }; 219*f126890aSEmmanuel Vadot 220*f126890aSEmmanuel Vadot /* Core1_3V3 */ 221*f126890aSEmmanuel Vadot ldo2_reg: LDO2 { 222*f126890aSEmmanuel Vadot regulator-name = "LDO2"; 223*f126890aSEmmanuel Vadot regulator-always-on; 224*f126890aSEmmanuel Vadot regulator-boot-on; 225*f126890aSEmmanuel Vadot 226*f126890aSEmmanuel Vadot regulator-state-mem { 227*f126890aSEmmanuel Vadot regulator-on-in-suspend; 228*f126890aSEmmanuel Vadot regulator-suspend-max-microvolt = <3000000>; 229*f126890aSEmmanuel Vadot regulator-suspend-min-microvolt = <3000000>; 230*f126890aSEmmanuel Vadot }; 231*f126890aSEmmanuel Vadot }; 232*f126890aSEmmanuel Vadot 233*f126890aSEmmanuel Vadot /* Core5_1V2 */ 234*f126890aSEmmanuel Vadot ldo3_reg: LDO3 { 235*f126890aSEmmanuel Vadot regulator-name = "LDO3"; 236*f126890aSEmmanuel Vadot regulator-always-on; 237*f126890aSEmmanuel Vadot regulator-boot-on; 238*f126890aSEmmanuel Vadot }; 239*f126890aSEmmanuel Vadot 240*f126890aSEmmanuel Vadot ldo4_reg: LDO4 { 241*f126890aSEmmanuel Vadot regulator-name = "LDO4"; 242*f126890aSEmmanuel Vadot regulator-boot-on; 243*f126890aSEmmanuel Vadot }; 244*f126890aSEmmanuel Vadot 245*f126890aSEmmanuel Vadot /* SPD_3V3 */ 246*f126890aSEmmanuel Vadot ldo5_reg: LDO5 { 247*f126890aSEmmanuel Vadot regulator-name = "LDO5"; 248*f126890aSEmmanuel Vadot regulator-always-on; 249*f126890aSEmmanuel Vadot regulator-boot-on; 250*f126890aSEmmanuel Vadot }; 251*f126890aSEmmanuel Vadot 252*f126890aSEmmanuel Vadot /* DDR_0V6 */ 253*f126890aSEmmanuel Vadot ldo6_reg: LDO6 { 254*f126890aSEmmanuel Vadot regulator-name = "LDO6"; 255*f126890aSEmmanuel Vadot regulator-always-on; 256*f126890aSEmmanuel Vadot regulator-boot-on; 257*f126890aSEmmanuel Vadot }; 258*f126890aSEmmanuel Vadot 259*f126890aSEmmanuel Vadot /* VDD_PWM */ 260*f126890aSEmmanuel Vadot ldo7_reg: LDO7 { 261*f126890aSEmmanuel Vadot regulator-name = "LDO7"; 262*f126890aSEmmanuel Vadot regulator-always-on; 263*f126890aSEmmanuel Vadot regulator-boot-on; 264*f126890aSEmmanuel Vadot }; 265*f126890aSEmmanuel Vadot 266*f126890aSEmmanuel Vadot /* ldo_1v8 */ 267*f126890aSEmmanuel Vadot ldo8_reg: LDO8 { 268*f126890aSEmmanuel Vadot regulator-name = "LDO8"; 269*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 270*f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 271*f126890aSEmmanuel Vadot regulator-always-on; 272*f126890aSEmmanuel Vadot regulator-boot-on; 273*f126890aSEmmanuel Vadot }; 274*f126890aSEmmanuel Vadot 275*f126890aSEmmanuel Vadot ldo9_reg: LDO9 { 276*f126890aSEmmanuel Vadot regulator-name = "LDO9"; 277*f126890aSEmmanuel Vadot regulator-boot-on; 278*f126890aSEmmanuel Vadot }; 279*f126890aSEmmanuel Vadot 280*f126890aSEmmanuel Vadot ldo10_reg: LDO10 { 281*f126890aSEmmanuel Vadot regulator-name = "LDO10"; 282*f126890aSEmmanuel Vadot regulator-boot-on; 283*f126890aSEmmanuel Vadot }; 284*f126890aSEmmanuel Vadot 285*f126890aSEmmanuel Vadot ldortc1_reg: LDORTC1 { 286*f126890aSEmmanuel Vadot regulator-name = "LDORTC1"; 287*f126890aSEmmanuel Vadot regulator-always-on; 288*f126890aSEmmanuel Vadot regulator-boot-on; 289*f126890aSEmmanuel Vadot }; 290*f126890aSEmmanuel Vadot }; 291*f126890aSEmmanuel Vadot }; 292*f126890aSEmmanuel Vadot}; 293*f126890aSEmmanuel Vadot 294*f126890aSEmmanuel Vadot®_vdd1p1 { 295*f126890aSEmmanuel Vadot vin-supply = <&dcdc2_reg>; 296*f126890aSEmmanuel Vadot}; 297*f126890aSEmmanuel Vadot 298*f126890aSEmmanuel Vadot®_vdd2p5 { 299*f126890aSEmmanuel Vadot vin-supply = <&dcdc2_reg>; 300*f126890aSEmmanuel Vadot}; 301*f126890aSEmmanuel Vadot 302*f126890aSEmmanuel Vadot®_arm { 303*f126890aSEmmanuel Vadot vin-supply = <&dcdc3_reg>; 304*f126890aSEmmanuel Vadot}; 305*f126890aSEmmanuel Vadot 306*f126890aSEmmanuel Vadot®_soc { 307*f126890aSEmmanuel Vadot vin-supply = <&dcdc1_reg>; 308*f126890aSEmmanuel Vadot}; 309*f126890aSEmmanuel Vadot 310*f126890aSEmmanuel Vadot®_pu { 311*f126890aSEmmanuel Vadot vin-supply = <&dcdc1_reg>; 312*f126890aSEmmanuel Vadot}; 313*f126890aSEmmanuel Vadot 314*f126890aSEmmanuel Vadot&snvs_rtc { 315*f126890aSEmmanuel Vadot /* 316*f126890aSEmmanuel Vadot * We are using the RTC in the PMIC, but this one is not disabled 317*f126890aSEmmanuel Vadot * in imx6sl.dtsi. 318*f126890aSEmmanuel Vadot */ 319*f126890aSEmmanuel Vadot status = "disabled"; 320*f126890aSEmmanuel Vadot}; 321*f126890aSEmmanuel Vadot 322*f126890aSEmmanuel Vadot&uart1 { 323*f126890aSEmmanuel Vadot /* J4, through-holes */ 324*f126890aSEmmanuel Vadot pinctrl-names = "default"; 325*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart1>; 326*f126890aSEmmanuel Vadot status = "okay"; 327*f126890aSEmmanuel Vadot}; 328*f126890aSEmmanuel Vadot 329*f126890aSEmmanuel Vadot&uart4 { 330*f126890aSEmmanuel Vadot /* TP198, next to J4, SMD pads */ 331*f126890aSEmmanuel Vadot pinctrl-names = "default"; 332*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart4>; 333*f126890aSEmmanuel Vadot status = "okay"; 334*f126890aSEmmanuel Vadot}; 335*f126890aSEmmanuel Vadot 336*f126890aSEmmanuel Vadot&usdhc2 { 337*f126890aSEmmanuel Vadot pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; 338*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc2>; 339*f126890aSEmmanuel Vadot pinctrl-1 = <&pinctrl_usdhc2_100mhz>; 340*f126890aSEmmanuel Vadot pinctrl-2 = <&pinctrl_usdhc2_200mhz>; 341*f126890aSEmmanuel Vadot pinctrl-3 = <&pinctrl_usdhc2_sleep>; 342*f126890aSEmmanuel Vadot non-removable; 343*f126890aSEmmanuel Vadot status = "okay"; 344*f126890aSEmmanuel Vadot 345*f126890aSEmmanuel Vadot /* internal uSD card */ 346*f126890aSEmmanuel Vadot}; 347*f126890aSEmmanuel Vadot 348*f126890aSEmmanuel Vadot&usdhc3 { 349*f126890aSEmmanuel Vadot pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; 350*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc3>; 351*f126890aSEmmanuel Vadot pinctrl-1 = <&pinctrl_usdhc3_100mhz>; 352*f126890aSEmmanuel Vadot pinctrl-2 = <&pinctrl_usdhc3_200mhz>; 353*f126890aSEmmanuel Vadot pinctrl-3 = <&pinctrl_usdhc3_sleep>; 354*f126890aSEmmanuel Vadot vmmc-supply = <®_wifi>; 355*f126890aSEmmanuel Vadot mmc-pwrseq = <&wifi_pwrseq>; 356*f126890aSEmmanuel Vadot cap-power-off-card; 357*f126890aSEmmanuel Vadot non-removable; 358*f126890aSEmmanuel Vadot status = "okay"; 359*f126890aSEmmanuel Vadot 360*f126890aSEmmanuel Vadot /* 361*f126890aSEmmanuel Vadot * RTL8189F SDIO WiFi 362*f126890aSEmmanuel Vadot */ 363*f126890aSEmmanuel Vadot}; 364*f126890aSEmmanuel Vadot 365*f126890aSEmmanuel Vadot&usbotg1 { 366*f126890aSEmmanuel Vadot disable-over-current; 367*f126890aSEmmanuel Vadot srp-disable; 368*f126890aSEmmanuel Vadot hnp-disable; 369*f126890aSEmmanuel Vadot adp-disable; 370*f126890aSEmmanuel Vadot status = "okay"; 371*f126890aSEmmanuel Vadot}; 372*f126890aSEmmanuel Vadot 373*f126890aSEmmanuel Vadot&iomuxc { 374*f126890aSEmmanuel Vadot pinctrl_gpio_keys: gpio-keysgrp { 375*f126890aSEmmanuel Vadot fsl,pins = < 376*f126890aSEmmanuel Vadot MX6SL_PAD_SD1_DAT1__GPIO5_IO08 0x17059 377*f126890aSEmmanuel Vadot MX6SL_PAD_SD1_DAT4__GPIO5_IO12 0x17059 378*f126890aSEmmanuel Vadot >; 379*f126890aSEmmanuel Vadot }; 380*f126890aSEmmanuel Vadot 381*f126890aSEmmanuel Vadot pinctrl_i2c1: i2c1grp { 382*f126890aSEmmanuel Vadot fsl,pins = < 383*f126890aSEmmanuel Vadot MX6SL_PAD_I2C1_SCL__I2C1_SCL 0x4001f8b1 384*f126890aSEmmanuel Vadot MX6SL_PAD_I2C1_SDA__I2C1_SDA 0x4001f8b1 385*f126890aSEmmanuel Vadot >; 386*f126890aSEmmanuel Vadot }; 387*f126890aSEmmanuel Vadot 388*f126890aSEmmanuel Vadot pinctrl_i2c1_sleep: i2c1-sleepgrp { 389*f126890aSEmmanuel Vadot fsl,pins = < 390*f126890aSEmmanuel Vadot MX6SL_PAD_I2C1_SCL__I2C1_SCL 0x400108b1 391*f126890aSEmmanuel Vadot MX6SL_PAD_I2C1_SDA__I2C1_SDA 0x400108b1 392*f126890aSEmmanuel Vadot >; 393*f126890aSEmmanuel Vadot }; 394*f126890aSEmmanuel Vadot 395*f126890aSEmmanuel Vadot pinctrl_i2c2: i2c2grp { 396*f126890aSEmmanuel Vadot fsl,pins = < 397*f126890aSEmmanuel Vadot MX6SL_PAD_I2C2_SCL__I2C2_SCL 0x4001f8b1 398*f126890aSEmmanuel Vadot MX6SL_PAD_I2C2_SDA__I2C2_SDA 0x4001f8b1 399*f126890aSEmmanuel Vadot >; 400*f126890aSEmmanuel Vadot }; 401*f126890aSEmmanuel Vadot 402*f126890aSEmmanuel Vadot pinctrl_i2c2_sleep: i2c2-sleepgrp { 403*f126890aSEmmanuel Vadot fsl,pins = < 404*f126890aSEmmanuel Vadot MX6SL_PAD_I2C2_SCL__I2C2_SCL 0x400108b1 405*f126890aSEmmanuel Vadot MX6SL_PAD_I2C2_SDA__I2C2_SDA 0x400108b1 406*f126890aSEmmanuel Vadot >; 407*f126890aSEmmanuel Vadot }; 408*f126890aSEmmanuel Vadot 409*f126890aSEmmanuel Vadot pinctrl_i2c3: i2c3grp { 410*f126890aSEmmanuel Vadot fsl,pins = < 411*f126890aSEmmanuel Vadot MX6SL_PAD_REF_CLK_24M__I2C3_SCL 0x4001f8b1 412*f126890aSEmmanuel Vadot MX6SL_PAD_REF_CLK_32K__I2C3_SDA 0x4001f8b1 413*f126890aSEmmanuel Vadot >; 414*f126890aSEmmanuel Vadot }; 415*f126890aSEmmanuel Vadot 416*f126890aSEmmanuel Vadot pinctrl_led: ledgrp { 417*f126890aSEmmanuel Vadot fsl,pins = < 418*f126890aSEmmanuel Vadot MX6SL_PAD_SD1_DAT6__GPIO5_IO07 0x17059 419*f126890aSEmmanuel Vadot >; 420*f126890aSEmmanuel Vadot }; 421*f126890aSEmmanuel Vadot 422*f126890aSEmmanuel Vadot pinctrl_lm3630a_bl_gpio: lm3630a-bl-gpiogrp { 423*f126890aSEmmanuel Vadot fsl,pins = < 424*f126890aSEmmanuel Vadot MX6SL_PAD_EPDC_PWRCTRL3__GPIO2_IO10 0x10059 /* HWEN */ 425*f126890aSEmmanuel Vadot >; 426*f126890aSEmmanuel Vadot }; 427*f126890aSEmmanuel Vadot 428*f126890aSEmmanuel Vadot pinctrl_ricoh_gpio: ricoh-gpiogrp { 429*f126890aSEmmanuel Vadot fsl,pins = < 430*f126890aSEmmanuel Vadot MX6SL_PAD_SD1_CLK__GPIO5_IO15 0x1b8b1 /* ricoh619 chg */ 431*f126890aSEmmanuel Vadot MX6SL_PAD_SD1_DAT0__GPIO5_IO11 0x1b8b1 /* ricoh619 irq */ 432*f126890aSEmmanuel Vadot MX6SL_PAD_KEY_COL2__GPIO3_IO28 0x1b8b1 /* ricoh619 bat_low_int */ 433*f126890aSEmmanuel Vadot >; 434*f126890aSEmmanuel Vadot }; 435*f126890aSEmmanuel Vadot 436*f126890aSEmmanuel Vadot pinctrl_uart1: uart1grp { 437*f126890aSEmmanuel Vadot fsl,pins = < 438*f126890aSEmmanuel Vadot MX6SL_PAD_UART1_TXD__UART1_TX_DATA 0x1b0b1 439*f126890aSEmmanuel Vadot MX6SL_PAD_UART1_RXD__UART1_RX_DATA 0x1b0b1 440*f126890aSEmmanuel Vadot >; 441*f126890aSEmmanuel Vadot }; 442*f126890aSEmmanuel Vadot 443*f126890aSEmmanuel Vadot pinctrl_uart4: uart4grp { 444*f126890aSEmmanuel Vadot fsl,pins = < 445*f126890aSEmmanuel Vadot MX6SL_PAD_KEY_ROW6__UART4_TX_DATA 0x1b0b1 446*f126890aSEmmanuel Vadot MX6SL_PAD_KEY_COL6__UART4_RX_DATA 0x1b0b1 447*f126890aSEmmanuel Vadot >; 448*f126890aSEmmanuel Vadot }; 449*f126890aSEmmanuel Vadot 450*f126890aSEmmanuel Vadot pinctrl_usbotg1: usbotg1grp { 451*f126890aSEmmanuel Vadot fsl,pins = < 452*f126890aSEmmanuel Vadot MX6SL_PAD_EPDC_PWRCOM__USB_OTG1_ID 0x17059 453*f126890aSEmmanuel Vadot >; 454*f126890aSEmmanuel Vadot }; 455*f126890aSEmmanuel Vadot 456*f126890aSEmmanuel Vadot pinctrl_usdhc2: usdhc2grp { 457*f126890aSEmmanuel Vadot fsl,pins = < 458*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_CMD__SD2_CMD 0x17059 459*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_CLK__SD2_CLK 0x13059 460*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT0__SD2_DATA0 0x17059 461*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT1__SD2_DATA1 0x17059 462*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT2__SD2_DATA2 0x17059 463*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT3__SD2_DATA3 0x17059 464*f126890aSEmmanuel Vadot >; 465*f126890aSEmmanuel Vadot }; 466*f126890aSEmmanuel Vadot 467*f126890aSEmmanuel Vadot pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { 468*f126890aSEmmanuel Vadot fsl,pins = < 469*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_CMD__SD2_CMD 0x170b9 470*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_CLK__SD2_CLK 0x130b9 471*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT0__SD2_DATA0 0x170b9 472*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT1__SD2_DATA1 0x170b9 473*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT2__SD2_DATA2 0x170b9 474*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT3__SD2_DATA3 0x170b9 475*f126890aSEmmanuel Vadot >; 476*f126890aSEmmanuel Vadot }; 477*f126890aSEmmanuel Vadot 478*f126890aSEmmanuel Vadot pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { 479*f126890aSEmmanuel Vadot fsl,pins = < 480*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_CMD__SD2_CMD 0x170f9 481*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_CLK__SD2_CLK 0x130f9 482*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT0__SD2_DATA0 0x170f9 483*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT1__SD2_DATA1 0x170f9 484*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT2__SD2_DATA2 0x170f9 485*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT3__SD2_DATA3 0x170f9 486*f126890aSEmmanuel Vadot >; 487*f126890aSEmmanuel Vadot }; 488*f126890aSEmmanuel Vadot 489*f126890aSEmmanuel Vadot pinctrl_usdhc2_sleep: usdhc2-sleepgrp { 490*f126890aSEmmanuel Vadot fsl,pins = < 491*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_CMD__GPIO5_IO04 0x100f9 492*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_CLK__GPIO5_IO05 0x100f9 493*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT0__GPIO5_IO01 0x100f9 494*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT1__GPIO4_IO30 0x100f9 495*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT2__GPIO5_IO03 0x100f9 496*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT3__GPIO4_IO28 0x100f9 497*f126890aSEmmanuel Vadot >; 498*f126890aSEmmanuel Vadot }; 499*f126890aSEmmanuel Vadot 500*f126890aSEmmanuel Vadot pinctrl_usdhc3: usdhc3grp { 501*f126890aSEmmanuel Vadot fsl,pins = < 502*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_CMD__SD3_CMD 0x11059 503*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_CLK__SD3_CLK 0x11059 504*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT0__SD3_DATA0 0x11059 505*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT1__SD3_DATA1 0x11059 506*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT2__SD3_DATA2 0x11059 507*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT3__SD3_DATA3 0x11059 508*f126890aSEmmanuel Vadot >; 509*f126890aSEmmanuel Vadot }; 510*f126890aSEmmanuel Vadot 511*f126890aSEmmanuel Vadot pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { 512*f126890aSEmmanuel Vadot fsl,pins = < 513*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_CMD__SD3_CMD 0x170b9 514*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_CLK__SD3_CLK 0x170b9 515*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT0__SD3_DATA0 0x170b9 516*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT1__SD3_DATA1 0x170b9 517*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT2__SD3_DATA2 0x170b9 518*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT3__SD3_DATA3 0x170b9 519*f126890aSEmmanuel Vadot >; 520*f126890aSEmmanuel Vadot }; 521*f126890aSEmmanuel Vadot 522*f126890aSEmmanuel Vadot pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { 523*f126890aSEmmanuel Vadot fsl,pins = < 524*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_CMD__SD3_CMD 0x170f9 525*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_CLK__SD3_CLK 0x170f9 526*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT0__SD3_DATA0 0x170f9 527*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT1__SD3_DATA1 0x170f9 528*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT2__SD3_DATA2 0x170f9 529*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT3__SD3_DATA3 0x170f9 530*f126890aSEmmanuel Vadot >; 531*f126890aSEmmanuel Vadot }; 532*f126890aSEmmanuel Vadot 533*f126890aSEmmanuel Vadot pinctrl_usdhc3_sleep: usdhc3-sleepgrp { 534*f126890aSEmmanuel Vadot fsl,pins = < 535*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_CMD__GPIO5_IO21 0x100c1 536*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_CLK__GPIO5_IO18 0x100c1 537*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT0__GPIO5_IO19 0x100c1 538*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT1__GPIO5_IO20 0x100c1 539*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT2__GPIO5_IO16 0x100c1 540*f126890aSEmmanuel Vadot MX6SL_PAD_SD3_DAT3__GPIO5_IO17 0x100c1 541*f126890aSEmmanuel Vadot >; 542*f126890aSEmmanuel Vadot }; 543*f126890aSEmmanuel Vadot 544*f126890aSEmmanuel Vadot pinctrl_wifi_power: wifi-powergrp { 545*f126890aSEmmanuel Vadot fsl,pins = < 546*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT6__GPIO4_IO29 0x10059 /* WIFI_3V3_ON */ 547*f126890aSEmmanuel Vadot >; 548*f126890aSEmmanuel Vadot }; 549*f126890aSEmmanuel Vadot 550*f126890aSEmmanuel Vadot pinctrl_wifi_reset: wifi-resetgrp { 551*f126890aSEmmanuel Vadot fsl,pins = < 552*f126890aSEmmanuel Vadot MX6SL_PAD_SD2_DAT7__GPIO5_IO00 0x10059 /* WIFI_RST */ 553*f126890aSEmmanuel Vadot >; 554*f126890aSEmmanuel Vadot }; 555*f126890aSEmmanuel Vadot}; 556