AnilKumar Ch | 32bb00e | 2012-06-22 15:10:49 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | /dts-v1/; |
| 9 | |
Florian Vaussard | eb33ef66 | 2013-06-03 16:12:22 +0200 | [diff] [blame] | 10 | #include "am33xx.dtsi" |
Eyal Reizer | 52dfcbf | 2015-05-03 15:19:28 +0300 | [diff] [blame] | 11 | #include <dt-bindings/interrupt-controller/irq.h> |
AnilKumar Ch | 32bb00e | 2012-06-22 15:10:49 +0530 | [diff] [blame] | 12 | |
| 13 | / { |
| 14 | model = "TI AM335x EVM"; |
| 15 | compatible = "ti,am335x-evm", "ti,am33xx"; |
| 16 | |
AnilKumar Ch | efeedcf2 | 2012-08-31 15:07:20 +0530 | [diff] [blame] | 17 | cpus { |
| 18 | cpu@0 { |
| 19 | cpu0-supply = <&vdd1_reg>; |
| 20 | }; |
| 21 | }; |
| 22 | |
AnilKumar Ch | 32bb00e | 2012-06-22 15:10:49 +0530 | [diff] [blame] | 23 | memory { |
| 24 | device_type = "memory"; |
| 25 | reg = <0x80000000 0x10000000>; /* 256 MB */ |
| 26 | }; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 27 | |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 28 | vbat: fixedregulator@0 { |
| 29 | compatible = "regulator-fixed"; |
| 30 | regulator-name = "vbat"; |
| 31 | regulator-min-microvolt = <5000000>; |
| 32 | regulator-max-microvolt = <5000000>; |
| 33 | regulator-boot-on; |
| 34 | }; |
AnilKumar Ch | 492dd02 | 2012-09-20 02:49:29 +0530 | [diff] [blame] | 35 | |
| 36 | lis3_reg: fixedregulator@1 { |
| 37 | compatible = "regulator-fixed"; |
| 38 | regulator-name = "lis3_reg"; |
| 39 | regulator-boot-on; |
| 40 | }; |
AnilKumar Ch | 2ca1d31 | 2012-11-06 19:18:30 +0530 | [diff] [blame] | 41 | |
Eyal Reizer | 52dfcbf | 2015-05-03 15:19:28 +0300 | [diff] [blame] | 42 | wlan_en_reg: fixedregulator@2 { |
| 43 | compatible = "regulator-fixed"; |
| 44 | regulator-name = "wlan-en-regulator"; |
| 45 | regulator-min-microvolt = <1800000>; |
| 46 | regulator-max-microvolt = <1800000>; |
| 47 | |
| 48 | /* WLAN_EN GPIO for this board - Bank1, pin16 */ |
| 49 | gpio = <&gpio1 16 0>; |
| 50 | |
| 51 | /* WLAN card specific delay */ |
| 52 | startup-delay-us = <70000>; |
| 53 | enable-active-high; |
| 54 | }; |
| 55 | |
AnilKumar Ch | 2ca1d31 | 2012-11-06 19:18:30 +0530 | [diff] [blame] | 56 | matrix_keypad: matrix_keypad@0 { |
| 57 | compatible = "gpio-matrix-keypad"; |
| 58 | debounce-delay-ms = <5>; |
| 59 | col-scan-delay-us = <2>; |
| 60 | |
Florian Vaussard | e94233c | 2013-06-03 16:12:23 +0200 | [diff] [blame] | 61 | row-gpios = <&gpio1 25 GPIO_ACTIVE_HIGH /* Bank1, pin25 */ |
| 62 | &gpio1 26 GPIO_ACTIVE_HIGH /* Bank1, pin26 */ |
| 63 | &gpio1 27 GPIO_ACTIVE_HIGH>; /* Bank1, pin27 */ |
AnilKumar Ch | 2ca1d31 | 2012-11-06 19:18:30 +0530 | [diff] [blame] | 64 | |
Florian Vaussard | e94233c | 2013-06-03 16:12:23 +0200 | [diff] [blame] | 65 | col-gpios = <&gpio1 21 GPIO_ACTIVE_HIGH /* Bank1, pin21 */ |
| 66 | &gpio1 22 GPIO_ACTIVE_HIGH>; /* Bank1, pin22 */ |
AnilKumar Ch | 2ca1d31 | 2012-11-06 19:18:30 +0530 | [diff] [blame] | 67 | |
| 68 | linux,keymap = <0x0000008b /* MENU */ |
| 69 | 0x0100009e /* BACK */ |
| 70 | 0x02000069 /* LEFT */ |
| 71 | 0x0001006a /* RIGHT */ |
| 72 | 0x0101001c /* ENTER */ |
| 73 | 0x0201006c>; /* DOWN */ |
| 74 | }; |
AnilKumar Ch | 822c993 | 2012-11-06 19:18:32 +0530 | [diff] [blame] | 75 | |
| 76 | gpio_keys: volume_keys@0 { |
| 77 | compatible = "gpio-keys"; |
| 78 | #address-cells = <1>; |
| 79 | #size-cells = <0>; |
| 80 | autorepeat; |
| 81 | |
| 82 | switch@9 { |
| 83 | label = "volume-up"; |
| 84 | linux,code = <115>; |
Florian Vaussard | e94233c | 2013-06-03 16:12:23 +0200 | [diff] [blame] | 85 | gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; |
Sudeep Holla | 3efda00 | 2015-10-21 11:10:06 +0100 | [diff] [blame] | 86 | wakeup-source; |
AnilKumar Ch | 822c993 | 2012-11-06 19:18:32 +0530 | [diff] [blame] | 87 | }; |
| 88 | |
| 89 | switch@10 { |
| 90 | label = "volume-down"; |
| 91 | linux,code = <114>; |
Florian Vaussard | e94233c | 2013-06-03 16:12:23 +0200 | [diff] [blame] | 92 | gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; |
Sudeep Holla | 3efda00 | 2015-10-21 11:10:06 +0100 | [diff] [blame] | 93 | wakeup-source; |
AnilKumar Ch | 822c993 | 2012-11-06 19:18:32 +0530 | [diff] [blame] | 94 | }; |
| 95 | }; |
Philip Avinash | 6993fd0 | 2013-06-06 15:52:38 +0200 | [diff] [blame] | 96 | |
| 97 | backlight { |
| 98 | compatible = "pwm-backlight"; |
| 99 | pwms = <&ecap0 0 50000 0>; |
| 100 | brightness-levels = <0 51 53 56 62 75 101 152 255>; |
| 101 | default-brightness-level = <8>; |
| 102 | }; |
Benoit Parrot | d6cfc1e | 2013-08-08 18:28:14 -0500 | [diff] [blame] | 103 | |
| 104 | panel { |
| 105 | compatible = "ti,tilcdc,panel"; |
| 106 | status = "okay"; |
| 107 | pinctrl-names = "default"; |
| 108 | pinctrl-0 = <&lcd_pins_s0>; |
| 109 | panel-info { |
| 110 | ac-bias = <255>; |
| 111 | ac-bias-intrpt = <0>; |
| 112 | dma-burst-sz = <16>; |
| 113 | bpp = <32>; |
| 114 | fdd = <0x80>; |
| 115 | sync-edge = <0>; |
| 116 | sync-ctrl = <1>; |
| 117 | raster-order = <0>; |
| 118 | fifo-th = <0>; |
| 119 | }; |
| 120 | |
| 121 | display-timings { |
| 122 | 800x480p62 { |
| 123 | clock-frequency = <30000000>; |
| 124 | hactive = <800>; |
| 125 | vactive = <480>; |
| 126 | hfront-porch = <39>; |
| 127 | hback-porch = <39>; |
| 128 | hsync-len = <47>; |
| 129 | vback-porch = <29>; |
| 130 | vfront-porch = <13>; |
| 131 | vsync-len = <2>; |
| 132 | hsync-active = <1>; |
| 133 | vsync-active = <1>; |
| 134 | }; |
| 135 | }; |
| 136 | }; |
Darren Etheridge | f608f8dd | 2013-10-20 20:04:10 +0300 | [diff] [blame] | 137 | |
| 138 | sound { |
Peter Ujfalusi | 80edaae | 2015-07-02 17:06:35 +0300 | [diff] [blame] | 139 | compatible = "simple-audio-card"; |
| 140 | simple-audio-card,name = "AM335x-EVM"; |
| 141 | simple-audio-card,widgets = |
| 142 | "Headphone", "Headphone Jack", |
| 143 | "Line", "Line In"; |
| 144 | simple-audio-card,routing = |
| 145 | "Headphone Jack", "HPLOUT", |
| 146 | "Headphone Jack", "HPROUT", |
| 147 | "LINE1L", "Line In", |
| 148 | "LINE1R", "Line In"; |
| 149 | simple-audio-card,format = "dsp_b"; |
| 150 | simple-audio-card,bitclock-master = <&sound_master>; |
| 151 | simple-audio-card,frame-master = <&sound_master>; |
| 152 | simple-audio-card,bitclock-inversion; |
| 153 | |
| 154 | simple-audio-card,cpu { |
| 155 | sound-dai = <&mcasp1>; |
| 156 | }; |
| 157 | |
| 158 | sound_master: simple-audio-card,codec { |
| 159 | sound-dai = <&tlv320aic3106>; |
| 160 | system-clock-frequency = <12000000>; |
| 161 | }; |
Darren Etheridge | f608f8dd | 2013-10-20 20:04:10 +0300 | [diff] [blame] | 162 | }; |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 163 | }; |
| 164 | |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 165 | &am33xx_pinmux { |
| 166 | pinctrl-names = "default"; |
| 167 | pinctrl-0 = <&matrix_keypad_s0 &volume_keys_s0 &clkout2_pin>; |
| 168 | |
| 169 | matrix_keypad_s0: matrix_keypad_s0 { |
| 170 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 171 | AM33XX_IOPAD(0x854, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a5.gpio1_21 */ |
| 172 | AM33XX_IOPAD(0x858, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a6.gpio1_22 */ |
| 173 | AM33XX_IOPAD(0x864, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a9.gpio1_25 */ |
| 174 | AM33XX_IOPAD(0x868, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a10.gpio1_26 */ |
| 175 | AM33XX_IOPAD(0x86c, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a11.gpio1_27 */ |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 176 | >; |
| 177 | }; |
| 178 | |
| 179 | volume_keys_s0: volume_keys_s0 { |
| 180 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 181 | AM33XX_IOPAD(0x950, PIN_INPUT_PULLDOWN | MUX_MODE7) /* spi0_sclk.gpio0_2 */ |
| 182 | AM33XX_IOPAD(0x954, PIN_INPUT_PULLDOWN | MUX_MODE7) /* spi0_d0.gpio0_3 */ |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 183 | >; |
| 184 | }; |
| 185 | |
| 186 | i2c0_pins: pinmux_i2c0_pins { |
| 187 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 188 | AM33XX_IOPAD(0x988, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */ |
| 189 | AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */ |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 190 | >; |
| 191 | }; |
| 192 | |
| 193 | i2c1_pins: pinmux_i2c1_pins { |
| 194 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 195 | AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_d1.i2c1_sda */ |
| 196 | AM33XX_IOPAD(0x95c, PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_cs0.i2c1_scl */ |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 197 | >; |
| 198 | }; |
| 199 | |
| 200 | uart0_pins: pinmux_uart0_pins { |
| 201 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 202 | AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */ |
| 203 | AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */ |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 204 | >; |
| 205 | }; |
| 206 | |
Eliad Peller | ab159d2 | 2015-05-04 15:41:13 +0300 | [diff] [blame] | 207 | uart1_pins: pinmux_uart1_pins { |
| 208 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 209 | AM33XX_IOPAD(0x978, PIN_INPUT | MUX_MODE0) /* uart1_ctsn.uart1_ctsn */ |
| 210 | AM33XX_IOPAD(0x97C, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_rtsn.uart1_rtsn */ |
| 211 | AM33XX_IOPAD(0x980, PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_rxd.uart1_rxd */ |
| 212 | AM33XX_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */ |
Eliad Peller | ab159d2 | 2015-05-04 15:41:13 +0300 | [diff] [blame] | 213 | >; |
| 214 | }; |
| 215 | |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 216 | clkout2_pin: pinmux_clkout2_pin { |
| 217 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 218 | AM33XX_IOPAD(0x9b4, PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */ |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 219 | >; |
| 220 | }; |
| 221 | |
| 222 | nandflash_pins_s0: nandflash_pins_s0 { |
| 223 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 224 | AM33XX_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */ |
| 225 | AM33XX_IOPAD(0x804, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad1.gpmc_ad1 */ |
| 226 | AM33XX_IOPAD(0x808, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad2.gpmc_ad2 */ |
| 227 | AM33XX_IOPAD(0x80c, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad3.gpmc_ad3 */ |
| 228 | AM33XX_IOPAD(0x810, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad4.gpmc_ad4 */ |
| 229 | AM33XX_IOPAD(0x814, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad5.gpmc_ad5 */ |
| 230 | AM33XX_IOPAD(0x818, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad6.gpmc_ad6 */ |
| 231 | AM33XX_IOPAD(0x81c, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad7.gpmc_ad7 */ |
| 232 | AM33XX_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait0.gpmc_wait0 */ |
| 233 | AM33XX_IOPAD(0x874, PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpio0_30 */ |
| 234 | AM33XX_IOPAD(0x87c, PIN_OUTPUT | MUX_MODE0) /* gpmc_csn0.gpmc_csn0 */ |
| 235 | AM33XX_IOPAD(0x890, PIN_OUTPUT | MUX_MODE0) /* gpmc_advn_ale.gpmc_advn_ale */ |
| 236 | AM33XX_IOPAD(0x894, PIN_OUTPUT | MUX_MODE0) /* gpmc_oen_ren.gpmc_oen_ren */ |
| 237 | AM33XX_IOPAD(0x898, PIN_OUTPUT | MUX_MODE0) /* gpmc_wen.gpmc_wen */ |
| 238 | AM33XX_IOPAD(0x89c, PIN_OUTPUT | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */ |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 239 | >; |
| 240 | }; |
| 241 | |
| 242 | ecap0_pins: backlight_pins { |
| 243 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 244 | AM33XX_IOPAD(0x964, MUX_MODE0) /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out */ |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 245 | >; |
| 246 | }; |
| 247 | |
| 248 | cpsw_default: cpsw_default { |
| 249 | pinctrl-single,pins = < |
| 250 | /* Slave 1 */ |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 251 | AM33XX_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */ |
| 252 | AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */ |
| 253 | AM33XX_IOPAD(0x91c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd3.rgmii1_td3 */ |
| 254 | AM33XX_IOPAD(0x920, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd2.rgmii1_td2 */ |
| 255 | AM33XX_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */ |
| 256 | AM33XX_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */ |
| 257 | AM33XX_IOPAD(0x92c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */ |
| 258 | AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rgmii1_rclk */ |
| 259 | AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd3.rgmii1_rd3 */ |
| 260 | AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd2.rgmii1_rd2 */ |
| 261 | AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */ |
| 262 | AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */ |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 263 | >; |
| 264 | }; |
| 265 | |
| 266 | cpsw_sleep: cpsw_sleep { |
| 267 | pinctrl-single,pins = < |
| 268 | /* Slave 1 reset value */ |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 269 | AM33XX_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 270 | AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 271 | AM33XX_IOPAD(0x91c, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 272 | AM33XX_IOPAD(0x920, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 273 | AM33XX_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 274 | AM33XX_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 275 | AM33XX_IOPAD(0x92c, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 276 | AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 277 | AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 278 | AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 279 | AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 280 | AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7) |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 281 | >; |
| 282 | }; |
| 283 | |
| 284 | davinci_mdio_default: davinci_mdio_default { |
| 285 | pinctrl-single,pins = < |
| 286 | /* MDIO */ |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 287 | AM33XX_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */ |
| 288 | AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */ |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 289 | >; |
| 290 | }; |
| 291 | |
| 292 | davinci_mdio_sleep: davinci_mdio_sleep { |
| 293 | pinctrl-single,pins = < |
| 294 | /* MDIO reset value */ |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 295 | AM33XX_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 296 | AM33XX_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7) |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 297 | >; |
| 298 | }; |
Benoit Parrot | d6cfc1e | 2013-08-08 18:28:14 -0500 | [diff] [blame] | 299 | |
Balaji T K | b6586cd | 2014-03-03 20:20:19 +0530 | [diff] [blame] | 300 | mmc1_pins: pinmux_mmc1_pins { |
| 301 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 302 | AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */ |
Balaji T K | b6586cd | 2014-03-03 20:20:19 +0530 | [diff] [blame] | 303 | >; |
| 304 | }; |
| 305 | |
Eyal Reizer | 52dfcbf | 2015-05-03 15:19:28 +0300 | [diff] [blame] | 306 | mmc3_pins: pinmux_mmc3_pins { |
| 307 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 308 | AM33XX_IOPAD(0x844, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a1.mmc2_dat0, INPUT_PULLUP | MODE3 */ |
| 309 | AM33XX_IOPAD(0x848, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a2.mmc2_dat1, INPUT_PULLUP | MODE3 */ |
| 310 | AM33XX_IOPAD(0x84c, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a3.mmc2_dat2, INPUT_PULLUP | MODE3 */ |
| 311 | AM33XX_IOPAD(0x878, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ben1.mmc2_dat3, INPUT_PULLUP | MODE3 */ |
| 312 | AM33XX_IOPAD(0x888, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_csn3.mmc2_cmd, INPUT_PULLUP | MODE3 */ |
| 313 | AM33XX_IOPAD(0x88c, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_clk.mmc2_clk, INPUT_PULLUP | MODE3 */ |
Eyal Reizer | 52dfcbf | 2015-05-03 15:19:28 +0300 | [diff] [blame] | 314 | >; |
| 315 | }; |
| 316 | |
| 317 | wlan_pins: pinmux_wlan_pins { |
| 318 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 319 | AM33XX_IOPAD(0x840, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a0.gpio1_16 */ |
| 320 | AM33XX_IOPAD(0x99c, PIN_INPUT | MUX_MODE7) /* mcasp0_ahclkr.gpio3_17 */ |
| 321 | AM33XX_IOPAD(0x9ac, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* mcasp0_ahclkx.gpio3_21 */ |
Eyal Reizer | 52dfcbf | 2015-05-03 15:19:28 +0300 | [diff] [blame] | 322 | >; |
| 323 | }; |
| 324 | |
Benoit Parrot | d6cfc1e | 2013-08-08 18:28:14 -0500 | [diff] [blame] | 325 | lcd_pins_s0: lcd_pins_s0 { |
| 326 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 327 | AM33XX_IOPAD(0x820, PIN_OUTPUT | MUX_MODE1) /* gpmc_ad8.lcd_data23 */ |
| 328 | AM33XX_IOPAD(0x824, PIN_OUTPUT | MUX_MODE1) /* gpmc_ad9.lcd_data22 */ |
| 329 | AM33XX_IOPAD(0x828, PIN_OUTPUT | MUX_MODE1) /* gpmc_ad10.lcd_data21 */ |
| 330 | AM33XX_IOPAD(0x82c, PIN_OUTPUT | MUX_MODE1) /* gpmc_ad11.lcd_data20 */ |
| 331 | AM33XX_IOPAD(0x830, PIN_OUTPUT | MUX_MODE1) /* gpmc_ad12.lcd_data19 */ |
| 332 | AM33XX_IOPAD(0x834, PIN_OUTPUT | MUX_MODE1) /* gpmc_ad13.lcd_data18 */ |
| 333 | AM33XX_IOPAD(0x838, PIN_OUTPUT | MUX_MODE1) /* gpmc_ad14.lcd_data17 */ |
| 334 | AM33XX_IOPAD(0x83c, PIN_OUTPUT | MUX_MODE1) /* gpmc_ad15.lcd_data16 */ |
| 335 | AM33XX_IOPAD(0x8a0, PIN_OUTPUT | MUX_MODE0) /* lcd_data0.lcd_data0 */ |
| 336 | AM33XX_IOPAD(0x8a4, PIN_OUTPUT | MUX_MODE0) /* lcd_data1.lcd_data1 */ |
| 337 | AM33XX_IOPAD(0x8a8, PIN_OUTPUT | MUX_MODE0) /* lcd_data2.lcd_data2 */ |
| 338 | AM33XX_IOPAD(0x8ac, PIN_OUTPUT | MUX_MODE0) /* lcd_data3.lcd_data3 */ |
| 339 | AM33XX_IOPAD(0x8b0, PIN_OUTPUT | MUX_MODE0) /* lcd_data4.lcd_data4 */ |
| 340 | AM33XX_IOPAD(0x8b4, PIN_OUTPUT | MUX_MODE0) /* lcd_data5.lcd_data5 */ |
| 341 | AM33XX_IOPAD(0x8b8, PIN_OUTPUT | MUX_MODE0) /* lcd_data6.lcd_data6 */ |
| 342 | AM33XX_IOPAD(0x8bc, PIN_OUTPUT | MUX_MODE0) /* lcd_data7.lcd_data7 */ |
| 343 | AM33XX_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE0) /* lcd_data8.lcd_data8 */ |
| 344 | AM33XX_IOPAD(0x8c4, PIN_OUTPUT | MUX_MODE0) /* lcd_data9.lcd_data9 */ |
| 345 | AM33XX_IOPAD(0x8c8, PIN_OUTPUT | MUX_MODE0) /* lcd_data10.lcd_data10 */ |
| 346 | AM33XX_IOPAD(0x8cc, PIN_OUTPUT | MUX_MODE0) /* lcd_data11.lcd_data11 */ |
| 347 | AM33XX_IOPAD(0x8d0, PIN_OUTPUT | MUX_MODE0) /* lcd_data12.lcd_data12 */ |
| 348 | AM33XX_IOPAD(0x8d4, PIN_OUTPUT | MUX_MODE0) /* lcd_data13.lcd_data13 */ |
| 349 | AM33XX_IOPAD(0x8d8, PIN_OUTPUT | MUX_MODE0) /* lcd_data14.lcd_data14 */ |
| 350 | AM33XX_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE0) /* lcd_data15.lcd_data15 */ |
| 351 | AM33XX_IOPAD(0x8e0, PIN_OUTPUT | MUX_MODE0) /* lcd_vsync.lcd_vsync */ |
| 352 | AM33XX_IOPAD(0x8e4, PIN_OUTPUT | MUX_MODE0) /* lcd_hsync.lcd_hsync */ |
| 353 | AM33XX_IOPAD(0x8e8, PIN_OUTPUT | MUX_MODE0) /* lcd_pclk.lcd_pclk */ |
| 354 | AM33XX_IOPAD(0x8ec, PIN_OUTPUT | MUX_MODE0) /* lcd_ac_bias_en.lcd_ac_bias_en */ |
Benoit Parrot | d6cfc1e | 2013-08-08 18:28:14 -0500 | [diff] [blame] | 355 | >; |
| 356 | }; |
Darren Etheridge | f608f8dd | 2013-10-20 20:04:10 +0300 | [diff] [blame] | 357 | |
Peter Ujfalusi | 11fd9a9 | 2015-07-02 17:06:33 +0300 | [diff] [blame] | 358 | mcasp1_pins: mcasp1_pins { |
Darren Etheridge | f608f8dd | 2013-10-20 20:04:10 +0300 | [diff] [blame] | 359 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 360 | AM33XX_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */ |
| 361 | AM33XX_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_rxerr.mcasp1_fsx */ |
| 362 | AM33XX_IOPAD(0x908, PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* mii1_col.mcasp1_axr2 */ |
| 363 | AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */ |
Darren Etheridge | f608f8dd | 2013-10-20 20:04:10 +0300 | [diff] [blame] | 364 | >; |
| 365 | }; |
Roger Quadros | f80ecaf | 2014-10-29 17:52:57 +0200 | [diff] [blame] | 366 | |
Peter Ujfalusi | e4e0b70 | 2015-07-02 17:06:34 +0300 | [diff] [blame] | 367 | mcasp1_pins_sleep: mcasp1_pins_sleep { |
| 368 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 369 | AM33XX_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 370 | AM33XX_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 371 | AM33XX_IOPAD(0x908, PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 372 | AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE7) |
Peter Ujfalusi | e4e0b70 | 2015-07-02 17:06:34 +0300 | [diff] [blame] | 373 | >; |
| 374 | }; |
| 375 | |
Roger Quadros | f80ecaf | 2014-10-29 17:52:57 +0200 | [diff] [blame] | 376 | dcan1_pins_default: dcan1_pins_default { |
| 377 | pinctrl-single,pins = < |
Javier Martinez Canillas | 46bd10c | 2015-11-13 01:53:46 -0300 | [diff] [blame] | 378 | AM33XX_IOPAD(0x968, PIN_OUTPUT | MUX_MODE2) /* uart0_ctsn.d_can1_tx */ |
| 379 | AM33XX_IOPAD(0x96c, PIN_INPUT_PULLDOWN | MUX_MODE2) /* uart0_rtsn.d_can1_rx */ |
Roger Quadros | f80ecaf | 2014-10-29 17:52:57 +0200 | [diff] [blame] | 380 | >; |
| 381 | }; |
Javier Martinez Canillas | 82d75af | 2013-09-20 17:00:00 +0200 | [diff] [blame] | 382 | }; |
| 383 | |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 384 | &uart0 { |
| 385 | pinctrl-names = "default"; |
| 386 | pinctrl-0 = <&uart0_pins>; |
| 387 | |
| 388 | status = "okay"; |
| 389 | }; |
| 390 | |
Eliad Peller | ab159d2 | 2015-05-04 15:41:13 +0300 | [diff] [blame] | 391 | &uart1 { |
| 392 | pinctrl-names = "default"; |
| 393 | pinctrl-0 = <&uart1_pins>; |
| 394 | |
| 395 | status = "okay"; |
| 396 | }; |
| 397 | |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 398 | &i2c0 { |
| 399 | pinctrl-names = "default"; |
| 400 | pinctrl-0 = <&i2c0_pins>; |
| 401 | |
| 402 | status = "okay"; |
| 403 | clock-frequency = <400000>; |
| 404 | |
| 405 | tps: tps@2d { |
| 406 | reg = <0x2d>; |
| 407 | }; |
| 408 | }; |
| 409 | |
| 410 | &usb { |
| 411 | status = "okay"; |
Guido MartÃnez | bd6fdaf | 2014-04-28 17:54:33 -0300 | [diff] [blame] | 412 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 413 | |
Guido MartÃnez | bd6fdaf | 2014-04-28 17:54:33 -0300 | [diff] [blame] | 414 | &usb_ctrl_mod { |
| 415 | status = "okay"; |
| 416 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 417 | |
Guido MartÃnez | bd6fdaf | 2014-04-28 17:54:33 -0300 | [diff] [blame] | 418 | &usb0_phy { |
| 419 | status = "okay"; |
| 420 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 421 | |
Guido MartÃnez | bd6fdaf | 2014-04-28 17:54:33 -0300 | [diff] [blame] | 422 | &usb1_phy { |
| 423 | status = "okay"; |
| 424 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 425 | |
Guido MartÃnez | bd6fdaf | 2014-04-28 17:54:33 -0300 | [diff] [blame] | 426 | &usb0 { |
| 427 | status = "okay"; |
| 428 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 429 | |
Guido MartÃnez | bd6fdaf | 2014-04-28 17:54:33 -0300 | [diff] [blame] | 430 | &usb1 { |
| 431 | status = "okay"; |
| 432 | dr_mode = "host"; |
| 433 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 434 | |
Guido MartÃnez | bd6fdaf | 2014-04-28 17:54:33 -0300 | [diff] [blame] | 435 | &cppi41dma { |
| 436 | status = "okay"; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 437 | }; |
| 438 | |
| 439 | &i2c1 { |
| 440 | pinctrl-names = "default"; |
| 441 | pinctrl-0 = <&i2c1_pins>; |
| 442 | |
| 443 | status = "okay"; |
| 444 | clock-frequency = <100000>; |
| 445 | |
| 446 | lis331dlh: lis331dlh@18 { |
| 447 | compatible = "st,lis331dlh", "st,lis3lv02d"; |
| 448 | reg = <0x18>; |
| 449 | Vdd-supply = <&lis3_reg>; |
| 450 | Vdd_IO-supply = <&lis3_reg>; |
| 451 | |
| 452 | st,click-single-x; |
| 453 | st,click-single-y; |
| 454 | st,click-single-z; |
| 455 | st,click-thresh-x = <10>; |
| 456 | st,click-thresh-y = <10>; |
| 457 | st,click-thresh-z = <10>; |
| 458 | st,irq1-click; |
| 459 | st,irq2-click; |
| 460 | st,wakeup-x-lo; |
| 461 | st,wakeup-x-hi; |
| 462 | st,wakeup-y-lo; |
| 463 | st,wakeup-y-hi; |
| 464 | st,wakeup-z-lo; |
| 465 | st,wakeup-z-hi; |
| 466 | st,min-limit-x = <120>; |
| 467 | st,min-limit-y = <120>; |
| 468 | st,min-limit-z = <140>; |
| 469 | st,max-limit-x = <550>; |
| 470 | st,max-limit-y = <550>; |
| 471 | st,max-limit-z = <750>; |
| 472 | }; |
| 473 | |
| 474 | tsl2550: tsl2550@39 { |
| 475 | compatible = "taos,tsl2550"; |
| 476 | reg = <0x39>; |
| 477 | }; |
| 478 | |
| 479 | tmp275: tmp275@48 { |
| 480 | compatible = "ti,tmp275"; |
| 481 | reg = <0x48>; |
| 482 | }; |
Darren Etheridge | f608f8dd | 2013-10-20 20:04:10 +0300 | [diff] [blame] | 483 | |
| 484 | tlv320aic3106: tlv320aic3106@1b { |
Peter Ujfalusi | 80edaae | 2015-07-02 17:06:35 +0300 | [diff] [blame] | 485 | #sound-dai-cells = <0>; |
Darren Etheridge | f608f8dd | 2013-10-20 20:04:10 +0300 | [diff] [blame] | 486 | compatible = "ti,tlv320aic3106"; |
| 487 | reg = <0x1b>; |
| 488 | status = "okay"; |
| 489 | |
| 490 | /* Regulators */ |
| 491 | AVDD-supply = <&vaux2_reg>; |
| 492 | IOVDD-supply = <&vaux2_reg>; |
| 493 | DRVDD-supply = <&vaux2_reg>; |
| 494 | DVDD-supply = <&vbat>; |
| 495 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 496 | }; |
| 497 | |
Benoit Parrot | d6cfc1e | 2013-08-08 18:28:14 -0500 | [diff] [blame] | 498 | &lcdc { |
| 499 | status = "okay"; |
| 500 | }; |
| 501 | |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 502 | &elm { |
| 503 | status = "okay"; |
| 504 | }; |
| 505 | |
| 506 | &epwmss0 { |
| 507 | status = "okay"; |
| 508 | |
| 509 | ecap0: ecap@48300100 { |
| 510 | status = "okay"; |
| 511 | pinctrl-names = "default"; |
| 512 | pinctrl-0 = <&ecap0_pins>; |
| 513 | }; |
| 514 | }; |
| 515 | |
| 516 | &gpmc { |
| 517 | status = "okay"; |
| 518 | pinctrl-names = "default"; |
| 519 | pinctrl-0 = <&nandflash_pins_s0>; |
Tony Lindgren | e2c5eb7 | 2014-10-29 17:16:47 -0700 | [diff] [blame] | 520 | ranges = <0 0 0x08000000 0x1000000>; /* CS0: 16MB for NAND */ |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 521 | nand@0,0 { |
Roger Quadros | 0375214 | 2016-02-23 18:37:21 +0200 | [diff] [blame] | 522 | compatible = "ti,omap2-nand"; |
Tony Lindgren | e2c5eb7 | 2014-10-29 17:16:47 -0700 | [diff] [blame] | 523 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
Roger Quadros | 0375214 | 2016-02-23 18:37:21 +0200 | [diff] [blame] | 524 | interrupt-parent = <&gpmc>; |
| 525 | interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ |
| 526 | <1 IRQ_TYPE_NONE>; /* termcount */ |
Roger Quadros | 63015d7 | 2016-04-07 13:25:39 +0300 | [diff] [blame] | 527 | rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */ |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 528 | ti,nand-ecc-opt = "bch8"; |
Pekon Gupta | c06c527 | 2014-02-05 18:58:32 +0530 | [diff] [blame] | 529 | ti,elm-id = <&elm>; |
| 530 | nand-bus-width = <8>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 531 | gpmc,device-width = <1>; |
| 532 | gpmc,sync-clk-ps = <0>; |
| 533 | gpmc,cs-on-ns = <0>; |
| 534 | gpmc,cs-rd-off-ns = <44>; |
| 535 | gpmc,cs-wr-off-ns = <44>; |
| 536 | gpmc,adv-on-ns = <6>; |
| 537 | gpmc,adv-rd-off-ns = <34>; |
| 538 | gpmc,adv-wr-off-ns = <44>; |
| 539 | gpmc,we-on-ns = <0>; |
| 540 | gpmc,we-off-ns = <40>; |
| 541 | gpmc,oe-on-ns = <0>; |
| 542 | gpmc,oe-off-ns = <54>; |
| 543 | gpmc,access-ns = <64>; |
| 544 | gpmc,rd-cycle-ns = <82>; |
| 545 | gpmc,wr-cycle-ns = <82>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 546 | gpmc,bus-turnaround-ns = <0>; |
| 547 | gpmc,cycle2cycle-delay-ns = <0>; |
| 548 | gpmc,clk-activation-ns = <0>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 549 | gpmc,wr-access-ns = <40>; |
| 550 | gpmc,wr-data-mux-bus-ns = <0>; |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 551 | /* MTD partition table */ |
| 552 | /* All SPL-* partitions are sized to minimal length |
| 553 | * which can be independently programmable. For |
| 554 | * NAND flash this is equal to size of erase-block */ |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 555 | #address-cells = <1>; |
| 556 | #size-cells = <1>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 557 | partition@0 { |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 558 | label = "NAND.SPL"; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 559 | reg = <0x00000000 0x000020000>; |
| 560 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 561 | partition@1 { |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 562 | label = "NAND.SPL.backup1"; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 563 | reg = <0x00020000 0x00020000>; |
| 564 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 565 | partition@2 { |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 566 | label = "NAND.SPL.backup2"; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 567 | reg = <0x00040000 0x00020000>; |
| 568 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 569 | partition@3 { |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 570 | label = "NAND.SPL.backup3"; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 571 | reg = <0x00060000 0x00020000>; |
| 572 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 573 | partition@4 { |
Roger Quadros | a8ead0e | 2014-10-21 14:25:45 +0300 | [diff] [blame] | 574 | label = "NAND.u-boot-spl-os"; |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 575 | reg = <0x00080000 0x00040000>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 576 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 577 | partition@5 { |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 578 | label = "NAND.u-boot"; |
| 579 | reg = <0x000C0000 0x00100000>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 580 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 581 | partition@6 { |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 582 | label = "NAND.u-boot-env"; |
| 583 | reg = <0x001C0000 0x00020000>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 584 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 585 | partition@7 { |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 586 | label = "NAND.u-boot-env.backup1"; |
| 587 | reg = <0x001E0000 0x00020000>; |
| 588 | }; |
| 589 | partition@8 { |
| 590 | label = "NAND.kernel"; |
| 591 | reg = <0x00200000 0x00800000>; |
| 592 | }; |
| 593 | partition@9 { |
| 594 | label = "NAND.file-system"; |
| 595 | reg = <0x00A00000 0x0F600000>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 596 | }; |
| 597 | }; |
| 598 | }; |
| 599 | |
Florian Vaussard | eb33ef66 | 2013-06-03 16:12:22 +0200 | [diff] [blame] | 600 | #include "tps65910.dtsi" |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 601 | |
Darren Etheridge | f608f8dd | 2013-10-20 20:04:10 +0300 | [diff] [blame] | 602 | &mcasp1 { |
Peter Ujfalusi | 80edaae | 2015-07-02 17:06:35 +0300 | [diff] [blame] | 603 | #sound-dai-cells = <0>; |
Peter Ujfalusi | e4e0b70 | 2015-07-02 17:06:34 +0300 | [diff] [blame] | 604 | pinctrl-names = "default", "sleep"; |
Peter Ujfalusi | 11fd9a9 | 2015-07-02 17:06:33 +0300 | [diff] [blame] | 605 | pinctrl-0 = <&mcasp1_pins>; |
Peter Ujfalusi | e4e0b70 | 2015-07-02 17:06:34 +0300 | [diff] [blame] | 606 | pinctrl-1 = <&mcasp1_pins_sleep>; |
Darren Etheridge | f608f8dd | 2013-10-20 20:04:10 +0300 | [diff] [blame] | 607 | |
Peter Ujfalusi | a6ccad6 | 2015-07-02 17:06:32 +0300 | [diff] [blame] | 608 | status = "okay"; |
Darren Etheridge | f608f8dd | 2013-10-20 20:04:10 +0300 | [diff] [blame] | 609 | |
Peter Ujfalusi | a6ccad6 | 2015-07-02 17:06:32 +0300 | [diff] [blame] | 610 | op-mode = <0>; /* MCASP_IIS_MODE */ |
| 611 | tdm-slots = <2>; |
| 612 | /* 4 serializers */ |
| 613 | serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ |
| 614 | 0 0 1 2 |
| 615 | >; |
| 616 | tx-num-evt = <32>; |
| 617 | rx-num-evt = <32>; |
Darren Etheridge | f608f8dd | 2013-10-20 20:04:10 +0300 | [diff] [blame] | 618 | }; |
| 619 | |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 620 | &tps { |
| 621 | vcc1-supply = <&vbat>; |
| 622 | vcc2-supply = <&vbat>; |
| 623 | vcc3-supply = <&vbat>; |
| 624 | vcc4-supply = <&vbat>; |
| 625 | vcc5-supply = <&vbat>; |
| 626 | vcc6-supply = <&vbat>; |
| 627 | vcc7-supply = <&vbat>; |
| 628 | vccio-supply = <&vbat>; |
| 629 | |
| 630 | regulators { |
| 631 | vrtc_reg: regulator@0 { |
| 632 | regulator-always-on; |
| 633 | }; |
| 634 | |
| 635 | vio_reg: regulator@1 { |
| 636 | regulator-always-on; |
| 637 | }; |
| 638 | |
| 639 | vdd1_reg: regulator@2 { |
| 640 | /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ |
| 641 | regulator-name = "vdd_mpu"; |
| 642 | regulator-min-microvolt = <912500>; |
Dave Gerlach | fb515b8 | 2016-05-18 18:36:26 -0500 | [diff] [blame] | 643 | regulator-max-microvolt = <1351500>; |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 644 | regulator-boot-on; |
| 645 | regulator-always-on; |
| 646 | }; |
| 647 | |
| 648 | vdd2_reg: regulator@3 { |
| 649 | /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ |
| 650 | regulator-name = "vdd_core"; |
| 651 | regulator-min-microvolt = <912500>; |
| 652 | regulator-max-microvolt = <1150000>; |
| 653 | regulator-boot-on; |
| 654 | regulator-always-on; |
| 655 | }; |
| 656 | |
| 657 | vdd3_reg: regulator@4 { |
| 658 | regulator-always-on; |
| 659 | }; |
| 660 | |
| 661 | vdig1_reg: regulator@5 { |
| 662 | regulator-always-on; |
| 663 | }; |
| 664 | |
| 665 | vdig2_reg: regulator@6 { |
| 666 | regulator-always-on; |
| 667 | }; |
| 668 | |
| 669 | vpll_reg: regulator@7 { |
| 670 | regulator-always-on; |
| 671 | }; |
| 672 | |
| 673 | vdac_reg: regulator@8 { |
| 674 | regulator-always-on; |
| 675 | }; |
| 676 | |
| 677 | vaux1_reg: regulator@9 { |
| 678 | regulator-always-on; |
| 679 | }; |
| 680 | |
| 681 | vaux2_reg: regulator@10 { |
| 682 | regulator-always-on; |
| 683 | }; |
| 684 | |
| 685 | vaux33_reg: regulator@11 { |
| 686 | regulator-always-on; |
| 687 | }; |
| 688 | |
| 689 | vmmc_reg: regulator@12 { |
Matt Porter | 55b4452 | 2013-09-10 14:24:39 -0500 | [diff] [blame] | 690 | regulator-min-microvolt = <1800000>; |
| 691 | regulator-max-microvolt = <3300000>; |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 692 | regulator-always-on; |
| 693 | }; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 694 | }; |
AnilKumar Ch | 32bb00e | 2012-06-22 15:10:49 +0530 | [diff] [blame] | 695 | }; |
Mugunthan V N | 1a39a65 | 2012-11-14 09:08:00 +0000 | [diff] [blame] | 696 | |
Mugunthan V N | 50c7d2b | 2013-06-07 17:02:54 +0530 | [diff] [blame] | 697 | &mac { |
| 698 | pinctrl-names = "default", "sleep"; |
| 699 | pinctrl-0 = <&cpsw_default>; |
| 700 | pinctrl-1 = <&cpsw_sleep>; |
Johan Hovold | 16c75a1 | 2014-05-08 10:57:36 +0200 | [diff] [blame] | 701 | status = "okay"; |
Mugunthan V N | 50c7d2b | 2013-06-07 17:02:54 +0530 | [diff] [blame] | 702 | }; |
| 703 | |
| 704 | &davinci_mdio { |
| 705 | pinctrl-names = "default", "sleep"; |
| 706 | pinctrl-0 = <&davinci_mdio_default>; |
| 707 | pinctrl-1 = <&davinci_mdio_sleep>; |
Johan Hovold | 16c75a1 | 2014-05-08 10:57:36 +0200 | [diff] [blame] | 708 | status = "okay"; |
Mugunthan V N | 50c7d2b | 2013-06-07 17:02:54 +0530 | [diff] [blame] | 709 | }; |
| 710 | |
Mugunthan V N | 1a39a65 | 2012-11-14 09:08:00 +0000 | [diff] [blame] | 711 | &cpsw_emac0 { |
| 712 | phy_id = <&davinci_mdio>, <0>; |
Mugunthan V N | 6d75afe | 2013-06-03 20:10:11 +0000 | [diff] [blame] | 713 | phy-mode = "rgmii-txid"; |
Mugunthan V N | 1a39a65 | 2012-11-14 09:08:00 +0000 | [diff] [blame] | 714 | }; |
| 715 | |
| 716 | &cpsw_emac1 { |
| 717 | phy_id = <&davinci_mdio>, <1>; |
Mugunthan V N | 6d75afe | 2013-06-03 20:10:11 +0000 | [diff] [blame] | 718 | phy-mode = "rgmii-txid"; |
Mugunthan V N | 1a39a65 | 2012-11-14 09:08:00 +0000 | [diff] [blame] | 719 | }; |
Patil, Rachna | a82279d | 2013-01-24 03:45:12 +0000 | [diff] [blame] | 720 | |
| 721 | &tscadc { |
| 722 | status = "okay"; |
| 723 | tsc { |
| 724 | ti,wires = <4>; |
| 725 | ti,x-plate-resistance = <200>; |
Felipe Balbi | c9aeb24 | 2013-11-10 23:56:43 -0800 | [diff] [blame] | 726 | ti,coordinate-readouts = <5>; |
Patil, Rachna | a82279d | 2013-01-24 03:45:12 +0000 | [diff] [blame] | 727 | ti,wire-config = <0x00 0x11 0x22 0x33>; |
Vignesh R | e6e4a0d | 2015-02-03 11:46:36 -0800 | [diff] [blame] | 728 | ti,charge-delay = <0x400>; |
Patil, Rachna | a82279d | 2013-01-24 03:45:12 +0000 | [diff] [blame] | 729 | }; |
| 730 | |
| 731 | adc { |
Sebastian Andrzej Siewior | 18926ed | 2013-05-29 17:39:02 +0200 | [diff] [blame] | 732 | ti,adc-channels = <4 5 6 7>; |
Patil, Rachna | a82279d | 2013-01-24 03:45:12 +0000 | [diff] [blame] | 733 | }; |
| 734 | }; |
Matt Porter | 55b4452 | 2013-09-10 14:24:39 -0500 | [diff] [blame] | 735 | |
| 736 | &mmc1 { |
| 737 | status = "okay"; |
| 738 | vmmc-supply = <&vmmc_reg>; |
Balaji T K | 0d8d40f | 2013-09-27 17:05:10 +0530 | [diff] [blame] | 739 | bus-width = <4>; |
Balaji T K | b6586cd | 2014-03-03 20:20:19 +0530 | [diff] [blame] | 740 | pinctrl-names = "default"; |
| 741 | pinctrl-0 = <&mmc1_pins>; |
Mugunthan V N | c7ce74b | 2015-10-12 14:37:10 +0530 | [diff] [blame] | 742 | cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; |
Matt Porter | 55b4452 | 2013-09-10 14:24:39 -0500 | [diff] [blame] | 743 | }; |
Mark A. Greer | f8302e1 | 2013-08-23 14:12:35 -0700 | [diff] [blame] | 744 | |
Eyal Reizer | 52dfcbf | 2015-05-03 15:19:28 +0300 | [diff] [blame] | 745 | &mmc3 { |
| 746 | /* these are on the crossbar and are outlined in the |
| 747 | xbar-event-map element */ |
Peter Ujfalusi | b5e5090 | 2015-12-17 15:33:36 +0200 | [diff] [blame] | 748 | dmas = <&edma_xbar 12 0 1 |
| 749 | &edma_xbar 13 0 2>; |
Eyal Reizer | 52dfcbf | 2015-05-03 15:19:28 +0300 | [diff] [blame] | 750 | dma-names = "tx", "rx"; |
| 751 | status = "okay"; |
| 752 | vmmc-supply = <&wlan_en_reg>; |
| 753 | bus-width = <4>; |
| 754 | pinctrl-names = "default"; |
| 755 | pinctrl-0 = <&mmc3_pins &wlan_pins>; |
| 756 | ti,non-removable; |
| 757 | ti,needs-special-hs-handling; |
| 758 | cap-power-off-card; |
| 759 | keep-power-in-suspend; |
| 760 | |
| 761 | #address-cells = <1>; |
| 762 | #size-cells = <0>; |
| 763 | wlcore: wlcore@0 { |
| 764 | compatible = "ti,wl1835"; |
| 765 | reg = <2>; |
| 766 | interrupt-parent = <&gpio3>; |
| 767 | interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; |
| 768 | }; |
| 769 | }; |
| 770 | |
Mark A. Greer | f8302e1 | 2013-08-23 14:12:35 -0700 | [diff] [blame] | 771 | &sham { |
| 772 | status = "okay"; |
| 773 | }; |
Mark A. Greer | 99919e5e | 2013-08-23 14:12:36 -0700 | [diff] [blame] | 774 | |
| 775 | &aes { |
| 776 | status = "okay"; |
| 777 | }; |
Roger Quadros | f80ecaf | 2014-10-29 17:52:57 +0200 | [diff] [blame] | 778 | |
| 779 | &dcan1 { |
| 780 | status = "disabled"; /* Enable only if Profile 1 is selected */ |
| 781 | pinctrl-names = "default"; |
| 782 | pinctrl-0 = <&dcan1_pins_default>; |
| 783 | }; |