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 | |
Peter Ujfalusi | d0339b4 | 2012-10-04 14:57:26 +0300 | [diff] [blame] | 62 | &omap4_pmx_core { |
| 63 | pinctrl-names = "default"; |
| 64 | pinctrl-0 = < |
| 65 | &twl6040_pins |
| 66 | &mcpdm_pins |
| 67 | &mcbsp1_pins |
| 68 | >; |
| 69 | |
| 70 | twl6040_pins: pinmux_twl6040_pins { |
| 71 | pinctrl-single,pins = < |
| 72 | 0xe0 0x3 /* hdq_sio.gpio_127 OUTPUT | MODE3 */ |
| 73 | 0x160 0x100 /* sys_nirq2.sys_nirq2 INPUT | MODE0 */ |
| 74 | >; |
| 75 | }; |
| 76 | |
| 77 | mcpdm_pins: pinmux_mcpdm_pins { |
| 78 | pinctrl-single,pins = < |
| 79 | 0xc6 0x108 /* abe_pdm_ul_data.abe_pdm_ul_data INPUT PULLDOWN | MODE0 */ |
| 80 | 0xc8 0x108 /* abe_pdm_dl_data.abe_pdm_dl_data INPUT PULLDOWN | MODE0 */ |
| 81 | 0xca 0x118 /* abe_pdm_frame.abe_pdm_frame INPUT PULLUP | MODE0 */ |
| 82 | 0xcc 0x108 /* abe_pdm_lb_clk.abe_pdm_lb_clk INPUT PULLDOWN | MODE0 */ |
| 83 | 0xce 0x108 /* abe_clks.abe_clks INPUT PULLDOWN | MODE0 */ |
| 84 | >; |
| 85 | }; |
| 86 | |
| 87 | mcbsp1_pins: pinmux_mcbsp1_pins { |
| 88 | pinctrl-single,pins = < |
| 89 | 0xbe 0x100 /* abe_mcbsp1_clkx.abe_mcbsp1_clkx INPUT | MODE0 */ |
| 90 | 0xc0 0x108 /* abe_mcbsp1_dr.abe_mcbsp1_dr INPUT PULLDOWN | MODE0 */ |
| 91 | 0xc2 0x8 /* abe_mcbsp1_dx.abe_mcbsp1_dx OUTPUT PULLDOWN | MODE0 */ |
| 92 | 0xc4 0x100 /* abe_mcbsp1_fsx.abe_mcbsp1_fsx INPUT | MODE0 */ |
| 93 | >; |
| 94 | }; |
| 95 | }; |
| 96 | |
Benoit Cousson | 898ee39 | 2011-08-17 18:42:25 +0530 | [diff] [blame] | 97 | &i2c1 { |
| 98 | clock-frequency = <400000>; |
| 99 | |
| 100 | twl: twl@48 { |
| 101 | reg = <0x48>; |
| 102 | /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */ |
| 103 | interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */ |
| 104 | interrupt-parent = <&gic>; |
| 105 | }; |
Peter Ujfalusi | 6cd3bc3 | 2012-06-08 17:02:04 +0300 | [diff] [blame] | 106 | |
| 107 | twl6040: twl@4b { |
| 108 | compatible = "ti,twl6040"; |
| 109 | reg = <0x4b>; |
| 110 | /* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */ |
| 111 | interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */ |
| 112 | interrupt-parent = <&gic>; |
| 113 | ti,audpwron-gpio = <&gpio4 31 0>; /* gpio line 127 */ |
| 114 | |
| 115 | vio-supply = <&v1v8>; |
| 116 | v2v1-supply = <&v2v1>; |
| 117 | enable-active-high; |
| 118 | }; |
Benoit Cousson | 898ee39 | 2011-08-17 18:42:25 +0530 | [diff] [blame] | 119 | }; |
| 120 | |
| 121 | /include/ "twl6030.dtsi" |
| 122 | |
| 123 | &i2c2 { |
| 124 | clock-frequency = <400000>; |
| 125 | }; |
| 126 | |
| 127 | &i2c3 { |
| 128 | clock-frequency = <100000>; |
| 129 | |
| 130 | /* |
| 131 | * Display monitor features are burnt in their EEPROM as EDID data. |
| 132 | * The EEPROM is connected as I2C slave device. |
| 133 | */ |
| 134 | eeprom@50 { |
| 135 | compatible = "ti,eeprom"; |
| 136 | reg = <0x50>; |
| 137 | }; |
| 138 | }; |
| 139 | |
| 140 | &i2c4 { |
| 141 | clock-frequency = <400000>; |
| 142 | }; |
Rajendra Nayak | 7498176 | 2011-10-04 17:10:27 +0530 | [diff] [blame] | 143 | |
| 144 | &mmc1 { |
| 145 | vmmc-supply = <&vmmc>; |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 146 | bus-width = <8>; |
Rajendra Nayak | 7498176 | 2011-10-04 17:10:27 +0530 | [diff] [blame] | 147 | }; |
| 148 | |
| 149 | &mmc2 { |
Roland Stigge | fd5c3fd | 2012-06-21 01:36:03 -0700 | [diff] [blame] | 150 | status = "disabled"; |
Rajendra Nayak | 7498176 | 2011-10-04 17:10:27 +0530 | [diff] [blame] | 151 | }; |
| 152 | |
| 153 | &mmc3 { |
Roland Stigge | fd5c3fd | 2012-06-21 01:36:03 -0700 | [diff] [blame] | 154 | status = "disabled"; |
Rajendra Nayak | 7498176 | 2011-10-04 17:10:27 +0530 | [diff] [blame] | 155 | }; |
| 156 | |
| 157 | &mmc4 { |
Roland Stigge | fd5c3fd | 2012-06-21 01:36:03 -0700 | [diff] [blame] | 158 | status = "disabled"; |
Rajendra Nayak | 7498176 | 2011-10-04 17:10:27 +0530 | [diff] [blame] | 159 | }; |
| 160 | |
| 161 | &mmc5 { |
| 162 | ti,non-removable; |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 163 | bus-width = <4>; |
Rajendra Nayak | 7498176 | 2011-10-04 17:10:27 +0530 | [diff] [blame] | 164 | }; |
Aneesh V | 11c2706 | 2012-01-20 20:35:26 +0530 | [diff] [blame] | 165 | |
| 166 | &emif1 { |
| 167 | cs1-used; |
| 168 | device-handle = <&elpida_ECB240ABACN>; |
| 169 | }; |
| 170 | |
| 171 | &emif2 { |
| 172 | cs1-used; |
| 173 | device-handle = <&elpida_ECB240ABACN>; |
| 174 | }; |
Peter Ujfalusi | 6badc63 | 2012-10-04 14:57:22 +0300 | [diff] [blame] | 175 | |
| 176 | &mcbsp2 { |
| 177 | status = "disabled"; |
| 178 | }; |
| 179 | |
| 180 | &mcbsp3 { |
| 181 | status = "disabled"; |
| 182 | }; |
| 183 | |
| 184 | &dmic { |
| 185 | status = "disabled"; |
| 186 | }; |