blob: c38cf76df81f2eaf3a3dfd9e1a8d3910f84f2067 [file] [log] [blame]
Benoit Cousson295e98c62011-07-14 01:44:54 +05301/*
2 * Copyright (C) 2011 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
Tony Lindgren642f12b2012-09-10 10:20:44 -070010/include/ "omap36xx.dtsi"
Benoit Cousson295e98c62011-07-14 01:44:54 +053011
12/ {
Tony Lindgren642f12b2012-09-10 10:20:44 -070013 model = "TI OMAP3 BeagleBoard xM";
14 compatible = "ti,omap3-beagle-xm, ti,omap3-beagle", "ti,omap3";
Benoit Cousson295e98c62011-07-14 01:44:54 +053015
Benoit Cousson295e98c62011-07-14 01:44:54 +053016 memory {
17 device_type = "memory";
18 reg = <0x80000000 0x20000000>; /* 512 MB */
19 };
Florian Vaussarda60be2f2012-09-05 09:46:26 +020020
21 leds {
22 compatible = "gpio-leds";
23 pmu_stat {
24 label = "beagleboard::pmu_stat";
25 gpios = <&twl_gpio 19 0>; /* LEDB */
26 };
Benoit Cousson1c1737e2012-09-05 16:42:04 +020027
28 heartbeat {
29 label = "beagleboard::usr0";
30 gpios = <&gpio5 22 0>; /* 150 -> D6 LED */
31 linux,default-trigger = "heartbeat";
32 };
33
34 mmc {
35 label = "beagleboard::usr1";
36 gpios = <&gpio5 21 0>; /* 149 -> D7 LED */
37 linux,default-trigger = "mmc0";
38 };
Florian Vaussarda60be2f2012-09-05 09:46:26 +020039 };
Peter Ujfalusi2c195f92012-08-29 16:31:05 +030040
41 sound {
42 compatible = "ti,omap-twl4030";
43 ti,model = "omap3beagle";
44
45 ti,mcbsp = <&mcbsp2>;
46 ti,codec = <&twl_audio>;
47 };
Benoit Cousson295e98c62011-07-14 01:44:54 +053048};
Benoit Cousson5340b512011-07-14 01:44:54 +053049
50&i2c1 {
51 clock-frequency = <2600000>;
52
53 twl: twl@48 {
54 reg = <0x48>;
55 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
56 interrupt-parent = <&intc>;
Rajendra Nayakecc7b062012-02-08 15:50:12 -080057
Rajendra Nayak624411c2012-07-30 18:42:20 +053058 vsim: regulator-vsim {
Rajendra Nayakecc7b062012-02-08 15:50:12 -080059 compatible = "ti,twl4030-vsim";
60 regulator-min-microvolt = <1800000>;
61 regulator-max-microvolt = <3000000>;
62 };
Peter Ujfalusi2c195f92012-08-29 16:31:05 +030063
64 twl_audio: audio {
65 compatible = "ti,twl4030-audio";
66 codec {
67 };
68 };
Benoit Cousson5340b512011-07-14 01:44:54 +053069 };
70};
71
72/include/ "twl4030.dtsi"
73
74&i2c2 {
75 clock-frequency = <400000>;
76};
77
78&i2c3 {
79 clock-frequency = <100000>;
80
81 /*
82 * Display monitor features are burnt in the EEPROM
83 * as EDID data.
84 */
85 eeprom@50 {
86 compatible = "ti,eeprom";
87 reg = <0x50>;
88 };
89};
Rajendra Nayakb3431f52012-02-22 17:42:27 +053090
91&mmc1 {
92 vmmc-supply = <&vmmc1>;
93 vmmc_aux-supply = <&vsim>;
Arnd Bergmann7f217792012-05-13 00:14:24 -040094 bus-width = <8>;
Rajendra Nayakb3431f52012-02-22 17:42:27 +053095};
96
97&mmc2 {
Roland Stiggefd5c3fd2012-06-21 01:36:03 -070098 status = "disabled";
Rajendra Nayakb3431f52012-02-22 17:42:27 +053099};
100
101&mmc3 {
Roland Stiggefd5c3fd2012-06-21 01:36:03 -0700102 status = "disabled";
Rajendra Nayakb3431f52012-02-22 17:42:27 +0530103};
Florian Vaussarda60be2f2012-09-05 09:46:26 +0200104
105&twl_gpio {
106 ti,use-leds;
107 /* pullups: BIT(1) */
108 ti,pullups = <0x000002>;
109 /*
110 * pulldowns:
111 * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
112 * BIT(15), BIT(16), BIT(17)
113 */
114 ti,pulldowns = <0x03a1c4>;
115};