blob: f57f5e8d0035fb91ba1b4f240f40aea10c841c8d [file] [log] [blame]
Benoit Cousson38eb2ae2011-08-16 15:57:51 +02001/*
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
10/include/ "omap4.dtsi"
11
12/ {
13 model = "TI OMAP4 PandaBoard";
14 compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4";
15
Benoit Cousson38eb2ae2011-08-16 15:57:51 +020016 memory {
17 device_type = "memory";
18 reg = <0x80000000 0x40000000>; /* 1 GB */
19 };
Benoit Cousson40364b92012-05-08 18:37:27 +020020
21 leds {
22 compatible = "gpio-leds";
23 heartbeat {
24 label = "pandaboard::status1";
25 gpios = <&gpio1 7 0>;
26 linux,default-trigger = "heartbeat";
27 };
28
29 mmc {
30 label = "pandaboard::status2";
31 gpios = <&gpio1 8 0>;
32 linux,default-trigger = "mmc0";
33 };
34 };
Peter Ujfalusi6cd3bc32012-06-08 17:02:04 +030035
36 sound: sound {
37 compatible = "ti,abe-twl6040";
38 ti,model = "PandaBoard";
39
40 ti,mclk-freq = <38400000>;
41
42 ti,mcpdm = <&mcpdm>;
43
44 ti,twl6040 = <&twl6040>;
45
46 /* Audio routing */
47 ti,audio-routing =
48 "Headset Stereophone", "HSOL",
49 "Headset Stereophone", "HSOR",
50 "Ext Spk", "HFL",
51 "Ext Spk", "HFR",
52 "Line Out", "AUXL",
53 "Line Out", "AUXR",
54 "HSMIC", "Headset Mic",
55 "Headset Mic", "Headset Mic Bias",
56 "AFML", "Line In",
57 "AFMR", "Line In";
58 };
Benoit Cousson38eb2ae2011-08-16 15:57:51 +020059};
Benoit Cousson898ee392011-08-17 18:42:25 +053060
61&i2c1 {
62 clock-frequency = <400000>;
63
64 twl: twl@48 {
65 reg = <0x48>;
66 /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
67 interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */
68 interrupt-parent = <&gic>;
69 };
Peter Ujfalusi6cd3bc32012-06-08 17:02:04 +030070
71 twl6040: twl@4b {
72 compatible = "ti,twl6040";
73 reg = <0x4b>;
74 /* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */
75 interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */
76 interrupt-parent = <&gic>;
77 ti,audpwron-gpio = <&gpio4 31 0>; /* gpio line 127 */
78
79 vio-supply = <&v1v8>;
80 v2v1-supply = <&v2v1>;
81 enable-active-high;
82 };
Benoit Cousson898ee392011-08-17 18:42:25 +053083};
84
85/include/ "twl6030.dtsi"
86
87&i2c2 {
88 clock-frequency = <400000>;
89};
90
91&i2c3 {
92 clock-frequency = <100000>;
93
94 /*
95 * Display monitor features are burnt in their EEPROM as EDID data.
96 * The EEPROM is connected as I2C slave device.
97 */
98 eeprom@50 {
99 compatible = "ti,eeprom";
100 reg = <0x50>;
101 };
102};
103
104&i2c4 {
105 clock-frequency = <400000>;
106};
Rajendra Nayak74981762011-10-04 17:10:27 +0530107
108&mmc1 {
109 vmmc-supply = <&vmmc>;
Arnd Bergmann7f217792012-05-13 00:14:24 -0400110 bus-width = <8>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530111};
112
113&mmc2 {
114 status = "disable";
115};
116
117&mmc3 {
118 status = "disable";
119};
120
121&mmc4 {
122 status = "disable";
123};
124
125&mmc5 {
126 ti,non-removable;
Arnd Bergmann7f217792012-05-13 00:14:24 -0400127 bus-width = <4>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530128};