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 | |
Javier Martinez Canillas | 278cb79 | 2016-08-31 12:35:30 +0200 | [diff] [blame] | 23 | memory@80000000 { |
AnilKumar Ch | 32bb00e | 2012-06-22 15:10:49 +0530 | [diff] [blame] | 24 | device_type = "memory"; |
| 25 | reg = <0x80000000 0x10000000>; /* 256 MB */ |
| 26 | }; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 27 | |
Javier Martinez Canillas | 4c049a5 | 2016-08-01 12:46:58 -0400 | [diff] [blame] | 28 | vbat: fixedregulator0 { |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 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 | |
Javier Martinez Canillas | 4c049a5 | 2016-08-01 12:46:58 -0400 | [diff] [blame] | 36 | lis3_reg: fixedregulator1 { |
AnilKumar Ch | 492dd02 | 2012-09-20 02:49:29 +0530 | [diff] [blame] | 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 | |
Javier Martinez Canillas | 4c049a5 | 2016-08-01 12:46:58 -0400 | [diff] [blame] | 42 | wlan_en_reg: fixedregulator2 { |
Eyal Reizer | 52dfcbf | 2015-05-03 15:19:28 +0300 | [diff] [blame] | 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 | |
Javier Martinez Canillas | 18ad99d | 2016-08-01 12:46:57 -0400 | [diff] [blame] | 56 | matrix_keypad: matrix_keypad0 { |
AnilKumar Ch | 2ca1d31 | 2012-11-06 19:18:30 +0530 | [diff] [blame] | 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 | |
Javier Martinez Canillas | 57a78a8 | 2016-08-01 12:47:01 -0400 | [diff] [blame] | 76 | gpio_keys: volume_keys0 { |
AnilKumar Ch | 822c993 | 2012-11-06 19:18:32 +0530 | [diff] [blame] | 77 | compatible = "gpio-keys"; |
| 78 | #address-cells = <1>; |
| 79 | #size-cells = <0>; |
| 80 | autorepeat; |
| 81 | |
Javier Martinez Canillas | 57a78a8 | 2016-08-01 12:47:01 -0400 | [diff] [blame] | 82 | switch9 { |
AnilKumar Ch | 822c993 | 2012-11-06 19:18:32 +0530 | [diff] [blame] | 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 | |
Javier Martinez Canillas | 57a78a8 | 2016-08-01 12:47:01 -0400 | [diff] [blame] | 89 | switch10 { |
AnilKumar Ch | 822c993 | 2012-11-06 19:18:32 +0530 | [diff] [blame] | 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"; |
Jyri Sarha | f91f0f2 | 2016-09-16 14:50:11 +0300 | [diff] [blame^] | 500 | |
| 501 | blue-and-red-wiring = "crossed"; |
Benoit Parrot | d6cfc1e | 2013-08-08 18:28:14 -0500 | [diff] [blame] | 502 | }; |
| 503 | |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 504 | &elm { |
| 505 | status = "okay"; |
| 506 | }; |
| 507 | |
| 508 | &epwmss0 { |
| 509 | status = "okay"; |
| 510 | |
| 511 | ecap0: ecap@48300100 { |
| 512 | status = "okay"; |
| 513 | pinctrl-names = "default"; |
| 514 | pinctrl-0 = <&ecap0_pins>; |
| 515 | }; |
| 516 | }; |
| 517 | |
| 518 | &gpmc { |
| 519 | status = "okay"; |
| 520 | pinctrl-names = "default"; |
| 521 | pinctrl-0 = <&nandflash_pins_s0>; |
Tony Lindgren | e2c5eb7 | 2014-10-29 17:16:47 -0700 | [diff] [blame] | 522 | ranges = <0 0 0x08000000 0x1000000>; /* CS0: 16MB for NAND */ |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 523 | nand@0,0 { |
Roger Quadros | 0375214 | 2016-02-23 18:37:21 +0200 | [diff] [blame] | 524 | compatible = "ti,omap2-nand"; |
Tony Lindgren | e2c5eb7 | 2014-10-29 17:16:47 -0700 | [diff] [blame] | 525 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
Roger Quadros | 0375214 | 2016-02-23 18:37:21 +0200 | [diff] [blame] | 526 | interrupt-parent = <&gpmc>; |
| 527 | interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ |
| 528 | <1 IRQ_TYPE_NONE>; /* termcount */ |
Roger Quadros | 63015d7 | 2016-04-07 13:25:39 +0300 | [diff] [blame] | 529 | rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */ |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 530 | ti,nand-ecc-opt = "bch8"; |
Pekon Gupta | c06c527 | 2014-02-05 18:58:32 +0530 | [diff] [blame] | 531 | ti,elm-id = <&elm>; |
| 532 | nand-bus-width = <8>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 533 | gpmc,device-width = <1>; |
| 534 | gpmc,sync-clk-ps = <0>; |
| 535 | gpmc,cs-on-ns = <0>; |
| 536 | gpmc,cs-rd-off-ns = <44>; |
| 537 | gpmc,cs-wr-off-ns = <44>; |
| 538 | gpmc,adv-on-ns = <6>; |
| 539 | gpmc,adv-rd-off-ns = <34>; |
| 540 | gpmc,adv-wr-off-ns = <44>; |
| 541 | gpmc,we-on-ns = <0>; |
| 542 | gpmc,we-off-ns = <40>; |
| 543 | gpmc,oe-on-ns = <0>; |
| 544 | gpmc,oe-off-ns = <54>; |
| 545 | gpmc,access-ns = <64>; |
| 546 | gpmc,rd-cycle-ns = <82>; |
| 547 | gpmc,wr-cycle-ns = <82>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 548 | gpmc,bus-turnaround-ns = <0>; |
| 549 | gpmc,cycle2cycle-delay-ns = <0>; |
| 550 | gpmc,clk-activation-ns = <0>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 551 | gpmc,wr-access-ns = <40>; |
| 552 | gpmc,wr-data-mux-bus-ns = <0>; |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 553 | /* MTD partition table */ |
| 554 | /* All SPL-* partitions are sized to minimal length |
| 555 | * which can be independently programmable. For |
| 556 | * NAND flash this is equal to size of erase-block */ |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 557 | #address-cells = <1>; |
| 558 | #size-cells = <1>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 559 | partition@0 { |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 560 | label = "NAND.SPL"; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 561 | reg = <0x00000000 0x000020000>; |
| 562 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 563 | partition@1 { |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 564 | label = "NAND.SPL.backup1"; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 565 | reg = <0x00020000 0x00020000>; |
| 566 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 567 | partition@2 { |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 568 | label = "NAND.SPL.backup2"; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 569 | reg = <0x00040000 0x00020000>; |
| 570 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 571 | partition@3 { |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 572 | label = "NAND.SPL.backup3"; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 573 | reg = <0x00060000 0x00020000>; |
| 574 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 575 | partition@4 { |
Roger Quadros | a8ead0e | 2014-10-21 14:25:45 +0300 | [diff] [blame] | 576 | label = "NAND.u-boot-spl-os"; |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 577 | reg = <0x00080000 0x00040000>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 578 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 579 | partition@5 { |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 580 | label = "NAND.u-boot"; |
| 581 | reg = <0x000C0000 0x00100000>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 582 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 583 | partition@6 { |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 584 | label = "NAND.u-boot-env"; |
| 585 | reg = <0x001C0000 0x00020000>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 586 | }; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 587 | partition@7 { |
Pekon Gupta | 91994fa | 2014-02-05 18:58:31 +0530 | [diff] [blame] | 588 | label = "NAND.u-boot-env.backup1"; |
| 589 | reg = <0x001E0000 0x00020000>; |
| 590 | }; |
| 591 | partition@8 { |
| 592 | label = "NAND.kernel"; |
| 593 | reg = <0x00200000 0x00800000>; |
| 594 | }; |
| 595 | partition@9 { |
| 596 | label = "NAND.file-system"; |
| 597 | reg = <0x00A00000 0x0F600000>; |
Javier Martinez Canillas | e0efaaf | 2013-09-20 17:42:19 +0200 | [diff] [blame] | 598 | }; |
| 599 | }; |
| 600 | }; |
| 601 | |
Florian Vaussard | eb33ef66 | 2013-06-03 16:12:22 +0200 | [diff] [blame] | 602 | #include "tps65910.dtsi" |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 603 | |
Darren Etheridge | f608f8dd | 2013-10-20 20:04:10 +0300 | [diff] [blame] | 604 | &mcasp1 { |
Peter Ujfalusi | 80edaae | 2015-07-02 17:06:35 +0300 | [diff] [blame] | 605 | #sound-dai-cells = <0>; |
Peter Ujfalusi | e4e0b70 | 2015-07-02 17:06:34 +0300 | [diff] [blame] | 606 | pinctrl-names = "default", "sleep"; |
Peter Ujfalusi | 11fd9a9 | 2015-07-02 17:06:33 +0300 | [diff] [blame] | 607 | pinctrl-0 = <&mcasp1_pins>; |
Peter Ujfalusi | e4e0b70 | 2015-07-02 17:06:34 +0300 | [diff] [blame] | 608 | pinctrl-1 = <&mcasp1_pins_sleep>; |
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 | status = "okay"; |
Darren Etheridge | f608f8dd | 2013-10-20 20:04:10 +0300 | [diff] [blame] | 611 | |
Peter Ujfalusi | a6ccad6 | 2015-07-02 17:06:32 +0300 | [diff] [blame] | 612 | op-mode = <0>; /* MCASP_IIS_MODE */ |
| 613 | tdm-slots = <2>; |
| 614 | /* 4 serializers */ |
| 615 | serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ |
| 616 | 0 0 1 2 |
| 617 | >; |
| 618 | tx-num-evt = <32>; |
| 619 | rx-num-evt = <32>; |
Darren Etheridge | f608f8dd | 2013-10-20 20:04:10 +0300 | [diff] [blame] | 620 | }; |
| 621 | |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 622 | &tps { |
| 623 | vcc1-supply = <&vbat>; |
| 624 | vcc2-supply = <&vbat>; |
| 625 | vcc3-supply = <&vbat>; |
| 626 | vcc4-supply = <&vbat>; |
| 627 | vcc5-supply = <&vbat>; |
| 628 | vcc6-supply = <&vbat>; |
| 629 | vcc7-supply = <&vbat>; |
| 630 | vccio-supply = <&vbat>; |
| 631 | |
| 632 | regulators { |
| 633 | vrtc_reg: regulator@0 { |
| 634 | regulator-always-on; |
| 635 | }; |
| 636 | |
| 637 | vio_reg: regulator@1 { |
| 638 | regulator-always-on; |
| 639 | }; |
| 640 | |
| 641 | vdd1_reg: regulator@2 { |
| 642 | /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ |
| 643 | regulator-name = "vdd_mpu"; |
| 644 | regulator-min-microvolt = <912500>; |
Dave Gerlach | fb515b8 | 2016-05-18 18:36:26 -0500 | [diff] [blame] | 645 | regulator-max-microvolt = <1351500>; |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 646 | regulator-boot-on; |
| 647 | regulator-always-on; |
| 648 | }; |
| 649 | |
| 650 | vdd2_reg: regulator@3 { |
| 651 | /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ |
| 652 | regulator-name = "vdd_core"; |
| 653 | regulator-min-microvolt = <912500>; |
| 654 | regulator-max-microvolt = <1150000>; |
| 655 | regulator-boot-on; |
| 656 | regulator-always-on; |
| 657 | }; |
| 658 | |
| 659 | vdd3_reg: regulator@4 { |
| 660 | regulator-always-on; |
| 661 | }; |
| 662 | |
| 663 | vdig1_reg: regulator@5 { |
| 664 | regulator-always-on; |
| 665 | }; |
| 666 | |
| 667 | vdig2_reg: regulator@6 { |
| 668 | regulator-always-on; |
| 669 | }; |
| 670 | |
| 671 | vpll_reg: regulator@7 { |
| 672 | regulator-always-on; |
| 673 | }; |
| 674 | |
| 675 | vdac_reg: regulator@8 { |
| 676 | regulator-always-on; |
| 677 | }; |
| 678 | |
| 679 | vaux1_reg: regulator@9 { |
| 680 | regulator-always-on; |
| 681 | }; |
| 682 | |
| 683 | vaux2_reg: regulator@10 { |
| 684 | regulator-always-on; |
| 685 | }; |
| 686 | |
| 687 | vaux33_reg: regulator@11 { |
| 688 | regulator-always-on; |
| 689 | }; |
| 690 | |
| 691 | vmmc_reg: regulator@12 { |
Matt Porter | 55b4452 | 2013-09-10 14:24:39 -0500 | [diff] [blame] | 692 | regulator-min-microvolt = <1800000>; |
| 693 | regulator-max-microvolt = <3300000>; |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 694 | regulator-always-on; |
| 695 | }; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 696 | }; |
AnilKumar Ch | 32bb00e | 2012-06-22 15:10:49 +0530 | [diff] [blame] | 697 | }; |
Mugunthan V N | 1a39a65 | 2012-11-14 09:08:00 +0000 | [diff] [blame] | 698 | |
Mugunthan V N | 50c7d2b | 2013-06-07 17:02:54 +0530 | [diff] [blame] | 699 | &mac { |
| 700 | pinctrl-names = "default", "sleep"; |
| 701 | pinctrl-0 = <&cpsw_default>; |
| 702 | pinctrl-1 = <&cpsw_sleep>; |
Johan Hovold | 16c75a1 | 2014-05-08 10:57:36 +0200 | [diff] [blame] | 703 | status = "okay"; |
Mugunthan V N | 50c7d2b | 2013-06-07 17:02:54 +0530 | [diff] [blame] | 704 | }; |
| 705 | |
| 706 | &davinci_mdio { |
| 707 | pinctrl-names = "default", "sleep"; |
| 708 | pinctrl-0 = <&davinci_mdio_default>; |
| 709 | pinctrl-1 = <&davinci_mdio_sleep>; |
Johan Hovold | 16c75a1 | 2014-05-08 10:57:36 +0200 | [diff] [blame] | 710 | status = "okay"; |
Mugunthan V N | 50c7d2b | 2013-06-07 17:02:54 +0530 | [diff] [blame] | 711 | }; |
| 712 | |
Mugunthan V N | 1a39a65 | 2012-11-14 09:08:00 +0000 | [diff] [blame] | 713 | &cpsw_emac0 { |
| 714 | phy_id = <&davinci_mdio>, <0>; |
Mugunthan V N | 6d75afe | 2013-06-03 20:10:11 +0000 | [diff] [blame] | 715 | phy-mode = "rgmii-txid"; |
Mugunthan V N | 1a39a65 | 2012-11-14 09:08:00 +0000 | [diff] [blame] | 716 | }; |
| 717 | |
| 718 | &cpsw_emac1 { |
| 719 | phy_id = <&davinci_mdio>, <1>; |
Mugunthan V N | 6d75afe | 2013-06-03 20:10:11 +0000 | [diff] [blame] | 720 | phy-mode = "rgmii-txid"; |
Mugunthan V N | 1a39a65 | 2012-11-14 09:08:00 +0000 | [diff] [blame] | 721 | }; |
Patil, Rachna | a82279d | 2013-01-24 03:45:12 +0000 | [diff] [blame] | 722 | |
| 723 | &tscadc { |
| 724 | status = "okay"; |
| 725 | tsc { |
| 726 | ti,wires = <4>; |
| 727 | ti,x-plate-resistance = <200>; |
Felipe Balbi | c9aeb24 | 2013-11-10 23:56:43 -0800 | [diff] [blame] | 728 | ti,coordinate-readouts = <5>; |
Patil, Rachna | a82279d | 2013-01-24 03:45:12 +0000 | [diff] [blame] | 729 | ti,wire-config = <0x00 0x11 0x22 0x33>; |
Vignesh R | e6e4a0d | 2015-02-03 11:46:36 -0800 | [diff] [blame] | 730 | ti,charge-delay = <0x400>; |
Patil, Rachna | a82279d | 2013-01-24 03:45:12 +0000 | [diff] [blame] | 731 | }; |
| 732 | |
| 733 | adc { |
Sebastian Andrzej Siewior | 18926ed | 2013-05-29 17:39:02 +0200 | [diff] [blame] | 734 | ti,adc-channels = <4 5 6 7>; |
Patil, Rachna | a82279d | 2013-01-24 03:45:12 +0000 | [diff] [blame] | 735 | }; |
| 736 | }; |
Matt Porter | 55b4452 | 2013-09-10 14:24:39 -0500 | [diff] [blame] | 737 | |
| 738 | &mmc1 { |
| 739 | status = "okay"; |
| 740 | vmmc-supply = <&vmmc_reg>; |
Balaji T K | 0d8d40f | 2013-09-27 17:05:10 +0530 | [diff] [blame] | 741 | bus-width = <4>; |
Balaji T K | b6586cd | 2014-03-03 20:20:19 +0530 | [diff] [blame] | 742 | pinctrl-names = "default"; |
| 743 | pinctrl-0 = <&mmc1_pins>; |
Mugunthan V N | c7ce74b | 2015-10-12 14:37:10 +0530 | [diff] [blame] | 744 | cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; |
Matt Porter | 55b4452 | 2013-09-10 14:24:39 -0500 | [diff] [blame] | 745 | }; |
Mark A. Greer | f8302e1 | 2013-08-23 14:12:35 -0700 | [diff] [blame] | 746 | |
Eyal Reizer | 52dfcbf | 2015-05-03 15:19:28 +0300 | [diff] [blame] | 747 | &mmc3 { |
| 748 | /* these are on the crossbar and are outlined in the |
| 749 | xbar-event-map element */ |
Peter Ujfalusi | b5e5090 | 2015-12-17 15:33:36 +0200 | [diff] [blame] | 750 | dmas = <&edma_xbar 12 0 1 |
| 751 | &edma_xbar 13 0 2>; |
Eyal Reizer | 52dfcbf | 2015-05-03 15:19:28 +0300 | [diff] [blame] | 752 | dma-names = "tx", "rx"; |
| 753 | status = "okay"; |
| 754 | vmmc-supply = <&wlan_en_reg>; |
| 755 | bus-width = <4>; |
| 756 | pinctrl-names = "default"; |
| 757 | pinctrl-0 = <&mmc3_pins &wlan_pins>; |
| 758 | ti,non-removable; |
| 759 | ti,needs-special-hs-handling; |
| 760 | cap-power-off-card; |
| 761 | keep-power-in-suspend; |
| 762 | |
| 763 | #address-cells = <1>; |
| 764 | #size-cells = <0>; |
| 765 | wlcore: wlcore@0 { |
| 766 | compatible = "ti,wl1835"; |
| 767 | reg = <2>; |
| 768 | interrupt-parent = <&gpio3>; |
| 769 | interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; |
| 770 | }; |
| 771 | }; |
| 772 | |
Mark A. Greer | f8302e1 | 2013-08-23 14:12:35 -0700 | [diff] [blame] | 773 | &sham { |
| 774 | status = "okay"; |
| 775 | }; |
Mark A. Greer | 99919e5e | 2013-08-23 14:12:36 -0700 | [diff] [blame] | 776 | |
| 777 | &aes { |
| 778 | status = "okay"; |
| 779 | }; |
Roger Quadros | f80ecaf | 2014-10-29 17:52:57 +0200 | [diff] [blame] | 780 | |
| 781 | &dcan1 { |
| 782 | status = "disabled"; /* Enable only if Profile 1 is selected */ |
| 783 | pinctrl-names = "default"; |
| 784 | pinctrl-0 = <&dcan1_pins_default>; |
| 785 | }; |