Andrew Davis | d30b2bf | 2023-04-11 13:24:54 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 2 | /* |
Andrew Davis | d30b2bf | 2023-04-11 13:24:54 -0500 | [diff] [blame] | 3 | * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 4 | */ |
| 5 | /dts-v1/; |
| 6 | |
| 7 | #include "am33xx.dtsi" |
| 8 | #include <dt-bindings/interrupt-controller/irq.h> |
| 9 | |
| 10 | / { |
| 11 | model = "TI AM335x EVM"; |
| 12 | compatible = "ti,am335x-evm", "ti,am33xx"; |
| 13 | |
| 14 | chosen { |
| 15 | stdout-path = &uart0; |
Mugunthan V N | d3e25ae | 2015-12-24 16:08:16 +0530 | [diff] [blame] | 16 | tick-timer = &timer2; |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 17 | }; |
| 18 | |
| 19 | cpus { |
| 20 | cpu@0 { |
| 21 | cpu0-supply = <&vdd1_reg>; |
| 22 | }; |
| 23 | }; |
| 24 | |
Andrew Davis | 211b3d7 | 2023-04-11 13:25:05 -0500 | [diff] [blame] | 25 | memory@80000000 { |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 26 | device_type = "memory"; |
| 27 | reg = <0x80000000 0x10000000>; /* 256 MB */ |
| 28 | }; |
| 29 | |
Andrew Davis | 211b3d7 | 2023-04-11 13:25:05 -0500 | [diff] [blame] | 30 | chosen { |
| 31 | stdout-path = &uart0; |
| 32 | }; |
| 33 | |
| 34 | vbat: fixedregulator0 { |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 35 | compatible = "regulator-fixed"; |
| 36 | regulator-name = "vbat"; |
| 37 | regulator-min-microvolt = <5000000>; |
| 38 | regulator-max-microvolt = <5000000>; |
| 39 | regulator-boot-on; |
| 40 | }; |
| 41 | |
Andrew Davis | 211b3d7 | 2023-04-11 13:25:05 -0500 | [diff] [blame] | 42 | lis3_reg: fixedregulator1 { |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 43 | compatible = "regulator-fixed"; |
| 44 | regulator-name = "lis3_reg"; |
| 45 | regulator-boot-on; |
| 46 | }; |
| 47 | |
Andrew Davis | 211b3d7 | 2023-04-11 13:25:05 -0500 | [diff] [blame] | 48 | wlan_en_reg: fixedregulator2 { |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 49 | compatible = "regulator-fixed"; |
| 50 | regulator-name = "wlan-en-regulator"; |
| 51 | regulator-min-microvolt = <1800000>; |
| 52 | regulator-max-microvolt = <1800000>; |
| 53 | |
| 54 | /* WLAN_EN GPIO for this board - Bank1, pin16 */ |
| 55 | gpio = <&gpio1 16 0>; |
| 56 | |
| 57 | /* WLAN card specific delay */ |
| 58 | startup-delay-us = <70000>; |
| 59 | enable-active-high; |
| 60 | }; |
| 61 | |
| 62 | matrix_keypad: matrix_keypad@0 { |
| 63 | compatible = "gpio-matrix-keypad"; |
| 64 | debounce-delay-ms = <5>; |
| 65 | col-scan-delay-us = <2>; |
| 66 | |
| 67 | row-gpios = <&gpio1 25 GPIO_ACTIVE_HIGH /* Bank1, pin25 */ |
| 68 | &gpio1 26 GPIO_ACTIVE_HIGH /* Bank1, pin26 */ |
| 69 | &gpio1 27 GPIO_ACTIVE_HIGH>; /* Bank1, pin27 */ |
| 70 | |
| 71 | col-gpios = <&gpio1 21 GPIO_ACTIVE_HIGH /* Bank1, pin21 */ |
| 72 | &gpio1 22 GPIO_ACTIVE_HIGH>; /* Bank1, pin22 */ |
| 73 | |
| 74 | linux,keymap = <0x0000008b /* MENU */ |
| 75 | 0x0100009e /* BACK */ |
| 76 | 0x02000069 /* LEFT */ |
| 77 | 0x0001006a /* RIGHT */ |
| 78 | 0x0101001c /* ENTER */ |
| 79 | 0x0201006c>; /* DOWN */ |
| 80 | }; |
| 81 | |
Andrew Davis | 211b3d7 | 2023-04-11 13:25:05 -0500 | [diff] [blame] | 82 | gpio_keys: volume-keys { |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 83 | compatible = "gpio-keys"; |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 84 | autorepeat; |
| 85 | |
Andrew Davis | 211b3d7 | 2023-04-11 13:25:05 -0500 | [diff] [blame] | 86 | switch-9 { |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 87 | label = "volume-up"; |
| 88 | linux,code = <115>; |
| 89 | gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; |
| 90 | gpio-key,wakeup; |
| 91 | }; |
| 92 | |
Andrew Davis | 211b3d7 | 2023-04-11 13:25:05 -0500 | [diff] [blame] | 93 | switch-10 { |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 94 | label = "volume-down"; |
| 95 | linux,code = <114>; |
| 96 | gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; |
| 97 | gpio-key,wakeup; |
| 98 | }; |
| 99 | }; |
| 100 | |
| 101 | backlight { |
| 102 | compatible = "pwm-backlight"; |
| 103 | pwms = <&ecap0 0 50000 0>; |
| 104 | brightness-levels = <0 51 53 56 62 75 101 152 255>; |
| 105 | default-brightness-level = <8>; |
| 106 | }; |
| 107 | |
| 108 | panel { |
| 109 | compatible = "ti,tilcdc,panel"; |
| 110 | status = "okay"; |
| 111 | pinctrl-names = "default"; |
| 112 | pinctrl-0 = <&lcd_pins_s0>; |
| 113 | panel-info { |
| 114 | ac-bias = <255>; |
| 115 | ac-bias-intrpt = <0>; |
| 116 | dma-burst-sz = <16>; |
| 117 | bpp = <32>; |
| 118 | fdd = <0x80>; |
| 119 | sync-edge = <0>; |
| 120 | sync-ctrl = <1>; |
| 121 | raster-order = <0>; |
| 122 | fifo-th = <0>; |
| 123 | }; |
| 124 | |
| 125 | display-timings { |
| 126 | 800x480p62 { |
| 127 | clock-frequency = <30000000>; |
| 128 | hactive = <800>; |
| 129 | vactive = <480>; |
| 130 | hfront-porch = <39>; |
| 131 | hback-porch = <39>; |
| 132 | hsync-len = <47>; |
| 133 | vback-porch = <29>; |
| 134 | vfront-porch = <13>; |
| 135 | vsync-len = <2>; |
| 136 | hsync-active = <1>; |
| 137 | vsync-active = <1>; |
| 138 | }; |
| 139 | }; |
| 140 | }; |
| 141 | |
| 142 | sound { |
| 143 | compatible = "ti,da830-evm-audio"; |
| 144 | ti,model = "AM335x-EVM"; |
| 145 | ti,audio-codec = <&tlv320aic3106>; |
| 146 | ti,mcasp-controller = <&mcasp1>; |
| 147 | ti,codec-clock-rate = <12000000>; |
| 148 | ti,audio-routing = |
| 149 | "Headphone Jack", "HPLOUT", |
| 150 | "Headphone Jack", "HPROUT", |
| 151 | "LINE1L", "Line In", |
| 152 | "LINE1R", "Line In"; |
| 153 | }; |
| 154 | }; |
| 155 | |
| 156 | &am33xx_pinmux { |
| 157 | pinctrl-names = "default"; |
| 158 | pinctrl-0 = <&matrix_keypad_s0 &volume_keys_s0 &clkout2_pin>; |
| 159 | |
| 160 | matrix_keypad_s0: matrix_keypad_s0 { |
| 161 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 162 | AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gpmc_a5.gpio1_21 */ |
| 163 | AM33XX_PADCONF(AM335X_PIN_GPMC_A6, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gpmc_a6.gpio1_22 */ |
| 164 | AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT_PULLDOWN, MUX_MODE7) /* gpmc_a9.gpio1_25 */ |
| 165 | AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT_PULLDOWN, MUX_MODE7) /* gpmc_a10.gpio1_26 */ |
| 166 | AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT_PULLDOWN, MUX_MODE7) /* gpmc_a11.gpio1_27 */ |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 167 | >; |
| 168 | }; |
| 169 | |
| 170 | volume_keys_s0: volume_keys_s0 { |
| 171 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 172 | AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT_PULLDOWN, MUX_MODE7) /* spi0_sclk.gpio0_2 */ |
| 173 | AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_INPUT_PULLDOWN, MUX_MODE7) /* spi0_d0.gpio0_3 */ |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 174 | >; |
| 175 | }; |
| 176 | |
| 177 | i2c0_pins: pinmux_i2c0_pins { |
| 178 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 179 | AM33XX_PADCONF(AM335X_PIN_I2C0_SDA, PIN_INPUT_PULLUP, MUX_MODE0) /* i2c0_sda.i2c0_sda */ |
| 180 | AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_INPUT_PULLUP, MUX_MODE0) /* i2c0_scl.i2c0_scl */ |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 181 | >; |
| 182 | }; |
| 183 | |
| 184 | i2c1_pins: pinmux_i2c1_pins { |
| 185 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 186 | AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT_PULLUP, MUX_MODE2) /* spi0_d1.i2c1_sda */ |
| 187 | AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_INPUT_PULLUP, MUX_MODE2) /* spi0_cs0.i2c1_scl */ |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 188 | >; |
| 189 | }; |
| 190 | |
| 191 | uart0_pins: pinmux_uart0_pins { |
| 192 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 193 | AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0) |
| 194 | AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0) |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 195 | >; |
| 196 | }; |
| 197 | |
| 198 | uart1_pins: pinmux_uart1_pins { |
| 199 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 200 | AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT, MUX_MODE0) |
| 201 | AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_OUTPUT_PULLDOWN, MUX_MODE0) |
| 202 | AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT_PULLUP, MUX_MODE0) |
| 203 | AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0) |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 204 | >; |
| 205 | }; |
| 206 | |
| 207 | clkout2_pin: pinmux_clkout2_pin { |
| 208 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 209 | AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR1, PIN_OUTPUT_PULLDOWN, MUX_MODE3) /* xdma_event_intr1.clkout2 */ |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 210 | >; |
| 211 | }; |
| 212 | |
| 213 | nandflash_pins_s0: nandflash_pins_s0 { |
| 214 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 215 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD0, PIN_INPUT_PULLUP, MUX_MODE0) |
| 216 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD1, PIN_INPUT_PULLUP, MUX_MODE0) |
| 217 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD2, PIN_INPUT_PULLUP, MUX_MODE0) |
| 218 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD3, PIN_INPUT_PULLUP, MUX_MODE0) |
| 219 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD4, PIN_INPUT_PULLUP, MUX_MODE0) |
| 220 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD5, PIN_INPUT_PULLUP, MUX_MODE0) |
| 221 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD6, PIN_INPUT_PULLUP, MUX_MODE0) |
| 222 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD7, PIN_INPUT_PULLUP, MUX_MODE0) |
| 223 | AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLUP, MUX_MODE0) |
| 224 | AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_INPUT_PULLUP, MUX_MODE7) /* gpmc_wpn.gpio0_31 */ |
| 225 | AM33XX_PADCONF(AM335X_PIN_GPMC_CSN0, PIN_OUTPUT, MUX_MODE0) |
| 226 | AM33XX_PADCONF(AM335X_PIN_GPMC_ADVN_ALE, PIN_OUTPUT, MUX_MODE0) |
| 227 | AM33XX_PADCONF(AM335X_PIN_GPMC_OEN_REN, PIN_OUTPUT, MUX_MODE0) |
| 228 | AM33XX_PADCONF(AM335X_PIN_GPMC_WEN, PIN_OUTPUT, MUX_MODE0) |
| 229 | AM33XX_PADCONF(AM335X_PIN_GPMC_BEN0_CLE, PIN_OUTPUT, MUX_MODE0) |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 230 | >; |
| 231 | }; |
| 232 | |
| 233 | ecap0_pins: backlight_pins { |
| 234 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 235 | AM33XX_PADCONF(AM335X_PIN_ECAP0_IN_PWM0_OUT, 0x0, MUX_MODE0) |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 236 | >; |
| 237 | }; |
| 238 | |
| 239 | cpsw_default: cpsw_default { |
| 240 | pinctrl-single,pins = < |
| 241 | /* Slave 1 */ |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 242 | AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* mii1_txen.rgmii1_tctl */ |
| 243 | AM33XX_PADCONF(AM335X_PIN_MII1_RX_DV, PIN_INPUT_PULLDOWN, MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */ |
| 244 | AM33XX_PADCONF(AM335X_PIN_MII1_TXD3, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* mii1_txd3.rgmii1_td3 */ |
| 245 | AM33XX_PADCONF(AM335X_PIN_MII1_TXD2, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* mii1_txd2.rgmii1_td2 */ |
| 246 | AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* mii1_txd1.rgmii1_td1 */ |
| 247 | AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* mii1_txd0.rgmii1_td0 */ |
| 248 | AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* mii1_txclk.rgmii1_tclk */ |
| 249 | AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE2) /* mii1_rxclk.rgmii1_rclk */ |
| 250 | AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLDOWN, MUX_MODE2) /* mii1_rxd3.rgmii1_rd3 */ |
| 251 | AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_INPUT_PULLDOWN, MUX_MODE2) /* mii1_rxd2.rgmii1_rd2 */ |
| 252 | AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */ |
| 253 | AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */ |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 254 | >; |
| 255 | }; |
| 256 | |
| 257 | cpsw_sleep: cpsw_sleep { |
| 258 | pinctrl-single,pins = < |
| 259 | /* Slave 1 reset value */ |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 260 | AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_INPUT_PULLDOWN, MUX_MODE7) |
| 261 | AM33XX_PADCONF(AM335X_PIN_MII1_RX_DV, PIN_INPUT_PULLDOWN, MUX_MODE7) |
| 262 | AM33XX_PADCONF(AM335X_PIN_MII1_TXD3, PIN_INPUT_PULLDOWN, MUX_MODE7) |
| 263 | AM33XX_PADCONF(AM335X_PIN_MII1_TXD2, PIN_INPUT_PULLDOWN, MUX_MODE7) |
| 264 | AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_INPUT_PULLDOWN, MUX_MODE7) |
| 265 | AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_INPUT_PULLDOWN, MUX_MODE7) |
| 266 | AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7) |
| 267 | AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7) |
| 268 | AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLDOWN, MUX_MODE7) |
| 269 | AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_INPUT_PULLDOWN, MUX_MODE7) |
| 270 | AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE7) |
| 271 | AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE7) |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 272 | >; |
| 273 | }; |
| 274 | |
| 275 | davinci_mdio_default: davinci_mdio_default { |
| 276 | pinctrl-single,pins = < |
| 277 | /* MDIO */ |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 278 | AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLUP | SLEWCTRL_FAST, MUX_MODE0) |
| 279 | AM33XX_PADCONF(AM335X_PIN_MDC, PIN_OUTPUT_PULLUP, MUX_MODE0) |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 280 | >; |
| 281 | }; |
| 282 | |
| 283 | davinci_mdio_sleep: davinci_mdio_sleep { |
| 284 | pinctrl-single,pins = < |
| 285 | /* MDIO reset value */ |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 286 | AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLDOWN, MUX_MODE7) |
| 287 | AM33XX_PADCONF(AM335X_PIN_MDC, PIN_INPUT_PULLDOWN, MUX_MODE7) |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 288 | >; |
| 289 | }; |
| 290 | |
| 291 | mmc1_pins: pinmux_mmc1_pins { |
| 292 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 293 | AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_INPUT, MUX_MODE7) /* spi0_cs1.gpio0_6 */ |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 294 | >; |
| 295 | }; |
| 296 | |
| 297 | mmc3_pins: pinmux_mmc3_pins { |
| 298 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 299 | AM33XX_PADCONF(AM335X_PIN_GPMC_A1, PIN_INPUT_PULLUP, MUX_MODE3) /* gpmc_a1.mmc2_dat0, INPUT_PULLUP | MODE3 */ |
| 300 | AM33XX_PADCONF(AM335X_PIN_GPMC_A2, PIN_INPUT_PULLUP, MUX_MODE3) /* gpmc_a2.mmc2_dat1, INPUT_PULLUP | MODE3 */ |
| 301 | AM33XX_PADCONF(AM335X_PIN_GPMC_A3, PIN_INPUT_PULLUP, MUX_MODE3) /* gpmc_a3.mmc2_dat2, INPUT_PULLUP | MODE3 */ |
| 302 | AM33XX_PADCONF(AM335X_PIN_GPMC_BEN1, PIN_INPUT_PULLUP, MUX_MODE3) /* gpmc_ben1.mmc2_dat3, INPUT_PULLUP | MODE3 */ |
| 303 | AM33XX_PADCONF(AM335X_PIN_GPMC_CSN3, PIN_INPUT_PULLUP, MUX_MODE3) /* gpmc_csn3.mmc2_cmd, INPUT_PULLUP | MODE3 */ |
| 304 | AM33XX_PADCONF(AM335X_PIN_GPMC_CLK, PIN_INPUT_PULLUP, MUX_MODE3) /* gpmc_clk.mmc2_clk, INPUT_PULLUP | MODE3 */ |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 305 | >; |
| 306 | }; |
| 307 | |
| 308 | wlan_pins: pinmux_wlan_pins { |
| 309 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 310 | AM33XX_PADCONF(AM335X_PIN_GPMC_A0, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gpmc_a0.gpio1_16 */ |
| 311 | AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKR, PIN_INPUT, MUX_MODE7) /* mcasp0_ahclkr.gpio3_17 */ |
| 312 | AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKX, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* mcasp0_ahclkx.gpio3_21 */ |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 313 | >; |
| 314 | }; |
| 315 | |
| 316 | lcd_pins_s0: lcd_pins_s0 { |
| 317 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 318 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD8, PIN_OUTPUT, MUX_MODE1) /* gpmc_ad8.lcd_data23 */ |
| 319 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD9, PIN_OUTPUT, MUX_MODE1) /* gpmc_ad9.lcd_data22 */ |
| 320 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD10, PIN_OUTPUT, MUX_MODE1) /* gpmc_ad10.lcd_data21 */ |
| 321 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD11, PIN_OUTPUT, MUX_MODE1) /* gpmc_ad11.lcd_data20 */ |
| 322 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_OUTPUT, MUX_MODE1) /* gpmc_ad12.lcd_data19 */ |
| 323 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_OUTPUT, MUX_MODE1) /* gpmc_ad13.lcd_data18 */ |
| 324 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_OUTPUT, MUX_MODE1) /* gpmc_ad14.lcd_data17 */ |
| 325 | AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_OUTPUT, MUX_MODE1) /* gpmc_ad15.lcd_data16 */ |
| 326 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA0, PIN_OUTPUT, MUX_MODE0) |
| 327 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA1, PIN_OUTPUT, MUX_MODE0) |
| 328 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA2, PIN_OUTPUT, MUX_MODE0) |
| 329 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA3, PIN_OUTPUT, MUX_MODE0) |
| 330 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA4, PIN_OUTPUT, MUX_MODE0) |
| 331 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA5, PIN_OUTPUT, MUX_MODE0) |
| 332 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA6, PIN_OUTPUT, MUX_MODE0) |
| 333 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA7, PIN_OUTPUT, MUX_MODE0) |
| 334 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA8, PIN_OUTPUT, MUX_MODE0) |
| 335 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA9, PIN_OUTPUT, MUX_MODE0) |
| 336 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA10, PIN_OUTPUT, MUX_MODE0) |
| 337 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA11, PIN_OUTPUT, MUX_MODE0) |
| 338 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA12, PIN_OUTPUT, MUX_MODE0) |
| 339 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA13, PIN_OUTPUT, MUX_MODE0) |
| 340 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA14, PIN_OUTPUT, MUX_MODE0) |
| 341 | AM33XX_PADCONF(AM335X_PIN_LCD_DATA15, PIN_OUTPUT, MUX_MODE0) |
| 342 | AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT, MUX_MODE0) |
| 343 | AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_OUTPUT, MUX_MODE0) |
| 344 | AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_OUTPUT, MUX_MODE0) |
| 345 | AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_OUTPUT, MUX_MODE0) |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 346 | >; |
| 347 | }; |
| 348 | |
Andrew Davis | 211b3d7 | 2023-04-11 13:25:05 -0500 | [diff] [blame] | 349 | mcasp1_pins: mcasp1_pins { |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 350 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 351 | AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT_PULLDOWN, MUX_MODE4) /* mii1_crs.mcasp1_aclkx */ |
| 352 | AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLDOWN, MUX_MODE4) /* mii1_rxerr.mcasp1_fsx */ |
| 353 | AM33XX_PADCONF(AM335X_PIN_MII1_COL, PIN_OUTPUT_PULLDOWN, MUX_MODE4) /* mii1_col.mcasp1_axr2 */ |
| 354 | AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_INPUT_PULLDOWN, MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */ |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 355 | >; |
| 356 | }; |
| 357 | |
| 358 | dcan1_pins_default: dcan1_pins_default { |
| 359 | pinctrl-single,pins = < |
Andrew Davis | 2657c52 | 2023-04-11 13:25:03 -0500 | [diff] [blame] | 360 | AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_OUTPUT, MUX_MODE2) /* uart0_ctsn.d_can1_tx */ |
| 361 | AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT_PULLDOWN, MUX_MODE2) /* uart0_rtsn.d_can1_rx */ |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 362 | >; |
| 363 | }; |
| 364 | }; |
| 365 | |
| 366 | &uart0 { |
| 367 | pinctrl-names = "default"; |
| 368 | pinctrl-0 = <&uart0_pins>; |
| 369 | |
| 370 | status = "okay"; |
| 371 | }; |
| 372 | |
| 373 | &uart1 { |
| 374 | pinctrl-names = "default"; |
| 375 | pinctrl-0 = <&uart1_pins>; |
| 376 | |
| 377 | status = "okay"; |
| 378 | }; |
| 379 | |
| 380 | &i2c0 { |
| 381 | pinctrl-names = "default"; |
| 382 | pinctrl-0 = <&i2c0_pins>; |
| 383 | |
| 384 | status = "okay"; |
| 385 | clock-frequency = <400000>; |
| 386 | |
| 387 | tps: tps@2d { |
| 388 | reg = <0x2d>; |
| 389 | }; |
| 390 | }; |
| 391 | |
| 392 | &usb { |
| 393 | status = "okay"; |
| 394 | }; |
| 395 | |
| 396 | &usb_ctrl_mod { |
| 397 | status = "okay"; |
| 398 | }; |
| 399 | |
| 400 | &usb0_phy { |
| 401 | status = "okay"; |
| 402 | }; |
| 403 | |
| 404 | &usb1_phy { |
| 405 | status = "okay"; |
| 406 | }; |
| 407 | |
| 408 | &usb0 { |
| 409 | status = "okay"; |
| 410 | }; |
| 411 | |
| 412 | &usb1 { |
| 413 | status = "okay"; |
| 414 | dr_mode = "host"; |
| 415 | }; |
| 416 | |
| 417 | &cppi41dma { |
| 418 | status = "okay"; |
| 419 | }; |
| 420 | |
| 421 | &i2c1 { |
| 422 | pinctrl-names = "default"; |
| 423 | pinctrl-0 = <&i2c1_pins>; |
| 424 | |
| 425 | status = "okay"; |
| 426 | clock-frequency = <100000>; |
| 427 | |
| 428 | lis331dlh: lis331dlh@18 { |
| 429 | compatible = "st,lis331dlh", "st,lis3lv02d"; |
| 430 | reg = <0x18>; |
| 431 | Vdd-supply = <&lis3_reg>; |
| 432 | Vdd_IO-supply = <&lis3_reg>; |
| 433 | |
| 434 | st,click-single-x; |
| 435 | st,click-single-y; |
| 436 | st,click-single-z; |
| 437 | st,click-thresh-x = <10>; |
| 438 | st,click-thresh-y = <10>; |
| 439 | st,click-thresh-z = <10>; |
| 440 | st,irq1-click; |
| 441 | st,irq2-click; |
| 442 | st,wakeup-x-lo; |
| 443 | st,wakeup-x-hi; |
| 444 | st,wakeup-y-lo; |
| 445 | st,wakeup-y-hi; |
| 446 | st,wakeup-z-lo; |
| 447 | st,wakeup-z-hi; |
| 448 | st,min-limit-x = <120>; |
| 449 | st,min-limit-y = <120>; |
| 450 | st,min-limit-z = <140>; |
| 451 | st,max-limit-x = <550>; |
| 452 | st,max-limit-y = <550>; |
| 453 | st,max-limit-z = <750>; |
| 454 | }; |
| 455 | |
| 456 | tsl2550: tsl2550@39 { |
| 457 | compatible = "taos,tsl2550"; |
| 458 | reg = <0x39>; |
| 459 | }; |
| 460 | |
| 461 | tmp275: tmp275@48 { |
| 462 | compatible = "ti,tmp275"; |
| 463 | reg = <0x48>; |
| 464 | }; |
| 465 | |
| 466 | tlv320aic3106: tlv320aic3106@1b { |
| 467 | compatible = "ti,tlv320aic3106"; |
| 468 | reg = <0x1b>; |
| 469 | status = "okay"; |
| 470 | |
| 471 | /* Regulators */ |
| 472 | AVDD-supply = <&vaux2_reg>; |
| 473 | IOVDD-supply = <&vaux2_reg>; |
| 474 | DRVDD-supply = <&vaux2_reg>; |
| 475 | DVDD-supply = <&vbat>; |
| 476 | }; |
| 477 | }; |
| 478 | |
| 479 | &lcdc { |
| 480 | status = "okay"; |
| 481 | }; |
| 482 | |
| 483 | &elm { |
| 484 | status = "okay"; |
| 485 | }; |
| 486 | |
| 487 | &epwmss0 { |
| 488 | status = "okay"; |
| 489 | |
Andrew Davis | 211b3d7 | 2023-04-11 13:25:05 -0500 | [diff] [blame] | 490 | ecap0: pwm@100 { |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 491 | status = "okay"; |
| 492 | pinctrl-names = "default"; |
| 493 | pinctrl-0 = <&ecap0_pins>; |
| 494 | }; |
| 495 | }; |
| 496 | |
| 497 | &gpmc { |
| 498 | status = "okay"; |
| 499 | pinctrl-names = "default"; |
| 500 | pinctrl-0 = <&nandflash_pins_s0>; |
| 501 | ranges = <0 0 0x08000000 0x1000000>; /* CS0: 16MB for NAND */ |
| 502 | nand@0,0 { |
| 503 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
| 504 | ti,nand-ecc-opt = "bch8"; |
| 505 | ti,elm-id = <&elm>; |
| 506 | nand-bus-width = <8>; |
| 507 | gpmc,device-width = <1>; |
| 508 | gpmc,sync-clk-ps = <0>; |
| 509 | gpmc,cs-on-ns = <0>; |
| 510 | gpmc,cs-rd-off-ns = <44>; |
| 511 | gpmc,cs-wr-off-ns = <44>; |
| 512 | gpmc,adv-on-ns = <6>; |
| 513 | gpmc,adv-rd-off-ns = <34>; |
| 514 | gpmc,adv-wr-off-ns = <44>; |
| 515 | gpmc,we-on-ns = <0>; |
| 516 | gpmc,we-off-ns = <40>; |
| 517 | gpmc,oe-on-ns = <0>; |
| 518 | gpmc,oe-off-ns = <54>; |
| 519 | gpmc,access-ns = <64>; |
| 520 | gpmc,rd-cycle-ns = <82>; |
| 521 | gpmc,wr-cycle-ns = <82>; |
| 522 | gpmc,wait-on-read = "true"; |
| 523 | gpmc,wait-on-write = "true"; |
| 524 | gpmc,bus-turnaround-ns = <0>; |
| 525 | gpmc,cycle2cycle-delay-ns = <0>; |
| 526 | gpmc,clk-activation-ns = <0>; |
| 527 | gpmc,wait-monitoring-ns = <0>; |
| 528 | gpmc,wr-access-ns = <40>; |
| 529 | gpmc,wr-data-mux-bus-ns = <0>; |
| 530 | /* MTD partition table */ |
| 531 | /* All SPL-* partitions are sized to minimal length |
| 532 | * which can be independently programmable. For |
| 533 | * NAND flash this is equal to size of erase-block */ |
| 534 | #address-cells = <1>; |
| 535 | #size-cells = <1>; |
| 536 | partition@0 { |
| 537 | label = "NAND.SPL"; |
Andrew Davis | 211b3d7 | 2023-04-11 13:25:05 -0500 | [diff] [blame] | 538 | reg = <0x00000000 0x00020000>; |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 539 | }; |
| 540 | partition@1 { |
| 541 | label = "NAND.SPL.backup1"; |
| 542 | reg = <0x00020000 0x00020000>; |
| 543 | }; |
| 544 | partition@2 { |
| 545 | label = "NAND.SPL.backup2"; |
| 546 | reg = <0x00040000 0x00020000>; |
| 547 | }; |
| 548 | partition@3 { |
| 549 | label = "NAND.SPL.backup3"; |
| 550 | reg = <0x00060000 0x00020000>; |
| 551 | }; |
| 552 | partition@4 { |
| 553 | label = "NAND.u-boot-spl-os"; |
| 554 | reg = <0x00080000 0x00040000>; |
| 555 | }; |
| 556 | partition@5 { |
| 557 | label = "NAND.u-boot"; |
| 558 | reg = <0x000C0000 0x00100000>; |
| 559 | }; |
| 560 | partition@6 { |
| 561 | label = "NAND.u-boot-env"; |
| 562 | reg = <0x001C0000 0x00020000>; |
| 563 | }; |
| 564 | partition@7 { |
| 565 | label = "NAND.u-boot-env.backup1"; |
| 566 | reg = <0x001E0000 0x00020000>; |
| 567 | }; |
| 568 | partition@8 { |
| 569 | label = "NAND.kernel"; |
| 570 | reg = <0x00200000 0x00800000>; |
| 571 | }; |
| 572 | partition@9 { |
| 573 | label = "NAND.file-system"; |
| 574 | reg = <0x00A00000 0x0F600000>; |
| 575 | }; |
| 576 | }; |
| 577 | }; |
| 578 | |
| 579 | #include "tps65910.dtsi" |
| 580 | |
| 581 | &mcasp1 { |
Andrew Davis | 211b3d7 | 2023-04-11 13:25:05 -0500 | [diff] [blame] | 582 | pinctrl-names = "default"; |
| 583 | pinctrl-0 = <&mcasp1_pins>; |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 584 | |
Andrew Davis | 211b3d7 | 2023-04-11 13:25:05 -0500 | [diff] [blame] | 585 | status = "okay"; |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 586 | |
Andrew Davis | 211b3d7 | 2023-04-11 13:25:05 -0500 | [diff] [blame] | 587 | op-mode = <0>; /* MCASP_IIS_MODE */ |
| 588 | tdm-slots = <2>; |
| 589 | /* 4 serializers */ |
| 590 | serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ |
| 591 | 0 0 1 2 |
| 592 | >; |
| 593 | tx-num-evt = <32>; |
| 594 | rx-num-evt = <32>; |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 595 | }; |
| 596 | |
| 597 | &tps { |
| 598 | vcc1-supply = <&vbat>; |
| 599 | vcc2-supply = <&vbat>; |
| 600 | vcc3-supply = <&vbat>; |
| 601 | vcc4-supply = <&vbat>; |
| 602 | vcc5-supply = <&vbat>; |
| 603 | vcc6-supply = <&vbat>; |
| 604 | vcc7-supply = <&vbat>; |
| 605 | vccio-supply = <&vbat>; |
| 606 | |
| 607 | regulators { |
| 608 | vrtc_reg: regulator@0 { |
| 609 | regulator-always-on; |
| 610 | }; |
| 611 | |
| 612 | vio_reg: regulator@1 { |
| 613 | regulator-always-on; |
| 614 | }; |
| 615 | |
| 616 | vdd1_reg: regulator@2 { |
| 617 | /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ |
| 618 | regulator-name = "vdd_mpu"; |
| 619 | regulator-min-microvolt = <912500>; |
| 620 | regulator-max-microvolt = <1312500>; |
| 621 | regulator-boot-on; |
| 622 | regulator-always-on; |
| 623 | }; |
| 624 | |
| 625 | vdd2_reg: regulator@3 { |
| 626 | /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ |
| 627 | regulator-name = "vdd_core"; |
| 628 | regulator-min-microvolt = <912500>; |
| 629 | regulator-max-microvolt = <1150000>; |
| 630 | regulator-boot-on; |
| 631 | regulator-always-on; |
| 632 | }; |
| 633 | |
| 634 | vdd3_reg: regulator@4 { |
| 635 | regulator-always-on; |
| 636 | }; |
| 637 | |
| 638 | vdig1_reg: regulator@5 { |
| 639 | regulator-always-on; |
| 640 | }; |
| 641 | |
| 642 | vdig2_reg: regulator@6 { |
| 643 | regulator-always-on; |
| 644 | }; |
| 645 | |
| 646 | vpll_reg: regulator@7 { |
| 647 | regulator-always-on; |
| 648 | }; |
| 649 | |
| 650 | vdac_reg: regulator@8 { |
| 651 | regulator-always-on; |
| 652 | }; |
| 653 | |
| 654 | vaux1_reg: regulator@9 { |
| 655 | regulator-always-on; |
| 656 | }; |
| 657 | |
| 658 | vaux2_reg: regulator@10 { |
| 659 | regulator-always-on; |
| 660 | }; |
| 661 | |
| 662 | vaux33_reg: regulator@11 { |
| 663 | regulator-always-on; |
| 664 | }; |
| 665 | |
| 666 | vmmc_reg: regulator@12 { |
| 667 | regulator-min-microvolt = <1800000>; |
| 668 | regulator-max-microvolt = <3300000>; |
| 669 | regulator-always-on; |
| 670 | }; |
| 671 | }; |
| 672 | }; |
| 673 | |
| 674 | &mac { |
| 675 | pinctrl-names = "default", "sleep"; |
| 676 | pinctrl-0 = <&cpsw_default>; |
| 677 | pinctrl-1 = <&cpsw_sleep>; |
| 678 | status = "okay"; |
Grygorii Strashko | 3b3e8a3 | 2019-08-31 10:30:34 +0300 | [diff] [blame] | 679 | slaves = <1>; |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 680 | }; |
| 681 | |
| 682 | &davinci_mdio { |
| 683 | pinctrl-names = "default", "sleep"; |
| 684 | pinctrl-0 = <&davinci_mdio_default>; |
| 685 | pinctrl-1 = <&davinci_mdio_sleep>; |
| 686 | status = "okay"; |
Grygorii Strashko | 3b3e8a3 | 2019-08-31 10:30:34 +0300 | [diff] [blame] | 687 | |
| 688 | ethphy0: ethernet-phy@0 { |
| 689 | reg = <0>; |
| 690 | }; |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 691 | }; |
| 692 | |
| 693 | &cpsw_emac0 { |
Grygorii Strashko | 3b3e8a3 | 2019-08-31 10:30:34 +0300 | [diff] [blame] | 694 | phy-handle = <ðphy0>; |
| 695 | phy-mode = "rgmii-id"; |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 696 | }; |
| 697 | |
| 698 | &tscadc { |
| 699 | status = "okay"; |
| 700 | tsc { |
| 701 | ti,wires = <4>; |
| 702 | ti,x-plate-resistance = <200>; |
| 703 | ti,coordinate-readouts = <5>; |
| 704 | ti,wire-config = <0x00 0x11 0x22 0x33>; |
| 705 | ti,charge-delay = <0x400>; |
| 706 | }; |
| 707 | |
| 708 | adc { |
| 709 | ti,adc-channels = <4 5 6 7>; |
| 710 | }; |
| 711 | }; |
| 712 | |
| 713 | &mmc1 { |
| 714 | status = "okay"; |
| 715 | vmmc-supply = <&vmmc_reg>; |
| 716 | bus-width = <4>; |
| 717 | pinctrl-names = "default"; |
| 718 | pinctrl-0 = <&mmc1_pins>; |
Mugunthan V N | 2c6485b | 2016-05-16 11:24:27 +0530 | [diff] [blame] | 719 | cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 720 | }; |
| 721 | |
| 722 | &mmc3 { |
| 723 | /* these are on the crossbar and are outlined in the |
| 724 | xbar-event-map element */ |
Felix Brack | fdce9d3 | 2018-12-05 14:53:42 +0100 | [diff] [blame] | 725 | dmas = <&edma 12 0 |
| 726 | &edma 13 0>; |
Tom Rini | 1480fdf | 2015-07-31 19:55:08 -0400 | [diff] [blame] | 727 | dma-names = "tx", "rx"; |
| 728 | status = "okay"; |
| 729 | vmmc-supply = <&wlan_en_reg>; |
| 730 | bus-width = <4>; |
| 731 | pinctrl-names = "default"; |
| 732 | pinctrl-0 = <&mmc3_pins &wlan_pins>; |
| 733 | ti,non-removable; |
| 734 | ti,needs-special-hs-handling; |
| 735 | cap-power-off-card; |
| 736 | keep-power-in-suspend; |
| 737 | |
| 738 | #address-cells = <1>; |
| 739 | #size-cells = <0>; |
| 740 | wlcore: wlcore@0 { |
| 741 | compatible = "ti,wl1835"; |
| 742 | reg = <2>; |
| 743 | interrupt-parent = <&gpio3>; |
| 744 | interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; |
| 745 | }; |
| 746 | }; |
| 747 | |
| 748 | &edma { |
| 749 | ti,edma-xbar-event-map = /bits/ 16 <1 12 |
| 750 | 2 13>; |
| 751 | }; |
| 752 | |
| 753 | &sham { |
| 754 | status = "okay"; |
| 755 | }; |
| 756 | |
| 757 | &aes { |
| 758 | status = "okay"; |
| 759 | }; |
| 760 | |
| 761 | &dcan1 { |
| 762 | status = "disabled"; /* Enable only if Profile 1 is selected */ |
| 763 | pinctrl-names = "default"; |
| 764 | pinctrl-0 = <&dcan1_pins_default>; |
| 765 | }; |
Dario Binacchi | 62af440 | 2021-06-02 22:38:03 +0200 | [diff] [blame] | 766 | |
| 767 | &rtc { |
| 768 | clocks = <&clk_32768_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>; |
| 769 | clock-names = "ext-clk", "int-clk"; |
| 770 | }; |