1*01950c46SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*01950c46SEmmanuel Vadot/* 3*01950c46SEmmanuel Vadot * Copyright (c) Siemens AG, 2018-2023 4*01950c46SEmmanuel Vadot * 5*01950c46SEmmanuel Vadot * Authors: 6*01950c46SEmmanuel Vadot * Le Jin <le.jin@siemens.com> 7*01950c46SEmmanuel Vadot * Jan Kiszka <jan.kiszka@siemens.com> 8*01950c46SEmmanuel Vadot * 9*01950c46SEmmanuel Vadot * Common bits for IOT2050 variants with Arduino connector 10*01950c46SEmmanuel Vadot */ 11*01950c46SEmmanuel Vadot 12*01950c46SEmmanuel Vadot&wkup_pmx0 { 13*01950c46SEmmanuel Vadot pinctrl-names = 14*01950c46SEmmanuel Vadot "default", 15*01950c46SEmmanuel Vadot "d0-uart0-rxd", "d0-gpio", "d0-gpio-pullup", "d0-gpio-pulldown", 16*01950c46SEmmanuel Vadot "d1-uart0-txd", "d1-gpio", "d1-gpio-pullup", "d1-gpio-pulldown", 17*01950c46SEmmanuel Vadot "d2-uart0-ctsn", "d2-gpio", "d2-gpio-pullup", "d2-gpio-pulldown", 18*01950c46SEmmanuel Vadot "d3-uart0-rtsn", "d3-gpio", "d3-gpio-pullup", "d3-gpio-pulldown", 19*01950c46SEmmanuel Vadot "d10-spi0-cs0", "d10-gpio", "d10-gpio-pullup", "d10-gpio-pulldown", 20*01950c46SEmmanuel Vadot "d11-spi0-d0", "d11-gpio", "d11-gpio-pullup", "d11-gpio-pulldown", 21*01950c46SEmmanuel Vadot "d12-spi0-d1", "d12-gpio", "d12-gpio-pullup", "d12-gpio-pulldown", 22*01950c46SEmmanuel Vadot "d13-spi0-clk", "d13-gpio", "d13-gpio-pullup", "d13-gpio-pulldown", 23*01950c46SEmmanuel Vadot "a0-gpio", "a0-gpio-pullup", "a0-gpio-pulldown", 24*01950c46SEmmanuel Vadot "a1-gpio", "a1-gpio-pullup", "a1-gpio-pulldown", 25*01950c46SEmmanuel Vadot "a2-gpio", "a2-gpio-pullup", "a2-gpio-pulldown", 26*01950c46SEmmanuel Vadot "a3-gpio", "a3-gpio-pullup", "a3-gpio-pulldown", 27*01950c46SEmmanuel Vadot "a4-gpio", "a4-gpio-pullup", "a4-gpio-pulldown", 28*01950c46SEmmanuel Vadot "a5-gpio", "a5-gpio-pullup", "a5-gpio-pulldown"; 29*01950c46SEmmanuel Vadot 30*01950c46SEmmanuel Vadot pinctrl-0 = <&d0_uart0_rxd>; 31*01950c46SEmmanuel Vadot pinctrl-1 = <&d0_uart0_rxd>; 32*01950c46SEmmanuel Vadot pinctrl-2 = <&d0_gpio>; 33*01950c46SEmmanuel Vadot pinctrl-3 = <&d0_gpio_pullup>; 34*01950c46SEmmanuel Vadot pinctrl-4 = <&d0_gpio_pulldown>; 35*01950c46SEmmanuel Vadot pinctrl-5 = <&d1_uart0_txd>; 36*01950c46SEmmanuel Vadot pinctrl-6 = <&d1_gpio>; 37*01950c46SEmmanuel Vadot pinctrl-7 = <&d1_gpio_pullup>; 38*01950c46SEmmanuel Vadot pinctrl-8 = <&d1_gpio_pulldown>; 39*01950c46SEmmanuel Vadot pinctrl-9 = <&d2_uart0_ctsn>; 40*01950c46SEmmanuel Vadot pinctrl-10 = <&d2_gpio>; 41*01950c46SEmmanuel Vadot pinctrl-11 = <&d2_gpio_pullup>; 42*01950c46SEmmanuel Vadot pinctrl-12 = <&d2_gpio_pulldown>; 43*01950c46SEmmanuel Vadot pinctrl-13 = <&d3_uart0_rtsn>; 44*01950c46SEmmanuel Vadot pinctrl-14 = <&d3_gpio>; 45*01950c46SEmmanuel Vadot pinctrl-15 = <&d3_gpio_pullup>; 46*01950c46SEmmanuel Vadot pinctrl-16 = <&d3_gpio_pulldown>; 47*01950c46SEmmanuel Vadot pinctrl-17 = <&d10_spi0_cs0>; 48*01950c46SEmmanuel Vadot pinctrl-18 = <&d10_gpio>; 49*01950c46SEmmanuel Vadot pinctrl-19 = <&d10_gpio_pullup>; 50*01950c46SEmmanuel Vadot pinctrl-20 = <&d10_gpio_pulldown>; 51*01950c46SEmmanuel Vadot pinctrl-21 = <&d11_spi0_d0>; 52*01950c46SEmmanuel Vadot pinctrl-22 = <&d11_gpio>; 53*01950c46SEmmanuel Vadot pinctrl-23 = <&d11_gpio_pullup>; 54*01950c46SEmmanuel Vadot pinctrl-24 = <&d11_gpio_pulldown>; 55*01950c46SEmmanuel Vadot pinctrl-25 = <&d12_spi0_d1>; 56*01950c46SEmmanuel Vadot pinctrl-26 = <&d12_gpio>; 57*01950c46SEmmanuel Vadot pinctrl-27 = <&d12_gpio_pullup>; 58*01950c46SEmmanuel Vadot pinctrl-28 = <&d12_gpio_pulldown>; 59*01950c46SEmmanuel Vadot pinctrl-29 = <&d13_spi0_clk>; 60*01950c46SEmmanuel Vadot pinctrl-30 = <&d13_gpio>; 61*01950c46SEmmanuel Vadot pinctrl-31 = <&d13_gpio_pullup>; 62*01950c46SEmmanuel Vadot pinctrl-32 = <&d13_gpio_pulldown>; 63*01950c46SEmmanuel Vadot pinctrl-33 = <&a0_gpio>; 64*01950c46SEmmanuel Vadot pinctrl-34 = <&a0_gpio_pullup>; 65*01950c46SEmmanuel Vadot pinctrl-35 = <&a0_gpio_pulldown>; 66*01950c46SEmmanuel Vadot pinctrl-36 = <&a1_gpio>; 67*01950c46SEmmanuel Vadot pinctrl-37 = <&a1_gpio_pullup>; 68*01950c46SEmmanuel Vadot pinctrl-38 = <&a1_gpio_pulldown>; 69*01950c46SEmmanuel Vadot pinctrl-39 = <&a2_gpio>; 70*01950c46SEmmanuel Vadot pinctrl-40 = <&a2_gpio_pullup>; 71*01950c46SEmmanuel Vadot pinctrl-41 = <&a2_gpio_pulldown>; 72*01950c46SEmmanuel Vadot pinctrl-42 = <&a3_gpio>; 73*01950c46SEmmanuel Vadot pinctrl-43 = <&a3_gpio_pullup>; 74*01950c46SEmmanuel Vadot pinctrl-44 = <&a3_gpio_pulldown>; 75*01950c46SEmmanuel Vadot pinctrl-45 = <&a4_gpio>; 76*01950c46SEmmanuel Vadot pinctrl-46 = <&a4_gpio_pullup>; 77*01950c46SEmmanuel Vadot pinctrl-47 = <&a4_gpio_pulldown>; 78*01950c46SEmmanuel Vadot pinctrl-48 = <&a5_gpio>; 79*01950c46SEmmanuel Vadot pinctrl-49 = <&a5_gpio_pullup>; 80*01950c46SEmmanuel Vadot pinctrl-50 = <&a5_gpio_pulldown>; 81*01950c46SEmmanuel Vadot 82*01950c46SEmmanuel Vadot d0_uart0_rxd: d0-uart0-rxd-pins { 83*01950c46SEmmanuel Vadot pinctrl-single,pins = < 84*01950c46SEmmanuel Vadot /* (P4) MCU_UART0_RXD */ 85*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0044, PIN_INPUT, 4) 86*01950c46SEmmanuel Vadot >; 87*01950c46SEmmanuel Vadot }; 88*01950c46SEmmanuel Vadot 89*01950c46SEmmanuel Vadot d0_gpio: d0-gpio-pins { 90*01950c46SEmmanuel Vadot pinctrl-single,pins = < 91*01950c46SEmmanuel Vadot /* (P4) WKUP_GPIO0_29 */ 92*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0044, PIN_INPUT, 7) 93*01950c46SEmmanuel Vadot >; 94*01950c46SEmmanuel Vadot }; 95*01950c46SEmmanuel Vadot 96*01950c46SEmmanuel Vadot d0_gpio_pullup: d0-gpio-pullup-pins { 97*01950c46SEmmanuel Vadot pinctrl-single,pins = < 98*01950c46SEmmanuel Vadot /* (P4) WKUP_GPIO0_29 */ 99*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0044, PIN_INPUT_PULLUP, 7) 100*01950c46SEmmanuel Vadot >; 101*01950c46SEmmanuel Vadot }; 102*01950c46SEmmanuel Vadot 103*01950c46SEmmanuel Vadot d0_gpio_pulldown: d0-gpio-pulldown-pins { 104*01950c46SEmmanuel Vadot pinctrl-single,pins = < 105*01950c46SEmmanuel Vadot /* (P4) WKUP_GPIO0_29 */ 106*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0044, PIN_INPUT_PULLDOWN, 7) 107*01950c46SEmmanuel Vadot >; 108*01950c46SEmmanuel Vadot }; 109*01950c46SEmmanuel Vadot 110*01950c46SEmmanuel Vadot d1_uart0_txd: d1-uart0-txd-pins { 111*01950c46SEmmanuel Vadot pinctrl-single,pins = < 112*01950c46SEmmanuel Vadot /* (P5) MCU_UART0_TXD */ 113*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0048, PIN_OUTPUT, 4) 114*01950c46SEmmanuel Vadot >; 115*01950c46SEmmanuel Vadot }; 116*01950c46SEmmanuel Vadot 117*01950c46SEmmanuel Vadot d1_gpio: d1-gpio-pins { 118*01950c46SEmmanuel Vadot pinctrl-single,pins = < 119*01950c46SEmmanuel Vadot /* (P5) WKUP_GPIO0_30 */ 120*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0048, PIN_INPUT, 7) 121*01950c46SEmmanuel Vadot >; 122*01950c46SEmmanuel Vadot }; 123*01950c46SEmmanuel Vadot 124*01950c46SEmmanuel Vadot d1_gpio_pullup: d1-gpio-pullup-pins { 125*01950c46SEmmanuel Vadot pinctrl-single,pins = < 126*01950c46SEmmanuel Vadot /* (P5) WKUP_GPIO0_30 */ 127*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0048, PIN_INPUT, 7) 128*01950c46SEmmanuel Vadot >; 129*01950c46SEmmanuel Vadot }; 130*01950c46SEmmanuel Vadot 131*01950c46SEmmanuel Vadot d1_gpio_pulldown: d1-gpio-pulldown-pins { 132*01950c46SEmmanuel Vadot pinctrl-single,pins = < 133*01950c46SEmmanuel Vadot /* (P5) WKUP_GPIO0_30 */ 134*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0048, PIN_INPUT_PULLDOWN, 7) 135*01950c46SEmmanuel Vadot >; 136*01950c46SEmmanuel Vadot }; 137*01950c46SEmmanuel Vadot 138*01950c46SEmmanuel Vadot d2_uart0_ctsn: d2-uart0-ctsn-pins { 139*01950c46SEmmanuel Vadot pinctrl-single,pins = < 140*01950c46SEmmanuel Vadot /* (P1) MCU_UART0_CTSn */ 141*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x004C, PIN_INPUT, 4) 142*01950c46SEmmanuel Vadot >; 143*01950c46SEmmanuel Vadot }; 144*01950c46SEmmanuel Vadot 145*01950c46SEmmanuel Vadot d2_gpio: d2-gpio-pins { 146*01950c46SEmmanuel Vadot pinctrl-single,pins = < 147*01950c46SEmmanuel Vadot /* (P5) WKUP_GPIO0_31 */ 148*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x004C, PIN_INPUT, 7) 149*01950c46SEmmanuel Vadot >; 150*01950c46SEmmanuel Vadot }; 151*01950c46SEmmanuel Vadot 152*01950c46SEmmanuel Vadot d2_gpio_pullup: d2-gpio-pullup-pins { 153*01950c46SEmmanuel Vadot pinctrl-single,pins = < 154*01950c46SEmmanuel Vadot /* (P5) WKUP_GPIO0_31 */ 155*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x004C, PIN_INPUT, 7) 156*01950c46SEmmanuel Vadot >; 157*01950c46SEmmanuel Vadot }; 158*01950c46SEmmanuel Vadot 159*01950c46SEmmanuel Vadot d2_gpio_pulldown: d2-gpio-pulldown-pins { 160*01950c46SEmmanuel Vadot pinctrl-single,pins = < 161*01950c46SEmmanuel Vadot /* (P5) WKUP_GPIO0_31 */ 162*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x004C, PIN_INPUT_PULLDOWN, 7) 163*01950c46SEmmanuel Vadot >; 164*01950c46SEmmanuel Vadot }; 165*01950c46SEmmanuel Vadot 166*01950c46SEmmanuel Vadot d3_uart0_rtsn: d3-uart0-rtsn-pins { 167*01950c46SEmmanuel Vadot pinctrl-single,pins = < 168*01950c46SEmmanuel Vadot /* (N3) MCU_UART0_RTSn */ 169*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0054, PIN_OUTPUT, 4) 170*01950c46SEmmanuel Vadot >; 171*01950c46SEmmanuel Vadot }; 172*01950c46SEmmanuel Vadot 173*01950c46SEmmanuel Vadot d3_gpio: d3-gpio-pins { 174*01950c46SEmmanuel Vadot pinctrl-single,pins = < 175*01950c46SEmmanuel Vadot /* (N3) WKUP_GPIO0_33 */ 176*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0054, PIN_INPUT, 7) 177*01950c46SEmmanuel Vadot >; 178*01950c46SEmmanuel Vadot }; 179*01950c46SEmmanuel Vadot 180*01950c46SEmmanuel Vadot d3_gpio_pullup: d3-gpio-pullup-pins { 181*01950c46SEmmanuel Vadot pinctrl-single,pins = < 182*01950c46SEmmanuel Vadot /* (N3) WKUP_GPIO0_33 */ 183*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0054, PIN_INPUT, 7) 184*01950c46SEmmanuel Vadot >; 185*01950c46SEmmanuel Vadot }; 186*01950c46SEmmanuel Vadot 187*01950c46SEmmanuel Vadot d3_gpio_pulldown: d3-gpio-pulldown-pins { 188*01950c46SEmmanuel Vadot pinctrl-single,pins = < 189*01950c46SEmmanuel Vadot /* (N3) WKUP_GPIO0_33 */ 190*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0054, PIN_INPUT_PULLDOWN, 7) 191*01950c46SEmmanuel Vadot >; 192*01950c46SEmmanuel Vadot }; 193*01950c46SEmmanuel Vadot 194*01950c46SEmmanuel Vadot d10_spi0_cs0: d10-spi0-cs0-pins { 195*01950c46SEmmanuel Vadot pinctrl-single,pins = < 196*01950c46SEmmanuel Vadot /* (Y4) MCU_SPI0_CS0 */ 197*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x009c, PIN_OUTPUT, 0) 198*01950c46SEmmanuel Vadot >; 199*01950c46SEmmanuel Vadot }; 200*01950c46SEmmanuel Vadot 201*01950c46SEmmanuel Vadot d10_gpio: d10-gpio-pins { 202*01950c46SEmmanuel Vadot pinctrl-single,pins = < 203*01950c46SEmmanuel Vadot /* (Y4) WKUP_GPIO0_51 */ 204*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x009c, PIN_INPUT, 7) 205*01950c46SEmmanuel Vadot >; 206*01950c46SEmmanuel Vadot }; 207*01950c46SEmmanuel Vadot 208*01950c46SEmmanuel Vadot d10_gpio_pullup: d10-gpio-pullup-pins { 209*01950c46SEmmanuel Vadot pinctrl-single,pins = < 210*01950c46SEmmanuel Vadot /* (Y4) WKUP_GPIO0_51 */ 211*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x009c, PIN_INPUT, 7) 212*01950c46SEmmanuel Vadot >; 213*01950c46SEmmanuel Vadot }; 214*01950c46SEmmanuel Vadot 215*01950c46SEmmanuel Vadot d10_gpio_pulldown: d10-gpio-pulldown-pins { 216*01950c46SEmmanuel Vadot pinctrl-single,pins = < 217*01950c46SEmmanuel Vadot /* (Y4) WKUP_GPIO0_51 */ 218*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x009c, PIN_INPUT_PULLDOWN, 7) 219*01950c46SEmmanuel Vadot >; 220*01950c46SEmmanuel Vadot }; 221*01950c46SEmmanuel Vadot 222*01950c46SEmmanuel Vadot d11_spi0_d0: d11-spi0-d0-pins { 223*01950c46SEmmanuel Vadot pinctrl-single,pins = < 224*01950c46SEmmanuel Vadot /* (Y3) MCU_SPI0_D0 */ 225*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0094, PIN_INPUT, 0) 226*01950c46SEmmanuel Vadot >; 227*01950c46SEmmanuel Vadot }; 228*01950c46SEmmanuel Vadot 229*01950c46SEmmanuel Vadot d11_gpio: d11-gpio-pins { 230*01950c46SEmmanuel Vadot pinctrl-single,pins = < 231*01950c46SEmmanuel Vadot /* (Y3) WKUP_GPIO0_49 */ 232*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0094, PIN_INPUT, 7) 233*01950c46SEmmanuel Vadot >; 234*01950c46SEmmanuel Vadot }; 235*01950c46SEmmanuel Vadot 236*01950c46SEmmanuel Vadot d11_gpio_pullup: d11-gpio-pullup-pins { 237*01950c46SEmmanuel Vadot pinctrl-single,pins = < 238*01950c46SEmmanuel Vadot /* (Y3) WKUP_GPIO0_49 */ 239*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0094, PIN_INPUT, 7) 240*01950c46SEmmanuel Vadot >; 241*01950c46SEmmanuel Vadot }; 242*01950c46SEmmanuel Vadot 243*01950c46SEmmanuel Vadot d11_gpio_pulldown: d11-gpio-pulldown-pins { 244*01950c46SEmmanuel Vadot pinctrl-single,pins = < 245*01950c46SEmmanuel Vadot /* (Y3) WKUP_GPIO0_49 */ 246*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0094, PIN_INPUT_PULLDOWN, 7) 247*01950c46SEmmanuel Vadot >; 248*01950c46SEmmanuel Vadot }; 249*01950c46SEmmanuel Vadot 250*01950c46SEmmanuel Vadot d12_spi0_d1: d12-spi0-d1-pins { 251*01950c46SEmmanuel Vadot pinctrl-single,pins = < 252*01950c46SEmmanuel Vadot /* (Y2) MCU_SPI0_D1 */ 253*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0098, PIN_INPUT, 0) 254*01950c46SEmmanuel Vadot >; 255*01950c46SEmmanuel Vadot }; 256*01950c46SEmmanuel Vadot 257*01950c46SEmmanuel Vadot d12_gpio: d12-gpio-pins { 258*01950c46SEmmanuel Vadot pinctrl-single,pins = < 259*01950c46SEmmanuel Vadot /* (Y2) WKUP_GPIO0_50 */ 260*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0098, PIN_INPUT, 7) 261*01950c46SEmmanuel Vadot >; 262*01950c46SEmmanuel Vadot }; 263*01950c46SEmmanuel Vadot 264*01950c46SEmmanuel Vadot d12_gpio_pullup: d12-gpio-pullup-pins { 265*01950c46SEmmanuel Vadot pinctrl-single,pins = < 266*01950c46SEmmanuel Vadot /* (Y2) WKUP_GPIO0_50 */ 267*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0098, PIN_INPUT, 7) 268*01950c46SEmmanuel Vadot >; 269*01950c46SEmmanuel Vadot }; 270*01950c46SEmmanuel Vadot 271*01950c46SEmmanuel Vadot d12_gpio_pulldown: d12-gpio-pulldown-pins { 272*01950c46SEmmanuel Vadot pinctrl-single,pins = < 273*01950c46SEmmanuel Vadot /* (Y2) WKUP_GPIO0_50 */ 274*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0098, PIN_INPUT_PULLDOWN, 7) 275*01950c46SEmmanuel Vadot >; 276*01950c46SEmmanuel Vadot }; 277*01950c46SEmmanuel Vadot 278*01950c46SEmmanuel Vadot d13_spi0_clk: d13-spi0-clk-pins { 279*01950c46SEmmanuel Vadot pinctrl-single,pins = < 280*01950c46SEmmanuel Vadot /* (Y1) MCU_SPI0_CLK */ 281*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0090, PIN_INPUT, 0) 282*01950c46SEmmanuel Vadot >; 283*01950c46SEmmanuel Vadot }; 284*01950c46SEmmanuel Vadot 285*01950c46SEmmanuel Vadot d13_gpio: d13-gpio-pins { 286*01950c46SEmmanuel Vadot pinctrl-single,pins = < 287*01950c46SEmmanuel Vadot /* (Y1) WKUP_GPIO0_48 */ 288*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0090, PIN_INPUT, 7) 289*01950c46SEmmanuel Vadot >; 290*01950c46SEmmanuel Vadot }; 291*01950c46SEmmanuel Vadot 292*01950c46SEmmanuel Vadot d13_gpio_pullup: d13-gpio-pullup-pins { 293*01950c46SEmmanuel Vadot pinctrl-single,pins = < 294*01950c46SEmmanuel Vadot /* (Y1) WKUP_GPIO0_48 */ 295*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0090, PIN_INPUT, 7) 296*01950c46SEmmanuel Vadot >; 297*01950c46SEmmanuel Vadot }; 298*01950c46SEmmanuel Vadot 299*01950c46SEmmanuel Vadot d13_gpio_pulldown: d13-gpio-pulldown-pins { 300*01950c46SEmmanuel Vadot pinctrl-single,pins = < 301*01950c46SEmmanuel Vadot /* (Y1) WKUP_GPIO0_48 */ 302*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0090, PIN_INPUT_PULLDOWN, 7) 303*01950c46SEmmanuel Vadot >; 304*01950c46SEmmanuel Vadot }; 305*01950c46SEmmanuel Vadot 306*01950c46SEmmanuel Vadot a0_gpio: a0-gpio-pins { 307*01950c46SEmmanuel Vadot pinctrl-single,pins = < 308*01950c46SEmmanuel Vadot /* (L6) WKUP_GPIO0_45 */ 309*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0084, PIN_INPUT, 7) 310*01950c46SEmmanuel Vadot >; 311*01950c46SEmmanuel Vadot }; 312*01950c46SEmmanuel Vadot 313*01950c46SEmmanuel Vadot a0_gpio_pullup: a0-gpio-pullup-pins { 314*01950c46SEmmanuel Vadot pinctrl-single,pins = < 315*01950c46SEmmanuel Vadot /* (L6) WKUP_GPIO0_45 */ 316*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0084, PIN_INPUT, 7) 317*01950c46SEmmanuel Vadot >; 318*01950c46SEmmanuel Vadot }; 319*01950c46SEmmanuel Vadot 320*01950c46SEmmanuel Vadot a0_gpio_pulldown: a0-gpio-pulldown-pins { 321*01950c46SEmmanuel Vadot pinctrl-single,pins = < 322*01950c46SEmmanuel Vadot /* (L6) WKUP_GPIO0_45 */ 323*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0084, PIN_INPUT_PULLDOWN, 7) 324*01950c46SEmmanuel Vadot >; 325*01950c46SEmmanuel Vadot }; 326*01950c46SEmmanuel Vadot 327*01950c46SEmmanuel Vadot a1_gpio: a1-gpio-pins { 328*01950c46SEmmanuel Vadot pinctrl-single,pins = < 329*01950c46SEmmanuel Vadot /* (M6) WKUP_GPIO0_44 */ 330*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0080, PIN_INPUT, 7) 331*01950c46SEmmanuel Vadot >; 332*01950c46SEmmanuel Vadot }; 333*01950c46SEmmanuel Vadot 334*01950c46SEmmanuel Vadot a1_gpio_pullup: a1-gpio-pullup-pins { 335*01950c46SEmmanuel Vadot pinctrl-single,pins = < 336*01950c46SEmmanuel Vadot /* (M6) WKUP_GPIO0_44 */ 337*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0080, PIN_INPUT, 7) 338*01950c46SEmmanuel Vadot >; 339*01950c46SEmmanuel Vadot }; 340*01950c46SEmmanuel Vadot 341*01950c46SEmmanuel Vadot a1_gpio_pulldown: a1-gpio-pulldown-pins { 342*01950c46SEmmanuel Vadot pinctrl-single,pins = < 343*01950c46SEmmanuel Vadot /* (M6) WKUP_GPIO0_44 */ 344*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0080, PIN_INPUT_PULLDOWN, 7) 345*01950c46SEmmanuel Vadot >; 346*01950c46SEmmanuel Vadot }; 347*01950c46SEmmanuel Vadot 348*01950c46SEmmanuel Vadot a2_gpio: a2-gpio-pins { 349*01950c46SEmmanuel Vadot pinctrl-single,pins = < 350*01950c46SEmmanuel Vadot /* (L5) WKUP_GPIO0_43 */ 351*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x007C, PIN_INPUT, 7) 352*01950c46SEmmanuel Vadot >; 353*01950c46SEmmanuel Vadot }; 354*01950c46SEmmanuel Vadot 355*01950c46SEmmanuel Vadot a2_gpio_pullup: a2-gpio-pullup-pins { 356*01950c46SEmmanuel Vadot pinctrl-single,pins = < 357*01950c46SEmmanuel Vadot /* (L5) WKUP_GPIO0_43 */ 358*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x007C, PIN_INPUT, 7) 359*01950c46SEmmanuel Vadot >; 360*01950c46SEmmanuel Vadot }; 361*01950c46SEmmanuel Vadot 362*01950c46SEmmanuel Vadot a2_gpio_pulldown: a2-gpio-pulldown-pins { 363*01950c46SEmmanuel Vadot pinctrl-single,pins = < 364*01950c46SEmmanuel Vadot /* (L5) WKUP_GPIO0_43 */ 365*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x007C, PIN_INPUT_PULLDOWN, 7) 366*01950c46SEmmanuel Vadot >; 367*01950c46SEmmanuel Vadot }; 368*01950c46SEmmanuel Vadot 369*01950c46SEmmanuel Vadot a3_gpio: a3-gpio-pins { 370*01950c46SEmmanuel Vadot pinctrl-single,pins = < 371*01950c46SEmmanuel Vadot /* (M5) WKUP_GPIO0_39 */ 372*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x006C, PIN_INPUT, 7) 373*01950c46SEmmanuel Vadot >; 374*01950c46SEmmanuel Vadot }; 375*01950c46SEmmanuel Vadot 376*01950c46SEmmanuel Vadot a3_gpio_pullup: a3-gpio-pullup-pins { 377*01950c46SEmmanuel Vadot pinctrl-single,pins = < 378*01950c46SEmmanuel Vadot /* (M5) WKUP_GPIO0_39 */ 379*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x006C, PIN_INPUT, 7) 380*01950c46SEmmanuel Vadot >; 381*01950c46SEmmanuel Vadot }; 382*01950c46SEmmanuel Vadot 383*01950c46SEmmanuel Vadot a3_gpio_pulldown: a3-gpio-pulldown-pins { 384*01950c46SEmmanuel Vadot pinctrl-single,pins = < 385*01950c46SEmmanuel Vadot /* (M5) WKUP_GPIO0_39 */ 386*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x006C, PIN_INPUT_PULLDOWN, 7) 387*01950c46SEmmanuel Vadot >; 388*01950c46SEmmanuel Vadot }; 389*01950c46SEmmanuel Vadot 390*01950c46SEmmanuel Vadot a4_gpio: a4-gpio-pins { 391*01950c46SEmmanuel Vadot pinctrl-single,pins = < 392*01950c46SEmmanuel Vadot /* (L2) WKUP_GPIO0_42 */ 393*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0078, PIN_INPUT, 7) 394*01950c46SEmmanuel Vadot >; 395*01950c46SEmmanuel Vadot }; 396*01950c46SEmmanuel Vadot 397*01950c46SEmmanuel Vadot a4_gpio_pullup: a4-gpio-pullup-pins { 398*01950c46SEmmanuel Vadot pinctrl-single,pins = < 399*01950c46SEmmanuel Vadot /* (L2) WKUP_GPIO0_42 */ 400*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0078, PIN_INPUT, 7) 401*01950c46SEmmanuel Vadot >; 402*01950c46SEmmanuel Vadot }; 403*01950c46SEmmanuel Vadot 404*01950c46SEmmanuel Vadot a4_gpio_pulldown: a4-gpio-pulldown-pins { 405*01950c46SEmmanuel Vadot pinctrl-single,pins = < 406*01950c46SEmmanuel Vadot /* (L2) WKUP_GPIO0_42 */ 407*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0078, PIN_INPUT_PULLDOWN, 7) 408*01950c46SEmmanuel Vadot >; 409*01950c46SEmmanuel Vadot }; 410*01950c46SEmmanuel Vadot 411*01950c46SEmmanuel Vadot a5_gpio: a5-gpio-pins { 412*01950c46SEmmanuel Vadot pinctrl-single,pins = < 413*01950c46SEmmanuel Vadot /* (N5) WKUP_GPIO0_35 */ 414*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x005C, PIN_INPUT, 7) 415*01950c46SEmmanuel Vadot >; 416*01950c46SEmmanuel Vadot }; 417*01950c46SEmmanuel Vadot 418*01950c46SEmmanuel Vadot a5_gpio_pullup: a5-gpio-pullup-pins { 419*01950c46SEmmanuel Vadot pinctrl-single,pins = < 420*01950c46SEmmanuel Vadot /* (N5) WKUP_GPIO0_35 */ 421*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x005C, PIN_INPUT_PULLUP, 7) 422*01950c46SEmmanuel Vadot >; 423*01950c46SEmmanuel Vadot }; 424*01950c46SEmmanuel Vadot 425*01950c46SEmmanuel Vadot a5_gpio_pulldown: a5-gpio-pulldown-pins { 426*01950c46SEmmanuel Vadot pinctrl-single,pins = < 427*01950c46SEmmanuel Vadot /* (N5) WKUP_GPIO0_35 */ 428*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x005C, PIN_INPUT_PULLDOWN, 7) 429*01950c46SEmmanuel Vadot >; 430*01950c46SEmmanuel Vadot }; 431*01950c46SEmmanuel Vadot 432*01950c46SEmmanuel Vadot wkup_i2c0_pins_default: wkup-i2c0-default-pins { 433*01950c46SEmmanuel Vadot pinctrl-single,pins = < 434*01950c46SEmmanuel Vadot /* (AC7) WKUP_I2C0_SCL */ 435*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0) 436*01950c46SEmmanuel Vadot /* (AD6) WKUP_I2C0_SDA */ 437*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT, 0) 438*01950c46SEmmanuel Vadot >; 439*01950c46SEmmanuel Vadot }; 440*01950c46SEmmanuel Vadot 441*01950c46SEmmanuel Vadot arduino_i2c_aio_switch_pins_default: arduino-i2c-aio-switch-default-pins { 442*01950c46SEmmanuel Vadot pinctrl-single,pins = < 443*01950c46SEmmanuel Vadot /* (R2) WKUP_GPIO0_21 */ 444*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0024, PIN_OUTPUT, 7) 445*01950c46SEmmanuel Vadot >; 446*01950c46SEmmanuel Vadot }; 447*01950c46SEmmanuel Vadot 448*01950c46SEmmanuel Vadot arduino_io_oe_pins_default: arduino-io-oe-default-pins { 449*01950c46SEmmanuel Vadot pinctrl-single,pins = < 450*01950c46SEmmanuel Vadot /* (N4) WKUP_GPIO0_34 */ 451*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0058, PIN_OUTPUT, 7) 452*01950c46SEmmanuel Vadot /* (M2) WKUP_GPIO0_36 */ 453*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0060, PIN_OUTPUT, 7) 454*01950c46SEmmanuel Vadot /* (M3) WKUP_GPIO0_37 */ 455*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0064, PIN_OUTPUT, 7) 456*01950c46SEmmanuel Vadot /* (M4) WKUP_GPIO0_38 */ 457*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0068, PIN_OUTPUT, 7) 458*01950c46SEmmanuel Vadot /* (M1) WKUP_GPIO0_41 */ 459*01950c46SEmmanuel Vadot AM65X_WKUP_IOPAD(0x0074, PIN_OUTPUT, 7) 460*01950c46SEmmanuel Vadot >; 461*01950c46SEmmanuel Vadot }; 462*01950c46SEmmanuel Vadot}; 463*01950c46SEmmanuel Vadot 464*01950c46SEmmanuel Vadot&main_pmx0 { 465*01950c46SEmmanuel Vadot pinctrl-names = 466*01950c46SEmmanuel Vadot "default", 467*01950c46SEmmanuel Vadot "d4-ehrpwm0-a", "d4-gpio", "d4-gpio-pullup", "d4-gpio-pulldown", 468*01950c46SEmmanuel Vadot "d5-ehrpwm1-a", "d5-gpio", "d5-gpio-pullup", "d5-gpio-pulldown", 469*01950c46SEmmanuel Vadot "d6-ehrpwm2-a", "d6-gpio", "d6-gpio-pullup", "d6-gpio-pulldown", 470*01950c46SEmmanuel Vadot "d7-ehrpwm3-a", "d7-gpio", "d7-gpio-pullup", "d7-gpio-pulldown", 471*01950c46SEmmanuel Vadot "d8-ehrpwm4-a", "d8-gpio", "d8-gpio-pullup", "d8-gpio-pulldown", 472*01950c46SEmmanuel Vadot "d9-ehrpwm5-a", "d9-gpio", "d9-gpio-pullup", "d9-gpio-pulldown"; 473*01950c46SEmmanuel Vadot 474*01950c46SEmmanuel Vadot pinctrl-0 = <&d4_ehrpwm0_a>; 475*01950c46SEmmanuel Vadot pinctrl-1 = <&d4_ehrpwm0_a>; 476*01950c46SEmmanuel Vadot pinctrl-2 = <&d4_gpio>; 477*01950c46SEmmanuel Vadot pinctrl-3 = <&d4_gpio_pullup>; 478*01950c46SEmmanuel Vadot pinctrl-4 = <&d4_gpio_pulldown>; 479*01950c46SEmmanuel Vadot 480*01950c46SEmmanuel Vadot pinctrl-5 = <&d5_ehrpwm1_a>; 481*01950c46SEmmanuel Vadot pinctrl-6 = <&d5_gpio>; 482*01950c46SEmmanuel Vadot pinctrl-7 = <&d5_gpio_pullup>; 483*01950c46SEmmanuel Vadot pinctrl-8 = <&d5_gpio_pulldown>; 484*01950c46SEmmanuel Vadot 485*01950c46SEmmanuel Vadot pinctrl-9 = <&d6_ehrpwm2_a>; 486*01950c46SEmmanuel Vadot pinctrl-10 = <&d6_gpio>; 487*01950c46SEmmanuel Vadot pinctrl-11 = <&d6_gpio_pullup>; 488*01950c46SEmmanuel Vadot pinctrl-12 = <&d6_gpio_pulldown>; 489*01950c46SEmmanuel Vadot 490*01950c46SEmmanuel Vadot pinctrl-13 = <&d7_ehrpwm3_a>; 491*01950c46SEmmanuel Vadot pinctrl-14 = <&d7_gpio>; 492*01950c46SEmmanuel Vadot pinctrl-15 = <&d7_gpio_pullup>; 493*01950c46SEmmanuel Vadot pinctrl-16 = <&d7_gpio_pulldown>; 494*01950c46SEmmanuel Vadot 495*01950c46SEmmanuel Vadot pinctrl-17 = <&d8_ehrpwm4_a>; 496*01950c46SEmmanuel Vadot pinctrl-18 = <&d8_gpio>; 497*01950c46SEmmanuel Vadot pinctrl-19 = <&d8_gpio_pullup>; 498*01950c46SEmmanuel Vadot pinctrl-20 = <&d8_gpio_pulldown>; 499*01950c46SEmmanuel Vadot 500*01950c46SEmmanuel Vadot pinctrl-21 = <&d9_ehrpwm5_a>; 501*01950c46SEmmanuel Vadot pinctrl-22 = <&d9_gpio>; 502*01950c46SEmmanuel Vadot pinctrl-23 = <&d9_gpio_pullup>; 503*01950c46SEmmanuel Vadot pinctrl-24 = <&d9_gpio_pulldown>; 504*01950c46SEmmanuel Vadot 505*01950c46SEmmanuel Vadot d4_ehrpwm0_a: d4-ehrpwm0-a-pins { 506*01950c46SEmmanuel Vadot pinctrl-single,pins = < 507*01950c46SEmmanuel Vadot /* (AG18) EHRPWM0_A */ 508*01950c46SEmmanuel Vadot AM65X_IOPAD(0x0084, PIN_OUTPUT, 5) 509*01950c46SEmmanuel Vadot >; 510*01950c46SEmmanuel Vadot }; 511*01950c46SEmmanuel Vadot 512*01950c46SEmmanuel Vadot d4_gpio: d4-gpio-pins { 513*01950c46SEmmanuel Vadot pinctrl-single,pins = < 514*01950c46SEmmanuel Vadot /* (AG18) GPIO0_33 */ 515*01950c46SEmmanuel Vadot AM65X_IOPAD(0x0084, PIN_INPUT, 7) 516*01950c46SEmmanuel Vadot >; 517*01950c46SEmmanuel Vadot }; 518*01950c46SEmmanuel Vadot 519*01950c46SEmmanuel Vadot d4_gpio_pullup: d4-gpio-pullup-pins { 520*01950c46SEmmanuel Vadot pinctrl-single,pins = < 521*01950c46SEmmanuel Vadot /* (AG18) GPIO0_33 */ 522*01950c46SEmmanuel Vadot AM65X_IOPAD(0x0084, PIN_INPUT_PULLUP, 7) 523*01950c46SEmmanuel Vadot >; 524*01950c46SEmmanuel Vadot }; 525*01950c46SEmmanuel Vadot 526*01950c46SEmmanuel Vadot d4_gpio_pulldown: d4-gpio-pulldown-pins { 527*01950c46SEmmanuel Vadot pinctrl-single,pins = < 528*01950c46SEmmanuel Vadot /* (AG18) GPIO0_33 */ 529*01950c46SEmmanuel Vadot AM65X_IOPAD(0x0084, PIN_INPUT_PULLDOWN, 7) 530*01950c46SEmmanuel Vadot >; 531*01950c46SEmmanuel Vadot }; 532*01950c46SEmmanuel Vadot 533*01950c46SEmmanuel Vadot d5_ehrpwm1_a: d5-ehrpwm1-a-pins { 534*01950c46SEmmanuel Vadot pinctrl-single,pins = < 535*01950c46SEmmanuel Vadot /* (AF17) EHRPWM1_A */ 536*01950c46SEmmanuel Vadot AM65X_IOPAD(0x008C, PIN_OUTPUT, 5) 537*01950c46SEmmanuel Vadot >; 538*01950c46SEmmanuel Vadot }; 539*01950c46SEmmanuel Vadot 540*01950c46SEmmanuel Vadot d5_gpio: d5-gpio-pins { 541*01950c46SEmmanuel Vadot pinctrl-single,pins = < 542*01950c46SEmmanuel Vadot /* (AF17) GPIO0_35 */ 543*01950c46SEmmanuel Vadot AM65X_IOPAD(0x008C, PIN_INPUT, 7) 544*01950c46SEmmanuel Vadot >; 545*01950c46SEmmanuel Vadot }; 546*01950c46SEmmanuel Vadot 547*01950c46SEmmanuel Vadot d5_gpio_pullup: d5-gpio-pullup-pins { 548*01950c46SEmmanuel Vadot pinctrl-single,pins = < 549*01950c46SEmmanuel Vadot /* (AF17) GPIO0_35 */ 550*01950c46SEmmanuel Vadot AM65X_IOPAD(0x008C, PIN_INPUT_PULLUP, 7) 551*01950c46SEmmanuel Vadot >; 552*01950c46SEmmanuel Vadot }; 553*01950c46SEmmanuel Vadot 554*01950c46SEmmanuel Vadot d5_gpio_pulldown: d5-gpio-pulldown-pins { 555*01950c46SEmmanuel Vadot pinctrl-single,pins = < 556*01950c46SEmmanuel Vadot /* (AF17) GPIO0_35 */ 557*01950c46SEmmanuel Vadot AM65X_IOPAD(0x008C, PIN_INPUT_PULLDOWN, 7) 558*01950c46SEmmanuel Vadot >; 559*01950c46SEmmanuel Vadot }; 560*01950c46SEmmanuel Vadot 561*01950c46SEmmanuel Vadot d6_ehrpwm2_a: d6-ehrpwm2-a-pins { 562*01950c46SEmmanuel Vadot pinctrl-single,pins = < 563*01950c46SEmmanuel Vadot /* (AH16) EHRPWM2_A */ 564*01950c46SEmmanuel Vadot AM65X_IOPAD(0x0098, PIN_OUTPUT, 5) 565*01950c46SEmmanuel Vadot >; 566*01950c46SEmmanuel Vadot }; 567*01950c46SEmmanuel Vadot 568*01950c46SEmmanuel Vadot d6_gpio: d6-gpio-pins { 569*01950c46SEmmanuel Vadot pinctrl-single,pins = < 570*01950c46SEmmanuel Vadot /* (AH16) GPIO0_38 */ 571*01950c46SEmmanuel Vadot AM65X_IOPAD(0x0098, PIN_INPUT, 7) 572*01950c46SEmmanuel Vadot >; 573*01950c46SEmmanuel Vadot }; 574*01950c46SEmmanuel Vadot 575*01950c46SEmmanuel Vadot d6_gpio_pullup: d6-gpio-pullup-pins { 576*01950c46SEmmanuel Vadot pinctrl-single,pins = < 577*01950c46SEmmanuel Vadot /* (AH16) GPIO0_38 */ 578*01950c46SEmmanuel Vadot AM65X_IOPAD(0x0098, PIN_INPUT_PULLUP, 7) 579*01950c46SEmmanuel Vadot >; 580*01950c46SEmmanuel Vadot }; 581*01950c46SEmmanuel Vadot 582*01950c46SEmmanuel Vadot d6_gpio_pulldown: d6-gpio-pulldown-pins { 583*01950c46SEmmanuel Vadot pinctrl-single,pins = < 584*01950c46SEmmanuel Vadot /* (AH16) GPIO0_38 */ 585*01950c46SEmmanuel Vadot AM65X_IOPAD(0x0098, PIN_INPUT_PULLDOWN, 7) 586*01950c46SEmmanuel Vadot >; 587*01950c46SEmmanuel Vadot }; 588*01950c46SEmmanuel Vadot 589*01950c46SEmmanuel Vadot d7_ehrpwm3_a: d7-ehrpwm3-a-pins { 590*01950c46SEmmanuel Vadot pinctrl-single,pins = < 591*01950c46SEmmanuel Vadot /* (AH15) EHRPWM3_A */ 592*01950c46SEmmanuel Vadot AM65X_IOPAD(0x00AC, PIN_OUTPUT, 5) 593*01950c46SEmmanuel Vadot >; 594*01950c46SEmmanuel Vadot }; 595*01950c46SEmmanuel Vadot 596*01950c46SEmmanuel Vadot d7_gpio: d7-gpio-pins { 597*01950c46SEmmanuel Vadot pinctrl-single,pins = < 598*01950c46SEmmanuel Vadot /* (AH15) GPIO0_43 */ 599*01950c46SEmmanuel Vadot AM65X_IOPAD(0x00AC, PIN_INPUT, 7) 600*01950c46SEmmanuel Vadot >; 601*01950c46SEmmanuel Vadot }; 602*01950c46SEmmanuel Vadot 603*01950c46SEmmanuel Vadot d7_gpio_pullup: d7-gpio-pullup-pins { 604*01950c46SEmmanuel Vadot pinctrl-single,pins = < 605*01950c46SEmmanuel Vadot /* (AH15) GPIO0_43 */ 606*01950c46SEmmanuel Vadot AM65X_IOPAD(0x00AC, PIN_INPUT_PULLUP, 7) 607*01950c46SEmmanuel Vadot >; 608*01950c46SEmmanuel Vadot }; 609*01950c46SEmmanuel Vadot 610*01950c46SEmmanuel Vadot d7_gpio_pulldown: d7-gpio-pulldown-pins { 611*01950c46SEmmanuel Vadot pinctrl-single,pins = < 612*01950c46SEmmanuel Vadot /* (AH15) GPIO0_43 */ 613*01950c46SEmmanuel Vadot AM65X_IOPAD(0x00AC, PIN_INPUT_PULLDOWN, 7) 614*01950c46SEmmanuel Vadot >; 615*01950c46SEmmanuel Vadot }; 616*01950c46SEmmanuel Vadot 617*01950c46SEmmanuel Vadot d8_ehrpwm4_a: d8-ehrpwm4-a-pins { 618*01950c46SEmmanuel Vadot pinctrl-single,pins = < 619*01950c46SEmmanuel Vadot /* (AG15) EHRPWM4_A */ 620*01950c46SEmmanuel Vadot AM65X_IOPAD(0x00C0, PIN_OUTPUT, 5) 621*01950c46SEmmanuel Vadot >; 622*01950c46SEmmanuel Vadot }; 623*01950c46SEmmanuel Vadot 624*01950c46SEmmanuel Vadot d8_gpio: d8-gpio-pins { 625*01950c46SEmmanuel Vadot pinctrl-single,pins = < 626*01950c46SEmmanuel Vadot /* (AG15) GPIO0_48 */ 627*01950c46SEmmanuel Vadot AM65X_IOPAD(0x00C0, PIN_INPUT, 7) 628*01950c46SEmmanuel Vadot >; 629*01950c46SEmmanuel Vadot }; 630*01950c46SEmmanuel Vadot 631*01950c46SEmmanuel Vadot d8_gpio_pullup: d8-gpio-pullup-pins { 632*01950c46SEmmanuel Vadot pinctrl-single,pins = < 633*01950c46SEmmanuel Vadot /* (AG15) GPIO0_48 */ 634*01950c46SEmmanuel Vadot AM65X_IOPAD(0x00C0, PIN_INPUT_PULLUP, 7) 635*01950c46SEmmanuel Vadot >; 636*01950c46SEmmanuel Vadot }; 637*01950c46SEmmanuel Vadot 638*01950c46SEmmanuel Vadot d8_gpio_pulldown: d8-gpio-pulldown-pins { 639*01950c46SEmmanuel Vadot pinctrl-single,pins = < 640*01950c46SEmmanuel Vadot /* (AG15) GPIO0_48 */ 641*01950c46SEmmanuel Vadot AM65X_IOPAD(0x00C0, PIN_INPUT_PULLDOWN, 7) 642*01950c46SEmmanuel Vadot >; 643*01950c46SEmmanuel Vadot }; 644*01950c46SEmmanuel Vadot 645*01950c46SEmmanuel Vadot d9_ehrpwm5_a: d9-ehrpwm5-a-pins { 646*01950c46SEmmanuel Vadot pinctrl-single,pins = < 647*01950c46SEmmanuel Vadot /* (AD15) EHRPWM5_A */ 648*01950c46SEmmanuel Vadot AM65X_IOPAD(0x00CC, PIN_OUTPUT, 5) 649*01950c46SEmmanuel Vadot >; 650*01950c46SEmmanuel Vadot }; 651*01950c46SEmmanuel Vadot 652*01950c46SEmmanuel Vadot d9_gpio: d9-gpio-pins { 653*01950c46SEmmanuel Vadot pinctrl-single,pins = < 654*01950c46SEmmanuel Vadot /* (AD15) GPIO0_51 */ 655*01950c46SEmmanuel Vadot AM65X_IOPAD(0x00CC, PIN_INPUT, 7) 656*01950c46SEmmanuel Vadot >; 657*01950c46SEmmanuel Vadot }; 658*01950c46SEmmanuel Vadot 659*01950c46SEmmanuel Vadot d9_gpio_pullup: d9-gpio-pullup-pins { 660*01950c46SEmmanuel Vadot pinctrl-single,pins = < 661*01950c46SEmmanuel Vadot /* (AD15) GPIO0_51 */ 662*01950c46SEmmanuel Vadot AM65X_IOPAD(0x00CC, PIN_INPUT_PULLUP, 7) 663*01950c46SEmmanuel Vadot >; 664*01950c46SEmmanuel Vadot }; 665*01950c46SEmmanuel Vadot 666*01950c46SEmmanuel Vadot d9_gpio_pulldown: d9-gpio-pulldown-pins { 667*01950c46SEmmanuel Vadot pinctrl-single,pins = < 668*01950c46SEmmanuel Vadot /* (AD15) GPIO0_51 */ 669*01950c46SEmmanuel Vadot AM65X_IOPAD(0x00CC, PIN_INPUT_PULLDOWN, 7) 670*01950c46SEmmanuel Vadot >; 671*01950c46SEmmanuel Vadot }; 672*01950c46SEmmanuel Vadot}; 673*01950c46SEmmanuel Vadot 674*01950c46SEmmanuel Vadot&main_gpio0 { 675*01950c46SEmmanuel Vadot gpio-line-names = 676*01950c46SEmmanuel Vadot "main_gpio0-base", "", "", "", "", "", "", "", "", "", 677*01950c46SEmmanuel Vadot "", "", "", "", "", "", "", "", "", "", 678*01950c46SEmmanuel Vadot "", "", "", "", "", "", "", "", "", "", 679*01950c46SEmmanuel Vadot "", "", "", "IO4", "", "IO5", "", "", "IO6", "", 680*01950c46SEmmanuel Vadot "", "", "", "IO7", "", "", "", "", "IO8", "", 681*01950c46SEmmanuel Vadot "", "IO9"; 682*01950c46SEmmanuel Vadot}; 683*01950c46SEmmanuel Vadot 684*01950c46SEmmanuel Vadot&wkup_gpio0 { 685*01950c46SEmmanuel Vadot pinctrl-names = "default"; 686*01950c46SEmmanuel Vadot pinctrl-0 = 687*01950c46SEmmanuel Vadot <&arduino_i2c_aio_switch_pins_default>, 688*01950c46SEmmanuel Vadot <&arduino_io_oe_pins_default>, 689*01950c46SEmmanuel Vadot <&push_button_pins_default>, 690*01950c46SEmmanuel Vadot <&db9_com_mode_pins_default>; 691*01950c46SEmmanuel Vadot gpio-line-names = 692*01950c46SEmmanuel Vadot /* 0..9 */ 693*01950c46SEmmanuel Vadot "wkup_gpio0-base", "", "", "", "UART0-mode1", "UART0-mode0", 694*01950c46SEmmanuel Vadot "UART0-enable", "UART0-terminate", "", "WIFI-disable", 695*01950c46SEmmanuel Vadot /* 10..19 */ 696*01950c46SEmmanuel Vadot "", "", "", "", "", "", "", "", "", "", 697*01950c46SEmmanuel Vadot /* 20..29 */ 698*01950c46SEmmanuel Vadot "", "A4A5-I2C-mux", "", "", "", "USER-button", "", "", "","IO0", 699*01950c46SEmmanuel Vadot /* 30..39 */ 700*01950c46SEmmanuel Vadot "IO1", "IO2", "", "IO3", "IO17-direction", "A5", 701*01950c46SEmmanuel Vadot "IO16-direction", "IO15-direction", "IO14-direction", "A3", 702*01950c46SEmmanuel Vadot /* 40..49 */ 703*01950c46SEmmanuel Vadot "", "IO18-direction", "A4", "A2", "A1", "A0", "", "", "IO13", 704*01950c46SEmmanuel Vadot "IO11", 705*01950c46SEmmanuel Vadot /* 50..51 */ 706*01950c46SEmmanuel Vadot "IO12", "IO10"; 707*01950c46SEmmanuel Vadot}; 708*01950c46SEmmanuel Vadot 709*01950c46SEmmanuel Vadot&wkup_i2c0 { 710*01950c46SEmmanuel Vadot status = "okay"; 711*01950c46SEmmanuel Vadot pinctrl-names = "default"; 712*01950c46SEmmanuel Vadot pinctrl-0 = <&wkup_i2c0_pins_default>; 713*01950c46SEmmanuel Vadot clock-frequency = <400000>; 714*01950c46SEmmanuel Vadot}; 715*01950c46SEmmanuel Vadot 716*01950c46SEmmanuel Vadot&mcu_i2c0 { 717*01950c46SEmmanuel Vadot /* D4200 */ 718*01950c46SEmmanuel Vadot pcal9535_1: gpio@20 { 719*01950c46SEmmanuel Vadot compatible = "nxp,pcal9535"; 720*01950c46SEmmanuel Vadot reg = <0x20>; 721*01950c46SEmmanuel Vadot #gpio-cells = <2>; 722*01950c46SEmmanuel Vadot gpio-controller; 723*01950c46SEmmanuel Vadot gpio-line-names = 724*01950c46SEmmanuel Vadot "A0-pull", "A1-pull", "A2-pull", "A3-pull", "A4-pull", 725*01950c46SEmmanuel Vadot "A5-pull", "", "", 726*01950c46SEmmanuel Vadot "IO14-enable", "IO15-enable", "IO16-enable", 727*01950c46SEmmanuel Vadot "IO17-enable", "IO18-enable", "IO19-enable"; 728*01950c46SEmmanuel Vadot }; 729*01950c46SEmmanuel Vadot 730*01950c46SEmmanuel Vadot /* D4201 */ 731*01950c46SEmmanuel Vadot pcal9535_2: gpio@21 { 732*01950c46SEmmanuel Vadot compatible = "nxp,pcal9535"; 733*01950c46SEmmanuel Vadot reg = <0x21>; 734*01950c46SEmmanuel Vadot #gpio-cells = <2>; 735*01950c46SEmmanuel Vadot gpio-controller; 736*01950c46SEmmanuel Vadot gpio-line-names = 737*01950c46SEmmanuel Vadot "IO0-direction", "IO1-direction", "IO2-direction", 738*01950c46SEmmanuel Vadot "IO3-direction", "IO4-direction", "IO5-direction", 739*01950c46SEmmanuel Vadot "IO6-direction", "IO7-direction", 740*01950c46SEmmanuel Vadot "IO8-direction", "IO9-direction", "IO10-direction", 741*01950c46SEmmanuel Vadot "IO11-direction", "IO12-direction", "IO13-direction", 742*01950c46SEmmanuel Vadot "IO19-direction"; 743*01950c46SEmmanuel Vadot }; 744*01950c46SEmmanuel Vadot 745*01950c46SEmmanuel Vadot /* D4202 */ 746*01950c46SEmmanuel Vadot pcal9535_3: gpio@25 { 747*01950c46SEmmanuel Vadot compatible = "nxp,pcal9535"; 748*01950c46SEmmanuel Vadot reg = <0x25>; 749*01950c46SEmmanuel Vadot #gpio-cells = <2>; 750*01950c46SEmmanuel Vadot gpio-controller; 751*01950c46SEmmanuel Vadot gpio-line-names = 752*01950c46SEmmanuel Vadot "IO0-pull", "IO1-pull", "IO2-pull", "IO3-pull", 753*01950c46SEmmanuel Vadot "IO4-pull", "IO5-pull", "IO6-pull", "IO7-pull", 754*01950c46SEmmanuel Vadot "IO8-pull", "IO9-pull", "IO10-pull", "IO11-pull", 755*01950c46SEmmanuel Vadot "IO12-pull", "IO13-pull"; 756*01950c46SEmmanuel Vadot }; 757*01950c46SEmmanuel Vadot}; 758*01950c46SEmmanuel Vadot 759*01950c46SEmmanuel Vadot&mcu_uart0 { 760*01950c46SEmmanuel Vadot status = "okay"; 761*01950c46SEmmanuel Vadot}; 762*01950c46SEmmanuel Vadot 763*01950c46SEmmanuel Vadot&tscadc1 { 764*01950c46SEmmanuel Vadot status = "okay"; 765*01950c46SEmmanuel Vadot adc { 766*01950c46SEmmanuel Vadot ti,adc-channels = <0 1 2 3 4 5>; 767*01950c46SEmmanuel Vadot }; 768*01950c46SEmmanuel Vadot}; 769