Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Samsung's Exynos3250 based Rinato board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2014 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * |
| 7 | * Device tree source file for Samsung's Rinato board which is based on |
| 8 | * Samsung Exynos3250 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 "exynos3250.dtsi" |
| 17 | #include <dt-bindings/input/input.h> |
Beomho Seo | 13b9b64 | 2015-01-12 18:00:15 +0900 | [diff] [blame] | 18 | #include <dt-bindings/gpio/gpio.h> |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 19 | |
| 20 | / { |
| 21 | model = "Samsung Rinato board"; |
| 22 | compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3"; |
| 23 | |
| 24 | aliases { |
| 25 | i2c7 = &i2c_max77836; |
| 26 | }; |
| 27 | |
| 28 | memory { |
| 29 | reg = <0x40000000 0x1ff00000>; |
| 30 | }; |
| 31 | |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 32 | firmware@0205F000 { |
| 33 | compatible = "samsung,secure-firmware"; |
| 34 | reg = <0x0205F000 0x1000>; |
| 35 | }; |
| 36 | |
| 37 | gpio_keys { |
| 38 | compatible = "gpio-keys"; |
| 39 | |
| 40 | power_key { |
Beomho Seo | 13b9b64 | 2015-01-12 18:00:15 +0900 | [diff] [blame] | 41 | gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 42 | linux,code = <KEY_POWER>; |
| 43 | label = "power key"; |
| 44 | debounce-interval = <10>; |
| 45 | gpio-key,wakeup; |
| 46 | }; |
| 47 | }; |
| 48 | |
| 49 | i2c_max77836: i2c-gpio-0 { |
| 50 | compatible = "i2c-gpio"; |
| 51 | gpios = <&gpd0 2 0>, <&gpd0 3 0>; |
| 52 | #address-cells = <1>; |
| 53 | #size-cells = <0>; |
| 54 | |
| 55 | max77836: subpmic@25 { |
| 56 | compatible = "maxim,max77836"; |
| 57 | interrupt-parent = <&gpx1>; |
| 58 | interrupts = <5 0>; |
| 59 | reg = <0x25>; |
| 60 | wakeup; |
| 61 | |
| 62 | muic: max77836-muic { |
| 63 | compatible = "maxim,max77836-muic"; |
| 64 | }; |
| 65 | |
| 66 | regulators { |
| 67 | compatible = "maxim,max77836-regulator"; |
| 68 | safeout_reg: SAFEOUT { |
| 69 | regulator-name = "SAFEOUT"; |
| 70 | }; |
| 71 | |
| 72 | charger_reg: CHARGER { |
| 73 | regulator-name = "CHARGER"; |
| 74 | regulator-min-microamp = <45000>; |
| 75 | regulator-max-microamp = <475000>; |
| 76 | regulator-boot-on; |
| 77 | }; |
| 78 | |
| 79 | motor_reg: LDO1 { |
| 80 | regulator-name = "MOT_2.7V"; |
| 81 | regulator-min-microvolt = <1100000>; |
| 82 | regulator-max-microvolt = <2700000>; |
| 83 | }; |
| 84 | |
| 85 | LDO2 { |
| 86 | regulator-name = "UNUSED_LDO2"; |
| 87 | regulator-min-microvolt = <800000>; |
| 88 | regulator-max-microvolt = <3950000>; |
| 89 | }; |
| 90 | }; |
| 91 | |
| 92 | charger { |
| 93 | compatible = "maxim,max77836-charger"; |
| 94 | |
| 95 | maxim,constant-uvolt = <4350000>; |
| 96 | maxim,fast-charge-uamp = <225000>; |
| 97 | maxim,eoc-uamp = <7500>; |
| 98 | maxim,ovp-uvolt = <6500000>; |
| 99 | }; |
| 100 | }; |
| 101 | }; |
| 102 | }; |
| 103 | |
| 104 | &adc { |
| 105 | vdd-supply = <&ldo3_reg>; |
| 106 | status = "okay"; |
| 107 | assigned-clocks = <&cmu CLK_SCLK_TSADC>; |
| 108 | assigned-clock-rates = <6000000>; |
| 109 | |
| 110 | thermistor-ap { |
| 111 | compatible = "ntc,ncp15wb473"; |
| 112 | pullup-uv = <1800000>; |
| 113 | pullup-ohm = <100000>; |
| 114 | pulldown-ohm = <100000>; |
| 115 | io-channels = <&adc 0>; |
| 116 | }; |
| 117 | |
| 118 | thermistor-battery { |
| 119 | compatible = "ntc,ncp15wb473"; |
| 120 | pullup-uv = <1800000>; |
| 121 | pullup-ohm = <100000>; |
| 122 | pulldown-ohm = <100000>; |
| 123 | io-channels = <&adc 1>; |
| 124 | }; |
| 125 | }; |
| 126 | |
Jaewon Kim | cdc3866 | 2015-01-12 17:54:54 +0900 | [diff] [blame] | 127 | &exynos_usbphy { |
| 128 | status = "okay"; |
| 129 | }; |
| 130 | |
| 131 | &hsotg { |
| 132 | vusb_d-supply = <&ldo15_reg>; |
| 133 | vusb_a-supply = <&ldo12_reg>; |
| 134 | status = "okay"; |
| 135 | }; |
| 136 | |
Inki Dae | b59b3af | 2015-01-12 18:08:37 +0900 | [diff] [blame^] | 137 | &fimd { |
| 138 | status = "okay"; |
| 139 | |
| 140 | i80-if-timings { |
| 141 | cs-setup = <0>; |
| 142 | wr-setup = <0>; |
| 143 | wr-act = <1>; |
| 144 | wr-hold = <0>; |
| 145 | }; |
| 146 | }; |
| 147 | |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 148 | &i2c_0 { |
| 149 | #address-cells = <1>; |
| 150 | #size-cells = <0>; |
| 151 | samsung,i2c-sda-delay = <100>; |
| 152 | samsung,i2c-slave-addr = <0x10>; |
| 153 | samsung,i2c-max-bus-freq = <100000>; |
| 154 | status = "okay"; |
| 155 | |
| 156 | s2mps14_pmic@66 { |
| 157 | compatible = "samsung,s2mps14-pmic"; |
| 158 | interrupt-parent = <&gpx0>; |
| 159 | interrupts = <7 0>; |
| 160 | reg = <0x66>; |
| 161 | wakeup; |
| 162 | |
| 163 | s2mps14_osc: clocks { |
| 164 | compatible = "samsung,s2mps14-clk"; |
| 165 | #clock-cells = <1>; |
| 166 | clock-output-names = "s2mps14_ap", "unused", |
| 167 | "s2mps14_bt"; |
| 168 | }; |
| 169 | |
| 170 | regulators { |
| 171 | ldo1_reg: LDO1 { |
| 172 | regulator-name = "VAP_ALIVE_1.0V"; |
| 173 | regulator-min-microvolt = <1000000>; |
| 174 | regulator-max-microvolt = <1000000>; |
| 175 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 176 | |
| 177 | regulator-state-mem { |
| 178 | regulator-on-in-suspend; |
| 179 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 180 | }; |
| 181 | |
| 182 | ldo2_reg: LDO2 { |
| 183 | regulator-name = "VAP_M1_1.2V"; |
| 184 | regulator-min-microvolt = <1200000>; |
| 185 | regulator-max-microvolt = <1200000>; |
| 186 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 187 | |
| 188 | regulator-state-mem { |
| 189 | regulator-off-in-suspend; |
| 190 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 191 | }; |
| 192 | |
| 193 | ldo3_reg: LDO3 { |
| 194 | regulator-name = "VCC_AP_1.8V"; |
| 195 | regulator-min-microvolt = <1800000>; |
| 196 | regulator-max-microvolt = <1800000>; |
| 197 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 198 | |
| 199 | regulator-state-mem { |
| 200 | regulator-off-in-suspend; |
| 201 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 202 | }; |
| 203 | |
| 204 | ldo4_reg: LDO4 { |
| 205 | regulator-name = "VAP_AVDD_PLL1"; |
| 206 | regulator-min-microvolt = <1800000>; |
| 207 | regulator-max-microvolt = <1800000>; |
| 208 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 209 | |
| 210 | regulator-state-mem { |
| 211 | regulator-off-in-suspend; |
| 212 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 213 | }; |
| 214 | |
| 215 | ldo5_reg: LDO5 { |
| 216 | regulator-name = "VAP_PLL_ISO_1.0V"; |
| 217 | regulator-min-microvolt = <1000000>; |
| 218 | regulator-max-microvolt = <1000000>; |
| 219 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 220 | |
| 221 | regulator-state-mem { |
| 222 | regulator-off-in-suspend; |
| 223 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 224 | }; |
| 225 | |
| 226 | ldo6_reg: LDO6 { |
| 227 | regulator-name = "VAP_VMIPI_1.0V"; |
| 228 | regulator-min-microvolt = <1000000>; |
| 229 | regulator-max-microvolt = <1000000>; |
| 230 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 231 | |
| 232 | regulator-state-mem { |
| 233 | regulator-off-in-suspend; |
| 234 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 235 | }; |
| 236 | |
| 237 | ldo7_reg: LDO7 { |
| 238 | regulator-name = "VAP_AVDD_1.8V"; |
| 239 | regulator-min-microvolt = <1800000>; |
| 240 | regulator-max-microvolt = <1800000>; |
| 241 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 242 | |
| 243 | regulator-state-mem { |
| 244 | regulator-off-in-suspend; |
| 245 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 246 | }; |
| 247 | |
| 248 | ldo8_reg: LDO8 { |
| 249 | regulator-name = "VAP_USB_3.0V"; |
| 250 | regulator-min-microvolt = <3000000>; |
| 251 | regulator-max-microvolt = <3000000>; |
| 252 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 253 | |
| 254 | regulator-state-mem { |
| 255 | regulator-off-in-suspend; |
| 256 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 257 | }; |
| 258 | |
| 259 | ldo9_reg: LDO9 { |
| 260 | regulator-name = "V_LPDDR_1.2V"; |
| 261 | regulator-min-microvolt = <1200000>; |
| 262 | regulator-max-microvolt = <1200000>; |
| 263 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 264 | |
| 265 | regulator-state-mem { |
| 266 | regulator-on-in-suspend; |
| 267 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 268 | }; |
| 269 | |
| 270 | ldo10_reg: LDO10 { |
| 271 | regulator-name = "UNUSED_LDO10"; |
| 272 | regulator-min-microvolt = <1000000>; |
| 273 | regulator-max-microvolt = <1000000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 274 | |
| 275 | regulator-state-mem { |
| 276 | regulator-off-in-suspend; |
| 277 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 278 | }; |
| 279 | |
| 280 | ldo11_reg: LDO11 { |
| 281 | regulator-name = "V_EMMC_1.8V"; |
| 282 | regulator-min-microvolt = <1800000>; |
| 283 | regulator-max-microvolt = <1800000>; |
| 284 | samsung,ext-control-gpios = <&gpk0 2 0>; |
| 285 | }; |
| 286 | |
| 287 | ldo12_reg: LDO12 { |
| 288 | regulator-name = "V_EMMC_2.8V"; |
| 289 | regulator-min-microvolt = <2800000>; |
| 290 | regulator-max-microvolt = <2800000>; |
| 291 | samsung,ext-control-gpios = <&gpk0 2 0>; |
| 292 | }; |
| 293 | |
| 294 | ldo13_reg: LDO13 { |
| 295 | regulator-name = "CAM_AVDD_2.8V"; |
| 296 | regulator-min-microvolt = <2800000>; |
| 297 | regulator-max-microvolt = <2800000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 298 | |
| 299 | regulator-state-mem { |
| 300 | regulator-off-in-suspend; |
| 301 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 302 | }; |
| 303 | |
| 304 | ldo14_reg: LDO14 { |
| 305 | regulator-name = "UNUSED_LDO14"; |
| 306 | regulator-min-microvolt = <2700000>; |
| 307 | regulator-max-microvolt = <2700000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 308 | |
| 309 | regulator-state-mem { |
| 310 | regulator-off-in-suspend; |
| 311 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 312 | }; |
| 313 | |
| 314 | ldo15_reg: LDO15 { |
| 315 | regulator-name = "TSP_AVDD_3.3V"; |
| 316 | regulator-min-microvolt = <3300000>; |
| 317 | regulator-max-microvolt = <3300000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 318 | |
| 319 | regulator-state-mem { |
| 320 | regulator-off-in-suspend; |
| 321 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 322 | }; |
| 323 | |
| 324 | ldo16_reg: LDO16 { |
| 325 | regulator-name = "LCD_VDD_3.3V"; |
| 326 | regulator-min-microvolt = <3300000>; |
| 327 | regulator-max-microvolt = <3300000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 328 | |
| 329 | regulator-state-mem { |
| 330 | regulator-off-in-suspend; |
| 331 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 332 | }; |
| 333 | |
| 334 | ldo17_reg: LDO17 { |
| 335 | regulator-name = "V_IRLED_3.3V"; |
| 336 | regulator-min-microvolt = <3300000>; |
| 337 | regulator-max-microvolt = <3300000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 338 | |
| 339 | regulator-state-mem { |
| 340 | regulator-off-in-suspend; |
| 341 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 342 | }; |
| 343 | |
| 344 | ldo18_reg: LDO18 { |
| 345 | regulator-name = "CAM_AF_2.8V"; |
| 346 | regulator-min-microvolt = <2800000>; |
| 347 | regulator-max-microvolt = <2800000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 348 | |
| 349 | regulator-state-mem { |
| 350 | regulator-off-in-suspend; |
| 351 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 352 | }; |
| 353 | |
| 354 | ldo19_reg: LDO19 { |
| 355 | regulator-name = "TSP_VDD_1.8V"; |
| 356 | regulator-min-microvolt = <1800000>; |
| 357 | regulator-max-microvolt = <1800000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 358 | |
| 359 | regulator-state-mem { |
| 360 | regulator-off-in-suspend; |
| 361 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 362 | }; |
| 363 | |
| 364 | ldo20_reg: LDO20 { |
| 365 | regulator-name = "LCD_VDD_1.8V"; |
| 366 | regulator-min-microvolt = <1800000>; |
| 367 | regulator-max-microvolt = <1800000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 368 | |
| 369 | regulator-state-mem { |
| 370 | regulator-off-in-suspend; |
| 371 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 372 | }; |
| 373 | |
| 374 | ldo21_reg: LDO21 { |
| 375 | regulator-name = "CAM_IO_1.8V"; |
| 376 | regulator-min-microvolt = <1800000>; |
| 377 | regulator-max-microvolt = <1800000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 378 | |
| 379 | regulator-state-mem { |
| 380 | regulator-off-in-suspend; |
| 381 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 382 | }; |
| 383 | |
| 384 | ldo22_reg: LDO22 { |
| 385 | regulator-name = "CAM_DVDD_1.2V"; |
| 386 | regulator-min-microvolt = <1200000>; |
| 387 | regulator-max-microvolt = <1200000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 388 | |
| 389 | regulator-state-mem { |
| 390 | regulator-off-in-suspend; |
| 391 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 392 | }; |
| 393 | |
| 394 | ldo23_reg: LDO23 { |
| 395 | regulator-name = "HRM_VCC_1.8V"; |
| 396 | regulator-min-microvolt = <1800000>; |
| 397 | regulator-max-microvolt = <1800000>; |
| 398 | regulator-always-on; |
| 399 | }; |
| 400 | |
| 401 | ldo24_reg: LDO24 { |
| 402 | regulator-name = "HRM_VCC_3.3V"; |
| 403 | regulator-min-microvolt = <3000000>; |
| 404 | regulator-max-microvolt = <3000000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 405 | |
| 406 | regulator-state-mem { |
| 407 | regulator-off-in-suspend; |
| 408 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 409 | }; |
| 410 | |
| 411 | ldo25_reg: LDO25 { |
| 412 | regulator-name = "UNUSED_LDO25"; |
| 413 | regulator-min-microvolt = <3000000>; |
| 414 | regulator-max-microvolt = <3000000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 415 | |
| 416 | regulator-state-mem { |
| 417 | regulator-off-in-suspend; |
| 418 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 419 | }; |
| 420 | |
| 421 | buck1_reg: BUCK1 { |
| 422 | regulator-name = "VAP_MIF_1.0V"; |
| 423 | regulator-min-microvolt = <800000>; |
| 424 | regulator-max-microvolt = <900000>; |
| 425 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 426 | |
| 427 | regulator-state-mem { |
| 428 | regulator-off-in-suspend; |
| 429 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 430 | }; |
| 431 | |
| 432 | buck2_reg: BUCK2 { |
| 433 | regulator-name = "VAP_ARM_1.0V"; |
| 434 | regulator-min-microvolt = <850000>; |
| 435 | regulator-max-microvolt = <1150000>; |
| 436 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 437 | |
| 438 | regulator-state-mem { |
| 439 | regulator-off-in-suspend; |
| 440 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 441 | }; |
| 442 | |
| 443 | buck3_reg: BUCK3 { |
| 444 | regulator-name = "VAP_INT3D_1.0V"; |
| 445 | regulator-min-microvolt = <850000>; |
| 446 | regulator-max-microvolt = <1000000>; |
| 447 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 448 | |
| 449 | regulator-state-mem { |
| 450 | regulator-off-in-suspend; |
| 451 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 452 | }; |
| 453 | |
| 454 | buck4_reg: BUCK4 { |
| 455 | regulator-name = "VCC_SUB_1.95V"; |
| 456 | regulator-min-microvolt = <1950000>; |
| 457 | regulator-max-microvolt = <1950000>; |
| 458 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 459 | |
| 460 | regulator-state-mem { |
| 461 | regulator-on-in-suspend; |
| 462 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 463 | }; |
| 464 | |
| 465 | buck5_reg: BUCK5 { |
| 466 | regulator-name = "VCC_SUB_1.35V"; |
| 467 | regulator-min-microvolt = <1350000>; |
| 468 | regulator-max-microvolt = <1350000>; |
| 469 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 470 | |
| 471 | regulator-state-mem { |
| 472 | regulator-on-in-suspend; |
| 473 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 474 | }; |
| 475 | }; |
| 476 | }; |
| 477 | }; |
| 478 | |
| 479 | &i2c_1 { |
| 480 | #address-cells = <1>; |
| 481 | #size-cells = <0>; |
| 482 | samsung,i2c-sda-delay = <100>; |
| 483 | samsung,i2c-slave-addr = <0x10>; |
| 484 | samsung,i2c-max-bus-freq = <400000>; |
| 485 | status = "okay"; |
| 486 | |
| 487 | fuelgauge@36 { |
| 488 | compatible = "maxim,max77836-battery"; |
| 489 | interrupt-parent = <&gpx1>; |
| 490 | interrupts = <2 8>; |
| 491 | reg = <0x36>; |
| 492 | }; |
| 493 | }; |
| 494 | |
| 495 | &i2s2 { |
| 496 | status = "okay"; |
| 497 | }; |
| 498 | |
| 499 | &mfc { |
| 500 | status = "okay"; |
| 501 | }; |
| 502 | |
| 503 | &mshc_0 { |
| 504 | #address-cells = <1>; |
| 505 | #size-cells = <0>; |
| 506 | num-slots = <1>; |
| 507 | broken-cd; |
| 508 | non-removable; |
| 509 | cap-mmc-highspeed; |
| 510 | desc-num = <4>; |
| 511 | mmc-hs200-1_8v; |
| 512 | card-detect-delay = <200>; |
| 513 | vmmc-supply = <&ldo12_reg>; |
| 514 | clock-frequency = <100000000>; |
| 515 | clock-freq-min-max = <400000 100000000>; |
| 516 | samsung,dw-mshc-ciu-div = <1>; |
| 517 | samsung,dw-mshc-sdr-timing = <0 1>; |
| 518 | samsung,dw-mshc-ddr-timing = <1 2>; |
| 519 | pinctrl-names = "default"; |
| 520 | pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>; |
| 521 | bus-width = <8>; |
| 522 | status = "okay"; |
| 523 | }; |
| 524 | |
| 525 | &serial_0 { |
| 526 | assigned-clocks = <&cmu CLK_SCLK_UART0>; |
| 527 | assigned-clock-rates = <100000000>; |
| 528 | status = "okay"; |
| 529 | }; |
| 530 | |
| 531 | &serial_1 { |
| 532 | status = "okay"; |
| 533 | }; |
| 534 | |
| 535 | &tmu { |
| 536 | vtmu-supply = <&ldo7_reg>; |
| 537 | status = "okay"; |
| 538 | }; |
| 539 | |
| 540 | &rtc { |
| 541 | clocks = <&cmu CLK_RTC>, <&s2mps14_osc 0>; |
| 542 | clock-names = "rtc", "rtc_src"; |
| 543 | status = "okay"; |
| 544 | }; |
| 545 | |
| 546 | &xusbxti { |
| 547 | clock-frequency = <24000000>; |
| 548 | }; |
Chanwoo Choi | 18073d6 | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 549 | |
| 550 | &pinctrl_0 { |
| 551 | pinctrl-names = "default"; |
| 552 | pinctrl-0 = <&sleep0>; |
| 553 | |
| 554 | sleep0: sleep-state { |
| 555 | PIN_SLP(gpa0-0, INPUT, DOWN); |
| 556 | PIN_SLP(gpa0-1, INPUT, DOWN); |
| 557 | PIN_SLP(gpa0-2, INPUT, DOWN); |
| 558 | PIN_SLP(gpa0-3, INPUT, DOWN); |
| 559 | PIN_SLP(gpa0-4, INPUT, DOWN); |
| 560 | PIN_SLP(gpa0-5, INPUT, DOWN); |
| 561 | PIN_SLP(gpa0-6, INPUT, DOWN); |
| 562 | PIN_SLP(gpa0-7, INPUT, DOWN); |
| 563 | |
| 564 | PIN_SLP(gpa1-0, INPUT, DOWN); |
| 565 | PIN_SLP(gpa1-1, INPUT, DOWN); |
| 566 | PIN_SLP(gpa1-2, INPUT, DOWN); |
| 567 | PIN_SLP(gpa1-3, INPUT, DOWN); |
| 568 | PIN_SLP(gpa1-4, INPUT, DOWN); |
| 569 | PIN_SLP(gpa1-5, INPUT, DOWN); |
| 570 | |
| 571 | PIN_SLP(gpb-0, PREV, NONE); |
| 572 | PIN_SLP(gpb-1, PREV, NONE); |
| 573 | PIN_SLP(gpb-2, PREV, NONE); |
| 574 | PIN_SLP(gpb-3, PREV, NONE); |
| 575 | PIN_SLP(gpb-4, INPUT, DOWN); |
| 576 | PIN_SLP(gpb-5, INPUT, DOWN); |
| 577 | PIN_SLP(gpb-6, INPUT, DOWN); |
| 578 | PIN_SLP(gpb-7, INPUT, DOWN); |
| 579 | |
| 580 | PIN_SLP(gpc0-0, INPUT, DOWN); |
| 581 | PIN_SLP(gpc0-1, INPUT, DOWN); |
| 582 | PIN_SLP(gpc0-2, INPUT, DOWN); |
| 583 | PIN_SLP(gpc0-3, INPUT, DOWN); |
| 584 | PIN_SLP(gpc0-4, INPUT, DOWN); |
| 585 | |
| 586 | PIN_SLP(gpc1-0, INPUT, DOWN); |
| 587 | PIN_SLP(gpc1-1, INPUT, DOWN); |
| 588 | PIN_SLP(gpc1-2, INPUT, DOWN); |
| 589 | PIN_SLP(gpc1-3, INPUT, DOWN); |
| 590 | PIN_SLP(gpc1-4, INPUT, DOWN); |
| 591 | |
| 592 | PIN_SLP(gpd0-0, INPUT, DOWN); |
| 593 | PIN_SLP(gpd0-1, INPUT, DOWN); |
| 594 | PIN_SLP(gpd0-2, INPUT, NONE); |
| 595 | PIN_SLP(gpd0-3, INPUT, NONE); |
| 596 | |
| 597 | PIN_SLP(gpd1-0, INPUT, NONE); |
| 598 | PIN_SLP(gpd1-1, INPUT, NONE); |
| 599 | PIN_SLP(gpd1-2, INPUT, NONE); |
| 600 | PIN_SLP(gpd1-3, INPUT, NONE); |
| 601 | }; |
| 602 | }; |
| 603 | |
| 604 | &pinctrl_1 { |
| 605 | pinctrl-names = "default"; |
| 606 | pinctrl-0 = <&sleep1>; |
| 607 | |
| 608 | sleep1: sleep-state { |
| 609 | PIN_SLP(gpe0-0, PREV, NONE); |
| 610 | PIN_SLP(gpe0-1, PREV, NONE); |
| 611 | PIN_SLP(gpe0-2, INPUT, DOWN); |
| 612 | PIN_SLP(gpe0-3, INPUT, UP); |
| 613 | PIN_SLP(gpe0-4, INPUT, DOWN); |
| 614 | PIN_SLP(gpe0-5, INPUT, DOWN); |
| 615 | PIN_SLP(gpe0-6, INPUT, DOWN); |
| 616 | PIN_SLP(gpe0-7, INPUT, DOWN); |
| 617 | |
| 618 | PIN_SLP(gpe1-0, INPUT, DOWN); |
| 619 | PIN_SLP(gpe1-1, PREV, NONE); |
| 620 | PIN_SLP(gpe1-2, INPUT, DOWN); |
| 621 | PIN_SLP(gpe1-3, INPUT, DOWN); |
| 622 | PIN_SLP(gpe1-4, INPUT, DOWN); |
| 623 | PIN_SLP(gpe1-5, INPUT, DOWN); |
| 624 | PIN_SLP(gpe1-6, INPUT, DOWN); |
| 625 | PIN_SLP(gpe1-7, INPUT, NONE); |
| 626 | |
| 627 | PIN_SLP(gpe2-0, INPUT, NONE); |
| 628 | PIN_SLP(gpe2-1, INPUT, NONE); |
| 629 | PIN_SLP(gpe2-2, INPUT, NONE); |
| 630 | |
| 631 | PIN_SLP(gpk0-0, INPUT, DOWN); |
| 632 | PIN_SLP(gpk0-1, INPUT, DOWN); |
| 633 | PIN_SLP(gpk0-2, OUT0, NONE); |
| 634 | PIN_SLP(gpk0-3, INPUT, DOWN); |
| 635 | PIN_SLP(gpk0-4, INPUT, DOWN); |
| 636 | PIN_SLP(gpk0-5, INPUT, DOWN); |
| 637 | PIN_SLP(gpk0-6, INPUT, DOWN); |
| 638 | PIN_SLP(gpk0-7, INPUT, DOWN); |
| 639 | |
| 640 | PIN_SLP(gpk1-0, INPUT, DOWN); |
| 641 | PIN_SLP(gpk1-1, INPUT, DOWN); |
| 642 | PIN_SLP(gpk1-2, INPUT, DOWN); |
| 643 | PIN_SLP(gpk1-3, INPUT, DOWN); |
| 644 | PIN_SLP(gpk1-4, INPUT, DOWN); |
| 645 | PIN_SLP(gpk1-5, INPUT, DOWN); |
| 646 | PIN_SLP(gpk1-6, INPUT, DOWN); |
| 647 | |
| 648 | PIN_SLP(gpk2-0, INPUT, DOWN); |
| 649 | PIN_SLP(gpk2-1, INPUT, DOWN); |
| 650 | PIN_SLP(gpk2-2, INPUT, DOWN); |
| 651 | PIN_SLP(gpk2-3, INPUT, DOWN); |
| 652 | PIN_SLP(gpk2-4, INPUT, DOWN); |
| 653 | PIN_SLP(gpk2-5, INPUT, DOWN); |
| 654 | PIN_SLP(gpk2-6, INPUT, DOWN); |
| 655 | |
| 656 | PIN_SLP(gpl0-0, INPUT, DOWN); |
| 657 | PIN_SLP(gpl0-1, INPUT, DOWN); |
| 658 | PIN_SLP(gpl0-2, INPUT, DOWN); |
| 659 | PIN_SLP(gpl0-3, INPUT, DOWN); |
| 660 | |
| 661 | PIN_SLP(gpm0-0, INPUT, DOWN); |
| 662 | PIN_SLP(gpm0-1, INPUT, DOWN); |
| 663 | PIN_SLP(gpm0-2, INPUT, DOWN); |
| 664 | PIN_SLP(gpm0-3, INPUT, DOWN); |
| 665 | PIN_SLP(gpm0-4, INPUT, DOWN); |
| 666 | PIN_SLP(gpm0-5, INPUT, DOWN); |
| 667 | PIN_SLP(gpm0-6, INPUT, DOWN); |
| 668 | PIN_SLP(gpm0-7, INPUT, DOWN); |
| 669 | |
| 670 | PIN_SLP(gpm1-0, INPUT, DOWN); |
| 671 | PIN_SLP(gpm1-1, INPUT, DOWN); |
| 672 | PIN_SLP(gpm1-2, INPUT, DOWN); |
| 673 | PIN_SLP(gpm1-3, INPUT, DOWN); |
| 674 | PIN_SLP(gpm1-4, INPUT, DOWN); |
| 675 | PIN_SLP(gpm1-5, INPUT, DOWN); |
| 676 | PIN_SLP(gpm1-6, INPUT, DOWN); |
| 677 | |
| 678 | PIN_SLP(gpm2-0, INPUT, DOWN); |
| 679 | PIN_SLP(gpm2-1, INPUT, DOWN); |
| 680 | PIN_SLP(gpm2-2, INPUT, DOWN); |
| 681 | PIN_SLP(gpm2-3, INPUT, DOWN); |
| 682 | PIN_SLP(gpm2-4, INPUT, DOWN); |
| 683 | |
| 684 | PIN_SLP(gpm3-0, INPUT, DOWN); |
| 685 | PIN_SLP(gpm3-1, INPUT, DOWN); |
| 686 | PIN_SLP(gpm3-2, INPUT, DOWN); |
| 687 | PIN_SLP(gpm3-3, INPUT, DOWN); |
| 688 | PIN_SLP(gpm3-4, INPUT, DOWN); |
| 689 | PIN_SLP(gpm3-5, INPUT, DOWN); |
| 690 | PIN_SLP(gpm3-6, INPUT, DOWN); |
| 691 | PIN_SLP(gpm3-7, INPUT, DOWN); |
| 692 | |
| 693 | PIN_SLP(gpm4-0, INPUT, DOWN); |
| 694 | PIN_SLP(gpm4-1, INPUT, DOWN); |
| 695 | PIN_SLP(gpm4-2, INPUT, DOWN); |
| 696 | PIN_SLP(gpm4-3, INPUT, DOWN); |
| 697 | PIN_SLP(gpm4-4, INPUT, DOWN); |
| 698 | PIN_SLP(gpm4-5, INPUT, DOWN); |
| 699 | PIN_SLP(gpm4-6, INPUT, DOWN); |
| 700 | PIN_SLP(gpm4-7, INPUT, DOWN); |
| 701 | }; |
| 702 | }; |