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 am33xx_pinmux: pinmux@44e10800 {
28 pinctrl-names = "default";
29 pinctrl-0 = <&matrix_keypad_s0 &volume_keys_s0 &clkout2_pin>;
31 matrix_keypad_s0: matrix_keypad_s0 {
32 pinctrl-single,pins = <
33 0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a5.gpio1_21 */
34 0x58 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a6.gpio1_22 */
35 0x64 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a9.gpio1_25 */
36 0x68 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a10.gpio1_26 */
37 0x6c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a11.gpio1_27 */
41 volume_keys_s0: volume_keys_s0 {
42 pinctrl-single,pins = <
43 0x150 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* spi0_sclk.gpio0_2 */
44 0x154 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* spi0_d0.gpio0_3 */
48 i2c0_pins: pinmux_i2c0_pins {
49 pinctrl-single,pins = <
50 0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */
51 0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
55 i2c1_pins: pinmux_i2c1_pins {
56 pinctrl-single,pins = <
57 0x158 (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_d1.i2c1_sda */
58 0x15c (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_cs0.i2c1_scl */
62 uart0_pins: pinmux_uart0_pins {
63 pinctrl-single,pins = <
64 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */
65 0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
69 clkout2_pin: pinmux_clkout2_pin {
70 pinctrl-single,pins = <
71 0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */
75 nandflash_pins_s0: nandflash_pins_s0 {
76 pinctrl-single,pins = <
77 0x0 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */
78 0x4 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad1.gpmc_ad1 */
79 0x8 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad2.gpmc_ad2 */
80 0xc (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad3.gpmc_ad3 */
81 0x10 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad4.gpmc_ad4 */
82 0x14 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad5.gpmc_ad5 */
83 0x18 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad6.gpmc_ad6 */
84 0x1c (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad7.gpmc_ad7 */
85 0x70 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait0.gpmc_wait0 */
86 0x74 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpio0_30 */
87 0x7c (PIN_OUTPUT | MUX_MODE0) /* gpmc_csn0.gpmc_csn0 */
88 0x90 (PIN_OUTPUT | MUX_MODE0) /* gpmc_advn_ale.gpmc_advn_ale */
89 0x94 (PIN_OUTPUT | MUX_MODE0) /* gpmc_oen_ren.gpmc_oen_ren */
90 0x98 (PIN_OUTPUT | MUX_MODE0) /* gpmc_wen.gpmc_wen */
91 0x9c (PIN_OUTPUT | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */
95 ecap0_pins: backlight_pins {
96 pinctrl-single,pins = <
97 0x164 0x0 /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
101 cpsw_default: cpsw_default {
102 pinctrl-single,pins = <
104 0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */
105 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */
106 0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd3.rgmii1_td3 */
107 0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd2.rgmii1_td2 */
108 0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */
109 0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */
110 0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */
111 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rgmii1_rclk */
112 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd3.rgmii1_rd3 */
113 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd2.rgmii1_rd2 */
114 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */
115 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */
119 cpsw_sleep: cpsw_sleep {
120 pinctrl-single,pins = <
121 /* Slave 1 reset value */
122 0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
123 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
124 0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
125 0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
126 0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
127 0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
128 0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
129 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
130 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
131 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
132 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
133 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
137 davinci_mdio_default: davinci_mdio_default {
138 pinctrl-single,pins = <
140 0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
141 0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
145 davinci_mdio_sleep: davinci_mdio_sleep {
146 pinctrl-single,pins = <
147 /* MDIO reset value */
148 0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
149 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
155 uart0: serial@44e09000 {
156 pinctrl-names = "default";
157 pinctrl-0 = <&uart0_pins>;
163 pinctrl-names = "default";
164 pinctrl-0 = <&i2c0_pins>;
167 clock-frequency = <400000>;
198 dma-controller@47402000 {
204 pinctrl-names = "default";
205 pinctrl-0 = <&i2c1_pins>;
208 clock-frequency = <100000>;
210 lis331dlh: lis331dlh@18 {
211 compatible = "st,lis331dlh", "st,lis3lv02d";
213 Vdd-supply = <&lis3_reg>;
214 Vdd_IO-supply = <&lis3_reg>;
219 st,click-thresh-x = <10>;
220 st,click-thresh-y = <10>;
221 st,click-thresh-z = <10>;
230 st,min-limit-x = <120>;
231 st,min-limit-y = <120>;
232 st,min-limit-z = <140>;
233 st,max-limit-x = <550>;
234 st,max-limit-y = <550>;
235 st,max-limit-z = <750>;
238 tsl2550: tsl2550@39 {
239 compatible = "taos,tsl2550";
244 compatible = "ti,tmp275";
253 epwmss0: epwmss@48300000 {
256 ecap0: ecap@48300100 {
258 pinctrl-names = "default";
259 pinctrl-0 = <&ecap0_pins>;
263 gpmc: gpmc@50000000 {
265 pinctrl-names = "default";
266 pinctrl-0 = <&nandflash_pins_s0>;
267 ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */
269 reg = <0 0 0>; /* CS0, offset 0 */
270 nand-bus-width = <8>;
271 ti,nand-ecc-opt = "bch8";
272 gpmc,device-nand = "true";
273 gpmc,device-width = <1>;
274 gpmc,sync-clk-ps = <0>;
276 gpmc,cs-rd-off-ns = <44>;
277 gpmc,cs-wr-off-ns = <44>;
278 gpmc,adv-on-ns = <6>;
279 gpmc,adv-rd-off-ns = <34>;
280 gpmc,adv-wr-off-ns = <44>;
282 gpmc,we-off-ns = <40>;
284 gpmc,oe-off-ns = <54>;
285 gpmc,access-ns = <64>;
286 gpmc,rd-cycle-ns = <82>;
287 gpmc,wr-cycle-ns = <82>;
288 gpmc,wait-on-read = "true";
289 gpmc,wait-on-write = "true";
290 gpmc,bus-turnaround-ns = <0>;
291 gpmc,cycle2cycle-delay-ns = <0>;
292 gpmc,clk-activation-ns = <0>;
293 gpmc,wait-monitoring-ns = <0>;
294 gpmc,wr-access-ns = <40>;
295 gpmc,wr-data-mux-bus-ns = <0>;
297 #address-cells = <1>;
301 /* MTD partition table */
304 reg = <0x00000000 0x000020000>;
309 reg = <0x00020000 0x00020000>;
314 reg = <0x00040000 0x00020000>;
319 reg = <0x00060000 0x00020000>;
324 reg = <0x00080000 0x001e0000>;
328 label = "environment";
329 reg = <0x00260000 0x00020000>;
334 reg = <0x00280000 0x00500000>;
338 label = "File-System";
339 reg = <0x00780000 0x0F880000>;
345 vbat: fixedregulator@0 {
346 compatible = "regulator-fixed";
347 regulator-name = "vbat";
348 regulator-min-microvolt = <5000000>;
349 regulator-max-microvolt = <5000000>;
353 lis3_reg: fixedregulator@1 {
354 compatible = "regulator-fixed";
355 regulator-name = "lis3_reg";
359 matrix_keypad: matrix_keypad@0 {
360 compatible = "gpio-matrix-keypad";
361 debounce-delay-ms = <5>;
362 col-scan-delay-us = <2>;
364 row-gpios = <&gpio1 25 GPIO_ACTIVE_HIGH /* Bank1, pin25 */
365 &gpio1 26 GPIO_ACTIVE_HIGH /* Bank1, pin26 */
366 &gpio1 27 GPIO_ACTIVE_HIGH>; /* Bank1, pin27 */
368 col-gpios = <&gpio1 21 GPIO_ACTIVE_HIGH /* Bank1, pin21 */
369 &gpio1 22 GPIO_ACTIVE_HIGH>; /* Bank1, pin22 */
371 linux,keymap = <0x0000008b /* MENU */
372 0x0100009e /* BACK */
373 0x02000069 /* LEFT */
374 0x0001006a /* RIGHT */
375 0x0101001c /* ENTER */
376 0x0201006c>; /* DOWN */
379 gpio_keys: volume_keys@0 {
380 compatible = "gpio-keys";
381 #address-cells = <1>;
388 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
393 label = "volume-down";
395 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
401 compatible = "pwm-backlight";
402 pwms = <&ecap0 0 50000 0>;
403 brightness-levels = <0 51 53 56 62 75 101 152 255>;
404 default-brightness-level = <8>;
408 #include "tps65910.dtsi"
411 vcc1-supply = <&vbat>;
412 vcc2-supply = <&vbat>;
413 vcc3-supply = <&vbat>;
414 vcc4-supply = <&vbat>;
415 vcc5-supply = <&vbat>;
416 vcc6-supply = <&vbat>;
417 vcc7-supply = <&vbat>;
418 vccio-supply = <&vbat>;
421 vrtc_reg: regulator@0 {
425 vio_reg: regulator@1 {
429 vdd1_reg: regulator@2 {
430 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
431 regulator-name = "vdd_mpu";
432 regulator-min-microvolt = <912500>;
433 regulator-max-microvolt = <1312500>;
438 vdd2_reg: regulator@3 {
439 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
440 regulator-name = "vdd_core";
441 regulator-min-microvolt = <912500>;
442 regulator-max-microvolt = <1150000>;
447 vdd3_reg: regulator@4 {
451 vdig1_reg: regulator@5 {
455 vdig2_reg: regulator@6 {
459 vpll_reg: regulator@7 {
463 vdac_reg: regulator@8 {
467 vaux1_reg: regulator@9 {
471 vaux2_reg: regulator@10 {
475 vaux33_reg: regulator@11 {
479 vmmc_reg: regulator@12 {
486 pinctrl-names = "default", "sleep";
487 pinctrl-0 = <&cpsw_default>;
488 pinctrl-1 = <&cpsw_sleep>;
492 pinctrl-names = "default", "sleep";
493 pinctrl-0 = <&davinci_mdio_default>;
494 pinctrl-1 = <&davinci_mdio_sleep>;
498 phy_id = <&davinci_mdio>, <0>;
499 phy-mode = "rgmii-txid";
503 phy_id = <&davinci_mdio>, <1>;
504 phy-mode = "rgmii-txid";
511 ti,x-plate-resistance = <200>;
512 ti,coordiante-readouts = <5>;
513 ti,wire-config = <0x00 0x11 0x22 0x33>;
517 ti,adc-channels = <4 5 6 7>;