Benoit Cousson | 38eb2ae | 2011-08-16 15:57:51 +0200 | [diff] [blame] | 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 | |
| 10 | /include/ "omap4.dtsi" |
Aneesh V | 11c2706 | 2012-01-20 20:35:26 +0530 | [diff] [blame] | 11 | /include/ "elpida_ecb240abacn.dtsi" |
Benoit Cousson | 38eb2ae | 2011-08-16 15:57:51 +0200 | [diff] [blame] | 12 | |
| 13 | / { |
| 14 | model = "TI OMAP4 PandaBoard"; |
| 15 | compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4"; |
| 16 | |
Benoit Cousson | 38eb2ae | 2011-08-16 15:57:51 +0200 | [diff] [blame] | 17 | memory { |
| 18 | device_type = "memory"; |
| 19 | reg = <0x80000000 0x40000000>; /* 1 GB */ |
| 20 | }; |
Benoit Cousson | 40364b9 | 2012-05-08 18:37:27 +0200 | [diff] [blame] | 21 | |
| 22 | leds { |
| 23 | compatible = "gpio-leds"; |
| 24 | heartbeat { |
| 25 | label = "pandaboard::status1"; |
| 26 | gpios = <&gpio1 7 0>; |
| 27 | linux,default-trigger = "heartbeat"; |
| 28 | }; |
| 29 | |
| 30 | mmc { |
| 31 | label = "pandaboard::status2"; |
| 32 | gpios = <&gpio1 8 0>; |
| 33 | linux,default-trigger = "mmc0"; |
| 34 | }; |
| 35 | }; |
Peter Ujfalusi | 6cd3bc3 | 2012-06-08 17:02:04 +0300 | [diff] [blame] | 36 | |
| 37 | sound: sound { |
| 38 | compatible = "ti,abe-twl6040"; |
| 39 | ti,model = "PandaBoard"; |
| 40 | |
| 41 | ti,mclk-freq = <38400000>; |
| 42 | |
| 43 | ti,mcpdm = <&mcpdm>; |
| 44 | |
| 45 | ti,twl6040 = <&twl6040>; |
| 46 | |
| 47 | /* Audio routing */ |
| 48 | ti,audio-routing = |
| 49 | "Headset Stereophone", "HSOL", |
| 50 | "Headset Stereophone", "HSOR", |
| 51 | "Ext Spk", "HFL", |
| 52 | "Ext Spk", "HFR", |
| 53 | "Line Out", "AUXL", |
| 54 | "Line Out", "AUXR", |
| 55 | "HSMIC", "Headset Mic", |
| 56 | "Headset Mic", "Headset Mic Bias", |
| 57 | "AFML", "Line In", |
| 58 | "AFMR", "Line In"; |
| 59 | }; |
Benoit Cousson | 38eb2ae | 2011-08-16 15:57:51 +0200 | [diff] [blame] | 60 | }; |
Benoit Cousson | 898ee39 | 2011-08-17 18:42:25 +0530 | [diff] [blame] | 61 | |
| 62 | &i2c1 { |
| 63 | clock-frequency = <400000>; |
| 64 | |
| 65 | twl: twl@48 { |
| 66 | reg = <0x48>; |
| 67 | /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */ |
| 68 | interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */ |
| 69 | interrupt-parent = <&gic>; |
| 70 | }; |
Peter Ujfalusi | 6cd3bc3 | 2012-06-08 17:02:04 +0300 | [diff] [blame] | 71 | |
| 72 | twl6040: twl@4b { |
| 73 | compatible = "ti,twl6040"; |
| 74 | reg = <0x4b>; |
| 75 | /* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */ |
| 76 | interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */ |
| 77 | interrupt-parent = <&gic>; |
| 78 | ti,audpwron-gpio = <&gpio4 31 0>; /* gpio line 127 */ |
| 79 | |
| 80 | vio-supply = <&v1v8>; |
| 81 | v2v1-supply = <&v2v1>; |
| 82 | enable-active-high; |
| 83 | }; |
Benoit Cousson | 898ee39 | 2011-08-17 18:42:25 +0530 | [diff] [blame] | 84 | }; |
| 85 | |
| 86 | /include/ "twl6030.dtsi" |
| 87 | |
| 88 | &i2c2 { |
| 89 | clock-frequency = <400000>; |
| 90 | }; |
| 91 | |
| 92 | &i2c3 { |
| 93 | clock-frequency = <100000>; |
| 94 | |
| 95 | /* |
| 96 | * Display monitor features are burnt in their EEPROM as EDID data. |
| 97 | * The EEPROM is connected as I2C slave device. |
| 98 | */ |
| 99 | eeprom@50 { |
| 100 | compatible = "ti,eeprom"; |
| 101 | reg = <0x50>; |
| 102 | }; |
| 103 | }; |
| 104 | |
| 105 | &i2c4 { |
| 106 | clock-frequency = <400000>; |
| 107 | }; |
Rajendra Nayak | 7498176 | 2011-10-04 17:10:27 +0530 | [diff] [blame] | 108 | |
| 109 | &mmc1 { |
| 110 | vmmc-supply = <&vmmc>; |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 111 | bus-width = <8>; |
Rajendra Nayak | 7498176 | 2011-10-04 17:10:27 +0530 | [diff] [blame] | 112 | }; |
| 113 | |
| 114 | &mmc2 { |
Roland Stigge | fd5c3fd | 2012-06-21 01:36:03 -0700 | [diff] [blame] | 115 | status = "disabled"; |
Rajendra Nayak | 7498176 | 2011-10-04 17:10:27 +0530 | [diff] [blame] | 116 | }; |
| 117 | |
| 118 | &mmc3 { |
Roland Stigge | fd5c3fd | 2012-06-21 01:36:03 -0700 | [diff] [blame] | 119 | status = "disabled"; |
Rajendra Nayak | 7498176 | 2011-10-04 17:10:27 +0530 | [diff] [blame] | 120 | }; |
| 121 | |
| 122 | &mmc4 { |
Roland Stigge | fd5c3fd | 2012-06-21 01:36:03 -0700 | [diff] [blame] | 123 | status = "disabled"; |
Rajendra Nayak | 7498176 | 2011-10-04 17:10:27 +0530 | [diff] [blame] | 124 | }; |
| 125 | |
| 126 | &mmc5 { |
| 127 | ti,non-removable; |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 128 | bus-width = <4>; |
Rajendra Nayak | 7498176 | 2011-10-04 17:10:27 +0530 | [diff] [blame] | 129 | }; |
Aneesh V | 11c2706 | 2012-01-20 20:35:26 +0530 | [diff] [blame] | 130 | |
| 131 | &emif1 { |
| 132 | cs1-used; |
| 133 | device-handle = <&elpida_ECB240ABACN>; |
| 134 | }; |
| 135 | |
| 136 | &emif2 { |
| 137 | cs1-used; |
| 138 | device-handle = <&elpida_ECB240ABACN>; |
| 139 | }; |
Peter Ujfalusi | 6badc63 | 2012-10-04 14:57:22 +0300 | [diff] [blame^] | 140 | |
| 141 | &mcbsp2 { |
| 142 | status = "disabled"; |
| 143 | }; |
| 144 | |
| 145 | &mcbsp3 { |
| 146 | status = "disabled"; |
| 147 | }; |
| 148 | |
| 149 | &dmic { |
| 150 | status = "disabled"; |
| 151 | }; |