]>
Commit | Line | Data |
---|---|---|
295e98c6 BC |
1 | /* |
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 | ||
98ef7957 | 10 | #include "omap36xx.dtsi" |
295e98c6 BC |
11 | |
12 | / { | |
642f12b4 TL |
13 | model = "TI OMAP3 BeagleBoard xM"; |
14 | compatible = "ti,omap3-beagle-xm, ti,omap3-beagle", "ti,omap3"; | |
295e98c6 | 15 | |
a134be34 NM |
16 | cpus { |
17 | cpu@0 { | |
18 | cpu0-supply = <&vcc>; | |
19 | }; | |
20 | }; | |
21 | ||
295e98c6 BC |
22 | memory { |
23 | device_type = "memory"; | |
24 | reg = <0x80000000 0x20000000>; /* 512 MB */ | |
25 | }; | |
a60be2fe FV |
26 | |
27 | leds { | |
28 | compatible = "gpio-leds"; | |
1c1737e5 BC |
29 | |
30 | heartbeat { | |
31 | label = "beagleboard::usr0"; | |
6d624eab | 32 | gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */ |
1c1737e5 BC |
33 | linux,default-trigger = "heartbeat"; |
34 | }; | |
35 | ||
36 | mmc { | |
37 | label = "beagleboard::usr1"; | |
6d624eab | 38 | gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */ |
1c1737e5 BC |
39 | linux,default-trigger = "mmc0"; |
40 | }; | |
a60be2fe | 41 | }; |
2c195f9c | 42 | |
2c09c60c PU |
43 | pwmleds { |
44 | compatible = "pwm-leds"; | |
45 | ||
46 | pmu_stat { | |
47 | label = "beagleboard::pmu_stat"; | |
48 | pwms = <&twl_pwmled 1 7812500>; | |
49 | max-brightness = <127>; | |
50 | }; | |
51 | }; | |
52 | ||
2c195f9c PU |
53 | sound { |
54 | compatible = "ti,omap-twl4030"; | |
55 | ti,model = "omap3beagle"; | |
56 | ||
57 | ti,mcbsp = <&mcbsp2>; | |
58 | ti,codec = <&twl_audio>; | |
59 | }; | |
295e98c6 | 60 | }; |
5340b51d BC |
61 | |
62 | &i2c1 { | |
63 | clock-frequency = <2600000>; | |
64 | ||
65 | twl: twl@48 { | |
66 | reg = <0x48>; | |
67 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ | |
68 | interrupt-parent = <&intc>; | |
ecc7b060 | 69 | |
2c195f9c PU |
70 | twl_audio: audio { |
71 | compatible = "ti,twl4030-audio"; | |
72 | codec { | |
73 | }; | |
74 | }; | |
5340b51d BC |
75 | }; |
76 | }; | |
77 | ||
98ef7957 | 78 | #include "twl4030.dtsi" |
5340b51d BC |
79 | |
80 | &i2c2 { | |
81 | clock-frequency = <400000>; | |
82 | }; | |
83 | ||
84 | &i2c3 { | |
85 | clock-frequency = <100000>; | |
86 | ||
87 | /* | |
88 | * Display monitor features are burnt in the EEPROM | |
89 | * as EDID data. | |
90 | */ | |
91 | eeprom@50 { | |
92 | compatible = "ti,eeprom"; | |
93 | reg = <0x50>; | |
94 | }; | |
95 | }; | |
b3431f5b RN |
96 | |
97 | &mmc1 { | |
98 | vmmc-supply = <&vmmc1>; | |
99 | vmmc_aux-supply = <&vsim>; | |
7f217794 | 100 | bus-width = <8>; |
b3431f5b RN |
101 | }; |
102 | ||
103 | &mmc2 { | |
fd5c3fd7 | 104 | status = "disabled"; |
b3431f5b RN |
105 | }; |
106 | ||
107 | &mmc3 { | |
fd5c3fd7 | 108 | status = "disabled"; |
b3431f5b | 109 | }; |
a60be2fe FV |
110 | |
111 | &twl_gpio { | |
112 | ti,use-leds; | |
113 | /* pullups: BIT(1) */ | |
114 | ti,pullups = <0x000002>; | |
115 | /* | |
116 | * pulldowns: | |
117 | * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13) | |
118 | * BIT(15), BIT(16), BIT(17) | |
119 | */ | |
120 | ti,pulldowns = <0x03a1c4>; | |
121 | }; | |
ad871c10 KVA |
122 | |
123 | &usb_otg_hs { | |
124 | interface-type = <0>; | |
914dc329 | 125 | usb-phy = <&usb2_phy>; |
ad871c10 KVA |
126 | mode = <3>; |
127 | power = <50>; | |
128 | }; |