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 | |
| 10 | /include/ "omap5.dtsi" |
Lokesh Vutla | 4d2750f | 2012-11-05 18:22:52 +0530 | [diff] [blame] | 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"; |
Lokesh Vutla | 45cbe6c | 2012-11-05 18:22:50 +0530 | [diff] [blame] | 19 | reg = <0x80000000 0x80000000>; /* 2 GB */ |
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 | }; |
Peter Ujfalusi | 8bbacc5 | 2012-10-04 14:57:28 +0300 | [diff] [blame] | 118 | }; |
| 119 | |
Balaji T K | 5dd18b0 | 2012-08-07 12:48:21 +0530 | [diff] [blame] | 120 | &mmc1 { |
| 121 | vmmc-supply = <&vmmcsd_fixed>; |
| 122 | bus-width = <4>; |
| 123 | }; |
| 124 | |
| 125 | &mmc2 { |
| 126 | vmmc-supply = <&vmmcsd_fixed>; |
| 127 | bus-width = <8>; |
| 128 | ti,non-removable; |
| 129 | }; |
| 130 | |
| 131 | &mmc3 { |
| 132 | bus-width = <4>; |
| 133 | ti,non-removable; |
| 134 | }; |
| 135 | |
| 136 | &mmc4 { |
| 137 | status = "disabled"; |
| 138 | }; |
| 139 | |
| 140 | &mmc5 { |
| 141 | status = "disabled"; |
R Sricharan | 6b5de09 | 2012-05-10 19:46:00 +0530 | [diff] [blame] | 142 | }; |
Sourav Poddar | 08f3e21 | 2012-07-25 11:02:43 +0530 | [diff] [blame] | 143 | |
Sourav Poddar | 9be495c | 2013-02-13 14:58:22 +0530 | [diff] [blame^] | 144 | &i2c1 { |
| 145 | pinctrl-names = "default"; |
| 146 | pinctrl-0 = <&i2c1_pins>; |
| 147 | |
| 148 | clock-frequency = <400000>; |
| 149 | }; |
| 150 | |
Sourav Poddar | 2887101 | 2012-07-25 10:59:40 +0530 | [diff] [blame] | 151 | &i2c2 { |
Sourav Poddar | 9be495c | 2013-02-13 14:58:22 +0530 | [diff] [blame^] | 152 | pinctrl-names = "default"; |
| 153 | pinctrl-0 = <&i2c2_pins>; |
| 154 | |
Sourav Poddar | 2887101 | 2012-07-25 10:59:40 +0530 | [diff] [blame] | 155 | clock-frequency = <400000>; |
| 156 | |
| 157 | /* Pressure Sensor */ |
| 158 | bmp085@77 { |
| 159 | compatible = "bosch,bmp085"; |
| 160 | reg = <0x77>; |
| 161 | }; |
| 162 | }; |
| 163 | |
Sourav Poddar | 9be495c | 2013-02-13 14:58:22 +0530 | [diff] [blame^] | 164 | &i2c3 { |
| 165 | pinctrl-names = "default"; |
| 166 | pinctrl-0 = <&i2c3_pins>; |
| 167 | |
| 168 | clock-frequency = <400000>; |
| 169 | }; |
| 170 | |
Sourav Poddar | 08f3e21 | 2012-07-25 11:02:43 +0530 | [diff] [blame] | 171 | &i2c4 { |
Sourav Poddar | 9be495c | 2013-02-13 14:58:22 +0530 | [diff] [blame^] | 172 | pinctrl-names = "default"; |
| 173 | pinctrl-0 = <&i2c4_pins>; |
| 174 | |
Sourav Poddar | 08f3e21 | 2012-07-25 11:02:43 +0530 | [diff] [blame] | 175 | clock-frequency = <400000>; |
| 176 | |
| 177 | /* Temperature Sensor */ |
| 178 | tmp102@48{ |
| 179 | compatible = "ti,tmp102"; |
| 180 | reg = <0x48>; |
| 181 | }; |
| 182 | }; |
Sourav Poddar | 5449fbc | 2012-07-25 11:03:27 +0530 | [diff] [blame] | 183 | |
Sourav Poddar | 9be495c | 2013-02-13 14:58:22 +0530 | [diff] [blame^] | 184 | &i2c5 { |
| 185 | pinctrl-names = "default"; |
| 186 | pinctrl-0 = <&i2c5_pins>; |
| 187 | |
| 188 | clock-frequency = <400000>; |
| 189 | }; |
| 190 | |
Sourav Poddar | 5449fbc | 2012-07-25 11:03:27 +0530 | [diff] [blame] | 191 | &keypad { |
| 192 | keypad,num-rows = <8>; |
| 193 | keypad,num-columns = <8>; |
| 194 | linux,keymap = <0x02020073 /* VOLUP */ |
| 195 | 0x02030072 /* VOLDOWM */ |
| 196 | 0x020400e7 /* SEND */ |
| 197 | 0x02050066 /* HOME */ |
| 198 | 0x0206006b /* END */ |
| 199 | 0x020700d9>; /* SEARCH */ |
| 200 | linux,input-no-autorepeat; |
| 201 | }; |
Peter Ujfalusi | 42601d5 | 2012-10-04 14:57:24 +0300 | [diff] [blame] | 202 | |
| 203 | &mcbsp3 { |
| 204 | status = "disabled"; |
| 205 | }; |
Lokesh Vutla | 4d2750f | 2012-11-05 18:22:52 +0530 | [diff] [blame] | 206 | |
| 207 | &emif1 { |
| 208 | cs1-used; |
| 209 | device-handle = <&samsung_K3PE0E000B>; |
| 210 | }; |
| 211 | |
| 212 | &emif2 { |
| 213 | cs1-used; |
| 214 | device-handle = <&samsung_K3PE0E000B>; |
| 215 | }; |