AnilKumar Ch | 32bb00e | 2012-06-22 15:10:49 +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/ "am33xx.dtsi" |
| 11 | |
| 12 | / { |
| 13 | model = "TI AM335x EVM"; |
| 14 | compatible = "ti,am335x-evm", "ti,am33xx"; |
| 15 | |
AnilKumar Ch | efeedcf | 2012-08-31 15:07:20 +0530 | [diff] [blame] | 16 | cpus { |
| 17 | cpu@0 { |
| 18 | cpu0-supply = <&vdd1_reg>; |
| 19 | }; |
| 20 | }; |
| 21 | |
AnilKumar Ch | 32bb00e | 2012-06-22 15:10:49 +0530 | [diff] [blame] | 22 | memory { |
| 23 | device_type = "memory"; |
| 24 | reg = <0x80000000 0x10000000>; /* 256 MB */ |
| 25 | }; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 26 | |
AnilKumar Ch | 5d9b66f | 2012-11-06 19:18:29 +0530 | [diff] [blame] | 27 | am33xx_pinmux: pinmux@44e10800 { |
| 28 | pinctrl-names = "default"; |
AnilKumar Ch | 404aa0d | 2012-11-06 19:18:31 +0530 | [diff] [blame] | 29 | pinctrl-0 = <&matrix_keypad_s0 &volume_keys_s0>; |
AnilKumar Ch | 5d9b66f | 2012-11-06 19:18:29 +0530 | [diff] [blame] | 30 | |
| 31 | matrix_keypad_s0: matrix_keypad_s0 { |
| 32 | pinctrl-single,pins = < |
| 33 | 0x54 0x7 /* gpmc_a5.gpio1_21, OUTPUT | MODE7 */ |
| 34 | 0x58 0x7 /* gpmc_a6.gpio1_22, OUTPUT | MODE7 */ |
| 35 | 0x64 0x27 /* gpmc_a9.gpio1_25, INPUT | MODE7 */ |
| 36 | 0x68 0x27 /* gpmc_a10.gpio1_26, INPUT | MODE7 */ |
| 37 | 0x6c 0x27 /* gpmc_a11.gpio1_27, INPUT | MODE7 */ |
| 38 | >; |
| 39 | }; |
AnilKumar Ch | 404aa0d | 2012-11-06 19:18:31 +0530 | [diff] [blame] | 40 | |
| 41 | volume_keys_s0: volume_keys_s0 { |
| 42 | pinctrl-single,pins = < |
| 43 | 0x150 0x27 /* spi0_sclk.gpio0_2, INPUT | MODE7 */ |
| 44 | 0x154 0x27 /* spi0_d0.gpio0_3, INPUT | MODE7 */ |
| 45 | >; |
| 46 | }; |
AnilKumar Ch | 5d9b66f | 2012-11-06 19:18:29 +0530 | [diff] [blame] | 47 | }; |
| 48 | |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 49 | ocp { |
Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 50 | uart1: serial@44e09000 { |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 51 | status = "okay"; |
| 52 | }; |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 53 | |
AnilKumar Ch | b918e2c | 2012-11-21 17:22:17 +0530 | [diff] [blame] | 54 | i2c0: i2c@44e0b000 { |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 55 | status = "okay"; |
| 56 | clock-frequency = <400000>; |
| 57 | |
Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 58 | tps: tps@2d { |
| 59 | reg = <0x2d>; |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 60 | }; |
| 61 | }; |
AnilKumar Ch | 492dd02 | 2012-09-20 02:49:29 +0530 | [diff] [blame] | 62 | |
AnilKumar Ch | b918e2c | 2012-11-21 17:22:17 +0530 | [diff] [blame] | 63 | i2c1: i2c@4802a000 { |
AnilKumar Ch | 492dd02 | 2012-09-20 02:49:29 +0530 | [diff] [blame] | 64 | status = "okay"; |
AnilKumar Ch | cd5cfac | 2012-09-21 21:19:11 +0530 | [diff] [blame] | 65 | clock-frequency = <100000>; |
AnilKumar Ch | 492dd02 | 2012-09-20 02:49:29 +0530 | [diff] [blame] | 66 | |
| 67 | lis331dlh: lis331dlh@18 { |
| 68 | compatible = "st,lis331dlh", "st,lis3lv02d"; |
| 69 | reg = <0x18>; |
| 70 | Vdd-supply = <&lis3_reg>; |
| 71 | Vdd_IO-supply = <&lis3_reg>; |
| 72 | |
| 73 | st,click-single-x; |
| 74 | st,click-single-y; |
| 75 | st,click-single-z; |
| 76 | st,click-thresh-x = <10>; |
| 77 | st,click-thresh-y = <10>; |
| 78 | st,click-thresh-z = <10>; |
| 79 | st,irq1-click; |
| 80 | st,irq2-click; |
| 81 | st,wakeup-x-lo; |
| 82 | st,wakeup-x-hi; |
| 83 | st,wakeup-y-lo; |
| 84 | st,wakeup-y-hi; |
| 85 | st,wakeup-z-lo; |
| 86 | st,wakeup-z-hi; |
| 87 | st,min-limit-x = <120>; |
| 88 | st,min-limit-y = <120>; |
| 89 | st,min-limit-z = <140>; |
| 90 | st,max-limit-x = <550>; |
| 91 | st,max-limit-y = <550>; |
| 92 | st,max-limit-z = <750>; |
| 93 | }; |
AnilKumar Ch | bf07855 | 2012-09-20 02:49:30 +0530 | [diff] [blame] | 94 | |
AnilKumar Ch | cd5cfac | 2012-09-21 21:19:11 +0530 | [diff] [blame] | 95 | tsl2550: tsl2550@39 { |
| 96 | compatible = "taos,tsl2550"; |
| 97 | reg = <0x39>; |
| 98 | }; |
| 99 | |
AnilKumar Ch | bf07855 | 2012-09-20 02:49:30 +0530 | [diff] [blame] | 100 | tmp275: tmp275@48 { |
| 101 | compatible = "ti,tmp275"; |
| 102 | reg = <0x48>; |
| 103 | }; |
AnilKumar Ch | 492dd02 | 2012-09-20 02:49:29 +0530 | [diff] [blame] | 104 | }; |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 105 | }; |
| 106 | |
| 107 | vbat: fixedregulator@0 { |
| 108 | compatible = "regulator-fixed"; |
| 109 | regulator-name = "vbat"; |
| 110 | regulator-min-microvolt = <5000000>; |
| 111 | regulator-max-microvolt = <5000000>; |
| 112 | regulator-boot-on; |
| 113 | }; |
AnilKumar Ch | 492dd02 | 2012-09-20 02:49:29 +0530 | [diff] [blame] | 114 | |
| 115 | lis3_reg: fixedregulator@1 { |
| 116 | compatible = "regulator-fixed"; |
| 117 | regulator-name = "lis3_reg"; |
| 118 | regulator-boot-on; |
| 119 | }; |
AnilKumar Ch | 2ca1d31 | 2012-11-06 19:18:30 +0530 | [diff] [blame] | 120 | |
| 121 | matrix_keypad: matrix_keypad@0 { |
| 122 | compatible = "gpio-matrix-keypad"; |
| 123 | debounce-delay-ms = <5>; |
| 124 | col-scan-delay-us = <2>; |
| 125 | |
AnilKumar Ch | b918e2c | 2012-11-21 17:22:17 +0530 | [diff] [blame] | 126 | row-gpios = <&gpio1 25 0 /* Bank1, pin25 */ |
| 127 | &gpio1 26 0 /* Bank1, pin26 */ |
| 128 | &gpio1 27 0>; /* Bank1, pin27 */ |
AnilKumar Ch | 2ca1d31 | 2012-11-06 19:18:30 +0530 | [diff] [blame] | 129 | |
AnilKumar Ch | b918e2c | 2012-11-21 17:22:17 +0530 | [diff] [blame] | 130 | col-gpios = <&gpio1 21 0 /* Bank1, pin21 */ |
| 131 | &gpio1 22 0>; /* Bank1, pin22 */ |
AnilKumar Ch | 2ca1d31 | 2012-11-06 19:18:30 +0530 | [diff] [blame] | 132 | |
| 133 | linux,keymap = <0x0000008b /* MENU */ |
| 134 | 0x0100009e /* BACK */ |
| 135 | 0x02000069 /* LEFT */ |
| 136 | 0x0001006a /* RIGHT */ |
| 137 | 0x0101001c /* ENTER */ |
| 138 | 0x0201006c>; /* DOWN */ |
| 139 | }; |
AnilKumar Ch | 822c993 | 2012-11-06 19:18:32 +0530 | [diff] [blame] | 140 | |
| 141 | gpio_keys: volume_keys@0 { |
| 142 | compatible = "gpio-keys"; |
| 143 | #address-cells = <1>; |
| 144 | #size-cells = <0>; |
| 145 | autorepeat; |
| 146 | |
| 147 | switch@9 { |
| 148 | label = "volume-up"; |
| 149 | linux,code = <115>; |
AnilKumar Ch | b918e2c | 2012-11-21 17:22:17 +0530 | [diff] [blame] | 150 | gpios = <&gpio0 2 1>; |
AnilKumar Ch | 822c993 | 2012-11-06 19:18:32 +0530 | [diff] [blame] | 151 | gpio-key,wakeup; |
| 152 | }; |
| 153 | |
| 154 | switch@10 { |
| 155 | label = "volume-down"; |
| 156 | linux,code = <114>; |
AnilKumar Ch | b918e2c | 2012-11-21 17:22:17 +0530 | [diff] [blame] | 157 | gpios = <&gpio0 3 1>; |
AnilKumar Ch | 822c993 | 2012-11-06 19:18:32 +0530 | [diff] [blame] | 158 | gpio-key,wakeup; |
| 159 | }; |
| 160 | }; |
AnilKumar Ch | 1b2a970 | 2012-08-21 16:47:29 +0530 | [diff] [blame] | 161 | }; |
| 162 | |
| 163 | /include/ "tps65910.dtsi" |
| 164 | |
| 165 | &tps { |
| 166 | vcc1-supply = <&vbat>; |
| 167 | vcc2-supply = <&vbat>; |
| 168 | vcc3-supply = <&vbat>; |
| 169 | vcc4-supply = <&vbat>; |
| 170 | vcc5-supply = <&vbat>; |
| 171 | vcc6-supply = <&vbat>; |
| 172 | vcc7-supply = <&vbat>; |
| 173 | vccio-supply = <&vbat>; |
| 174 | |
| 175 | regulators { |
| 176 | vrtc_reg: regulator@0 { |
| 177 | regulator-always-on; |
| 178 | }; |
| 179 | |
| 180 | vio_reg: regulator@1 { |
| 181 | regulator-always-on; |
| 182 | }; |
| 183 | |
| 184 | vdd1_reg: regulator@2 { |
| 185 | /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ |
| 186 | regulator-name = "vdd_mpu"; |
| 187 | regulator-min-microvolt = <912500>; |
| 188 | regulator-max-microvolt = <1312500>; |
| 189 | regulator-boot-on; |
| 190 | regulator-always-on; |
| 191 | }; |
| 192 | |
| 193 | vdd2_reg: regulator@3 { |
| 194 | /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ |
| 195 | regulator-name = "vdd_core"; |
| 196 | regulator-min-microvolt = <912500>; |
| 197 | regulator-max-microvolt = <1150000>; |
| 198 | regulator-boot-on; |
| 199 | regulator-always-on; |
| 200 | }; |
| 201 | |
| 202 | vdd3_reg: regulator@4 { |
| 203 | regulator-always-on; |
| 204 | }; |
| 205 | |
| 206 | vdig1_reg: regulator@5 { |
| 207 | regulator-always-on; |
| 208 | }; |
| 209 | |
| 210 | vdig2_reg: regulator@6 { |
| 211 | regulator-always-on; |
| 212 | }; |
| 213 | |
| 214 | vpll_reg: regulator@7 { |
| 215 | regulator-always-on; |
| 216 | }; |
| 217 | |
| 218 | vdac_reg: regulator@8 { |
| 219 | regulator-always-on; |
| 220 | }; |
| 221 | |
| 222 | vaux1_reg: regulator@9 { |
| 223 | regulator-always-on; |
| 224 | }; |
| 225 | |
| 226 | vaux2_reg: regulator@10 { |
| 227 | regulator-always-on; |
| 228 | }; |
| 229 | |
| 230 | vaux33_reg: regulator@11 { |
| 231 | regulator-always-on; |
| 232 | }; |
| 233 | |
| 234 | vmmc_reg: regulator@12 { |
| 235 | regulator-always-on; |
| 236 | }; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 237 | }; |
AnilKumar Ch | 32bb00e | 2012-06-22 15:10:49 +0530 | [diff] [blame] | 238 | }; |
Mugunthan V N | 1a39a65 | 2012-11-14 09:08:00 +0000 | [diff] [blame] | 239 | |
| 240 | &cpsw_emac0 { |
| 241 | phy_id = <&davinci_mdio>, <0>; |
| 242 | }; |
| 243 | |
| 244 | &cpsw_emac1 { |
| 245 | phy_id = <&davinci_mdio>, <1>; |
| 246 | }; |