R Sricharan | 6b5de09 | 2012-05-10 19:46:00 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 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 | |
Florian Vaussard | 98ef7957 | 2013-05-31 14:32:55 +0200 | [diff] [blame^] | 10 | #include "omap5.dtsi" |
| 11 | #include "samsung_k3pe0e000b.dtsi" |
R Sricharan | 6b5de09 | 2012-05-10 19:46:00 +0530 | [diff] [blame] | 12 | |
| 13 | / { |
| 14 | model = "TI OMAP5 EVM board"; |
| 15 | compatible = "ti,omap5-evm", "ti,omap5"; |
| 16 | |
| 17 | memory { |
| 18 | device_type = "memory"; |
Santosh Shilimkar | 03178c6 | 2013-01-18 11:43:16 +0530 | [diff] [blame] | 19 | reg = <0x80000000 0x7F000000>; /* 2032 MB */ |
R Sricharan | 6b5de09 | 2012-05-10 19:46:00 +0530 | [diff] [blame] | 20 | }; |
Balaji T K | 5dd18b0 | 2012-08-07 12:48:21 +0530 | [diff] [blame] | 21 | |
| 22 | vmmcsd_fixed: fixedregulator-mmcsd { |
| 23 | compatible = "regulator-fixed"; |
| 24 | regulator-name = "vmmcsd_fixed"; |
| 25 | regulator-min-microvolt = <3000000>; |
| 26 | regulator-max-microvolt = <3000000>; |
| 27 | }; |
Sourav Poddar | 5449fbc | 2012-07-25 11:03:27 +0530 | [diff] [blame] | 28 | |
Balaji T K | 5dd18b0 | 2012-08-07 12:48:21 +0530 | [diff] [blame] | 29 | }; |
| 30 | |
Peter Ujfalusi | 8bbacc5 | 2012-10-04 14:57:28 +0300 | [diff] [blame] | 31 | &omap5_pmx_core { |
| 32 | pinctrl-names = "default"; |
| 33 | pinctrl-0 = < |
| 34 | &twl6040_pins |
| 35 | &mcpdm_pins |
| 36 | &dmic_pins |
| 37 | &mcbsp1_pins |
| 38 | &mcbsp2_pins |
| 39 | >; |
| 40 | |
| 41 | twl6040_pins: pinmux_twl6040_pins { |
| 42 | pinctrl-single,pins = < |
| 43 | 0x18a 0x6 /* perslimbus2_clock.gpio5_145 OUTPUT | MODE6 */ |
| 44 | >; |
| 45 | }; |
| 46 | |
| 47 | mcpdm_pins: pinmux_mcpdm_pins { |
| 48 | pinctrl-single,pins = < |
| 49 | 0x142 0x108 /* abe_clks.abe_clks INPUT PULLDOWN | MODE0 */ |
| 50 | 0x15c 0x108 /* abemcpdm_ul_data.abemcpdm_ul_data INPUT PULLDOWN | MODE0 */ |
| 51 | 0x15e 0x108 /* abemcpdm_dl_data.abemcpdm_dl_data INPUT PULLDOWN | MODE0 */ |
| 52 | 0x160 0x118 /* abemcpdm_frame.abemcpdm_frame INPUT PULLUP | MODE0 */ |
| 53 | 0x162 0x108 /* abemcpdm_lb_clk.abemcpdm_lb_clk INPUT PULLDOWN | MODE0 */ |
| 54 | >; |
| 55 | }; |
| 56 | |
| 57 | dmic_pins: pinmux_dmic_pins { |
| 58 | pinctrl-single,pins = < |
| 59 | 0x144 0x100 /* abedmic_din1.abedmic_din1 INPUT | MODE0 */ |
| 60 | 0x146 0x100 /* abedmic_din2.abedmic_din2 INPUT | MODE0 */ |
| 61 | 0x148 0x100 /* abedmic_din3.abedmic_din3 INPUT | MODE0 */ |
| 62 | 0x14a 0 /* abedmic_clk1.abedmic_clk1 OUTPUT | MODE0 */ |
| 63 | >; |
| 64 | }; |
| 65 | |
| 66 | mcbsp1_pins: pinmux_mcbsp1_pins { |
| 67 | pinctrl-single,pins = < |
| 68 | 0x14c 0x101 /* abedmic_clk2.abemcbsp1_fsx INPUT | MODE1 */ |
| 69 | 0x14e 0x9 /* abedmic_clk3.abemcbsp1_dx OUTPUT PULLDOWN | MODE1 */ |
| 70 | 0x150 0x101 /* abeslimbus1_clock.abemcbsp1_clkx INPUT | MODE0 */ |
| 71 | 0x152 0x109 /* abeslimbus1_data.abemcbsp1_dr INPUT PULLDOWN | MODE1 */ |
| 72 | >; |
| 73 | }; |
| 74 | |
| 75 | mcbsp2_pins: pinmux_mcbsp2_pins { |
| 76 | pinctrl-single,pins = < |
| 77 | 0x154 0x108 /* abemcbsp2_dr.abemcbsp2_dr INPUT PULLDOWN | MODE0 */ |
| 78 | 0x156 0x8 /* abemcbsp2_dx.abemcbsp2_dx OUTPUT PULLDOWN | MODE0 */ |
| 79 | 0x158 0x100 /* abemcbsp2_fsx.abemcbsp2_fsx INPUT | MODE0 */ |
| 80 | 0x15a 0x100 /* abemcbsp2_clkx.abemcbsp2_clkx INPUT | MODE0 */ |
| 81 | >; |
| 82 | }; |
Sourav Poddar | 9be495c | 2013-02-13 14:58:22 +0530 | [diff] [blame] | 83 | |
| 84 | i2c1_pins: pinmux_i2c1_pins { |
| 85 | pinctrl-single,pins = < |
| 86 | 0x1b2 0x118 /* i2c1_scl PULLUP | INPUTENABLE | MODE0 */ |
| 87 | 0x1b4 0x118 /* i2c1_sda PULLUP | INPUTENABLE | MODE0 */ |
| 88 | >; |
| 89 | }; |
| 90 | |
| 91 | i2c2_pins: pinmux_i2c2_pins { |
| 92 | pinctrl-single,pins = < |
| 93 | 0x178 0x100 /* i2c2_scl INPUTENABLE | MODE0 */ |
| 94 | 0x17a 0x100 /* i2c2_sda INPUTENABLE | MODE0 */ |
| 95 | >; |
| 96 | }; |
| 97 | |
| 98 | i2c3_pins: pinmux_i2c3_pins { |
| 99 | pinctrl-single,pins = < |
| 100 | 0x13a 0x100 /* i2c3_scl INPUTENABLE | MODE0 */ |
| 101 | 0x13c 0x100 /* i2c3_sda INPUTENABLE | MODE0 */ |
| 102 | >; |
| 103 | }; |
| 104 | |
| 105 | i2c4_pins: pinmux_i2c4_pins { |
| 106 | pinctrl-single,pins = < |
| 107 | 0xb8 0x100 /* i2c4_scl INPUTENABLE | MODE0 */ |
| 108 | 0xba 0x100 /* i2c4_sda INPUTENABLE | MODE0 */ |
| 109 | >; |
| 110 | }; |
| 111 | |
| 112 | i2c5_pins: pinmux_i2c5_pins { |
| 113 | pinctrl-single,pins = < |
| 114 | 0x184 0x100 /* i2c5_scl INPUTENABLE | MODE0 */ |
| 115 | 0x186 0x100 /* i2c5_sda INPUTENABLE | MODE0 */ |
| 116 | >; |
| 117 | }; |
Sourav Poddar | 392adaf | 2013-02-13 14:58:44 +0530 | [diff] [blame] | 118 | |
| 119 | mcspi2_pins: pinmux_mcspi2_pins { |
| 120 | pinctrl-single,pins = < |
| 121 | 0xbc 0x100 /* MCSPI2_CLK INPUTENABLE | MODE0 */ |
| 122 | 0xbe 0x100 /* MCSPI2_SIMO INPUTENABLE | MODE0 */ |
| 123 | 0xc0 0x118 /* MCSPI2_SOMI PULLUP | INPUTENABLE | MODE0*/ |
| 124 | 0xc2 0x0 /* MCSPI2_CS MODE0*/ |
| 125 | >; |
| 126 | }; |
| 127 | |
| 128 | mcspi3_pins: pinmux_mcspi3_pins { |
| 129 | pinctrl-single,pins = < |
| 130 | 0x78 0x101 /* MCSPI2_SOMI INPUTENABLE | MODE1 */ |
| 131 | 0x7a 0x101 /* MCSPI2_CS INPUTENABLE | MODE1 */ |
| 132 | 0x7c 0x101 /* MCSPI2_SIMO INPUTENABLE | MODE1 */ |
| 133 | 0x7e 0x101 /* MCSPI2_CLK INPUTENABLE | MODE1 */ |
| 134 | >; |
| 135 | }; |
| 136 | |
| 137 | mcspi4_pins: pinmux_mcspi4_pins { |
| 138 | pinctrl-single,pins = < |
| 139 | 0x164 0x101 /* MCSPI2_CLK INPUTENABLE | MODE1 */ |
| 140 | 0x168 0x101 /* MCSPI2_SIMO INPUTENABLE | MODE1 */ |
| 141 | 0x16a 0x101 /* MCSPI2_SOMI INPUTENABLE | MODE1 */ |
| 142 | 0x16c 0x101 /* MCSPI2_CS INPUTENABLE | MODE1 */ |
| 143 | >; |
| 144 | }; |
Peter Ujfalusi | 8bbacc5 | 2012-10-04 14:57:28 +0300 | [diff] [blame] | 145 | }; |
| 146 | |
Balaji T K | 5dd18b0 | 2012-08-07 12:48:21 +0530 | [diff] [blame] | 147 | &mmc1 { |
| 148 | vmmc-supply = <&vmmcsd_fixed>; |
| 149 | bus-width = <4>; |
| 150 | }; |
| 151 | |
| 152 | &mmc2 { |
| 153 | vmmc-supply = <&vmmcsd_fixed>; |
| 154 | bus-width = <8>; |
| 155 | ti,non-removable; |
| 156 | }; |
| 157 | |
| 158 | &mmc3 { |
| 159 | bus-width = <4>; |
| 160 | ti,non-removable; |
| 161 | }; |
| 162 | |
| 163 | &mmc4 { |
| 164 | status = "disabled"; |
| 165 | }; |
| 166 | |
| 167 | &mmc5 { |
| 168 | status = "disabled"; |
R Sricharan | 6b5de09 | 2012-05-10 19:46:00 +0530 | [diff] [blame] | 169 | }; |
Sourav Poddar | 08f3e21 | 2012-07-25 11:02:43 +0530 | [diff] [blame] | 170 | |
Sourav Poddar | 9be495c | 2013-02-13 14:58:22 +0530 | [diff] [blame] | 171 | &i2c1 { |
| 172 | pinctrl-names = "default"; |
| 173 | pinctrl-0 = <&i2c1_pins>; |
| 174 | |
| 175 | clock-frequency = <400000>; |
| 176 | }; |
| 177 | |
Sourav Poddar | 2887101 | 2012-07-25 10:59:40 +0530 | [diff] [blame] | 178 | &i2c2 { |
Sourav Poddar | 9be495c | 2013-02-13 14:58:22 +0530 | [diff] [blame] | 179 | pinctrl-names = "default"; |
| 180 | pinctrl-0 = <&i2c2_pins>; |
| 181 | |
Sourav Poddar | 2887101 | 2012-07-25 10:59:40 +0530 | [diff] [blame] | 182 | clock-frequency = <400000>; |
| 183 | |
| 184 | /* Pressure Sensor */ |
| 185 | bmp085@77 { |
| 186 | compatible = "bosch,bmp085"; |
| 187 | reg = <0x77>; |
| 188 | }; |
| 189 | }; |
| 190 | |
Sourav Poddar | 9be495c | 2013-02-13 14:58:22 +0530 | [diff] [blame] | 191 | &i2c3 { |
| 192 | pinctrl-names = "default"; |
| 193 | pinctrl-0 = <&i2c3_pins>; |
| 194 | |
| 195 | clock-frequency = <400000>; |
| 196 | }; |
| 197 | |
Sourav Poddar | 08f3e21 | 2012-07-25 11:02:43 +0530 | [diff] [blame] | 198 | &i2c4 { |
Sourav Poddar | 9be495c | 2013-02-13 14:58:22 +0530 | [diff] [blame] | 199 | pinctrl-names = "default"; |
| 200 | pinctrl-0 = <&i2c4_pins>; |
| 201 | |
Sourav Poddar | 08f3e21 | 2012-07-25 11:02:43 +0530 | [diff] [blame] | 202 | clock-frequency = <400000>; |
| 203 | |
| 204 | /* Temperature Sensor */ |
| 205 | tmp102@48{ |
| 206 | compatible = "ti,tmp102"; |
| 207 | reg = <0x48>; |
| 208 | }; |
| 209 | }; |
Sourav Poddar | 5449fbc | 2012-07-25 11:03:27 +0530 | [diff] [blame] | 210 | |
Sourav Poddar | 9be495c | 2013-02-13 14:58:22 +0530 | [diff] [blame] | 211 | &i2c5 { |
| 212 | pinctrl-names = "default"; |
| 213 | pinctrl-0 = <&i2c5_pins>; |
| 214 | |
| 215 | clock-frequency = <400000>; |
| 216 | }; |
| 217 | |
Sourav Poddar | 5449fbc | 2012-07-25 11:03:27 +0530 | [diff] [blame] | 218 | &keypad { |
| 219 | keypad,num-rows = <8>; |
| 220 | keypad,num-columns = <8>; |
| 221 | linux,keymap = <0x02020073 /* VOLUP */ |
| 222 | 0x02030072 /* VOLDOWM */ |
| 223 | 0x020400e7 /* SEND */ |
| 224 | 0x02050066 /* HOME */ |
| 225 | 0x0206006b /* END */ |
| 226 | 0x020700d9>; /* SEARCH */ |
| 227 | linux,input-no-autorepeat; |
| 228 | }; |
Peter Ujfalusi | 42601d5 | 2012-10-04 14:57:24 +0300 | [diff] [blame] | 229 | |
| 230 | &mcbsp3 { |
| 231 | status = "disabled"; |
| 232 | }; |
Lokesh Vutla | 4d2750f | 2012-11-05 18:22:52 +0530 | [diff] [blame] | 233 | |
| 234 | &emif1 { |
| 235 | cs1-used; |
| 236 | device-handle = <&samsung_K3PE0E000B>; |
| 237 | }; |
| 238 | |
| 239 | &emif2 { |
| 240 | cs1-used; |
| 241 | device-handle = <&samsung_K3PE0E000B>; |
| 242 | }; |
Sourav Poddar | 392adaf | 2013-02-13 14:58:44 +0530 | [diff] [blame] | 243 | |
| 244 | &mcspi1 { |
| 245 | |
| 246 | }; |
| 247 | |
| 248 | &mcspi2 { |
| 249 | pinctrl-names = "default"; |
| 250 | pinctrl-0 = <&mcspi2_pins>; |
| 251 | }; |
| 252 | |
| 253 | &mcspi3 { |
| 254 | pinctrl-names = "default"; |
| 255 | pinctrl-0 = <&mcspi3_pins>; |
| 256 | }; |
| 257 | |
| 258 | &mcspi4 { |
| 259 | pinctrl-names = "default"; |
| 260 | pinctrl-0 = <&mcspi4_pins>; |
| 261 | }; |