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