1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (C) 2012-2013 Linaro Ltd. 4*f126890aSEmmanuel Vadot * Author: Haojian Zhuang <haojian.zhuang@linaro.org> 5*f126890aSEmmanuel Vadot */ 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadot/dts-v1/; 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadot#include "hi3620.dtsi" 10*f126890aSEmmanuel Vadot 11*f126890aSEmmanuel Vadot/ { 12*f126890aSEmmanuel Vadot model = "Hisilicon Hi4511 Development Board"; 13*f126890aSEmmanuel Vadot compatible = "hisilicon,hi3620-hi4511"; 14*f126890aSEmmanuel Vadot 15*f126890aSEmmanuel Vadot chosen { 16*f126890aSEmmanuel Vadot bootargs = "root=/dev/ram0"; 17*f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 18*f126890aSEmmanuel Vadot }; 19*f126890aSEmmanuel Vadot 20*f126890aSEmmanuel Vadot memory@40000000 { 21*f126890aSEmmanuel Vadot device_type = "memory"; 22*f126890aSEmmanuel Vadot reg = <0x40000000 0x20000000>; 23*f126890aSEmmanuel Vadot }; 24*f126890aSEmmanuel Vadot 25*f126890aSEmmanuel Vadot amba-bus { 26*f126890aSEmmanuel Vadot dual_timer0: dual_timer@800000 { 27*f126890aSEmmanuel Vadot status = "okay"; 28*f126890aSEmmanuel Vadot }; 29*f126890aSEmmanuel Vadot 30*f126890aSEmmanuel Vadot uart0: serial@b00000 { /* console */ 31*f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 32*f126890aSEmmanuel Vadot pinctrl-0 = <&uart0_pmx_func &uart0_cfg_func>; 33*f126890aSEmmanuel Vadot pinctrl-1 = <&uart0_pmx_idle &uart0_cfg_idle>; 34*f126890aSEmmanuel Vadot status = "okay"; 35*f126890aSEmmanuel Vadot }; 36*f126890aSEmmanuel Vadot 37*f126890aSEmmanuel Vadot uart1: serial@b01000 { /* modem */ 38*f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 39*f126890aSEmmanuel Vadot pinctrl-0 = <&uart1_pmx_func &uart1_cfg_func>; 40*f126890aSEmmanuel Vadot pinctrl-1 = <&uart1_pmx_idle &uart1_cfg_idle>; 41*f126890aSEmmanuel Vadot status = "okay"; 42*f126890aSEmmanuel Vadot }; 43*f126890aSEmmanuel Vadot 44*f126890aSEmmanuel Vadot uart2: serial@b02000 { /* audience */ 45*f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 46*f126890aSEmmanuel Vadot pinctrl-0 = <&uart2_pmx_func &uart2_cfg_func>; 47*f126890aSEmmanuel Vadot pinctrl-1 = <&uart2_pmx_idle &uart2_cfg_idle>; 48*f126890aSEmmanuel Vadot status = "okay"; 49*f126890aSEmmanuel Vadot }; 50*f126890aSEmmanuel Vadot 51*f126890aSEmmanuel Vadot uart3: serial@b03000 { 52*f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 53*f126890aSEmmanuel Vadot pinctrl-0 = <&uart3_pmx_func &uart3_cfg_func>; 54*f126890aSEmmanuel Vadot pinctrl-1 = <&uart3_pmx_idle &uart3_cfg_idle>; 55*f126890aSEmmanuel Vadot status = "okay"; 56*f126890aSEmmanuel Vadot }; 57*f126890aSEmmanuel Vadot 58*f126890aSEmmanuel Vadot uart4: serial@b04000 { 59*f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 60*f126890aSEmmanuel Vadot pinctrl-0 = <&uart4_pmx_func &uart4_cfg_func>; 61*f126890aSEmmanuel Vadot pinctrl-1 = <&uart4_pmx_idle &uart4_cfg_func>; 62*f126890aSEmmanuel Vadot status = "okay"; 63*f126890aSEmmanuel Vadot }; 64*f126890aSEmmanuel Vadot 65*f126890aSEmmanuel Vadot pmx0: pinmux@803000 { 66*f126890aSEmmanuel Vadot pinctrl-names = "default"; 67*f126890aSEmmanuel Vadot pinctrl-0 = <&board_pmx_pins>; 68*f126890aSEmmanuel Vadot 69*f126890aSEmmanuel Vadot board_pmx_pins: board-pins { 70*f126890aSEmmanuel Vadot pinctrl-single,pins = < 71*f126890aSEmmanuel Vadot 0x008 0x0 /* GPIO -- eFUSE_DOUT */ 72*f126890aSEmmanuel Vadot 0x100 0x0 /* USIM_CLK & USIM_DATA (IOMG63) */ 73*f126890aSEmmanuel Vadot >; 74*f126890aSEmmanuel Vadot }; 75*f126890aSEmmanuel Vadot uart0_pmx_func: uart0-pins { 76*f126890aSEmmanuel Vadot pinctrl-single,pins = < 77*f126890aSEmmanuel Vadot 0x0f0 0x0 78*f126890aSEmmanuel Vadot 0x0f4 0x0 /* UART0_RX & UART0_TX */ 79*f126890aSEmmanuel Vadot >; 80*f126890aSEmmanuel Vadot }; 81*f126890aSEmmanuel Vadot uart0_pmx_idle: uart0-idle-pins { 82*f126890aSEmmanuel Vadot pinctrl-single,pins = < 83*f126890aSEmmanuel Vadot /*0x0f0 0x1*/ /* UART0_CTS & UART0_RTS */ 84*f126890aSEmmanuel Vadot 0x0f4 0x1 /* UART0_RX & UART0_TX */ 85*f126890aSEmmanuel Vadot >; 86*f126890aSEmmanuel Vadot }; 87*f126890aSEmmanuel Vadot uart1_pmx_func: uart1-pins { 88*f126890aSEmmanuel Vadot pinctrl-single,pins = < 89*f126890aSEmmanuel Vadot 0x0f8 0x0 /* UART1_CTS & UART1_RTS (IOMG61) */ 90*f126890aSEmmanuel Vadot 0x0fc 0x0 /* UART1_RX & UART1_TX (IOMG62) */ 91*f126890aSEmmanuel Vadot >; 92*f126890aSEmmanuel Vadot }; 93*f126890aSEmmanuel Vadot uart1_pmx_idle: uart1-idle-pins { 94*f126890aSEmmanuel Vadot pinctrl-single,pins = < 95*f126890aSEmmanuel Vadot 0x0f8 0x1 /* GPIO (IOMG61) */ 96*f126890aSEmmanuel Vadot 0x0fc 0x1 /* GPIO (IOMG62) */ 97*f126890aSEmmanuel Vadot >; 98*f126890aSEmmanuel Vadot }; 99*f126890aSEmmanuel Vadot uart2_pmx_func: uart2-pins { 100*f126890aSEmmanuel Vadot pinctrl-single,pins = < 101*f126890aSEmmanuel Vadot 0x104 0x2 /* UART2_RXD (IOMG96) */ 102*f126890aSEmmanuel Vadot 0x108 0x2 /* UART2_TXD (IOMG64) */ 103*f126890aSEmmanuel Vadot >; 104*f126890aSEmmanuel Vadot }; 105*f126890aSEmmanuel Vadot uart2_pmx_idle: uart2-idle-pins { 106*f126890aSEmmanuel Vadot pinctrl-single,pins = < 107*f126890aSEmmanuel Vadot 0x104 0x1 /* GPIO (IOMG96) */ 108*f126890aSEmmanuel Vadot 0x108 0x1 /* GPIO (IOMG64) */ 109*f126890aSEmmanuel Vadot >; 110*f126890aSEmmanuel Vadot }; 111*f126890aSEmmanuel Vadot uart3_pmx_func: uart3-pins { 112*f126890aSEmmanuel Vadot pinctrl-single,pins = < 113*f126890aSEmmanuel Vadot 0x160 0x2 /* UART3_CTS & UART3_RTS (IOMG85) */ 114*f126890aSEmmanuel Vadot 0x164 0x2 /* UART3_RXD & UART3_TXD (IOMG86) */ 115*f126890aSEmmanuel Vadot >; 116*f126890aSEmmanuel Vadot }; 117*f126890aSEmmanuel Vadot uart3_pmx_idle: uart3-idle-pins { 118*f126890aSEmmanuel Vadot pinctrl-single,pins = < 119*f126890aSEmmanuel Vadot 0x160 0x1 /* GPIO (IOMG85) */ 120*f126890aSEmmanuel Vadot 0x164 0x1 /* GPIO (IOMG86) */ 121*f126890aSEmmanuel Vadot >; 122*f126890aSEmmanuel Vadot }; 123*f126890aSEmmanuel Vadot uart4_pmx_func: uart4-pins { 124*f126890aSEmmanuel Vadot pinctrl-single,pins = < 125*f126890aSEmmanuel Vadot 0x168 0x0 /* UART4_CTS & UART4_RTS (IOMG87) */ 126*f126890aSEmmanuel Vadot 0x16c 0x0 /* UART4_RXD (IOMG88) */ 127*f126890aSEmmanuel Vadot 0x170 0x0 /* UART4_TXD (IOMG93) */ 128*f126890aSEmmanuel Vadot >; 129*f126890aSEmmanuel Vadot }; 130*f126890aSEmmanuel Vadot uart4_pmx_idle: uart4-idle-pins { 131*f126890aSEmmanuel Vadot pinctrl-single,pins = < 132*f126890aSEmmanuel Vadot 0x168 0x1 /* GPIO (IOMG87) */ 133*f126890aSEmmanuel Vadot 0x16c 0x1 /* GPIO (IOMG88) */ 134*f126890aSEmmanuel Vadot 0x170 0x1 /* GPIO (IOMG93) */ 135*f126890aSEmmanuel Vadot >; 136*f126890aSEmmanuel Vadot }; 137*f126890aSEmmanuel Vadot i2c0_pmx_func: i2c0-pins { 138*f126890aSEmmanuel Vadot pinctrl-single,pins = < 139*f126890aSEmmanuel Vadot 0x0b4 0x0 /* I2C0_SCL & I2C0_SDA (IOMG45) */ 140*f126890aSEmmanuel Vadot >; 141*f126890aSEmmanuel Vadot }; 142*f126890aSEmmanuel Vadot i2c0_pmx_idle: i2c0-idle-pins { 143*f126890aSEmmanuel Vadot pinctrl-single,pins = < 144*f126890aSEmmanuel Vadot 0x0b4 0x1 /* GPIO (IOMG45) */ 145*f126890aSEmmanuel Vadot >; 146*f126890aSEmmanuel Vadot }; 147*f126890aSEmmanuel Vadot i2c1_pmx_func: i2c1-pins { 148*f126890aSEmmanuel Vadot pinctrl-single,pins = < 149*f126890aSEmmanuel Vadot 0x0b8 0x0 /* I2C1_SCL & I2C1_SDA (IOMG46) */ 150*f126890aSEmmanuel Vadot >; 151*f126890aSEmmanuel Vadot }; 152*f126890aSEmmanuel Vadot i2c1_pmx_idle: i2c1-idle-pins { 153*f126890aSEmmanuel Vadot pinctrl-single,pins = < 154*f126890aSEmmanuel Vadot 0x0b8 0x1 /* GPIO (IOMG46) */ 155*f126890aSEmmanuel Vadot >; 156*f126890aSEmmanuel Vadot }; 157*f126890aSEmmanuel Vadot i2c2_pmx_func: i2c2-pins { 158*f126890aSEmmanuel Vadot pinctrl-single,pins = < 159*f126890aSEmmanuel Vadot 0x068 0x0 /* I2C2_SCL (IOMG26) */ 160*f126890aSEmmanuel Vadot 0x06c 0x0 /* I2C2_SDA (IOMG27) */ 161*f126890aSEmmanuel Vadot >; 162*f126890aSEmmanuel Vadot }; 163*f126890aSEmmanuel Vadot i2c2_pmx_idle: i2c2-idle-pins { 164*f126890aSEmmanuel Vadot pinctrl-single,pins = < 165*f126890aSEmmanuel Vadot 0x068 0x1 /* GPIO (IOMG26) */ 166*f126890aSEmmanuel Vadot 0x06c 0x1 /* GPIO (IOMG27) */ 167*f126890aSEmmanuel Vadot >; 168*f126890aSEmmanuel Vadot }; 169*f126890aSEmmanuel Vadot i2c3_pmx_func: i2c3-pins { 170*f126890aSEmmanuel Vadot pinctrl-single,pins = < 171*f126890aSEmmanuel Vadot 0x050 0x2 /* I2C3_SCL (IOMG20) */ 172*f126890aSEmmanuel Vadot 0x054 0x2 /* I2C3_SDA (IOMG21) */ 173*f126890aSEmmanuel Vadot >; 174*f126890aSEmmanuel Vadot }; 175*f126890aSEmmanuel Vadot i2c3_pmx_idle: i2c3-idle-pins { 176*f126890aSEmmanuel Vadot pinctrl-single,pins = < 177*f126890aSEmmanuel Vadot 0x050 0x1 /* GPIO (IOMG20) */ 178*f126890aSEmmanuel Vadot 0x054 0x1 /* GPIO (IOMG21) */ 179*f126890aSEmmanuel Vadot >; 180*f126890aSEmmanuel Vadot }; 181*f126890aSEmmanuel Vadot spi0_pmx_func: spi0-pins { 182*f126890aSEmmanuel Vadot pinctrl-single,pins = < 183*f126890aSEmmanuel Vadot 0x0d4 0x0 /* SPI0_CLK/SPI0_DI/SPI0_DO (IOMG53) */ 184*f126890aSEmmanuel Vadot 0x0d8 0x0 /* SPI0_CS0 (IOMG54) */ 185*f126890aSEmmanuel Vadot 0x0dc 0x0 /* SPI0_CS1 (IOMG55) */ 186*f126890aSEmmanuel Vadot 0x0e0 0x0 /* SPI0_CS2 (IOMG56) */ 187*f126890aSEmmanuel Vadot 0x0e4 0x0 /* SPI0_CS3 (IOMG57) */ 188*f126890aSEmmanuel Vadot >; 189*f126890aSEmmanuel Vadot }; 190*f126890aSEmmanuel Vadot spi0_pmx_idle: spi0-idle-pins { 191*f126890aSEmmanuel Vadot pinctrl-single,pins = < 192*f126890aSEmmanuel Vadot 0x0d4 0x1 /* GPIO (IOMG53) */ 193*f126890aSEmmanuel Vadot 0x0d8 0x1 /* GPIO (IOMG54) */ 194*f126890aSEmmanuel Vadot 0x0dc 0x1 /* GPIO (IOMG55) */ 195*f126890aSEmmanuel Vadot 0x0e0 0x1 /* GPIO (IOMG56) */ 196*f126890aSEmmanuel Vadot 0x0e4 0x1 /* GPIO (IOMG57) */ 197*f126890aSEmmanuel Vadot >; 198*f126890aSEmmanuel Vadot }; 199*f126890aSEmmanuel Vadot spi1_pmx_func: spi1-pins { 200*f126890aSEmmanuel Vadot pinctrl-single,pins = < 201*f126890aSEmmanuel Vadot 0x184 0x0 /* SPI1_CLK/SPI1_DI (IOMG98) */ 202*f126890aSEmmanuel Vadot 0x0e8 0x0 /* SPI1_DO (IOMG58) */ 203*f126890aSEmmanuel Vadot 0x0ec 0x0 /* SPI1_CS (IOMG95) */ 204*f126890aSEmmanuel Vadot >; 205*f126890aSEmmanuel Vadot }; 206*f126890aSEmmanuel Vadot spi1_pmx_idle: spi1-idle-pins { 207*f126890aSEmmanuel Vadot pinctrl-single,pins = < 208*f126890aSEmmanuel Vadot 0x184 0x1 /* GPIO (IOMG98) */ 209*f126890aSEmmanuel Vadot 0x0e8 0x1 /* GPIO (IOMG58) */ 210*f126890aSEmmanuel Vadot 0x0ec 0x1 /* GPIO (IOMG95) */ 211*f126890aSEmmanuel Vadot >; 212*f126890aSEmmanuel Vadot }; 213*f126890aSEmmanuel Vadot kpc_pmx_func: kpc-pins { 214*f126890aSEmmanuel Vadot pinctrl-single,pins = < 215*f126890aSEmmanuel Vadot 0x12c 0x0 /* KEY_IN0 (IOMG73) */ 216*f126890aSEmmanuel Vadot 0x130 0x0 /* KEY_IN1 (IOMG74) */ 217*f126890aSEmmanuel Vadot 0x134 0x0 /* KEY_IN2 (IOMG75) */ 218*f126890aSEmmanuel Vadot 0x10c 0x0 /* KEY_OUT0 (IOMG65) */ 219*f126890aSEmmanuel Vadot 0x110 0x0 /* KEY_OUT1 (IOMG66) */ 220*f126890aSEmmanuel Vadot 0x114 0x0 /* KEY_OUT2 (IOMG67) */ 221*f126890aSEmmanuel Vadot >; 222*f126890aSEmmanuel Vadot }; 223*f126890aSEmmanuel Vadot kpc_pmx_idle: kpc-idle-pins { 224*f126890aSEmmanuel Vadot pinctrl-single,pins = < 225*f126890aSEmmanuel Vadot 0x12c 0x1 /* GPIO (IOMG73) */ 226*f126890aSEmmanuel Vadot 0x130 0x1 /* GPIO (IOMG74) */ 227*f126890aSEmmanuel Vadot 0x134 0x1 /* GPIO (IOMG75) */ 228*f126890aSEmmanuel Vadot 0x10c 0x1 /* GPIO (IOMG65) */ 229*f126890aSEmmanuel Vadot 0x110 0x1 /* GPIO (IOMG66) */ 230*f126890aSEmmanuel Vadot 0x114 0x1 /* GPIO (IOMG67) */ 231*f126890aSEmmanuel Vadot >; 232*f126890aSEmmanuel Vadot }; 233*f126890aSEmmanuel Vadot gpio_key_func: gpio-key-pins { 234*f126890aSEmmanuel Vadot pinctrl-single,pins = < 235*f126890aSEmmanuel Vadot 0x10c 0x1 /* KEY_OUT0/GPIO (IOMG65) */ 236*f126890aSEmmanuel Vadot 0x130 0x1 /* KEY_IN1/GPIO (IOMG74) */ 237*f126890aSEmmanuel Vadot >; 238*f126890aSEmmanuel Vadot }; 239*f126890aSEmmanuel Vadot emmc_pmx_func: emmc-pins { 240*f126890aSEmmanuel Vadot pinctrl-single,pins = < 241*f126890aSEmmanuel Vadot 0x030 0x2 /* eMMC_CMD/eMMC_CLK (IOMG12) */ 242*f126890aSEmmanuel Vadot 0x018 0x0 /* NAND_CS3_N (IOMG6) */ 243*f126890aSEmmanuel Vadot 0x024 0x0 /* NAND_BUSY2_N (IOMG8) */ 244*f126890aSEmmanuel Vadot 0x028 0x0 /* NAND_BUSY3_N (IOMG9) */ 245*f126890aSEmmanuel Vadot 0x02c 0x2 /* eMMC_DATA[0:7] (IOMG10) */ 246*f126890aSEmmanuel Vadot >; 247*f126890aSEmmanuel Vadot }; 248*f126890aSEmmanuel Vadot emmc_pmx_idle: emmc-idle-pins { 249*f126890aSEmmanuel Vadot pinctrl-single,pins = < 250*f126890aSEmmanuel Vadot 0x030 0x0 /* GPIO (IOMG12) */ 251*f126890aSEmmanuel Vadot 0x018 0x1 /* GPIO (IOMG6) */ 252*f126890aSEmmanuel Vadot 0x024 0x1 /* GPIO (IOMG8) */ 253*f126890aSEmmanuel Vadot 0x028 0x1 /* GPIO (IOMG9) */ 254*f126890aSEmmanuel Vadot 0x02c 0x1 /* GPIO (IOMG10) */ 255*f126890aSEmmanuel Vadot >; 256*f126890aSEmmanuel Vadot }; 257*f126890aSEmmanuel Vadot sd_pmx_func: sd-pins { 258*f126890aSEmmanuel Vadot pinctrl-single,pins = < 259*f126890aSEmmanuel Vadot 0x0bc 0x0 /* SD_CLK/SD_CMD/SD_DATA0/SD_DATA1/SD_DATA2 (IOMG47) */ 260*f126890aSEmmanuel Vadot 0x0c0 0x0 /* SD_DATA3 (IOMG48) */ 261*f126890aSEmmanuel Vadot >; 262*f126890aSEmmanuel Vadot }; 263*f126890aSEmmanuel Vadot sd_pmx_idle: sd-idle-pins { 264*f126890aSEmmanuel Vadot pinctrl-single,pins = < 265*f126890aSEmmanuel Vadot 0x0bc 0x1 /* GPIO (IOMG47) */ 266*f126890aSEmmanuel Vadot 0x0c0 0x1 /* GPIO (IOMG48) */ 267*f126890aSEmmanuel Vadot >; 268*f126890aSEmmanuel Vadot }; 269*f126890aSEmmanuel Vadot nand_pmx_func: nand-pins { 270*f126890aSEmmanuel Vadot pinctrl-single,pins = < 271*f126890aSEmmanuel Vadot 0x00c 0x0 /* NAND_ALE/NAND_CLE/.../NAND_DATA[0:7] (IOMG3) */ 272*f126890aSEmmanuel Vadot 0x010 0x0 /* NAND_CS1_N (IOMG4) */ 273*f126890aSEmmanuel Vadot 0x014 0x0 /* NAND_CS2_N (IOMG5) */ 274*f126890aSEmmanuel Vadot 0x018 0x0 /* NAND_CS3_N (IOMG6) */ 275*f126890aSEmmanuel Vadot 0x01c 0x0 /* NAND_BUSY0_N (IOMG94) */ 276*f126890aSEmmanuel Vadot 0x020 0x0 /* NAND_BUSY1_N (IOMG7) */ 277*f126890aSEmmanuel Vadot 0x024 0x0 /* NAND_BUSY2_N (IOMG8) */ 278*f126890aSEmmanuel Vadot 0x028 0x0 /* NAND_BUSY3_N (IOMG9) */ 279*f126890aSEmmanuel Vadot 0x02c 0x0 /* NAND_DATA[8:15] (IOMG10) */ 280*f126890aSEmmanuel Vadot >; 281*f126890aSEmmanuel Vadot }; 282*f126890aSEmmanuel Vadot nand_pmx_idle: nand-idle-pins { 283*f126890aSEmmanuel Vadot pinctrl-single,pins = < 284*f126890aSEmmanuel Vadot 0x00c 0x1 /* GPIO (IOMG3) */ 285*f126890aSEmmanuel Vadot 0x010 0x1 /* GPIO (IOMG4) */ 286*f126890aSEmmanuel Vadot 0x014 0x1 /* GPIO (IOMG5) */ 287*f126890aSEmmanuel Vadot 0x018 0x1 /* GPIO (IOMG6) */ 288*f126890aSEmmanuel Vadot 0x01c 0x1 /* GPIO (IOMG94) */ 289*f126890aSEmmanuel Vadot 0x020 0x1 /* GPIO (IOMG7) */ 290*f126890aSEmmanuel Vadot 0x024 0x1 /* GPIO (IOMG8) */ 291*f126890aSEmmanuel Vadot 0x028 0x1 /* GPIO (IOMG9) */ 292*f126890aSEmmanuel Vadot 0x02c 0x1 /* GPIO (IOMG10) */ 293*f126890aSEmmanuel Vadot >; 294*f126890aSEmmanuel Vadot }; 295*f126890aSEmmanuel Vadot sdio_pmx_func: sdio-pins { 296*f126890aSEmmanuel Vadot pinctrl-single,pins = < 297*f126890aSEmmanuel Vadot 0x0c4 0x0 /* SDIO_CLK/SDIO_CMD/SDIO_DATA[0:3] (IOMG49) */ 298*f126890aSEmmanuel Vadot >; 299*f126890aSEmmanuel Vadot }; 300*f126890aSEmmanuel Vadot sdio_pmx_idle: sdio-idle-pins { 301*f126890aSEmmanuel Vadot pinctrl-single,pins = < 302*f126890aSEmmanuel Vadot 0x0c4 0x1 /* GPIO (IOMG49) */ 303*f126890aSEmmanuel Vadot >; 304*f126890aSEmmanuel Vadot }; 305*f126890aSEmmanuel Vadot audio_out_pmx_func: audio-out-pins { 306*f126890aSEmmanuel Vadot pinctrl-single,pins = < 307*f126890aSEmmanuel Vadot 0x0f0 0x1 /* GPIO (IOMG59), audio spk & earphone */ 308*f126890aSEmmanuel Vadot >; 309*f126890aSEmmanuel Vadot }; 310*f126890aSEmmanuel Vadot }; 311*f126890aSEmmanuel Vadot 312*f126890aSEmmanuel Vadot pmx1: pinmux@803800 { 313*f126890aSEmmanuel Vadot pinctrl-names = "default"; 314*f126890aSEmmanuel Vadot pinctrl-0 = < &board_pu_pins &board_pd_pins &board_pd_ps_pins 315*f126890aSEmmanuel Vadot &board_np_pins &board_ps_pins &kpc_cfg_func 316*f126890aSEmmanuel Vadot &audio_out_cfg_func>; 317*f126890aSEmmanuel Vadot board_pu_pins: board-pu-pins { 318*f126890aSEmmanuel Vadot pinctrl-single,pins = < 319*f126890aSEmmanuel Vadot 0x014 0 /* GPIO_158 (IOCFG2) */ 320*f126890aSEmmanuel Vadot 0x018 0 /* GPIO_159 (IOCFG3) */ 321*f126890aSEmmanuel Vadot 0x01c 0 /* BOOT_MODE0 (IOCFG4) */ 322*f126890aSEmmanuel Vadot 0x020 0 /* BOOT_MODE1 (IOCFG5) */ 323*f126890aSEmmanuel Vadot >; 324*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 325*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <1 1 0 1>; 326*f126890aSEmmanuel Vadot }; 327*f126890aSEmmanuel Vadot board_pd_pins: board-pd-pins { 328*f126890aSEmmanuel Vadot pinctrl-single,pins = < 329*f126890aSEmmanuel Vadot 0x038 0 /* eFUSE_DOUT (IOCFG11) */ 330*f126890aSEmmanuel Vadot 0x150 0 /* ISP_GPIO8 (IOCFG93) */ 331*f126890aSEmmanuel Vadot 0x154 0 /* ISP_GPIO9 (IOCFG94) */ 332*f126890aSEmmanuel Vadot >; 333*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <2 2 0 2>; 334*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 335*f126890aSEmmanuel Vadot }; 336*f126890aSEmmanuel Vadot board_pd_ps_pins: board-pd-ps-pins { 337*f126890aSEmmanuel Vadot pinctrl-single,pins = < 338*f126890aSEmmanuel Vadot 0x2d8 0 /* CLK_OUT0 (IOCFG190) */ 339*f126890aSEmmanuel Vadot 0x004 0 /* PMU_SPI_DATA (IOCFG192) */ 340*f126890aSEmmanuel Vadot >; 341*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <2 2 0 2>; 342*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 343*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 344*f126890aSEmmanuel Vadot }; 345*f126890aSEmmanuel Vadot board_np_pins: board-np-pins { 346*f126890aSEmmanuel Vadot pinctrl-single,pins = < 347*f126890aSEmmanuel Vadot 0x24c 0 /* KEYPAD_OUT7 (IOCFG155) */ 348*f126890aSEmmanuel Vadot >; 349*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 350*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 351*f126890aSEmmanuel Vadot }; 352*f126890aSEmmanuel Vadot board_ps_pins: board-ps-pins { 353*f126890aSEmmanuel Vadot pinctrl-single,pins = < 354*f126890aSEmmanuel Vadot 0x000 0 /* PMU_SPI_CLK (IOCFG191) */ 355*f126890aSEmmanuel Vadot 0x008 0 /* PMU_SPI_CS_N (IOCFG193) */ 356*f126890aSEmmanuel Vadot >; 357*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 358*f126890aSEmmanuel Vadot }; 359*f126890aSEmmanuel Vadot uart0_cfg_func: uart0-cfg-pins { 360*f126890aSEmmanuel Vadot pinctrl-single,pins = < 361*f126890aSEmmanuel Vadot 0x208 0 /* UART0_RXD (IOCFG138) */ 362*f126890aSEmmanuel Vadot 0x20c 0 /* UART0_TXD (IOCFG139) */ 363*f126890aSEmmanuel Vadot >; 364*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 365*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 366*f126890aSEmmanuel Vadot }; 367*f126890aSEmmanuel Vadot uart0_cfg_idle: uart0-cfg-idle-pins { 368*f126890aSEmmanuel Vadot pinctrl-single,pins = < 369*f126890aSEmmanuel Vadot 0x208 0 /* UART0_RXD (IOCFG138) */ 370*f126890aSEmmanuel Vadot 0x20c 0 /* UART0_TXD (IOCFG139) */ 371*f126890aSEmmanuel Vadot >; 372*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <2 2 0 2>; 373*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 374*f126890aSEmmanuel Vadot }; 375*f126890aSEmmanuel Vadot uart1_cfg_func: uart1-cfg-pins { 376*f126890aSEmmanuel Vadot pinctrl-single,pins = < 377*f126890aSEmmanuel Vadot 0x210 0 /* UART1_CTS (IOCFG140) */ 378*f126890aSEmmanuel Vadot 0x214 0 /* UART1_RTS (IOCFG141) */ 379*f126890aSEmmanuel Vadot 0x218 0 /* UART1_RXD (IOCFG142) */ 380*f126890aSEmmanuel Vadot 0x21c 0 /* UART1_TXD (IOCFG143) */ 381*f126890aSEmmanuel Vadot >; 382*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 383*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 384*f126890aSEmmanuel Vadot }; 385*f126890aSEmmanuel Vadot uart1_cfg_idle: uart1-cfg-idle-pins { 386*f126890aSEmmanuel Vadot pinctrl-single,pins = < 387*f126890aSEmmanuel Vadot 0x210 0 /* UART1_CTS (IOCFG140) */ 388*f126890aSEmmanuel Vadot 0x214 0 /* UART1_RTS (IOCFG141) */ 389*f126890aSEmmanuel Vadot 0x218 0 /* UART1_RXD (IOCFG142) */ 390*f126890aSEmmanuel Vadot 0x21c 0 /* UART1_TXD (IOCFG143) */ 391*f126890aSEmmanuel Vadot >; 392*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <2 2 0 2>; 393*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 394*f126890aSEmmanuel Vadot }; 395*f126890aSEmmanuel Vadot uart2_cfg_func: uart2-cfg-pins { 396*f126890aSEmmanuel Vadot pinctrl-single,pins = < 397*f126890aSEmmanuel Vadot 0x220 0 /* UART2_CTS (IOCFG144) */ 398*f126890aSEmmanuel Vadot 0x224 0 /* UART2_RTS (IOCFG145) */ 399*f126890aSEmmanuel Vadot 0x228 0 /* UART2_RXD (IOCFG146) */ 400*f126890aSEmmanuel Vadot 0x22c 0 /* UART2_TXD (IOCFG147) */ 401*f126890aSEmmanuel Vadot >; 402*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 403*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 404*f126890aSEmmanuel Vadot }; 405*f126890aSEmmanuel Vadot uart2_cfg_idle: uart2-cfg-idle-pins { 406*f126890aSEmmanuel Vadot pinctrl-single,pins = < 407*f126890aSEmmanuel Vadot 0x220 0 /* GPIO (IOCFG144) */ 408*f126890aSEmmanuel Vadot 0x224 0 /* GPIO (IOCFG145) */ 409*f126890aSEmmanuel Vadot 0x228 0 /* GPIO (IOCFG146) */ 410*f126890aSEmmanuel Vadot 0x22c 0 /* GPIO (IOCFG147) */ 411*f126890aSEmmanuel Vadot >; 412*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <2 2 0 2>; 413*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 414*f126890aSEmmanuel Vadot }; 415*f126890aSEmmanuel Vadot uart3_cfg_func: uart3-cfg-pins { 416*f126890aSEmmanuel Vadot pinctrl-single,pins = < 417*f126890aSEmmanuel Vadot 0x294 0 /* UART3_CTS (IOCFG173) */ 418*f126890aSEmmanuel Vadot 0x298 0 /* UART3_RTS (IOCFG174) */ 419*f126890aSEmmanuel Vadot 0x29c 0 /* UART3_RXD (IOCFG175) */ 420*f126890aSEmmanuel Vadot 0x2a0 0 /* UART3_TXD (IOCFG176) */ 421*f126890aSEmmanuel Vadot >; 422*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 423*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 424*f126890aSEmmanuel Vadot }; 425*f126890aSEmmanuel Vadot uart3_cfg_idle: uart3-cfg-idle-pins { 426*f126890aSEmmanuel Vadot pinctrl-single,pins = < 427*f126890aSEmmanuel Vadot 0x294 0 /* UART3_CTS (IOCFG173) */ 428*f126890aSEmmanuel Vadot 0x298 0 /* UART3_RTS (IOCFG174) */ 429*f126890aSEmmanuel Vadot 0x29c 0 /* UART3_RXD (IOCFG175) */ 430*f126890aSEmmanuel Vadot 0x2a0 0 /* UART3_TXD (IOCFG176) */ 431*f126890aSEmmanuel Vadot >; 432*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <2 2 0 2>; 433*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 434*f126890aSEmmanuel Vadot }; 435*f126890aSEmmanuel Vadot uart4_cfg_func: uart4-cfg-pins { 436*f126890aSEmmanuel Vadot pinctrl-single,pins = < 437*f126890aSEmmanuel Vadot 0x2a4 0 /* UART4_CTS (IOCFG177) */ 438*f126890aSEmmanuel Vadot 0x2a8 0 /* UART4_RTS (IOCFG178) */ 439*f126890aSEmmanuel Vadot 0x2ac 0 /* UART4_RXD (IOCFG179) */ 440*f126890aSEmmanuel Vadot 0x2b0 0 /* UART4_TXD (IOCFG180) */ 441*f126890aSEmmanuel Vadot >; 442*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 443*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 444*f126890aSEmmanuel Vadot }; 445*f126890aSEmmanuel Vadot i2c0_cfg_func: i2c0-cfg-pins { 446*f126890aSEmmanuel Vadot pinctrl-single,pins = < 447*f126890aSEmmanuel Vadot 0x17c 0 /* I2C0_SCL (IOCFG103) */ 448*f126890aSEmmanuel Vadot 0x180 0 /* I2C0_SDA (IOCFG104) */ 449*f126890aSEmmanuel Vadot >; 450*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 451*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 452*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 453*f126890aSEmmanuel Vadot }; 454*f126890aSEmmanuel Vadot i2c1_cfg_func: i2c1-cfg-pins { 455*f126890aSEmmanuel Vadot pinctrl-single,pins = < 456*f126890aSEmmanuel Vadot 0x184 0 /* I2C1_SCL (IOCFG105) */ 457*f126890aSEmmanuel Vadot 0x188 0 /* I2C1_SDA (IOCFG106) */ 458*f126890aSEmmanuel Vadot >; 459*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 460*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 461*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 462*f126890aSEmmanuel Vadot }; 463*f126890aSEmmanuel Vadot i2c2_cfg_func: i2c2-cfg-pins { 464*f126890aSEmmanuel Vadot pinctrl-single,pins = < 465*f126890aSEmmanuel Vadot 0x118 0 /* I2C2_SCL (IOCFG79) */ 466*f126890aSEmmanuel Vadot 0x11c 0 /* I2C2_SDA (IOCFG80) */ 467*f126890aSEmmanuel Vadot >; 468*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 469*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 470*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 471*f126890aSEmmanuel Vadot }; 472*f126890aSEmmanuel Vadot i2c3_cfg_func: i2c3-cfg-pins { 473*f126890aSEmmanuel Vadot pinctrl-single,pins = < 474*f126890aSEmmanuel Vadot 0x100 0 /* I2C3_SCL (IOCFG73) */ 475*f126890aSEmmanuel Vadot 0x104 0 /* I2C3_SDA (IOCFG74) */ 476*f126890aSEmmanuel Vadot >; 477*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 478*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 479*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 480*f126890aSEmmanuel Vadot }; 481*f126890aSEmmanuel Vadot spi0_cfg_func1: spi0-cfg-func1-pins { 482*f126890aSEmmanuel Vadot pinctrl-single,pins = < 483*f126890aSEmmanuel Vadot 0x1d4 0 /* SPI0_CLK (IOCFG125) */ 484*f126890aSEmmanuel Vadot 0x1d8 0 /* SPI0_DI (IOCFG126) */ 485*f126890aSEmmanuel Vadot 0x1dc 0 /* SPI0_DO (IOCFG127) */ 486*f126890aSEmmanuel Vadot >; 487*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <2 2 0 2>; 488*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 489*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 490*f126890aSEmmanuel Vadot }; 491*f126890aSEmmanuel Vadot spi0_cfg_func2: spi0-cfg-func2-pins { 492*f126890aSEmmanuel Vadot pinctrl-single,pins = < 493*f126890aSEmmanuel Vadot 0x1e0 0 /* SPI0_CS0 (IOCFG128) */ 494*f126890aSEmmanuel Vadot 0x1e4 0 /* SPI0_CS1 (IOCFG129) */ 495*f126890aSEmmanuel Vadot 0x1e8 0 /* SPI0_CS2 (IOCFG130 */ 496*f126890aSEmmanuel Vadot 0x1ec 0 /* SPI0_CS3 (IOCFG131) */ 497*f126890aSEmmanuel Vadot >; 498*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 499*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <1 1 0 1>; 500*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 501*f126890aSEmmanuel Vadot }; 502*f126890aSEmmanuel Vadot spi1_cfg_func1: spi1-cfg-func1-pins { 503*f126890aSEmmanuel Vadot pinctrl-single,pins = < 504*f126890aSEmmanuel Vadot 0x1f0 0 /* SPI1_CLK (IOCFG132) */ 505*f126890aSEmmanuel Vadot 0x1f4 0 /* SPI1_DI (IOCFG133) */ 506*f126890aSEmmanuel Vadot 0x1f8 0 /* SPI1_DO (IOCFG134) */ 507*f126890aSEmmanuel Vadot >; 508*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <2 2 0 2>; 509*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 510*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 511*f126890aSEmmanuel Vadot }; 512*f126890aSEmmanuel Vadot spi1_cfg_func2: spi1-cfg-func2-pins { 513*f126890aSEmmanuel Vadot pinctrl-single,pins = < 514*f126890aSEmmanuel Vadot 0x1fc 0 /* SPI1_CS (IOCFG135) */ 515*f126890aSEmmanuel Vadot >; 516*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 517*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <1 1 0 1>; 518*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 519*f126890aSEmmanuel Vadot }; 520*f126890aSEmmanuel Vadot kpc_cfg_func: kpc-cfg-pins { 521*f126890aSEmmanuel Vadot pinctrl-single,pins = < 522*f126890aSEmmanuel Vadot 0x250 0 /* KEY_IN0 (IOCFG156) */ 523*f126890aSEmmanuel Vadot 0x254 0 /* KEY_IN1 (IOCFG157) */ 524*f126890aSEmmanuel Vadot 0x258 0 /* KEY_IN2 (IOCFG158) */ 525*f126890aSEmmanuel Vadot 0x230 0 /* KEY_OUT0 (IOCFG148) */ 526*f126890aSEmmanuel Vadot 0x234 0 /* KEY_OUT1 (IOCFG149) */ 527*f126890aSEmmanuel Vadot 0x238 0 /* KEY_OUT2 (IOCFG150) */ 528*f126890aSEmmanuel Vadot >; 529*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <2 2 0 2>; 530*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 531*f126890aSEmmanuel Vadot }; 532*f126890aSEmmanuel Vadot emmc_cfg_func: emmc-cfg-pins { 533*f126890aSEmmanuel Vadot pinctrl-single,pins = < 534*f126890aSEmmanuel Vadot 0x0ac 0 /* eMMC_CMD (IOCFG40) */ 535*f126890aSEmmanuel Vadot 0x0b0 0 /* eMMC_CLK (IOCFG41) */ 536*f126890aSEmmanuel Vadot 0x058 0 /* NAND_CS3_N (IOCFG19) */ 537*f126890aSEmmanuel Vadot 0x064 0 /* NAND_BUSY2_N (IOCFG22) */ 538*f126890aSEmmanuel Vadot 0x068 0 /* NAND_BUSY3_N (IOCFG23) */ 539*f126890aSEmmanuel Vadot 0x08c 0 /* NAND_DATA8 (IOCFG32) */ 540*f126890aSEmmanuel Vadot 0x090 0 /* NAND_DATA9 (IOCFG33) */ 541*f126890aSEmmanuel Vadot 0x094 0 /* NAND_DATA10 (IOCFG34) */ 542*f126890aSEmmanuel Vadot 0x098 0 /* NAND_DATA11 (IOCFG35) */ 543*f126890aSEmmanuel Vadot 0x09c 0 /* NAND_DATA12 (IOCFG36) */ 544*f126890aSEmmanuel Vadot 0x0a0 0 /* NAND_DATA13 (IOCFG37) */ 545*f126890aSEmmanuel Vadot 0x0a4 0 /* NAND_DATA14 (IOCFG38) */ 546*f126890aSEmmanuel Vadot 0x0a8 0 /* NAND_DATA15 (IOCFG39) */ 547*f126890aSEmmanuel Vadot >; 548*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 549*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <1 1 0 1>; 550*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 551*f126890aSEmmanuel Vadot }; 552*f126890aSEmmanuel Vadot sd_cfg_func1: sd-cfg-func1-pins { 553*f126890aSEmmanuel Vadot pinctrl-single,pins = < 554*f126890aSEmmanuel Vadot 0x18c 0 /* SD_CLK (IOCFG107) */ 555*f126890aSEmmanuel Vadot 0x190 0 /* SD_CMD (IOCFG108) */ 556*f126890aSEmmanuel Vadot >; 557*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <2 2 0 2>; 558*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 559*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 560*f126890aSEmmanuel Vadot }; 561*f126890aSEmmanuel Vadot sd_cfg_func2: sd-cfg-func2-pins { 562*f126890aSEmmanuel Vadot pinctrl-single,pins = < 563*f126890aSEmmanuel Vadot 0x194 0 /* SD_DATA0 (IOCFG109) */ 564*f126890aSEmmanuel Vadot 0x198 0 /* SD_DATA1 (IOCFG110) */ 565*f126890aSEmmanuel Vadot 0x19c 0 /* SD_DATA2 (IOCFG111) */ 566*f126890aSEmmanuel Vadot 0x1a0 0 /* SD_DATA3 (IOCFG112) */ 567*f126890aSEmmanuel Vadot >; 568*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <2 2 0 2>; 569*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 570*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x70 0xf0>; 571*f126890aSEmmanuel Vadot }; 572*f126890aSEmmanuel Vadot nand_cfg_func1: nand-cfg-func1-pins { 573*f126890aSEmmanuel Vadot pinctrl-single,pins = < 574*f126890aSEmmanuel Vadot 0x03c 0 /* NAND_ALE (IOCFG12) */ 575*f126890aSEmmanuel Vadot 0x040 0 /* NAND_CLE (IOCFG13) */ 576*f126890aSEmmanuel Vadot 0x06c 0 /* NAND_DATA0 (IOCFG24) */ 577*f126890aSEmmanuel Vadot 0x070 0 /* NAND_DATA1 (IOCFG25) */ 578*f126890aSEmmanuel Vadot 0x074 0 /* NAND_DATA2 (IOCFG26) */ 579*f126890aSEmmanuel Vadot 0x078 0 /* NAND_DATA3 (IOCFG27) */ 580*f126890aSEmmanuel Vadot 0x07c 0 /* NAND_DATA4 (IOCFG28) */ 581*f126890aSEmmanuel Vadot 0x080 0 /* NAND_DATA5 (IOCFG29) */ 582*f126890aSEmmanuel Vadot 0x084 0 /* NAND_DATA6 (IOCFG30) */ 583*f126890aSEmmanuel Vadot 0x088 0 /* NAND_DATA7 (IOCFG31) */ 584*f126890aSEmmanuel Vadot 0x08c 0 /* NAND_DATA8 (IOCFG32) */ 585*f126890aSEmmanuel Vadot 0x090 0 /* NAND_DATA9 (IOCFG33) */ 586*f126890aSEmmanuel Vadot 0x094 0 /* NAND_DATA10 (IOCFG34) */ 587*f126890aSEmmanuel Vadot 0x098 0 /* NAND_DATA11 (IOCFG35) */ 588*f126890aSEmmanuel Vadot 0x09c 0 /* NAND_DATA12 (IOCFG36) */ 589*f126890aSEmmanuel Vadot 0x0a0 0 /* NAND_DATA13 (IOCFG37) */ 590*f126890aSEmmanuel Vadot 0x0a4 0 /* NAND_DATA14 (IOCFG38) */ 591*f126890aSEmmanuel Vadot 0x0a8 0 /* NAND_DATA15 (IOCFG39) */ 592*f126890aSEmmanuel Vadot >; 593*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <2 2 0 2>; 594*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 595*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 596*f126890aSEmmanuel Vadot }; 597*f126890aSEmmanuel Vadot nand_cfg_func2: nand-cfg-func2-pins { 598*f126890aSEmmanuel Vadot pinctrl-single,pins = < 599*f126890aSEmmanuel Vadot 0x044 0 /* NAND_RE_N (IOCFG14) */ 600*f126890aSEmmanuel Vadot 0x048 0 /* NAND_WE_N (IOCFG15) */ 601*f126890aSEmmanuel Vadot 0x04c 0 /* NAND_CS0_N (IOCFG16) */ 602*f126890aSEmmanuel Vadot 0x050 0 /* NAND_CS1_N (IOCFG17) */ 603*f126890aSEmmanuel Vadot 0x054 0 /* NAND_CS2_N (IOCFG18) */ 604*f126890aSEmmanuel Vadot 0x058 0 /* NAND_CS3_N (IOCFG19) */ 605*f126890aSEmmanuel Vadot 0x05c 0 /* NAND_BUSY0_N (IOCFG20) */ 606*f126890aSEmmanuel Vadot 0x060 0 /* NAND_BUSY1_N (IOCFG21) */ 607*f126890aSEmmanuel Vadot 0x064 0 /* NAND_BUSY2_N (IOCFG22) */ 608*f126890aSEmmanuel Vadot 0x068 0 /* NAND_BUSY3_N (IOCFG23) */ 609*f126890aSEmmanuel Vadot >; 610*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <0 2 0 2>; 611*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <1 1 0 1>; 612*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 613*f126890aSEmmanuel Vadot }; 614*f126890aSEmmanuel Vadot sdio_cfg_func: sdio-cfg-pins { 615*f126890aSEmmanuel Vadot pinctrl-single,pins = < 616*f126890aSEmmanuel Vadot 0x1a4 0 /* SDIO0_CLK (IOCG113) */ 617*f126890aSEmmanuel Vadot 0x1a8 0 /* SDIO0_CMD (IOCG114) */ 618*f126890aSEmmanuel Vadot 0x1ac 0 /* SDIO0_DATA0 (IOCG115) */ 619*f126890aSEmmanuel Vadot 0x1b0 0 /* SDIO0_DATA1 (IOCG116) */ 620*f126890aSEmmanuel Vadot 0x1b4 0 /* SDIO0_DATA2 (IOCG117) */ 621*f126890aSEmmanuel Vadot 0x1b8 0 /* SDIO0_DATA3 (IOCG118) */ 622*f126890aSEmmanuel Vadot >; 623*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <2 2 0 2>; 624*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 625*f126890aSEmmanuel Vadot pinctrl-single,drive-strength = <0x30 0xf0>; 626*f126890aSEmmanuel Vadot }; 627*f126890aSEmmanuel Vadot audio_out_cfg_func: audio-out-cfg-pins { 628*f126890aSEmmanuel Vadot pinctrl-single,pins = < 629*f126890aSEmmanuel Vadot 0x200 0 /* GPIO (IOCFG136) */ 630*f126890aSEmmanuel Vadot 0x204 0 /* GPIO (IOCFG137) */ 631*f126890aSEmmanuel Vadot >; 632*f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = <2 2 0 2>; 633*f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = <0 1 0 1>; 634*f126890aSEmmanuel Vadot }; 635*f126890aSEmmanuel Vadot }; 636*f126890aSEmmanuel Vadot }; 637*f126890aSEmmanuel Vadot 638*f126890aSEmmanuel Vadot gpio-keys { 639*f126890aSEmmanuel Vadot compatible = "gpio-keys"; 640*f126890aSEmmanuel Vadot 641*f126890aSEmmanuel Vadot call { 642*f126890aSEmmanuel Vadot label = "call"; 643*f126890aSEmmanuel Vadot gpios = <&gpio17 2 0>; 644*f126890aSEmmanuel Vadot linux,code = <169>; /* KEY_PHONE */ 645*f126890aSEmmanuel Vadot }; 646*f126890aSEmmanuel Vadot }; 647*f126890aSEmmanuel Vadot}; 648