1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 4f126890aSEmmanuel Vadot * 5f126890aSEmmanuel Vadot * Author: Robert Nelson <robertcnelson@gmail.com> 6f126890aSEmmanuel Vadot */ 7f126890aSEmmanuel Vadot/dts-v1/; 8f126890aSEmmanuel Vadot 9f126890aSEmmanuel Vadot#include "am33xx.dtsi" 10f126890aSEmmanuel Vadot#include "am335x-osd335x-common.dtsi" 11*84943d6fSEmmanuel Vadot#include <dt-bindings/leds/common.h> 12f126890aSEmmanuel Vadot 13f126890aSEmmanuel Vadot/ { 14f126890aSEmmanuel Vadot model = "TI AM335x PocketBeagle"; 15f126890aSEmmanuel Vadot compatible = "ti,am335x-pocketbeagle", "ti,am335x-bone", "ti,am33xx"; 16f126890aSEmmanuel Vadot 17f126890aSEmmanuel Vadot chosen { 18f126890aSEmmanuel Vadot stdout-path = &uart0; 19f126890aSEmmanuel Vadot }; 20f126890aSEmmanuel Vadot 21f126890aSEmmanuel Vadot leds { 22f126890aSEmmanuel Vadot pinctrl-names = "default"; 23f126890aSEmmanuel Vadot pinctrl-0 = <&usr_leds_pins>; 24f126890aSEmmanuel Vadot 25f126890aSEmmanuel Vadot compatible = "gpio-leds"; 26f126890aSEmmanuel Vadot 27f126890aSEmmanuel Vadot led-usr0 { 28f126890aSEmmanuel Vadot label = "beaglebone:green:usr0"; 29*84943d6fSEmmanuel Vadot color = <LED_COLOR_ID_BLUE>; 30*84943d6fSEmmanuel Vadot function = LED_FUNCTION_HEARTBEAT; 31f126890aSEmmanuel Vadot gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; 32f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 33f126890aSEmmanuel Vadot default-state = "off"; 34f126890aSEmmanuel Vadot }; 35f126890aSEmmanuel Vadot 36f126890aSEmmanuel Vadot led-usr1 { 37f126890aSEmmanuel Vadot label = "beaglebone:green:usr1"; 38*84943d6fSEmmanuel Vadot color = <LED_COLOR_ID_BLUE>; 39*84943d6fSEmmanuel Vadot function = LED_FUNCTION_DISK_ACTIVITY; 40f126890aSEmmanuel Vadot gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>; 41f126890aSEmmanuel Vadot linux,default-trigger = "mmc0"; 42f126890aSEmmanuel Vadot default-state = "off"; 43f126890aSEmmanuel Vadot }; 44f126890aSEmmanuel Vadot 45f126890aSEmmanuel Vadot led-usr2 { 46f126890aSEmmanuel Vadot label = "beaglebone:green:usr2"; 47*84943d6fSEmmanuel Vadot color = <LED_COLOR_ID_BLUE>; 48*84943d6fSEmmanuel Vadot function = LED_FUNCTION_CPU; 49f126890aSEmmanuel Vadot gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; 50f126890aSEmmanuel Vadot linux,default-trigger = "cpu0"; 51f126890aSEmmanuel Vadot default-state = "off"; 52f126890aSEmmanuel Vadot }; 53f126890aSEmmanuel Vadot 54f126890aSEmmanuel Vadot led-usr3 { 55f126890aSEmmanuel Vadot label = "beaglebone:green:usr3"; 56*84943d6fSEmmanuel Vadot color = <LED_COLOR_ID_BLUE>; 57*84943d6fSEmmanuel Vadot function = LED_FUNCTION_INDICATOR; 58f126890aSEmmanuel Vadot gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>; 59f126890aSEmmanuel Vadot default-state = "off"; 60f126890aSEmmanuel Vadot }; 61f126890aSEmmanuel Vadot }; 62f126890aSEmmanuel Vadot 63f126890aSEmmanuel Vadot vmmcsd_fixed: fixedregulator0 { 64f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 65f126890aSEmmanuel Vadot regulator-name = "vmmcsd_fixed"; 66f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 67f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 68f126890aSEmmanuel Vadot }; 69f126890aSEmmanuel Vadot}; 70f126890aSEmmanuel Vadot 71f126890aSEmmanuel Vadot&gpio0 { 72f126890aSEmmanuel Vadot gpio-line-names = 73f126890aSEmmanuel Vadot "NC", 74f126890aSEmmanuel Vadot "NC", 75f126890aSEmmanuel Vadot "P1.08 [SPI0_CLK]", 76f126890aSEmmanuel Vadot "P1.10 [SPI0_MISO]", 77f126890aSEmmanuel Vadot "P1.12 [SPI0_MOSI]", 78f126890aSEmmanuel Vadot "P1.06 [SPI0_CS]", 79f126890aSEmmanuel Vadot "[MMC0_CD]", 80f126890aSEmmanuel Vadot "P2.29 [SPI1_CLK]", 81f126890aSEmmanuel Vadot "[SYSBOOT 12]", 82f126890aSEmmanuel Vadot "[SYSBOOT 13]", 83f126890aSEmmanuel Vadot "[SYSBOOT 14]", 84f126890aSEmmanuel Vadot "[SYSBOOT 15]", 85f126890aSEmmanuel Vadot "P1.26 [I2C2_SDA]", 86f126890aSEmmanuel Vadot "P1.28 [I2C2_SCL]", 87f126890aSEmmanuel Vadot "P2.11 [I2C1_SDA]", 88f126890aSEmmanuel Vadot "P2.09 [I2C1_SCL]", 89f126890aSEmmanuel Vadot "NC", 90f126890aSEmmanuel Vadot "NC", 91f126890aSEmmanuel Vadot "NC", 92f126890aSEmmanuel Vadot "P2.31 [SPI1_CS]", 93f126890aSEmmanuel Vadot "P1.20 [PRU0.16]", 94f126890aSEmmanuel Vadot "NC", 95f126890aSEmmanuel Vadot "NC", 96f126890aSEmmanuel Vadot "P2.03", 97f126890aSEmmanuel Vadot "NC", 98f126890aSEmmanuel Vadot "NC", 99f126890aSEmmanuel Vadot "P1.34", 100f126890aSEmmanuel Vadot "P2.19", 101f126890aSEmmanuel Vadot "NC", 102f126890aSEmmanuel Vadot "NC", 103f126890aSEmmanuel Vadot "P2.05 [UART4_RX]", 104f126890aSEmmanuel Vadot "P2.07 [UART4_TX]"; 105f126890aSEmmanuel Vadot}; 106f126890aSEmmanuel Vadot 107f126890aSEmmanuel Vadot&gpio1 { 108f126890aSEmmanuel Vadot gpio-line-names = 109f126890aSEmmanuel Vadot "NC", 110f126890aSEmmanuel Vadot "NC", 111f126890aSEmmanuel Vadot "NC", 112f126890aSEmmanuel Vadot "NC", 113f126890aSEmmanuel Vadot "NC", 114f126890aSEmmanuel Vadot "NC", 115f126890aSEmmanuel Vadot "NC", 116f126890aSEmmanuel Vadot "NC", 117f126890aSEmmanuel Vadot "NC", 118f126890aSEmmanuel Vadot "P2.25 [SPI1_MOSI]", 119f126890aSEmmanuel Vadot "P1.32 [UART0_RX]", 120f126890aSEmmanuel Vadot "P1.30 [UART0_TX]", 121f126890aSEmmanuel Vadot "P2.24", 122f126890aSEmmanuel Vadot "P2.33", 123f126890aSEmmanuel Vadot "P2.22", 124*84943d6fSEmmanuel Vadot "P2.18 [PRU0.15i]", 125f126890aSEmmanuel Vadot "NC", 126f126890aSEmmanuel Vadot "NC", 127f126890aSEmmanuel Vadot "P2.01 [PWM1A]", 128f126890aSEmmanuel Vadot "NC", 129f126890aSEmmanuel Vadot "P2.10", 130f126890aSEmmanuel Vadot "[USR LED 0]", 131f126890aSEmmanuel Vadot "[USR LED 1]", 132f126890aSEmmanuel Vadot "[USR LED 2]", 133f126890aSEmmanuel Vadot "[USR LED 3]", 134f126890aSEmmanuel Vadot "P2.06", 135f126890aSEmmanuel Vadot "P2.04", 136f126890aSEmmanuel Vadot "P2.02", 137f126890aSEmmanuel Vadot "P2.08", 138f126890aSEmmanuel Vadot "NC", 139f126890aSEmmanuel Vadot "NC", 140f126890aSEmmanuel Vadot "NC"; 141f126890aSEmmanuel Vadot}; 142f126890aSEmmanuel Vadot 143f126890aSEmmanuel Vadot&gpio2 { 144f126890aSEmmanuel Vadot gpio-line-names = 145f126890aSEmmanuel Vadot "P2.20", 146f126890aSEmmanuel Vadot "P2.17", 147f126890aSEmmanuel Vadot "NC", 148f126890aSEmmanuel Vadot "NC", 149f126890aSEmmanuel Vadot "NC", 150f126890aSEmmanuel Vadot "[EEPROM_WP]", 151f126890aSEmmanuel Vadot "[SYSBOOT 0]", 152f126890aSEmmanuel Vadot "[SYSBOOT 1]", 153f126890aSEmmanuel Vadot "[SYSBOOT 2]", 154f126890aSEmmanuel Vadot "[SYSBOOT 3]", 155f126890aSEmmanuel Vadot "[SYSBOOT 4]", 156f126890aSEmmanuel Vadot "[SYSBOOT 5]", 157f126890aSEmmanuel Vadot "[SYSBOOT 6]", 158f126890aSEmmanuel Vadot "[SYSBOOT 7]", 159f126890aSEmmanuel Vadot "[SYSBOOT 8]", 160f126890aSEmmanuel Vadot "[SYSBOOT 9]", 161f126890aSEmmanuel Vadot "[SYSBOOT 10]", 162f126890aSEmmanuel Vadot "[SYSBOOT 11]", 163f126890aSEmmanuel Vadot "NC", 164f126890aSEmmanuel Vadot "NC", 165f126890aSEmmanuel Vadot "NC", 166f126890aSEmmanuel Vadot "NC", 167f126890aSEmmanuel Vadot "P2.35 [AIN5]", 168f126890aSEmmanuel Vadot "P1.02 [AIN6]", 169f126890aSEmmanuel Vadot "P1.35 [PRU1.10]", 170f126890aSEmmanuel Vadot "P1.04 [PRU1.11]", 171f126890aSEmmanuel Vadot "[MMC0_DAT3]", 172f126890aSEmmanuel Vadot "[MMC0_DAT2]", 173f126890aSEmmanuel Vadot "[MMC0_DAT1]", 174f126890aSEmmanuel Vadot "[MMC0_DAT0]", 175f126890aSEmmanuel Vadot "[MMC0_CLK]", 176f126890aSEmmanuel Vadot "[MMC0_CMD]"; 177f126890aSEmmanuel Vadot}; 178f126890aSEmmanuel Vadot 179f126890aSEmmanuel Vadot&gpio3 { 180f126890aSEmmanuel Vadot gpio-line-names = 181f126890aSEmmanuel Vadot "NC", 182f126890aSEmmanuel Vadot "NC", 183f126890aSEmmanuel Vadot "NC", 184f126890aSEmmanuel Vadot "NC", 185f126890aSEmmanuel Vadot "NC", 186f126890aSEmmanuel Vadot "[I2C0_SDA]", 187f126890aSEmmanuel Vadot "[I2C0_SCL]", 188f126890aSEmmanuel Vadot "[JTAG EMU0]", 189f126890aSEmmanuel Vadot "[JTAG EMU1]", 190f126890aSEmmanuel Vadot "NC", 191f126890aSEmmanuel Vadot "NC", 192f126890aSEmmanuel Vadot "NC", 193f126890aSEmmanuel Vadot "NC", 194f126890aSEmmanuel Vadot "P1.03 [USB1]", 195f126890aSEmmanuel Vadot "P1.36 [PWM0A]", 196f126890aSEmmanuel Vadot "P1.33 [PRU0.1]", 197f126890aSEmmanuel Vadot "P2.32 [PRU0.2]", 198f126890aSEmmanuel Vadot "P2.30 [PRU0.3]", 199f126890aSEmmanuel Vadot "P1.31 [PRU0.4]", 200f126890aSEmmanuel Vadot "P2.34 [PRU0.5]", 201f126890aSEmmanuel Vadot "P2.28 [PRU0.6]", 202f126890aSEmmanuel Vadot "P1.29 [PRU0.7]", 203f126890aSEmmanuel Vadot "NC", 204f126890aSEmmanuel Vadot "NC", 205f126890aSEmmanuel Vadot "NC", 206f126890aSEmmanuel Vadot "NC", 207f126890aSEmmanuel Vadot "NC", 208f126890aSEmmanuel Vadot "NC", 209f126890aSEmmanuel Vadot "NC", 210f126890aSEmmanuel Vadot "NC", 211f126890aSEmmanuel Vadot "NC", 212f126890aSEmmanuel Vadot "NC"; 213f126890aSEmmanuel Vadot}; 214f126890aSEmmanuel Vadot 215f126890aSEmmanuel Vadot&am33xx_pinmux { 216f126890aSEmmanuel Vadot 217f126890aSEmmanuel Vadot compatible = "pinconf-single"; 218f126890aSEmmanuel Vadot pinctrl-names = "default"; 219f126890aSEmmanuel Vadot 220f126890aSEmmanuel Vadot /* P2_03 (ZCZ ball T10) gpio0_23 0x824 PIN 9 */ 221f126890aSEmmanuel Vadot P2_03_gpio: P2-03-gpio-pins { 222f126890aSEmmanuel Vadot pinctrl-single,pins = < 223f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD9, PIN_INPUT_PULLUP, MUX_MODE7) 224f126890aSEmmanuel Vadot >; 225f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 226f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; 227f126890aSEmmanuel Vadot }; 228f126890aSEmmanuel Vadot 229f126890aSEmmanuel Vadot /* P1_34 (ZCZ ball T11) gpio0_26 0x828 PIN 10 */ 230f126890aSEmmanuel Vadot P1_34_gpio: P1-34-gpio-pins { 231f126890aSEmmanuel Vadot pinctrl-single,pins = < 232f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD10, PIN_INPUT_PULLUP, MUX_MODE7) 233f126890aSEmmanuel Vadot >; 234f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 235f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; 236f126890aSEmmanuel Vadot }; 237f126890aSEmmanuel Vadot 238f126890aSEmmanuel Vadot /* P2_19 (ZCZ ball U12) gpio0_27 0x82c PIN 11 */ 239f126890aSEmmanuel Vadot P2_19_gpio: P2-19-gpio-pins { 240f126890aSEmmanuel Vadot pinctrl-single,pins = < 241f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD11, PIN_INPUT_PULLUP, MUX_MODE7) 242f126890aSEmmanuel Vadot >; 243f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 244f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; 245f126890aSEmmanuel Vadot }; 246f126890aSEmmanuel Vadot 247f126890aSEmmanuel Vadot /* P2_24 (ZCZ ball T12) gpio1_12 0x830 PIN 12 */ 248f126890aSEmmanuel Vadot P2_24_gpio: P2-24-gpio-pins { 249f126890aSEmmanuel Vadot pinctrl-single,pins = < 250f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_INPUT_PULLUP, MUX_MODE7) 251f126890aSEmmanuel Vadot >; 252f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 253f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; 254f126890aSEmmanuel Vadot }; 255f126890aSEmmanuel Vadot 256f126890aSEmmanuel Vadot /* P2_33 (ZCZ ball R12) gpio1_13 0x834 PIN 13 */ 257f126890aSEmmanuel Vadot P2_33_gpio: P2-33-gpio-pins { 258f126890aSEmmanuel Vadot pinctrl-single,pins = < 259f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT_PULLUP, MUX_MODE7) 260f126890aSEmmanuel Vadot >; 261f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 262f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; 263f126890aSEmmanuel Vadot }; 264f126890aSEmmanuel Vadot 265f126890aSEmmanuel Vadot /* P2_22 (ZCZ ball V13) gpio1_14 0x838 PIN 14 */ 266f126890aSEmmanuel Vadot P2_22_gpio: P2-22-gpio-pins { 267f126890aSEmmanuel Vadot pinctrl-single,pins = < 268f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLUP, MUX_MODE7) 269f126890aSEmmanuel Vadot >; 270f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 271f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; 272f126890aSEmmanuel Vadot }; 273f126890aSEmmanuel Vadot 274*84943d6fSEmmanuel Vadot /* P2_20 (ZCZ ball T13) gpio2_00 0x888 */ 275*84943d6fSEmmanuel Vadot P2_20_gpio: P2-20-gpio-pins { 276f126890aSEmmanuel Vadot pinctrl-single,pins = < 277*84943d6fSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_CSN3, PIN_INPUT_PULLUP, MUX_MODE7) 278f126890aSEmmanuel Vadot >; 279f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 280f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; 281f126890aSEmmanuel Vadot }; 282f126890aSEmmanuel Vadot 283f126890aSEmmanuel Vadot /* P2_10 (ZCZ ball R14) gpio1_20 0x850 PIN 20 */ 284f126890aSEmmanuel Vadot P2_10_gpio: P2-10-gpio-pins { 285f126890aSEmmanuel Vadot pinctrl-single,pins = < 286f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_INPUT_PULLUP, MUX_MODE7) 287f126890aSEmmanuel Vadot >; 288f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 289f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; 290f126890aSEmmanuel Vadot }; 291f126890aSEmmanuel Vadot 292f126890aSEmmanuel Vadot /* P2_06 (ZCZ ball U16) gpio1_25 0x864 PIN 25 */ 293f126890aSEmmanuel Vadot P2_06_gpio: P2-06-gpio-pins { 294f126890aSEmmanuel Vadot pinctrl-single,pins = < 295f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT_PULLUP, MUX_MODE7) 296f126890aSEmmanuel Vadot >; 297f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 298f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; 299f126890aSEmmanuel Vadot }; 300f126890aSEmmanuel Vadot 301f126890aSEmmanuel Vadot /* P2_04 (ZCZ ball T16) gpio1_26 0x868 PIN 26 */ 302f126890aSEmmanuel Vadot P2_04_gpio: P2-04-gpio-pins { 303f126890aSEmmanuel Vadot pinctrl-single,pins = < 304f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT_PULLUP, MUX_MODE7) 305f126890aSEmmanuel Vadot >; 306f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 307f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; 308f126890aSEmmanuel Vadot }; 309f126890aSEmmanuel Vadot 310f126890aSEmmanuel Vadot /* P2_02 (ZCZ ball V17) gpio1_27 0x86c PIN 27 */ 311f126890aSEmmanuel Vadot P2_02_gpio: P2-02-gpio-pins { 312f126890aSEmmanuel Vadot pinctrl-single,pins = < 313f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT_PULLUP, MUX_MODE7) 314f126890aSEmmanuel Vadot >; 315f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 316f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; 317f126890aSEmmanuel Vadot }; 318f126890aSEmmanuel Vadot 319f126890aSEmmanuel Vadot /* P2_08 (ZCZ ball U18) gpio1_28 0x878 PIN 30 */ 320f126890aSEmmanuel Vadot P2_08_gpio: P2-08-gpio-pins { 321f126890aSEmmanuel Vadot pinctrl-single,pins = < 322f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_BEN1, PIN_INPUT_PULLDOWN, MUX_MODE7) 323f126890aSEmmanuel Vadot >; 324f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = < 0x00 0x10 0x00 0x18>; 325f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = < 0x00 0x00 0x10 0x18>; 326f126890aSEmmanuel Vadot }; 327f126890aSEmmanuel Vadot 328f126890aSEmmanuel Vadot /* P2_17 (ZCZ ball V12) gpio2_1 0x88c PIN 35 */ 329f126890aSEmmanuel Vadot P2_17_gpio: P2-17-gpio-pins { 330f126890aSEmmanuel Vadot pinctrl-single,pins = < 331f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_CLK, PIN_INPUT_PULLUP, MUX_MODE7) 332f126890aSEmmanuel Vadot >; 333f126890aSEmmanuel Vadot pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>; 334f126890aSEmmanuel Vadot pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>; 335f126890aSEmmanuel Vadot }; 336f126890aSEmmanuel Vadot 337f126890aSEmmanuel Vadot i2c2_pins: pinmux-i2c2-pins { 338f126890aSEmmanuel Vadot pinctrl-single,pins = < 339f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_INPUT_PULLUP, MUX_MODE3) /* (D17) uart1_rtsn.I2C2_SCL */ 340f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT_PULLUP, MUX_MODE3) /* (D18) uart1_ctsn.I2C2_SDA */ 341f126890aSEmmanuel Vadot >; 342f126890aSEmmanuel Vadot }; 343f126890aSEmmanuel Vadot 344f126890aSEmmanuel Vadot ehrpwm0_pins: pinmux-ehrpwm0-pins { 345f126890aSEmmanuel Vadot pinctrl-single,pins = < 346f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKX, PIN_OUTPUT_PULLDOWN, MUX_MODE1) /* (A13) mcasp0_aclkx.ehrpwm0A */ 347f126890aSEmmanuel Vadot >; 348f126890aSEmmanuel Vadot }; 349f126890aSEmmanuel Vadot 350f126890aSEmmanuel Vadot ehrpwm1_pins: pinmux-ehrpwm1-pins { 351f126890aSEmmanuel Vadot pinctrl-single,pins = < 352f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A2, PIN_OUTPUT_PULLDOWN, MUX_MODE6) /* (U14) gpmc_a2.ehrpwm1A */ 353f126890aSEmmanuel Vadot >; 354f126890aSEmmanuel Vadot }; 355f126890aSEmmanuel Vadot 356f126890aSEmmanuel Vadot mmc0_pins: pinmux-mmc0-pins { 357f126890aSEmmanuel Vadot pinctrl-single,pins = < 358f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_INPUT, MUX_MODE7) /* (C15) spi0_cs1.gpio0[6] */ 359f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLUP, MUX_MODE0) 360f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLUP, MUX_MODE0) 361f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0) 362f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0) 363f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0) 364f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0) 365f126890aSEmmanuel Vadot >; 366f126890aSEmmanuel Vadot }; 367f126890aSEmmanuel Vadot 368f126890aSEmmanuel Vadot spi0_pins: pinmux-spi0-pins { 369f126890aSEmmanuel Vadot pinctrl-single,pins = < 370f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT_PULLUP, MUX_MODE0) 371f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_INPUT_PULLUP, MUX_MODE0) 372f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT_PULLUP, MUX_MODE0) 373f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_INPUT_PULLUP, MUX_MODE0) 374f126890aSEmmanuel Vadot >; 375f126890aSEmmanuel Vadot }; 376f126890aSEmmanuel Vadot 377f126890aSEmmanuel Vadot spi1_pins: pinmux-spi1-pins { 378f126890aSEmmanuel Vadot pinctrl-single,pins = < 379f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_ECAP0_IN_PWM0_OUT, PIN_INPUT_PULLUP, MUX_MODE4) /* (C18) eCAP0_in_PWM0_out.spi1_sclk */ 380f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT_PULLUP, MUX_MODE4) /* (E18) uart0_ctsn.spi1_d0 */ 381f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT_PULLUP, MUX_MODE4) /* (E17) uart0_rtsn.spi1_d1 */ 382f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR0, PIN_INPUT_PULLUP, MUX_MODE4) /* (A15) xdma_event_intr0.spi1_cs1 */ 383f126890aSEmmanuel Vadot >; 384f126890aSEmmanuel Vadot }; 385f126890aSEmmanuel Vadot 386f126890aSEmmanuel Vadot usr_leds_pins: pinmux-usr-leds-pins { 387f126890aSEmmanuel Vadot pinctrl-single,pins = < 388f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_OUTPUT, MUX_MODE7) /* (V15) gpmc_a5.gpio1[21] - USR_LED_0 */ 389f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A6, PIN_OUTPUT, MUX_MODE7) /* (U15) gpmc_a6.gpio1[22] - USR_LED_1 */ 390f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A7, PIN_OUTPUT, MUX_MODE7) /* (T15) gpmc_a7.gpio1[23] - USR_LED_2 */ 391f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A8, PIN_OUTPUT, MUX_MODE7) /* (V16) gpmc_a8.gpio1[24] - USR_LED_3 */ 392f126890aSEmmanuel Vadot >; 393f126890aSEmmanuel Vadot }; 394f126890aSEmmanuel Vadot 395f126890aSEmmanuel Vadot uart0_pins: pinmux-uart0-pins { 396f126890aSEmmanuel Vadot pinctrl-single,pins = < 397f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0) 398f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 399f126890aSEmmanuel Vadot >; 400f126890aSEmmanuel Vadot }; 401f126890aSEmmanuel Vadot 402f126890aSEmmanuel Vadot uart4_pins: pinmux-uart4-pins { 403f126890aSEmmanuel Vadot pinctrl-single,pins = < 404f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLUP, MUX_MODE6) /* (T17) gpmc_wait0.uart4_rxd */ 405f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_OUTPUT_PULLDOWN, MUX_MODE6) /* (U17) gpmc_wpn.uart4_txd */ 406f126890aSEmmanuel Vadot >; 407f126890aSEmmanuel Vadot }; 408*84943d6fSEmmanuel Vadot 409*84943d6fSEmmanuel Vadot pru0_pins: pinmux-pru0-pins { 410*84943d6fSEmmanuel Vadot pinctrl-single,pins = < 411*84943d6fSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR1, PIN_INPUT_PULLUP, MUX_MODE5)/* (D14) xdma_event_intr1.pr1_pru0_pru_r31_16 */ 412*84943d6fSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKX, PIN_OUTPUT_PULLDOWN, MUX_MODE5)/* (A14) mcasp0_ahclkx.pr1_pru0_pru_r30_7 */ 413*84943d6fSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKR, PIN_OUTPUT_PULLDOWN, MUX_MODE5) /* (B12) mcasp0_acklr.pr1_pru0_pru_r30_4 */ 414*84943d6fSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MCASP0_FSX, PIN_OUTPUT_PULLDOWN, MUX_MODE5) /* (B13) mcasp0_fsx.pr1_pru0_pru_r30_1 */ 415*84943d6fSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT_PULLUP, MUX_MODE6) /* (U13) gpmc_ad15.pr1_pru0_pru_r31_15 */ 416*84943d6fSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MCASP0_AXR1, PIN_OUTPUT_PULLDOWN, MUX_MODE5) /* (D13) mcasp0_axr1.pr1_pru0_pru_r30_6 */ 417*84943d6fSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKR, PIN_OUTPUT_PULLDOWN, MUX_MODE5)/* (C12) mcasp0_ahclkr.pr1_pru0_pru_r30_3 */ 418*84943d6fSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MCASP0_AXR0, PIN_OUTPUT_PULLDOWN, MUX_MODE5) /* (D12) mcasp0_axr0.pr1_pru0_pru_r30_2 */ 419*84943d6fSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MCASP0_FSR, PIN_OUTPUT_PULLDOWN, MUX_MODE5) /* (C13) mcasp0_fsr.pr1_pru0_pru_r30_5 */ 420*84943d6fSEmmanuel Vadot >; 421*84943d6fSEmmanuel Vadot }; 422*84943d6fSEmmanuel Vadot 423*84943d6fSEmmanuel Vadot pru1_pins: pinmux-pru1-pins { 424*84943d6fSEmmanuel Vadot pinctrl-single,pins = < 425*84943d6fSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE5)/*(R6) lcd_ac_bias_en.pr1_pru1_pru_r30_11 */ 426*84943d6fSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_OUTPUT_PULLDOWN, MUX_MODE5) /* (V5) lcd_pclk.pr1_pru1_pru_r30_10 */ 427*84943d6fSEmmanuel Vadot >; 428*84943d6fSEmmanuel Vadot }; 429f126890aSEmmanuel Vadot}; 430f126890aSEmmanuel Vadot 431f126890aSEmmanuel Vadot&epwmss0 { 432f126890aSEmmanuel Vadot status = "okay"; 433f126890aSEmmanuel Vadot}; 434f126890aSEmmanuel Vadot 435f126890aSEmmanuel Vadot&ehrpwm0 { 436f126890aSEmmanuel Vadot status = "okay"; 437f126890aSEmmanuel Vadot pinctrl-names = "default"; 438f126890aSEmmanuel Vadot pinctrl-0 = <&ehrpwm0_pins>; 439f126890aSEmmanuel Vadot}; 440f126890aSEmmanuel Vadot 441f126890aSEmmanuel Vadot&epwmss1 { 442f126890aSEmmanuel Vadot status = "okay"; 443f126890aSEmmanuel Vadot}; 444f126890aSEmmanuel Vadot 445f126890aSEmmanuel Vadot&ehrpwm1 { 446f126890aSEmmanuel Vadot status = "okay"; 447f126890aSEmmanuel Vadot pinctrl-names = "default"; 448f126890aSEmmanuel Vadot pinctrl-0 = <&ehrpwm1_pins>; 449f126890aSEmmanuel Vadot}; 450f126890aSEmmanuel Vadot 451f126890aSEmmanuel Vadot&i2c0 { 452f126890aSEmmanuel Vadot eeprom: eeprom@50 { 453f126890aSEmmanuel Vadot compatible = "atmel,24c256"; 454f126890aSEmmanuel Vadot reg = <0x50>; 455f126890aSEmmanuel Vadot }; 456f126890aSEmmanuel Vadot}; 457f126890aSEmmanuel Vadot 458f126890aSEmmanuel Vadot&i2c2 { 459f126890aSEmmanuel Vadot pinctrl-names = "default"; 460f126890aSEmmanuel Vadot pinctrl-0 = <&i2c2_pins>; 461f126890aSEmmanuel Vadot 462f126890aSEmmanuel Vadot status = "okay"; 463f126890aSEmmanuel Vadot clock-frequency = <400000>; 464f126890aSEmmanuel Vadot}; 465f126890aSEmmanuel Vadot 466f126890aSEmmanuel Vadot&mmc1 { 467f126890aSEmmanuel Vadot status = "okay"; 468f126890aSEmmanuel Vadot vmmc-supply = <&vmmcsd_fixed>; 469f126890aSEmmanuel Vadot bus-width = <4>; 470f126890aSEmmanuel Vadot pinctrl-names = "default"; 471f126890aSEmmanuel Vadot pinctrl-0 = <&mmc0_pins>; 472f126890aSEmmanuel Vadot cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; 473f126890aSEmmanuel Vadot}; 474f126890aSEmmanuel Vadot 475f126890aSEmmanuel Vadot&rtc { 476f126890aSEmmanuel Vadot system-power-controller; 477f126890aSEmmanuel Vadot}; 478f126890aSEmmanuel Vadot 479f126890aSEmmanuel Vadot&tscadc { 480f126890aSEmmanuel Vadot status = "okay"; 481f126890aSEmmanuel Vadot adc { 482f126890aSEmmanuel Vadot ti,adc-channels = <0 1 2 3 4 5 6 7>; 483f126890aSEmmanuel Vadot ti,chan-step-avg = <16 16 16 16 16 16 16 16>; 484f126890aSEmmanuel Vadot ti,chan-step-opendelay = <0x98 0x98 0x98 0x98 0x98 0x98 0x98 0x98>; 485f126890aSEmmanuel Vadot ti,chan-step-sampledelay = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>; 486f126890aSEmmanuel Vadot }; 487f126890aSEmmanuel Vadot}; 488f126890aSEmmanuel Vadot 489f126890aSEmmanuel Vadot&uart0 { 490f126890aSEmmanuel Vadot pinctrl-names = "default"; 491f126890aSEmmanuel Vadot pinctrl-0 = <&uart0_pins>; 492f126890aSEmmanuel Vadot 493f126890aSEmmanuel Vadot status = "okay"; 494f126890aSEmmanuel Vadot}; 495f126890aSEmmanuel Vadot 496f126890aSEmmanuel Vadot&uart4 { 497f126890aSEmmanuel Vadot pinctrl-names = "default"; 498f126890aSEmmanuel Vadot pinctrl-0 = <&uart4_pins>; 499f126890aSEmmanuel Vadot 500f126890aSEmmanuel Vadot status = "okay"; 501f126890aSEmmanuel Vadot}; 502f126890aSEmmanuel Vadot 503f126890aSEmmanuel Vadot&usb0 { 504f126890aSEmmanuel Vadot dr_mode = "otg"; 505f126890aSEmmanuel Vadot}; 506f126890aSEmmanuel Vadot 507f126890aSEmmanuel Vadot&usb1 { 508f126890aSEmmanuel Vadot dr_mode = "host"; 509f126890aSEmmanuel Vadot}; 510*84943d6fSEmmanuel Vadot 511*84943d6fSEmmanuel Vadot&pruss_tm { 512*84943d6fSEmmanuel Vadot status = "okay"; 513*84943d6fSEmmanuel Vadot}; 514*84943d6fSEmmanuel Vadot 515*84943d6fSEmmanuel Vadot&pru0 { 516*84943d6fSEmmanuel Vadot pinctrl-names = "default"; 517*84943d6fSEmmanuel Vadot pinctrl-0 = <&pru0_pins>; 518*84943d6fSEmmanuel Vadot}; 519*84943d6fSEmmanuel Vadot 520*84943d6fSEmmanuel Vadot&pru1 { 521*84943d6fSEmmanuel Vadot pinctrl-names = "default"; 522*84943d6fSEmmanuel Vadot pinctrl-0 = <&pru1_pins>; 523*84943d6fSEmmanuel Vadot}; 524