Tomasz Figa | d105f0b | 2012-09-21 10:50:16 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Samsung's Exynos4210 based Trats board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2012 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * |
| 7 | * Device tree source file for Samsung's Trats board which is based on |
| 8 | * Samsung's Exynos4210 SoC. |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License version 2 as |
| 12 | * published by the Free Software Foundation. |
| 13 | */ |
| 14 | |
| 15 | /dts-v1/; |
| 16 | /include/ "exynos4210.dtsi" |
| 17 | |
| 18 | / { |
| 19 | model = "Samsung Trats based on Exynos4210"; |
| 20 | compatible = "samsung,trats", "samsung,exynos4210"; |
| 21 | |
| 22 | memory { |
Tomasz Figa | 59cf19a | 2012-10-17 18:10:34 +0900 | [diff] [blame] | 23 | reg = <0x40000000 0x10000000 |
| 24 | 0x50000000 0x10000000 |
| 25 | 0x60000000 0x10000000 |
| 26 | 0x70000000 0x10000000>; |
Tomasz Figa | d105f0b | 2012-09-21 10:50:16 +0900 | [diff] [blame] | 27 | }; |
| 28 | |
| 29 | chosen { |
| 30 | bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; |
| 31 | }; |
| 32 | |
| 33 | vemmc_reg: voltage-regulator@0 { |
| 34 | compatible = "regulator-fixed"; |
| 35 | regulator-name = "VMEM_VDD_2.8V"; |
| 36 | regulator-min-microvolt = <2800000>; |
| 37 | regulator-max-microvolt = <2800000>; |
Tomasz Figa | e925012 | 2012-11-20 16:26:17 +0900 | [diff] [blame] | 38 | gpio = <&gpk0 2 0>; |
Tomasz Figa | d105f0b | 2012-09-21 10:50:16 +0900 | [diff] [blame] | 39 | enable-active-high; |
| 40 | }; |
| 41 | |
| 42 | sdhci_emmc: sdhci@12510000 { |
| 43 | bus-width = <8>; |
| 44 | non-removable; |
| 45 | broken-voltage; |
Tomasz Figa | e925012 | 2012-11-20 16:26:17 +0900 | [diff] [blame] | 46 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>; |
| 47 | pinctrl-names = "default"; |
Tomasz Figa | d105f0b | 2012-09-21 10:50:16 +0900 | [diff] [blame] | 48 | vmmc-supply = <&vemmc_reg>; |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | |
| 52 | serial@13800000 { |
| 53 | status = "okay"; |
| 54 | }; |
| 55 | |
| 56 | serial@13810000 { |
| 57 | status = "okay"; |
| 58 | }; |
| 59 | |
| 60 | serial@13820000 { |
| 61 | status = "okay"; |
| 62 | }; |
| 63 | |
| 64 | serial@13830000 { |
| 65 | status = "okay"; |
| 66 | }; |
| 67 | |
Tomasz Figa | 9eb6102 | 2012-11-20 16:26:17 +0900 | [diff] [blame] | 68 | gpio-keys { |
| 69 | compatible = "gpio-keys"; |
| 70 | |
| 71 | vol-down-key { |
| 72 | gpios = <&gpx2 1 1>; |
| 73 | linux,code = <114>; |
| 74 | label = "volume down"; |
| 75 | debounce-interval = <10>; |
| 76 | }; |
| 77 | |
| 78 | vol-up-key { |
| 79 | gpios = <&gpx2 0 1>; |
| 80 | linux,code = <115>; |
| 81 | label = "volume up"; |
| 82 | debounce-interval = <10>; |
| 83 | }; |
| 84 | |
| 85 | power-key { |
| 86 | gpios = <&gpx2 7 1>; |
| 87 | linux,code = <116>; |
| 88 | label = "power"; |
| 89 | debounce-interval = <10>; |
| 90 | gpio-key,wakeup; |
| 91 | }; |
| 92 | |
| 93 | ok-key { |
| 94 | gpios = <&gpx3 5 1>; |
| 95 | linux,code = <352>; |
| 96 | label = "ok"; |
| 97 | debounce-interval = <10>; |
| 98 | }; |
| 99 | }; |
| 100 | |
Tomasz Figa | 50528aa | 2012-11-20 16:26:18 +0900 | [diff] [blame] | 101 | tsp_reg: voltage-regulator { |
| 102 | compatible = "regulator-fixed"; |
| 103 | regulator-name = "TSP_FIXED_VOLTAGES"; |
| 104 | regulator-min-microvolt = <2800000>; |
| 105 | regulator-max-microvolt = <2800000>; |
| 106 | gpio = <&gpl0 3 0>; |
| 107 | enable-active-high; |
| 108 | }; |
| 109 | |
Tomasz Figa | b74cbbc | 2012-11-20 16:26:17 +0900 | [diff] [blame] | 110 | i2c@13890000 { |
| 111 | samsung,i2c-sda-delay = <100>; |
| 112 | samsung,i2c-slave-addr = <0x10>; |
| 113 | samsung,i2c-max-bus-freq = <400000>; |
| 114 | pinctrl-0 = <&i2c3_bus>; |
| 115 | pinctrl-names = "default"; |
| 116 | status = "okay"; |
Tomasz Figa | 0d09bf6 | 2012-11-20 16:26:18 +0900 | [diff] [blame^] | 117 | |
| 118 | mms114-touchscreen@48 { |
| 119 | compatible = "melfas,mms114"; |
| 120 | reg = <0x48>; |
| 121 | interrupt-parent = <&gpx0>; |
| 122 | interrupts = <4 2>; |
| 123 | x-size = <720>; |
| 124 | y-size = <1280>; |
| 125 | avdd-supply = <&tsp_reg>; |
| 126 | vdd-supply = <&tsp_reg>; |
| 127 | }; |
Tomasz Figa | b74cbbc | 2012-11-20 16:26:17 +0900 | [diff] [blame] | 128 | }; |
| 129 | |
Tomasz Figa | d105f0b | 2012-09-21 10:50:16 +0900 | [diff] [blame] | 130 | i2c@138B0000 { |
| 131 | samsung,i2c-sda-delay = <100>; |
| 132 | samsung,i2c-slave-addr = <0x10>; |
| 133 | samsung,i2c-max-bus-freq = <100000>; |
Tomasz Figa | e925012 | 2012-11-20 16:26:17 +0900 | [diff] [blame] | 134 | pinctrl-0 = <&i2c5_bus>; |
| 135 | pinctrl-names = "default"; |
Tomasz Figa | d105f0b | 2012-09-21 10:50:16 +0900 | [diff] [blame] | 136 | status = "okay"; |
| 137 | |
| 138 | max8997_pmic@66 { |
| 139 | compatible = "maxim,max8997-pmic"; |
| 140 | |
| 141 | reg = <0x66>; |
| 142 | |
| 143 | max8997,pmic-buck1-uses-gpio-dvs; |
| 144 | max8997,pmic-buck2-uses-gpio-dvs; |
| 145 | max8997,pmic-buck5-uses-gpio-dvs; |
| 146 | |
| 147 | max8997,pmic-ignore-gpiodvs-side-effect; |
| 148 | max8997,pmic-buck125-default-dvs-idx = <0>; |
| 149 | |
Tomasz Figa | e925012 | 2012-11-20 16:26:17 +0900 | [diff] [blame] | 150 | max8997,pmic-buck125-dvs-gpios = <&gpx0 5 0>, |
| 151 | <&gpx0 6 0>, |
| 152 | <&gpl0 0 0>; |
Tomasz Figa | d105f0b | 2012-09-21 10:50:16 +0900 | [diff] [blame] | 153 | |
| 154 | max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>, |
| 155 | <1250000>, <1200000>, |
| 156 | <1150000>, <1100000>, |
| 157 | <1000000>, <950000>; |
| 158 | |
| 159 | max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>, |
| 160 | <950000>, <900000>, |
| 161 | <1100000>, <1000000>, |
| 162 | <950000>, <900000>; |
| 163 | |
| 164 | max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>, |
| 165 | <1200000>, <1200000>, |
| 166 | <1200000>, <1200000>, |
| 167 | <1200000>, <1200000>; |
| 168 | |
| 169 | regulators { |
| 170 | valive_reg: LDO2 { |
| 171 | regulator-name = "VALIVE_1.1V_C210"; |
| 172 | regulator-min-microvolt = <1100000>; |
| 173 | regulator-max-microvolt = <1100000>; |
| 174 | regulator-always-on; |
| 175 | }; |
| 176 | |
| 177 | vusb_reg: LDO3 { |
| 178 | regulator-name = "VUSB_1.1V_C210"; |
| 179 | regulator-min-microvolt = <1100000>; |
| 180 | regulator-max-microvolt = <1100000>; |
| 181 | }; |
| 182 | |
| 183 | vmipi_reg: LDO4 { |
| 184 | regulator-name = "VMIPI_1.8V"; |
| 185 | regulator-min-microvolt = <1800000>; |
| 186 | regulator-max-microvolt = <1800000>; |
| 187 | }; |
| 188 | |
| 189 | vpda_reg: LDO6 { |
| 190 | regulator-name = "VCC_1.8V_PDA"; |
| 191 | regulator-min-microvolt = <1800000>; |
| 192 | regulator-max-microvolt = <1800000>; |
| 193 | regulator-always-on; |
| 194 | }; |
| 195 | |
| 196 | vcam_reg: LDO7 { |
| 197 | regulator-name = "CAM_ISP_1.8V"; |
| 198 | regulator-min-microvolt = <1800000>; |
| 199 | regulator-max-microvolt = <1800000>; |
| 200 | }; |
| 201 | |
| 202 | vusbdac_reg: LDO8 { |
| 203 | regulator-name = "VUSB/VDAC_3.3V_C210"; |
| 204 | regulator-min-microvolt = <3300000>; |
| 205 | regulator-max-microvolt = <3300000>; |
| 206 | }; |
| 207 | |
| 208 | vccpda_reg: LDO9 { |
| 209 | regulator-name = "VCC_2.8V_PDA"; |
| 210 | regulator-min-microvolt = <2800000>; |
| 211 | regulator-max-microvolt = <2800000>; |
| 212 | regulator-always-on; |
| 213 | }; |
| 214 | |
| 215 | vpll_reg: LDO10 { |
| 216 | regulator-name = "VPLL_1.1V_C210"; |
| 217 | regulator-min-microvolt = <1100000>; |
| 218 | regulator-max-microvolt = <1100000>; |
| 219 | regulator-always-on; |
| 220 | }; |
| 221 | |
| 222 | vcclcd_reg: LDO13 { |
| 223 | regulator-name = "VCC_3.3V_LCD"; |
| 224 | regulator-min-microvolt = <3300000>; |
| 225 | regulator-max-microvolt = <3300000>; |
| 226 | }; |
| 227 | |
| 228 | vlcd_reg: LDO15 { |
| 229 | regulator-name = "VLCD_2.2V"; |
| 230 | regulator-min-microvolt = <2200000>; |
| 231 | regulator-max-microvolt = <2200000>; |
| 232 | }; |
| 233 | |
| 234 | camsensor_reg: LDO16 { |
| 235 | regulator-name = "CAM_SENSOR_IO_1.8V"; |
| 236 | regulator-min-microvolt = <1800000>; |
| 237 | regulator-max-microvolt = <1800000>; |
| 238 | }; |
| 239 | |
| 240 | vddq_reg: LDO21 { |
| 241 | regulator-name = "VDDQ_M1M2_1.2V"; |
| 242 | regulator-min-microvolt = <1200000>; |
| 243 | regulator-max-microvolt = <1200000>; |
| 244 | regulator-always-on; |
| 245 | }; |
| 246 | |
| 247 | varm_breg: BUCK1 { |
| 248 | regulator-name = "VARM_1.2V_C210"; |
| 249 | regulator-min-microvolt = <900000>; |
| 250 | regulator-max-microvolt = <1350000>; |
| 251 | regulator-always-on; |
| 252 | }; |
| 253 | |
| 254 | vint_breg: BUCK2 { |
| 255 | regulator-name = "VINT_1.1V_C210"; |
| 256 | regulator-min-microvolt = <900000>; |
| 257 | regulator-max-microvolt = <1100000>; |
| 258 | regulator-always-on; |
| 259 | }; |
| 260 | |
| 261 | camisp_breg: BUCK4 { |
| 262 | regulator-name = "CAM_ISP_CORE_1.2V"; |
| 263 | regulator-min-microvolt = <1200000>; |
| 264 | regulator-max-microvolt = <1200000>; |
| 265 | }; |
| 266 | |
| 267 | vmem_breg: BUCK5 { |
| 268 | regulator-name = "VMEM_1.2V_C210"; |
| 269 | regulator-min-microvolt = <1200000>; |
| 270 | regulator-max-microvolt = <1200000>; |
| 271 | regulator-always-on; |
| 272 | }; |
| 273 | |
| 274 | vccsub_breg: BUCK7 { |
| 275 | regulator-name = "VCC_SUB_2.0V"; |
| 276 | regulator-min-microvolt = <2000000>; |
| 277 | regulator-max-microvolt = <2000000>; |
| 278 | regulator-always-on; |
| 279 | }; |
| 280 | |
| 281 | safe1_sreg: ESAFEOUT1 { |
| 282 | regulator-name = "SAFEOUT1"; |
| 283 | regulator-always-on; |
| 284 | }; |
| 285 | |
| 286 | safe2_sreg: ESAFEOUT2 { |
| 287 | regulator-name = "SAFEOUT2"; |
| 288 | regulator-boot-on; |
| 289 | }; |
| 290 | }; |
| 291 | }; |
| 292 | }; |
| 293 | }; |