2 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
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.
10 #include "am33xx.dtsi"
13 model = "TI AM335x EVM";
14 compatible = "ti,am335x-evm", "ti,am33xx";
18 cpu0-supply = <&vdd1_reg>;
23 device_type = "memory";
24 reg = <0x80000000 0x10000000>; /* 256 MB */
27 vbat: fixedregulator@0 {
28 compatible = "regulator-fixed";
29 regulator-name = "vbat";
30 regulator-min-microvolt = <5000000>;
31 regulator-max-microvolt = <5000000>;
35 lis3_reg: fixedregulator@1 {
36 compatible = "regulator-fixed";
37 regulator-name = "lis3_reg";
41 matrix_keypad: matrix_keypad@0 {
42 compatible = "gpio-matrix-keypad";
43 debounce-delay-ms = <5>;
44 col-scan-delay-us = <2>;
46 row-gpios = <&gpio1 25 GPIO_ACTIVE_HIGH /* Bank1, pin25 */
47 &gpio1 26 GPIO_ACTIVE_HIGH /* Bank1, pin26 */
48 &gpio1 27 GPIO_ACTIVE_HIGH>; /* Bank1, pin27 */
50 col-gpios = <&gpio1 21 GPIO_ACTIVE_HIGH /* Bank1, pin21 */
51 &gpio1 22 GPIO_ACTIVE_HIGH>; /* Bank1, pin22 */
53 linux,keymap = <0x0000008b /* MENU */
56 0x0001006a /* RIGHT */
57 0x0101001c /* ENTER */
58 0x0201006c>; /* DOWN */
61 gpio_keys: volume_keys@0 {
62 compatible = "gpio-keys";
70 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
75 label = "volume-down";
77 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
83 compatible = "pwm-backlight";
84 pwms = <&ecap0 0 50000 0>;
85 brightness-levels = <0 51 53 56 62 75 101 152 255>;
86 default-brightness-level = <8>;
90 compatible = "ti,tilcdc,panel";
92 pinctrl-names = "default";
93 pinctrl-0 = <&lcd_pins_s0>;
108 clock-frequency = <30000000>;
124 compatible = "ti,da830-evm-audio";
125 ti,model = "AM335x-EVM";
126 ti,audio-codec = <&tlv320aic3106>;
127 ti,mcasp-controller = <&mcasp1>;
128 ti,codec-clock-rate = <12000000>;
130 "Headphone Jack", "HPLOUT",
131 "Headphone Jack", "HPROUT",
138 pinctrl-names = "default";
139 pinctrl-0 = <&matrix_keypad_s0 &volume_keys_s0 &clkout2_pin>;
141 matrix_keypad_s0: matrix_keypad_s0 {
142 pinctrl-single,pins = <
143 0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a5.gpio1_21 */
144 0x58 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a6.gpio1_22 */
145 0x64 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a9.gpio1_25 */
146 0x68 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a10.gpio1_26 */
147 0x6c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a11.gpio1_27 */
151 volume_keys_s0: volume_keys_s0 {
152 pinctrl-single,pins = <
153 0x150 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* spi0_sclk.gpio0_2 */
154 0x154 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* spi0_d0.gpio0_3 */
158 i2c0_pins: pinmux_i2c0_pins {
159 pinctrl-single,pins = <
160 0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */
161 0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
165 i2c1_pins: pinmux_i2c1_pins {
166 pinctrl-single,pins = <
167 0x158 (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_d1.i2c1_sda */
168 0x15c (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_cs0.i2c1_scl */
172 uart0_pins: pinmux_uart0_pins {
173 pinctrl-single,pins = <
174 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */
175 0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
179 clkout2_pin: pinmux_clkout2_pin {
180 pinctrl-single,pins = <
181 0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */
185 nandflash_pins_s0: nandflash_pins_s0 {
186 pinctrl-single,pins = <
187 0x0 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */
188 0x4 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad1.gpmc_ad1 */
189 0x8 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad2.gpmc_ad2 */
190 0xc (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad3.gpmc_ad3 */
191 0x10 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad4.gpmc_ad4 */
192 0x14 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad5.gpmc_ad5 */
193 0x18 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad6.gpmc_ad6 */
194 0x1c (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad7.gpmc_ad7 */
195 0x70 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait0.gpmc_wait0 */
196 0x74 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpio0_30 */
197 0x7c (PIN_OUTPUT | MUX_MODE0) /* gpmc_csn0.gpmc_csn0 */
198 0x90 (PIN_OUTPUT | MUX_MODE0) /* gpmc_advn_ale.gpmc_advn_ale */
199 0x94 (PIN_OUTPUT | MUX_MODE0) /* gpmc_oen_ren.gpmc_oen_ren */
200 0x98 (PIN_OUTPUT | MUX_MODE0) /* gpmc_wen.gpmc_wen */
201 0x9c (PIN_OUTPUT | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */
205 ecap0_pins: backlight_pins {
206 pinctrl-single,pins = <
207 0x164 0x0 /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
211 cpsw_default: cpsw_default {
212 pinctrl-single,pins = <
214 0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */
215 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */
216 0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd3.rgmii1_td3 */
217 0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd2.rgmii1_td2 */
218 0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */
219 0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */
220 0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */
221 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rgmii1_rclk */
222 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd3.rgmii1_rd3 */
223 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd2.rgmii1_rd2 */
224 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */
225 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */
229 cpsw_sleep: cpsw_sleep {
230 pinctrl-single,pins = <
231 /* Slave 1 reset value */
232 0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
233 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
234 0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
235 0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
236 0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
237 0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
238 0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
239 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
240 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
241 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
242 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
243 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
247 davinci_mdio_default: davinci_mdio_default {
248 pinctrl-single,pins = <
250 0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
251 0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
255 davinci_mdio_sleep: davinci_mdio_sleep {
256 pinctrl-single,pins = <
257 /* MDIO reset value */
258 0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
259 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
263 lcd_pins_s0: lcd_pins_s0 {
264 pinctrl-single,pins = <
265 0x20 0x01 /* gpmc_ad8.lcd_data16, OUTPUT | MODE1 */
266 0x24 0x01 /* gpmc_ad9.lcd_data17, OUTPUT | MODE1 */
267 0x28 0x01 /* gpmc_ad10.lcd_data18, OUTPUT | MODE1 */
268 0x2c 0x01 /* gpmc_ad11.lcd_data19, OUTPUT | MODE1 */
269 0x30 0x01 /* gpmc_ad12.lcd_data20, OUTPUT | MODE1 */
270 0x34 0x01 /* gpmc_ad13.lcd_data21, OUTPUT | MODE1 */
271 0x38 0x01 /* gpmc_ad14.lcd_data22, OUTPUT | MODE1 */
272 0x3c 0x01 /* gpmc_ad15.lcd_data23, OUTPUT | MODE1 */
273 0xa0 0x00 /* lcd_data0.lcd_data0, OUTPUT | MODE0 */
274 0xa4 0x00 /* lcd_data1.lcd_data1, OUTPUT | MODE0 */
275 0xa8 0x00 /* lcd_data2.lcd_data2, OUTPUT | MODE0 */
276 0xac 0x00 /* lcd_data3.lcd_data3, OUTPUT | MODE0 */
277 0xb0 0x00 /* lcd_data4.lcd_data4, OUTPUT | MODE0 */
278 0xb4 0x00 /* lcd_data5.lcd_data5, OUTPUT | MODE0 */
279 0xb8 0x00 /* lcd_data6.lcd_data6, OUTPUT | MODE0 */
280 0xbc 0x00 /* lcd_data7.lcd_data7, OUTPUT | MODE0 */
281 0xc0 0x00 /* lcd_data8.lcd_data8, OUTPUT | MODE0 */
282 0xc4 0x00 /* lcd_data9.lcd_data9, OUTPUT | MODE0 */
283 0xc8 0x00 /* lcd_data10.lcd_data10, OUTPUT | MODE0 */
284 0xcc 0x00 /* lcd_data11.lcd_data11, OUTPUT | MODE0 */
285 0xd0 0x00 /* lcd_data12.lcd_data12, OUTPUT | MODE0 */
286 0xd4 0x00 /* lcd_data13.lcd_data13, OUTPUT | MODE0 */
287 0xd8 0x00 /* lcd_data14.lcd_data14, OUTPUT | MODE0 */
288 0xdc 0x00 /* lcd_data15.lcd_data15, OUTPUT | MODE0 */
289 0xe0 0x00 /* lcd_vsync.lcd_vsync, OUTPUT | MODE0 */
290 0xe4 0x00 /* lcd_hsync.lcd_hsync, OUTPUT | MODE0 */
291 0xe8 0x00 /* lcd_pclk.lcd_pclk, OUTPUT | MODE0 */
292 0xec 0x00 /* lcd_ac_bias_en.lcd_ac_bias_en, OUTPUT | MODE0 */
296 am335x_evm_audio_pins: am335x_evm_audio_pins {
297 pinctrl-single,pins = <
298 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_rx_dv.mcasp1_aclkx */
299 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_txd3.mcasp1_fsx */
300 0x108 (PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* mii1_col.mcasp1_axr2 */
301 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */
307 pinctrl-names = "default";
308 pinctrl-0 = <&uart0_pins>;
314 pinctrl-names = "default";
315 pinctrl-0 = <&i2c0_pins>;
318 clock-frequency = <400000>;
349 dma-controller@47402000 {
355 pinctrl-names = "default";
356 pinctrl-0 = <&i2c1_pins>;
359 clock-frequency = <100000>;
361 lis331dlh: lis331dlh@18 {
362 compatible = "st,lis331dlh", "st,lis3lv02d";
364 Vdd-supply = <&lis3_reg>;
365 Vdd_IO-supply = <&lis3_reg>;
370 st,click-thresh-x = <10>;
371 st,click-thresh-y = <10>;
372 st,click-thresh-z = <10>;
381 st,min-limit-x = <120>;
382 st,min-limit-y = <120>;
383 st,min-limit-z = <140>;
384 st,max-limit-x = <550>;
385 st,max-limit-y = <550>;
386 st,max-limit-z = <750>;
389 tsl2550: tsl2550@39 {
390 compatible = "taos,tsl2550";
395 compatible = "ti,tmp275";
399 tlv320aic3106: tlv320aic3106@1b {
400 compatible = "ti,tlv320aic3106";
405 AVDD-supply = <&vaux2_reg>;
406 IOVDD-supply = <&vaux2_reg>;
407 DRVDD-supply = <&vaux2_reg>;
408 DVDD-supply = <&vbat>;
423 ecap0: ecap@48300100 {
425 pinctrl-names = "default";
426 pinctrl-0 = <&ecap0_pins>;
432 pinctrl-names = "default";
433 pinctrl-0 = <&nandflash_pins_s0>;
434 ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */
436 reg = <0 0 0>; /* CS0, offset 0 */
437 nand-bus-width = <8>;
438 ti,nand-ecc-opt = "bch8";
439 gpmc,device-nand = "true";
440 gpmc,device-width = <1>;
441 gpmc,sync-clk-ps = <0>;
443 gpmc,cs-rd-off-ns = <44>;
444 gpmc,cs-wr-off-ns = <44>;
445 gpmc,adv-on-ns = <6>;
446 gpmc,adv-rd-off-ns = <34>;
447 gpmc,adv-wr-off-ns = <44>;
449 gpmc,we-off-ns = <40>;
451 gpmc,oe-off-ns = <54>;
452 gpmc,access-ns = <64>;
453 gpmc,rd-cycle-ns = <82>;
454 gpmc,wr-cycle-ns = <82>;
455 gpmc,wait-on-read = "true";
456 gpmc,wait-on-write = "true";
457 gpmc,bus-turnaround-ns = <0>;
458 gpmc,cycle2cycle-delay-ns = <0>;
459 gpmc,clk-activation-ns = <0>;
460 gpmc,wait-monitoring-ns = <0>;
461 gpmc,wr-access-ns = <40>;
462 gpmc,wr-data-mux-bus-ns = <0>;
464 #address-cells = <1>;
468 /* MTD partition table */
471 reg = <0x00000000 0x000020000>;
476 reg = <0x00020000 0x00020000>;
481 reg = <0x00040000 0x00020000>;
486 reg = <0x00060000 0x00020000>;
491 reg = <0x00080000 0x001e0000>;
495 label = "environment";
496 reg = <0x00260000 0x00020000>;
501 reg = <0x00280000 0x00500000>;
505 label = "File-System";
506 reg = <0x00780000 0x0F880000>;
511 #include "tps65910.dtsi"
514 pinctrl-names = "default";
515 pinctrl-0 = <&am335x_evm_audio_pins>;
519 op-mode = <0>; /* MCASP_IIS_MODE */
522 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
530 vcc1-supply = <&vbat>;
531 vcc2-supply = <&vbat>;
532 vcc3-supply = <&vbat>;
533 vcc4-supply = <&vbat>;
534 vcc5-supply = <&vbat>;
535 vcc6-supply = <&vbat>;
536 vcc7-supply = <&vbat>;
537 vccio-supply = <&vbat>;
540 vrtc_reg: regulator@0 {
544 vio_reg: regulator@1 {
548 vdd1_reg: regulator@2 {
549 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
550 regulator-name = "vdd_mpu";
551 regulator-min-microvolt = <912500>;
552 regulator-max-microvolt = <1312500>;
557 vdd2_reg: regulator@3 {
558 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
559 regulator-name = "vdd_core";
560 regulator-min-microvolt = <912500>;
561 regulator-max-microvolt = <1150000>;
566 vdd3_reg: regulator@4 {
570 vdig1_reg: regulator@5 {
574 vdig2_reg: regulator@6 {
578 vpll_reg: regulator@7 {
582 vdac_reg: regulator@8 {
586 vaux1_reg: regulator@9 {
590 vaux2_reg: regulator@10 {
594 vaux33_reg: regulator@11 {
598 vmmc_reg: regulator@12 {
599 regulator-min-microvolt = <1800000>;
600 regulator-max-microvolt = <3300000>;
607 pinctrl-names = "default", "sleep";
608 pinctrl-0 = <&cpsw_default>;
609 pinctrl-1 = <&cpsw_sleep>;
613 pinctrl-names = "default", "sleep";
614 pinctrl-0 = <&davinci_mdio_default>;
615 pinctrl-1 = <&davinci_mdio_sleep>;
619 phy_id = <&davinci_mdio>, <0>;
620 phy-mode = "rgmii-txid";
624 phy_id = <&davinci_mdio>, <1>;
625 phy-mode = "rgmii-txid";
632 ti,x-plate-resistance = <200>;
633 ti,coordinate-readouts = <5>;
634 ti,wire-config = <0x00 0x11 0x22 0x33>;
638 ti,adc-channels = <4 5 6 7>;
644 vmmc-supply = <&vmmc_reg>;