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 | }; |
Jaewon Kim | c0276bc | 2015-01-24 13:13:58 +0900 | [diff] [blame] | 102 | |
| 103 | haptics { |
| 104 | compatible = "regulator-haptic"; |
| 105 | haptic-supply = <&motor_reg>; |
| 106 | min-microvolt = <1100000>; |
| 107 | max-microvolt = <2700000>; |
| 108 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 109 | }; |
| 110 | |
| 111 | &adc { |
| 112 | vdd-supply = <&ldo3_reg>; |
| 113 | status = "okay"; |
| 114 | assigned-clocks = <&cmu CLK_SCLK_TSADC>; |
| 115 | assigned-clock-rates = <6000000>; |
| 116 | |
| 117 | thermistor-ap { |
| 118 | compatible = "ntc,ncp15wb473"; |
| 119 | pullup-uv = <1800000>; |
| 120 | pullup-ohm = <100000>; |
| 121 | pulldown-ohm = <100000>; |
| 122 | io-channels = <&adc 0>; |
| 123 | }; |
| 124 | |
| 125 | thermistor-battery { |
| 126 | compatible = "ntc,ncp15wb473"; |
| 127 | pullup-uv = <1800000>; |
| 128 | pullup-ohm = <100000>; |
| 129 | pulldown-ohm = <100000>; |
| 130 | io-channels = <&adc 1>; |
| 131 | }; |
| 132 | }; |
| 133 | |
Jaewon Kim | cdc3866 | 2015-01-12 17:54:54 +0900 | [diff] [blame] | 134 | &exynos_usbphy { |
| 135 | status = "okay"; |
| 136 | }; |
| 137 | |
| 138 | &hsotg { |
| 139 | vusb_d-supply = <&ldo15_reg>; |
| 140 | vusb_a-supply = <&ldo12_reg>; |
Marek Szyprowski | 32f144f | 2015-01-24 13:12:03 +0900 | [diff] [blame] | 141 | dr_mode = "peripheral"; |
Jaewon Kim | cdc3866 | 2015-01-12 17:54:54 +0900 | [diff] [blame] | 142 | status = "okay"; |
| 143 | }; |
| 144 | |
Inki Dae | 2ea2473 | 2015-01-12 18:10:27 +0900 | [diff] [blame] | 145 | &dsi_0 { |
| 146 | vddcore-supply = <&ldo6_reg>; |
| 147 | vddio-supply = <&ldo6_reg>; |
| 148 | samsung,pll-clock-frequency = <24000000>; |
| 149 | status = "okay"; |
| 150 | |
| 151 | ports { |
| 152 | #address-cells = <1>; |
| 153 | #size-cells = <0>; |
| 154 | |
| 155 | port@1 { |
| 156 | reg = <1>; |
| 157 | |
| 158 | dsi_out: endpoint { |
| 159 | remote-endpoint = <&dsi_in>; |
| 160 | samsung,burst-clock-frequency = <250000000>; |
| 161 | samsung,esc-clock-frequency = <20000000>; |
| 162 | }; |
| 163 | }; |
| 164 | }; |
| 165 | |
| 166 | panel@0 { |
| 167 | compatible = "samsung,s6e63j0x03"; |
| 168 | reg = <0>; |
| 169 | vdd3-supply = <&ldo16_reg>; |
| 170 | vci-supply = <&ldo20_reg>; |
| 171 | reset-gpios = <&gpe0 1 0>; |
| 172 | te-gpios = <&gpx0 6 0>; |
| 173 | power-on-delay= <30>; |
| 174 | power-off-delay= <120>; |
| 175 | reset-delay = <5>; |
| 176 | init-delay = <100>; |
| 177 | flip-horizontal; |
| 178 | flip-vertical; |
| 179 | panel-width-mm = <29>; |
| 180 | panel-height-mm = <29>; |
| 181 | |
| 182 | display-timings { |
| 183 | timing-0 { |
| 184 | clock-frequency = <0>; |
| 185 | hactive = <320>; |
| 186 | vactive = <320>; |
| 187 | hfront-porch = <1>; |
| 188 | hback-porch = <1>; |
| 189 | hsync-len = <1>; |
| 190 | vfront-porch = <150>; |
| 191 | vback-porch = <1>; |
| 192 | vsync-len = <2>; |
| 193 | }; |
| 194 | }; |
| 195 | |
| 196 | port { |
| 197 | dsi_in: endpoint { |
| 198 | remote-endpoint = <&dsi_out>; |
| 199 | }; |
| 200 | }; |
| 201 | }; |
| 202 | }; |
| 203 | |
Inki Dae | b59b3af | 2015-01-12 18:08:37 +0900 | [diff] [blame] | 204 | &fimd { |
| 205 | status = "okay"; |
| 206 | |
| 207 | i80-if-timings { |
| 208 | cs-setup = <0>; |
| 209 | wr-setup = <0>; |
| 210 | wr-act = <1>; |
| 211 | wr-hold = <0>; |
| 212 | }; |
| 213 | }; |
| 214 | |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 215 | &i2c_0 { |
| 216 | #address-cells = <1>; |
| 217 | #size-cells = <0>; |
| 218 | samsung,i2c-sda-delay = <100>; |
| 219 | samsung,i2c-slave-addr = <0x10>; |
| 220 | samsung,i2c-max-bus-freq = <100000>; |
| 221 | status = "okay"; |
| 222 | |
| 223 | s2mps14_pmic@66 { |
| 224 | compatible = "samsung,s2mps14-pmic"; |
| 225 | interrupt-parent = <&gpx0>; |
| 226 | interrupts = <7 0>; |
| 227 | reg = <0x66>; |
| 228 | wakeup; |
| 229 | |
| 230 | s2mps14_osc: clocks { |
| 231 | compatible = "samsung,s2mps14-clk"; |
| 232 | #clock-cells = <1>; |
| 233 | clock-output-names = "s2mps14_ap", "unused", |
| 234 | "s2mps14_bt"; |
| 235 | }; |
| 236 | |
| 237 | regulators { |
| 238 | ldo1_reg: LDO1 { |
| 239 | regulator-name = "VAP_ALIVE_1.0V"; |
| 240 | regulator-min-microvolt = <1000000>; |
| 241 | regulator-max-microvolt = <1000000>; |
| 242 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 243 | |
| 244 | regulator-state-mem { |
| 245 | regulator-on-in-suspend; |
| 246 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 247 | }; |
| 248 | |
| 249 | ldo2_reg: LDO2 { |
| 250 | regulator-name = "VAP_M1_1.2V"; |
| 251 | regulator-min-microvolt = <1200000>; |
| 252 | regulator-max-microvolt = <1200000>; |
| 253 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 254 | |
| 255 | regulator-state-mem { |
| 256 | regulator-off-in-suspend; |
| 257 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 258 | }; |
| 259 | |
| 260 | ldo3_reg: LDO3 { |
| 261 | regulator-name = "VCC_AP_1.8V"; |
| 262 | regulator-min-microvolt = <1800000>; |
| 263 | regulator-max-microvolt = <1800000>; |
| 264 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 265 | |
| 266 | regulator-state-mem { |
| 267 | regulator-off-in-suspend; |
| 268 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 269 | }; |
| 270 | |
| 271 | ldo4_reg: LDO4 { |
| 272 | regulator-name = "VAP_AVDD_PLL1"; |
| 273 | regulator-min-microvolt = <1800000>; |
| 274 | regulator-max-microvolt = <1800000>; |
| 275 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 276 | |
| 277 | regulator-state-mem { |
| 278 | regulator-off-in-suspend; |
| 279 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 280 | }; |
| 281 | |
| 282 | ldo5_reg: LDO5 { |
| 283 | regulator-name = "VAP_PLL_ISO_1.0V"; |
| 284 | regulator-min-microvolt = <1000000>; |
| 285 | regulator-max-microvolt = <1000000>; |
| 286 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 287 | |
| 288 | regulator-state-mem { |
| 289 | regulator-off-in-suspend; |
| 290 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 291 | }; |
| 292 | |
| 293 | ldo6_reg: LDO6 { |
| 294 | regulator-name = "VAP_VMIPI_1.0V"; |
| 295 | regulator-min-microvolt = <1000000>; |
| 296 | regulator-max-microvolt = <1000000>; |
| 297 | regulator-always-on; |
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 | ldo7_reg: LDO7 { |
| 305 | regulator-name = "VAP_AVDD_1.8V"; |
| 306 | regulator-min-microvolt = <1800000>; |
| 307 | regulator-max-microvolt = <1800000>; |
| 308 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 309 | |
| 310 | regulator-state-mem { |
| 311 | regulator-off-in-suspend; |
| 312 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 313 | }; |
| 314 | |
| 315 | ldo8_reg: LDO8 { |
| 316 | regulator-name = "VAP_USB_3.0V"; |
| 317 | regulator-min-microvolt = <3000000>; |
| 318 | regulator-max-microvolt = <3000000>; |
| 319 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 320 | |
| 321 | regulator-state-mem { |
| 322 | regulator-off-in-suspend; |
| 323 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 324 | }; |
| 325 | |
| 326 | ldo9_reg: LDO9 { |
| 327 | regulator-name = "V_LPDDR_1.2V"; |
| 328 | regulator-min-microvolt = <1200000>; |
| 329 | regulator-max-microvolt = <1200000>; |
| 330 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 331 | |
| 332 | regulator-state-mem { |
| 333 | regulator-on-in-suspend; |
| 334 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 335 | }; |
| 336 | |
| 337 | ldo10_reg: LDO10 { |
| 338 | regulator-name = "UNUSED_LDO10"; |
| 339 | regulator-min-microvolt = <1000000>; |
| 340 | regulator-max-microvolt = <1000000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 341 | |
| 342 | regulator-state-mem { |
| 343 | regulator-off-in-suspend; |
| 344 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 345 | }; |
| 346 | |
| 347 | ldo11_reg: LDO11 { |
| 348 | regulator-name = "V_EMMC_1.8V"; |
| 349 | regulator-min-microvolt = <1800000>; |
| 350 | regulator-max-microvolt = <1800000>; |
| 351 | samsung,ext-control-gpios = <&gpk0 2 0>; |
| 352 | }; |
| 353 | |
| 354 | ldo12_reg: LDO12 { |
| 355 | regulator-name = "V_EMMC_2.8V"; |
| 356 | regulator-min-microvolt = <2800000>; |
| 357 | regulator-max-microvolt = <2800000>; |
| 358 | samsung,ext-control-gpios = <&gpk0 2 0>; |
| 359 | }; |
| 360 | |
| 361 | ldo13_reg: LDO13 { |
| 362 | regulator-name = "CAM_AVDD_2.8V"; |
| 363 | regulator-min-microvolt = <2800000>; |
| 364 | regulator-max-microvolt = <2800000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 365 | |
| 366 | regulator-state-mem { |
| 367 | regulator-off-in-suspend; |
| 368 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 369 | }; |
| 370 | |
| 371 | ldo14_reg: LDO14 { |
| 372 | regulator-name = "UNUSED_LDO14"; |
| 373 | regulator-min-microvolt = <2700000>; |
| 374 | regulator-max-microvolt = <2700000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 375 | |
| 376 | regulator-state-mem { |
| 377 | regulator-off-in-suspend; |
| 378 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 379 | }; |
| 380 | |
| 381 | ldo15_reg: LDO15 { |
| 382 | regulator-name = "TSP_AVDD_3.3V"; |
| 383 | regulator-min-microvolt = <3300000>; |
| 384 | regulator-max-microvolt = <3300000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 385 | |
| 386 | regulator-state-mem { |
| 387 | regulator-off-in-suspend; |
| 388 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 389 | }; |
| 390 | |
| 391 | ldo16_reg: LDO16 { |
| 392 | regulator-name = "LCD_VDD_3.3V"; |
| 393 | regulator-min-microvolt = <3300000>; |
| 394 | regulator-max-microvolt = <3300000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 395 | |
| 396 | regulator-state-mem { |
| 397 | regulator-off-in-suspend; |
| 398 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 399 | }; |
| 400 | |
| 401 | ldo17_reg: LDO17 { |
| 402 | regulator-name = "V_IRLED_3.3V"; |
| 403 | regulator-min-microvolt = <3300000>; |
| 404 | regulator-max-microvolt = <3300000>; |
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 | ldo18_reg: LDO18 { |
| 412 | regulator-name = "CAM_AF_2.8V"; |
| 413 | regulator-min-microvolt = <2800000>; |
| 414 | regulator-max-microvolt = <2800000>; |
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 | ldo19_reg: LDO19 { |
| 422 | regulator-name = "TSP_VDD_1.8V"; |
| 423 | regulator-min-microvolt = <1800000>; |
| 424 | regulator-max-microvolt = <1800000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 425 | |
| 426 | regulator-state-mem { |
| 427 | regulator-off-in-suspend; |
| 428 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 429 | }; |
| 430 | |
| 431 | ldo20_reg: LDO20 { |
| 432 | regulator-name = "LCD_VDD_1.8V"; |
| 433 | regulator-min-microvolt = <1800000>; |
| 434 | regulator-max-microvolt = <1800000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 435 | |
| 436 | regulator-state-mem { |
| 437 | regulator-off-in-suspend; |
| 438 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 439 | }; |
| 440 | |
| 441 | ldo21_reg: LDO21 { |
| 442 | regulator-name = "CAM_IO_1.8V"; |
| 443 | regulator-min-microvolt = <1800000>; |
| 444 | regulator-max-microvolt = <1800000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 445 | |
| 446 | regulator-state-mem { |
| 447 | regulator-off-in-suspend; |
| 448 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 449 | }; |
| 450 | |
| 451 | ldo22_reg: LDO22 { |
| 452 | regulator-name = "CAM_DVDD_1.2V"; |
| 453 | regulator-min-microvolt = <1200000>; |
| 454 | regulator-max-microvolt = <1200000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 455 | |
| 456 | regulator-state-mem { |
| 457 | regulator-off-in-suspend; |
| 458 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 459 | }; |
| 460 | |
| 461 | ldo23_reg: LDO23 { |
| 462 | regulator-name = "HRM_VCC_1.8V"; |
| 463 | regulator-min-microvolt = <1800000>; |
| 464 | regulator-max-microvolt = <1800000>; |
| 465 | regulator-always-on; |
| 466 | }; |
| 467 | |
| 468 | ldo24_reg: LDO24 { |
| 469 | regulator-name = "HRM_VCC_3.3V"; |
| 470 | regulator-min-microvolt = <3000000>; |
| 471 | regulator-max-microvolt = <3000000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 472 | |
| 473 | regulator-state-mem { |
| 474 | regulator-off-in-suspend; |
| 475 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 476 | }; |
| 477 | |
| 478 | ldo25_reg: LDO25 { |
| 479 | regulator-name = "UNUSED_LDO25"; |
| 480 | regulator-min-microvolt = <3000000>; |
| 481 | regulator-max-microvolt = <3000000>; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 482 | |
| 483 | regulator-state-mem { |
| 484 | regulator-off-in-suspend; |
| 485 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 486 | }; |
| 487 | |
| 488 | buck1_reg: BUCK1 { |
| 489 | regulator-name = "VAP_MIF_1.0V"; |
| 490 | regulator-min-microvolt = <800000>; |
| 491 | regulator-max-microvolt = <900000>; |
| 492 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 493 | |
| 494 | regulator-state-mem { |
| 495 | regulator-off-in-suspend; |
| 496 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 497 | }; |
| 498 | |
| 499 | buck2_reg: BUCK2 { |
| 500 | regulator-name = "VAP_ARM_1.0V"; |
| 501 | regulator-min-microvolt = <850000>; |
| 502 | regulator-max-microvolt = <1150000>; |
| 503 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 504 | |
| 505 | regulator-state-mem { |
| 506 | regulator-off-in-suspend; |
| 507 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 508 | }; |
| 509 | |
| 510 | buck3_reg: BUCK3 { |
| 511 | regulator-name = "VAP_INT3D_1.0V"; |
| 512 | regulator-min-microvolt = <850000>; |
| 513 | regulator-max-microvolt = <1000000>; |
| 514 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 515 | |
| 516 | regulator-state-mem { |
| 517 | regulator-off-in-suspend; |
| 518 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 519 | }; |
| 520 | |
| 521 | buck4_reg: BUCK4 { |
| 522 | regulator-name = "VCC_SUB_1.95V"; |
| 523 | regulator-min-microvolt = <1950000>; |
| 524 | regulator-max-microvolt = <1950000>; |
| 525 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 526 | |
| 527 | regulator-state-mem { |
| 528 | regulator-on-in-suspend; |
| 529 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 530 | }; |
| 531 | |
| 532 | buck5_reg: BUCK5 { |
| 533 | regulator-name = "VCC_SUB_1.35V"; |
| 534 | regulator-min-microvolt = <1350000>; |
| 535 | regulator-max-microvolt = <1350000>; |
| 536 | regulator-always-on; |
Chanwoo Choi | b9d7fda | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 537 | |
| 538 | regulator-state-mem { |
| 539 | regulator-on-in-suspend; |
| 540 | }; |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 541 | }; |
| 542 | }; |
| 543 | }; |
| 544 | }; |
| 545 | |
| 546 | &i2c_1 { |
| 547 | #address-cells = <1>; |
| 548 | #size-cells = <0>; |
| 549 | samsung,i2c-sda-delay = <100>; |
| 550 | samsung,i2c-slave-addr = <0x10>; |
| 551 | samsung,i2c-max-bus-freq = <400000>; |
| 552 | status = "okay"; |
| 553 | |
| 554 | fuelgauge@36 { |
| 555 | compatible = "maxim,max77836-battery"; |
| 556 | interrupt-parent = <&gpx1>; |
| 557 | interrupts = <2 8>; |
| 558 | reg = <0x36>; |
| 559 | }; |
| 560 | }; |
| 561 | |
| 562 | &i2s2 { |
| 563 | status = "okay"; |
| 564 | }; |
| 565 | |
| 566 | &mfc { |
| 567 | status = "okay"; |
| 568 | }; |
| 569 | |
| 570 | &mshc_0 { |
| 571 | #address-cells = <1>; |
| 572 | #size-cells = <0>; |
| 573 | num-slots = <1>; |
| 574 | broken-cd; |
| 575 | non-removable; |
| 576 | cap-mmc-highspeed; |
| 577 | desc-num = <4>; |
| 578 | mmc-hs200-1_8v; |
| 579 | card-detect-delay = <200>; |
| 580 | vmmc-supply = <&ldo12_reg>; |
| 581 | clock-frequency = <100000000>; |
| 582 | clock-freq-min-max = <400000 100000000>; |
| 583 | samsung,dw-mshc-ciu-div = <1>; |
| 584 | samsung,dw-mshc-sdr-timing = <0 1>; |
| 585 | samsung,dw-mshc-ddr-timing = <1 2>; |
| 586 | pinctrl-names = "default"; |
| 587 | pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>; |
| 588 | bus-width = <8>; |
| 589 | status = "okay"; |
| 590 | }; |
| 591 | |
| 592 | &serial_0 { |
| 593 | assigned-clocks = <&cmu CLK_SCLK_UART0>; |
| 594 | assigned-clock-rates = <100000000>; |
| 595 | status = "okay"; |
| 596 | }; |
| 597 | |
| 598 | &serial_1 { |
| 599 | status = "okay"; |
| 600 | }; |
| 601 | |
| 602 | &tmu { |
| 603 | vtmu-supply = <&ldo7_reg>; |
| 604 | status = "okay"; |
| 605 | }; |
| 606 | |
| 607 | &rtc { |
| 608 | clocks = <&cmu CLK_RTC>, <&s2mps14_osc 0>; |
| 609 | clock-names = "rtc", "rtc_src"; |
| 610 | status = "okay"; |
| 611 | }; |
| 612 | |
Chanwoo Choi | 8d6b9b4 | 2015-02-04 08:10:58 +0900 | [diff] [blame] | 613 | &ppmu_dmc0 { |
| 614 | status = "okay"; |
| 615 | |
| 616 | events { |
| 617 | ppmu_dmc0_3: ppmu-event3-dmc0 { |
| 618 | event-name = "ppmu-event3-dmc0"; |
| 619 | }; |
| 620 | }; |
| 621 | }; |
| 622 | |
| 623 | &ppmu_dmc1 { |
| 624 | status = "okay"; |
| 625 | |
| 626 | events { |
| 627 | ppmu_dmc1_3: ppmu-event3-dmc1 { |
| 628 | event-name = "ppmu-event3-dmc1"; |
| 629 | }; |
| 630 | }; |
| 631 | }; |
| 632 | |
| 633 | &ppmu_leftbus { |
| 634 | status = "okay"; |
| 635 | |
| 636 | events { |
| 637 | ppmu_leftbus_3: ppmu-event3-leftbus { |
| 638 | event-name = "ppmu-event3-leftbus"; |
| 639 | }; |
| 640 | }; |
| 641 | }; |
| 642 | |
| 643 | &ppmu_rightbus { |
| 644 | status = "okay"; |
| 645 | |
| 646 | events { |
| 647 | ppmu_rightbus_3: ppmu-event3-rightbus { |
| 648 | event-name = "ppmu-event3-rightbus"; |
| 649 | }; |
| 650 | }; |
| 651 | }; |
| 652 | |
Chanwoo Choi | faaf348 | 2014-11-07 08:10:12 +0900 | [diff] [blame] | 653 | &xusbxti { |
| 654 | clock-frequency = <24000000>; |
| 655 | }; |
Chanwoo Choi | 18073d6 | 2014-11-07 08:10:13 +0900 | [diff] [blame] | 656 | |
| 657 | &pinctrl_0 { |
| 658 | pinctrl-names = "default"; |
| 659 | pinctrl-0 = <&sleep0>; |
| 660 | |
| 661 | sleep0: sleep-state { |
| 662 | PIN_SLP(gpa0-0, INPUT, DOWN); |
| 663 | PIN_SLP(gpa0-1, INPUT, DOWN); |
| 664 | PIN_SLP(gpa0-2, INPUT, DOWN); |
| 665 | PIN_SLP(gpa0-3, INPUT, DOWN); |
| 666 | PIN_SLP(gpa0-4, INPUT, DOWN); |
| 667 | PIN_SLP(gpa0-5, INPUT, DOWN); |
| 668 | PIN_SLP(gpa0-6, INPUT, DOWN); |
| 669 | PIN_SLP(gpa0-7, INPUT, DOWN); |
| 670 | |
| 671 | PIN_SLP(gpa1-0, INPUT, DOWN); |
| 672 | PIN_SLP(gpa1-1, INPUT, DOWN); |
| 673 | PIN_SLP(gpa1-2, INPUT, DOWN); |
| 674 | PIN_SLP(gpa1-3, INPUT, DOWN); |
| 675 | PIN_SLP(gpa1-4, INPUT, DOWN); |
| 676 | PIN_SLP(gpa1-5, INPUT, DOWN); |
| 677 | |
| 678 | PIN_SLP(gpb-0, PREV, NONE); |
| 679 | PIN_SLP(gpb-1, PREV, NONE); |
| 680 | PIN_SLP(gpb-2, PREV, NONE); |
| 681 | PIN_SLP(gpb-3, PREV, NONE); |
| 682 | PIN_SLP(gpb-4, INPUT, DOWN); |
| 683 | PIN_SLP(gpb-5, INPUT, DOWN); |
| 684 | PIN_SLP(gpb-6, INPUT, DOWN); |
| 685 | PIN_SLP(gpb-7, INPUT, DOWN); |
| 686 | |
| 687 | PIN_SLP(gpc0-0, INPUT, DOWN); |
| 688 | PIN_SLP(gpc0-1, INPUT, DOWN); |
| 689 | PIN_SLP(gpc0-2, INPUT, DOWN); |
| 690 | PIN_SLP(gpc0-3, INPUT, DOWN); |
| 691 | PIN_SLP(gpc0-4, INPUT, DOWN); |
| 692 | |
| 693 | PIN_SLP(gpc1-0, INPUT, DOWN); |
| 694 | PIN_SLP(gpc1-1, INPUT, DOWN); |
| 695 | PIN_SLP(gpc1-2, INPUT, DOWN); |
| 696 | PIN_SLP(gpc1-3, INPUT, DOWN); |
| 697 | PIN_SLP(gpc1-4, INPUT, DOWN); |
| 698 | |
| 699 | PIN_SLP(gpd0-0, INPUT, DOWN); |
| 700 | PIN_SLP(gpd0-1, INPUT, DOWN); |
| 701 | PIN_SLP(gpd0-2, INPUT, NONE); |
| 702 | PIN_SLP(gpd0-3, INPUT, NONE); |
| 703 | |
| 704 | PIN_SLP(gpd1-0, INPUT, NONE); |
| 705 | PIN_SLP(gpd1-1, INPUT, NONE); |
| 706 | PIN_SLP(gpd1-2, INPUT, NONE); |
| 707 | PIN_SLP(gpd1-3, INPUT, NONE); |
| 708 | }; |
| 709 | }; |
| 710 | |
| 711 | &pinctrl_1 { |
| 712 | pinctrl-names = "default"; |
| 713 | pinctrl-0 = <&sleep1>; |
| 714 | |
| 715 | sleep1: sleep-state { |
| 716 | PIN_SLP(gpe0-0, PREV, NONE); |
| 717 | PIN_SLP(gpe0-1, PREV, NONE); |
| 718 | PIN_SLP(gpe0-2, INPUT, DOWN); |
| 719 | PIN_SLP(gpe0-3, INPUT, UP); |
| 720 | PIN_SLP(gpe0-4, INPUT, DOWN); |
| 721 | PIN_SLP(gpe0-5, INPUT, DOWN); |
| 722 | PIN_SLP(gpe0-6, INPUT, DOWN); |
| 723 | PIN_SLP(gpe0-7, INPUT, DOWN); |
| 724 | |
| 725 | PIN_SLP(gpe1-0, INPUT, DOWN); |
| 726 | PIN_SLP(gpe1-1, PREV, NONE); |
| 727 | PIN_SLP(gpe1-2, INPUT, DOWN); |
| 728 | PIN_SLP(gpe1-3, INPUT, DOWN); |
| 729 | PIN_SLP(gpe1-4, INPUT, DOWN); |
| 730 | PIN_SLP(gpe1-5, INPUT, DOWN); |
| 731 | PIN_SLP(gpe1-6, INPUT, DOWN); |
| 732 | PIN_SLP(gpe1-7, INPUT, NONE); |
| 733 | |
| 734 | PIN_SLP(gpe2-0, INPUT, NONE); |
| 735 | PIN_SLP(gpe2-1, INPUT, NONE); |
| 736 | PIN_SLP(gpe2-2, INPUT, NONE); |
| 737 | |
| 738 | PIN_SLP(gpk0-0, INPUT, DOWN); |
| 739 | PIN_SLP(gpk0-1, INPUT, DOWN); |
| 740 | PIN_SLP(gpk0-2, OUT0, NONE); |
| 741 | PIN_SLP(gpk0-3, INPUT, DOWN); |
| 742 | PIN_SLP(gpk0-4, INPUT, DOWN); |
| 743 | PIN_SLP(gpk0-5, INPUT, DOWN); |
| 744 | PIN_SLP(gpk0-6, INPUT, DOWN); |
| 745 | PIN_SLP(gpk0-7, INPUT, DOWN); |
| 746 | |
| 747 | PIN_SLP(gpk1-0, INPUT, DOWN); |
| 748 | PIN_SLP(gpk1-1, INPUT, DOWN); |
| 749 | PIN_SLP(gpk1-2, INPUT, DOWN); |
| 750 | PIN_SLP(gpk1-3, INPUT, DOWN); |
| 751 | PIN_SLP(gpk1-4, INPUT, DOWN); |
| 752 | PIN_SLP(gpk1-5, INPUT, DOWN); |
| 753 | PIN_SLP(gpk1-6, INPUT, DOWN); |
| 754 | |
| 755 | PIN_SLP(gpk2-0, INPUT, DOWN); |
| 756 | PIN_SLP(gpk2-1, INPUT, DOWN); |
| 757 | PIN_SLP(gpk2-2, INPUT, DOWN); |
| 758 | PIN_SLP(gpk2-3, INPUT, DOWN); |
| 759 | PIN_SLP(gpk2-4, INPUT, DOWN); |
| 760 | PIN_SLP(gpk2-5, INPUT, DOWN); |
| 761 | PIN_SLP(gpk2-6, INPUT, DOWN); |
| 762 | |
| 763 | PIN_SLP(gpl0-0, INPUT, DOWN); |
| 764 | PIN_SLP(gpl0-1, INPUT, DOWN); |
| 765 | PIN_SLP(gpl0-2, INPUT, DOWN); |
| 766 | PIN_SLP(gpl0-3, INPUT, DOWN); |
| 767 | |
| 768 | PIN_SLP(gpm0-0, INPUT, DOWN); |
| 769 | PIN_SLP(gpm0-1, INPUT, DOWN); |
| 770 | PIN_SLP(gpm0-2, INPUT, DOWN); |
| 771 | PIN_SLP(gpm0-3, INPUT, DOWN); |
| 772 | PIN_SLP(gpm0-4, INPUT, DOWN); |
| 773 | PIN_SLP(gpm0-5, INPUT, DOWN); |
| 774 | PIN_SLP(gpm0-6, INPUT, DOWN); |
| 775 | PIN_SLP(gpm0-7, INPUT, DOWN); |
| 776 | |
| 777 | PIN_SLP(gpm1-0, INPUT, DOWN); |
| 778 | PIN_SLP(gpm1-1, INPUT, DOWN); |
| 779 | PIN_SLP(gpm1-2, INPUT, DOWN); |
| 780 | PIN_SLP(gpm1-3, INPUT, DOWN); |
| 781 | PIN_SLP(gpm1-4, INPUT, DOWN); |
| 782 | PIN_SLP(gpm1-5, INPUT, DOWN); |
| 783 | PIN_SLP(gpm1-6, INPUT, DOWN); |
| 784 | |
| 785 | PIN_SLP(gpm2-0, INPUT, DOWN); |
| 786 | PIN_SLP(gpm2-1, INPUT, DOWN); |
| 787 | PIN_SLP(gpm2-2, INPUT, DOWN); |
| 788 | PIN_SLP(gpm2-3, INPUT, DOWN); |
| 789 | PIN_SLP(gpm2-4, INPUT, DOWN); |
| 790 | |
| 791 | PIN_SLP(gpm3-0, INPUT, DOWN); |
| 792 | PIN_SLP(gpm3-1, INPUT, DOWN); |
| 793 | PIN_SLP(gpm3-2, INPUT, DOWN); |
| 794 | PIN_SLP(gpm3-3, INPUT, DOWN); |
| 795 | PIN_SLP(gpm3-4, INPUT, DOWN); |
| 796 | PIN_SLP(gpm3-5, INPUT, DOWN); |
| 797 | PIN_SLP(gpm3-6, INPUT, DOWN); |
| 798 | PIN_SLP(gpm3-7, INPUT, DOWN); |
| 799 | |
| 800 | PIN_SLP(gpm4-0, INPUT, DOWN); |
| 801 | PIN_SLP(gpm4-1, INPUT, DOWN); |
| 802 | PIN_SLP(gpm4-2, INPUT, DOWN); |
| 803 | PIN_SLP(gpm4-3, INPUT, DOWN); |
| 804 | PIN_SLP(gpm4-4, INPUT, DOWN); |
| 805 | PIN_SLP(gpm4-5, INPUT, DOWN); |
| 806 | PIN_SLP(gpm4-6, INPUT, DOWN); |
| 807 | PIN_SLP(gpm4-7, INPUT, DOWN); |
| 808 | }; |
| 809 | }; |