Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Samsung's Exynos4412 based Trats 2 board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * |
| 7 | * Device tree source file for Samsung's Trats 2 board which is based on |
| 8 | * Samsung's Exynos4412 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 "exynos4412.dtsi" |
| 17 | |
| 18 | / { |
| 19 | model = "Samsung Trats 2 based on Exynos4412"; |
Sachin Kamat | 8bdb31b | 2014-03-21 02:17:22 +0900 | [diff] [blame] | 20 | compatible = "samsung,trats2", "samsung,exynos4412", "samsung,exynos4"; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 21 | |
Jacek Anaszewski | 9f1eaef | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 22 | aliases { |
Tomasz Stanislawski | 6af2ba9 | 2014-05-09 05:58:59 +0900 | [diff] [blame] | 23 | i2c9 = &i2c_ak8975; |
Jacek Anaszewski | 9f1eaef | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 24 | }; |
| 25 | |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 26 | memory { |
| 27 | reg = <0x40000000 0x40000000>; |
| 28 | }; |
| 29 | |
| 30 | chosen { |
| 31 | bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; |
| 32 | }; |
| 33 | |
| 34 | firmware@0204F000 { |
| 35 | compatible = "samsung,secure-firmware"; |
| 36 | reg = <0x0204F000 0x1000>; |
| 37 | }; |
| 38 | |
| 39 | fixed-rate-clocks { |
| 40 | xxti { |
| 41 | compatible = "samsung,clock-xxti", "fixed-clock"; |
| 42 | clock-frequency = <0>; |
| 43 | }; |
| 44 | |
| 45 | xusbxti { |
| 46 | compatible = "samsung,clock-xusbxti", "fixed-clock"; |
| 47 | clock-frequency = <24000000>; |
| 48 | }; |
| 49 | }; |
| 50 | |
| 51 | regulators { |
| 52 | compatible = "simple-bus"; |
| 53 | #address-cells = <1>; |
| 54 | #size-cells = <0>; |
| 55 | |
| 56 | vemmc_reg: regulator-0 { |
| 57 | compatible = "regulator-fixed"; |
| 58 | regulator-name = "VMEM_VDD_2.8V"; |
| 59 | regulator-min-microvolt = <2800000>; |
| 60 | regulator-max-microvolt = <2800000>; |
| 61 | gpio = <&gpk0 2 0>; |
| 62 | enable-active-high; |
| 63 | }; |
| 64 | |
Sylwester Nawrocki | b4fec64 | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 65 | cam_io_reg: voltage-regulator-1 { |
| 66 | compatible = "regulator-fixed"; |
| 67 | regulator-name = "CAM_SENSOR_A"; |
| 68 | regulator-min-microvolt = <2800000>; |
| 69 | regulator-max-microvolt = <2800000>; |
| 70 | gpio = <&gpm0 2 0>; |
| 71 | enable-active-high; |
| 72 | }; |
| 73 | |
Andrzej Hajda | 420ae84 | 2014-03-28 12:52:45 +0100 | [diff] [blame] | 74 | lcd_vdd3_reg: voltage-regulator-2 { |
| 75 | compatible = "regulator-fixed"; |
| 76 | regulator-name = "LCD_VDD_2.2V"; |
| 77 | regulator-min-microvolt = <2200000>; |
| 78 | regulator-max-microvolt = <2200000>; |
| 79 | gpio = <&gpc0 1 0>; |
| 80 | enable-active-high; |
| 81 | }; |
| 82 | |
Sylwester Nawrocki | 4cb3786 | 2014-05-09 06:01:40 +0900 | [diff] [blame^] | 83 | cam_af_reg: voltage-regulator-3 { |
| 84 | compatible = "regulator-fixed"; |
| 85 | regulator-name = "CAM_AF"; |
| 86 | regulator-min-microvolt = <2800000>; |
| 87 | regulator-max-microvolt = <2800000>; |
| 88 | gpio = <&gpm0 4 0>; |
| 89 | enable-active-high; |
| 90 | }; |
| 91 | |
| 92 | cam_isp_core_reg: voltage-regulator-4 { |
| 93 | compatible = "regulator-fixed"; |
| 94 | regulator-name = "CAM_ISP_CORE_1.2V_EN"; |
| 95 | regulator-min-microvolt = <1200000>; |
| 96 | regulator-max-microvolt = <1200000>; |
| 97 | gpio = <&gpm0 3 0>; |
| 98 | enable-active-high; |
| 99 | regulator-always-on; |
| 100 | }; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 101 | }; |
| 102 | |
| 103 | gpio-keys { |
| 104 | compatible = "gpio-keys"; |
| 105 | |
| 106 | key-down { |
| 107 | interrupt-parent = <&gpj1>; |
| 108 | interrupts = <2 0>; |
| 109 | gpios = <&gpj1 2 1>; |
| 110 | linux,code = <114>; |
| 111 | label = "volume down"; |
| 112 | debounce-interval = <10>; |
| 113 | }; |
| 114 | |
| 115 | key-up { |
| 116 | interrupt-parent = <&gpj1>; |
| 117 | interrupts = <1 0>; |
| 118 | gpios = <&gpj1 1 1>; |
| 119 | linux,code = <115>; |
| 120 | label = "volume up"; |
| 121 | debounce-interval = <10>; |
| 122 | }; |
| 123 | |
| 124 | key-power { |
| 125 | interrupt-parent = <&gpx2>; |
| 126 | interrupts = <7 0>; |
| 127 | gpios = <&gpx2 7 1>; |
| 128 | linux,code = <116>; |
| 129 | label = "power"; |
| 130 | debounce-interval = <10>; |
| 131 | gpio-key,wakeup; |
| 132 | }; |
| 133 | }; |
| 134 | |
Chanwoo Choi | 4f42378 | 2014-03-18 06:25:59 +0900 | [diff] [blame] | 135 | adc: adc@126C0000 { |
| 136 | vdd-supply = <&ldo3_reg>; |
| 137 | status = "okay"; |
| 138 | }; |
| 139 | |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 140 | i2c@13890000 { |
| 141 | samsung,i2c-sda-delay = <100>; |
| 142 | samsung,i2c-slave-addr = <0x10>; |
| 143 | samsung,i2c-max-bus-freq = <400000>; |
| 144 | pinctrl-0 = <&i2c3_bus>; |
| 145 | pinctrl-names = "default"; |
| 146 | status = "okay"; |
| 147 | |
| 148 | mms114-touchscreen@48 { |
| 149 | compatible = "melfas,mms114"; |
| 150 | reg = <0x48>; |
| 151 | interrupt-parent = <&gpm2>; |
| 152 | interrupts = <3 2>; |
| 153 | x-size = <720>; |
| 154 | y-size = <1280>; |
| 155 | avdd-supply = <&ldo23_reg>; |
| 156 | vdd-supply = <&ldo24_reg>; |
| 157 | }; |
| 158 | }; |
| 159 | |
Sylwester Nawrocki | 4cb3786 | 2014-05-09 06:01:40 +0900 | [diff] [blame^] | 160 | i2c_0: i2c@13860000 { |
| 161 | samsung,i2c-sda-delay = <100>; |
| 162 | samsung,i2c-slave-addr = <0x10>; |
| 163 | samsung,i2c-max-bus-freq = <400000>; |
| 164 | pinctrl-0 = <&i2c0_bus>; |
| 165 | pinctrl-names = "default"; |
| 166 | status = "okay"; |
| 167 | |
| 168 | s5c73m3@3c { |
| 169 | compatible = "samsung,s5c73m3"; |
| 170 | reg = <0x3c>; |
| 171 | standby-gpios = <&gpm0 1 1>; /* ISP_STANDBY */ |
| 172 | xshutdown-gpios = <&gpf1 3 1>; /* ISP_RESET */ |
| 173 | vdd-int-supply = <&buck9_reg>; |
| 174 | vddio-cis-supply = <&ldo9_reg>; |
| 175 | vdda-supply = <&ldo17_reg>; |
| 176 | vddio-host-supply = <&ldo18_reg>; |
| 177 | vdd-af-supply = <&cam_af_reg>; |
| 178 | vdd-reg-supply = <&cam_io_reg>; |
| 179 | clock-frequency = <24000000>; |
| 180 | /* CAM_A_CLKOUT */ |
| 181 | clocks = <&camera 0>; |
| 182 | clock-names = "cis_extclk"; |
| 183 | port { |
| 184 | s5c73m3_ep: endpoint { |
| 185 | remote-endpoint = <&csis0_ep>; |
| 186 | data-lanes = <1 2 3 4>; |
| 187 | }; |
| 188 | }; |
| 189 | }; |
| 190 | }; |
| 191 | |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 192 | i2c@138D0000 { |
| 193 | samsung,i2c-sda-delay = <100>; |
| 194 | samsung,i2c-slave-addr = <0x10>; |
| 195 | samsung,i2c-max-bus-freq = <100000>; |
| 196 | pinctrl-0 = <&i2c7_bus>; |
| 197 | pinctrl-names = "default"; |
| 198 | status = "okay"; |
| 199 | |
| 200 | max77686_pmic@09 { |
| 201 | compatible = "maxim,max77686"; |
| 202 | interrupt-parent = <&gpx0>; |
| 203 | interrupts = <7 0>; |
| 204 | reg = <0x09>; |
Tomasz Figa | ada12c4 | 2013-12-12 17:07:21 +0100 | [diff] [blame] | 205 | #clock-cells = <1>; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 206 | |
| 207 | voltage-regulators { |
| 208 | ldo1_reg: ldo1 { |
| 209 | regulator-compatible = "LDO1"; |
| 210 | regulator-name = "VALIVE_1.0V_AP"; |
| 211 | regulator-min-microvolt = <1000000>; |
| 212 | regulator-max-microvolt = <1000000>; |
| 213 | regulator-always-on; |
| 214 | regulator-mem-on; |
| 215 | }; |
| 216 | |
| 217 | ldo2_reg: ldo2 { |
| 218 | regulator-compatible = "LDO2"; |
| 219 | regulator-name = "VM1M2_1.2V_AP"; |
| 220 | regulator-min-microvolt = <1200000>; |
| 221 | regulator-max-microvolt = <1200000>; |
| 222 | regulator-always-on; |
| 223 | regulator-mem-on; |
| 224 | }; |
| 225 | |
| 226 | ldo3_reg: ldo3 { |
| 227 | regulator-compatible = "LDO3"; |
| 228 | regulator-name = "VCC_1.8V_AP"; |
| 229 | regulator-min-microvolt = <1800000>; |
| 230 | regulator-max-microvolt = <1800000>; |
| 231 | regulator-always-on; |
| 232 | regulator-mem-on; |
| 233 | }; |
| 234 | |
| 235 | ldo4_reg: ldo4 { |
| 236 | regulator-compatible = "LDO4"; |
| 237 | regulator-name = "VCC_2.8V_AP"; |
| 238 | regulator-min-microvolt = <2800000>; |
| 239 | regulator-max-microvolt = <2800000>; |
| 240 | regulator-always-on; |
| 241 | regulator-mem-on; |
| 242 | }; |
| 243 | |
| 244 | ldo5_reg: ldo5 { |
| 245 | regulator-compatible = "LDO5"; |
| 246 | regulator-name = "VCC_1.8V_IO"; |
| 247 | regulator-min-microvolt = <1800000>; |
| 248 | regulator-max-microvolt = <1800000>; |
| 249 | regulator-always-on; |
| 250 | regulator-mem-on; |
| 251 | }; |
| 252 | |
| 253 | ldo6_reg: ldo6 { |
| 254 | regulator-compatible = "LDO6"; |
| 255 | regulator-name = "VMPLL_1.0V_AP"; |
| 256 | regulator-min-microvolt = <1000000>; |
| 257 | regulator-max-microvolt = <1000000>; |
| 258 | regulator-always-on; |
| 259 | regulator-mem-on; |
| 260 | }; |
| 261 | |
| 262 | ldo7_reg: ldo7 { |
| 263 | regulator-compatible = "LDO7"; |
| 264 | regulator-name = "VPLL_1.0V_AP"; |
| 265 | regulator-min-microvolt = <1000000>; |
| 266 | regulator-max-microvolt = <1000000>; |
| 267 | regulator-always-on; |
| 268 | regulator-mem-on; |
| 269 | }; |
| 270 | |
| 271 | ldo8_reg: ldo8 { |
| 272 | regulator-compatible = "LDO8"; |
| 273 | regulator-name = "VMIPI_1.0V"; |
| 274 | regulator-min-microvolt = <1000000>; |
| 275 | regulator-max-microvolt = <1000000>; |
| 276 | regulator-mem-off; |
| 277 | }; |
| 278 | |
| 279 | ldo9_reg: ldo9 { |
| 280 | regulator-compatible = "LDO9"; |
| 281 | regulator-name = "CAM_ISP_MIPI_1.2V"; |
| 282 | regulator-min-microvolt = <1200000>; |
| 283 | regulator-max-microvolt = <1200000>; |
| 284 | regulator-mem-idle; |
| 285 | }; |
| 286 | |
| 287 | ldo10_reg: ldo10 { |
| 288 | regulator-compatible = "LDO10"; |
| 289 | regulator-name = "VMIPI_1.8V"; |
| 290 | regulator-min-microvolt = <1800000>; |
| 291 | regulator-max-microvolt = <1800000>; |
| 292 | regulator-mem-off; |
| 293 | }; |
| 294 | |
| 295 | ldo11_reg: ldo11 { |
| 296 | regulator-compatible = "LDO11"; |
| 297 | regulator-name = "VABB1_1.95V"; |
| 298 | regulator-min-microvolt = <1950000>; |
| 299 | regulator-max-microvolt = <1950000>; |
| 300 | regulator-always-on; |
| 301 | regulator-mem-off; |
| 302 | }; |
| 303 | |
| 304 | ldo12_reg: ldo12 { |
| 305 | regulator-compatible = "LDO12"; |
| 306 | regulator-name = "VUOTG_3.0V"; |
| 307 | regulator-min-microvolt = <3000000>; |
| 308 | regulator-max-microvolt = <3000000>; |
| 309 | regulator-mem-off; |
| 310 | }; |
| 311 | |
| 312 | ldo13_reg: ldo13 { |
| 313 | regulator-compatible = "LDO13"; |
| 314 | regulator-name = "NFC_AVDD_1.8V"; |
| 315 | regulator-min-microvolt = <1800000>; |
| 316 | regulator-max-microvolt = <1800000>; |
| 317 | regulator-mem-idle; |
| 318 | }; |
| 319 | |
| 320 | ldo14_reg: ldo14 { |
| 321 | regulator-compatible = "LDO14"; |
| 322 | regulator-name = "VABB2_1.95V"; |
| 323 | regulator-min-microvolt = <1950000>; |
| 324 | regulator-max-microvolt = <1950000>; |
| 325 | regulator-always-on; |
| 326 | regulator-mem-off; |
| 327 | }; |
| 328 | |
| 329 | ldo15_reg: ldo15 { |
| 330 | regulator-compatible = "LDO15"; |
| 331 | regulator-name = "VHSIC_1.0V"; |
| 332 | regulator-min-microvolt = <1000000>; |
| 333 | regulator-max-microvolt = <1000000>; |
| 334 | regulator-mem-off; |
| 335 | }; |
| 336 | |
| 337 | ldo16_reg: ldo16 { |
| 338 | regulator-compatible = "LDO16"; |
| 339 | regulator-name = "VHSIC_1.8V"; |
| 340 | regulator-min-microvolt = <1800000>; |
| 341 | regulator-max-microvolt = <1800000>; |
| 342 | regulator-mem-off; |
| 343 | }; |
| 344 | |
| 345 | ldo17_reg: ldo17 { |
| 346 | regulator-compatible = "LDO17"; |
| 347 | regulator-name = "CAM_SENSOR_CORE_1.2V"; |
| 348 | regulator-min-microvolt = <1200000>; |
| 349 | regulator-max-microvolt = <1200000>; |
| 350 | regulator-mem-idle; |
| 351 | }; |
| 352 | |
| 353 | ldo18_reg: ldo18 { |
| 354 | regulator-compatible = "LDO18"; |
| 355 | regulator-name = "CAM_ISP_SEN_IO_1.8V"; |
| 356 | regulator-min-microvolt = <1800000>; |
| 357 | regulator-max-microvolt = <1800000>; |
| 358 | regulator-mem-idle; |
| 359 | }; |
| 360 | |
| 361 | ldo19_reg: ldo19 { |
| 362 | regulator-compatible = "LDO19"; |
| 363 | regulator-name = "VT_CAM_1.8V"; |
| 364 | regulator-min-microvolt = <1800000>; |
| 365 | regulator-max-microvolt = <1800000>; |
| 366 | regulator-mem-idle; |
| 367 | }; |
| 368 | |
| 369 | ldo20_reg: ldo20 { |
| 370 | regulator-compatible = "LDO20"; |
| 371 | regulator-name = "VDDQ_PRE_1.8V"; |
| 372 | regulator-min-microvolt = <1800000>; |
| 373 | regulator-max-microvolt = <1800000>; |
| 374 | regulator-mem-idle; |
| 375 | }; |
| 376 | |
| 377 | ldo21_reg: ldo21 { |
| 378 | regulator-compatible = "LDO21"; |
| 379 | regulator-name = "VTF_2.8V"; |
| 380 | regulator-min-microvolt = <2800000>; |
| 381 | regulator-max-microvolt = <2800000>; |
| 382 | regulator-mem-idle; |
| 383 | }; |
| 384 | |
| 385 | ldo22_reg: ldo22 { |
| 386 | regulator-compatible = "LDO22"; |
| 387 | regulator-name = "VMEM_VDD_2.8V"; |
| 388 | regulator-min-microvolt = <2800000>; |
| 389 | regulator-max-microvolt = <2800000>; |
| 390 | regulator-always-on; |
| 391 | regulator-mem-off; |
| 392 | }; |
| 393 | |
| 394 | ldo23_reg: ldo23 { |
| 395 | regulator-compatible = "LDO23"; |
| 396 | regulator-name = "TSP_AVDD_3.3V"; |
| 397 | regulator-min-microvolt = <3300000>; |
| 398 | regulator-max-microvolt = <3300000>; |
| 399 | regulator-mem-idle; |
| 400 | }; |
| 401 | |
| 402 | ldo24_reg: ldo24 { |
| 403 | regulator-compatible = "LDO24"; |
| 404 | regulator-name = "TSP_VDD_1.8V"; |
| 405 | regulator-min-microvolt = <1800000>; |
| 406 | regulator-max-microvolt = <1800000>; |
| 407 | regulator-mem-idle; |
| 408 | }; |
| 409 | |
| 410 | ldo25_reg: ldo25 { |
| 411 | regulator-compatible = "LDO25"; |
| 412 | regulator-name = "LCD_VCC_3.3V"; |
| 413 | regulator-min-microvolt = <2800000>; |
| 414 | regulator-max-microvolt = <2800000>; |
| 415 | regulator-mem-idle; |
| 416 | }; |
| 417 | |
| 418 | ldo26_reg: ldo26 { |
| 419 | regulator-compatible = "LDO26"; |
| 420 | regulator-name = "MOTOR_VCC_3.0V"; |
| 421 | regulator-min-microvolt = <3000000>; |
| 422 | regulator-max-microvolt = <3000000>; |
| 423 | regulator-mem-idle; |
| 424 | }; |
| 425 | |
| 426 | buck1_reg: buck1 { |
| 427 | regulator-compatible = "BUCK1"; |
| 428 | regulator-name = "vdd_mif"; |
| 429 | regulator-min-microvolt = <850000>; |
| 430 | regulator-max-microvolt = <1100000>; |
| 431 | regulator-always-on; |
| 432 | regulator-boot-on; |
| 433 | regulator-mem-off; |
| 434 | }; |
| 435 | |
| 436 | buck2_reg: buck2 { |
| 437 | regulator-compatible = "BUCK2"; |
| 438 | regulator-name = "vdd_arm"; |
| 439 | regulator-min-microvolt = <850000>; |
| 440 | regulator-max-microvolt = <1500000>; |
| 441 | regulator-always-on; |
| 442 | regulator-boot-on; |
| 443 | regulator-mem-off; |
| 444 | }; |
| 445 | |
| 446 | buck3_reg: buck3 { |
| 447 | regulator-compatible = "BUCK3"; |
| 448 | regulator-name = "vdd_int"; |
| 449 | regulator-min-microvolt = <850000>; |
| 450 | regulator-max-microvolt = <1150000>; |
| 451 | regulator-always-on; |
| 452 | regulator-boot-on; |
| 453 | regulator-mem-off; |
| 454 | }; |
| 455 | |
| 456 | buck4_reg: buck4 { |
| 457 | regulator-compatible = "BUCK4"; |
| 458 | regulator-name = "vdd_g3d"; |
| 459 | regulator-min-microvolt = <850000>; |
| 460 | regulator-max-microvolt = <1150000>; |
| 461 | regulator-boot-on; |
| 462 | regulator-mem-off; |
| 463 | }; |
| 464 | |
| 465 | buck5_reg: buck5 { |
| 466 | regulator-compatible = "BUCK5"; |
| 467 | regulator-name = "VMEM_1.2V_AP"; |
| 468 | regulator-min-microvolt = <1200000>; |
| 469 | regulator-max-microvolt = <1200000>; |
| 470 | regulator-always-on; |
| 471 | }; |
| 472 | |
| 473 | buck6_reg: buck6 { |
| 474 | regulator-compatible = "BUCK6"; |
| 475 | regulator-name = "VCC_SUB_1.35V"; |
| 476 | regulator-min-microvolt = <1350000>; |
| 477 | regulator-max-microvolt = <1350000>; |
| 478 | regulator-always-on; |
| 479 | }; |
| 480 | |
| 481 | buck7_reg: buck7 { |
| 482 | regulator-compatible = "BUCK7"; |
| 483 | regulator-name = "VCC_SUB_2.0V"; |
| 484 | regulator-min-microvolt = <2000000>; |
| 485 | regulator-max-microvolt = <2000000>; |
| 486 | regulator-always-on; |
| 487 | }; |
| 488 | |
| 489 | buck8_reg: buck8 { |
| 490 | regulator-compatible = "BUCK8"; |
| 491 | regulator-name = "VMEM_VDDF_3.0V"; |
| 492 | regulator-min-microvolt = <2850000>; |
| 493 | regulator-max-microvolt = <2850000>; |
| 494 | regulator-always-on; |
| 495 | regulator-mem-off; |
| 496 | }; |
| 497 | |
| 498 | buck9_reg: buck9 { |
| 499 | regulator-compatible = "BUCK9"; |
| 500 | regulator-name = "CAM_ISP_CORE_1.2V"; |
| 501 | regulator-min-microvolt = <1000000>; |
| 502 | regulator-max-microvolt = <1200000>; |
| 503 | regulator-mem-off; |
| 504 | }; |
| 505 | }; |
| 506 | }; |
| 507 | }; |
| 508 | |
Tomasz Figa | ca7c11f | 2013-12-21 07:38:19 +0900 | [diff] [blame] | 509 | mmc@12550000 { |
| 510 | num-slots = <1>; |
| 511 | supports-highspeed; |
| 512 | broken-cd; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 513 | non-removable; |
Tomasz Figa | ca7c11f | 2013-12-21 07:38:19 +0900 | [diff] [blame] | 514 | card-detect-delay = <200>; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 515 | vmmc-supply = <&vemmc_reg>; |
Tomasz Figa | ca7c11f | 2013-12-21 07:38:19 +0900 | [diff] [blame] | 516 | clock-frequency = <400000000>; |
| 517 | samsung,dw-mshc-ciu-div = <0>; |
| 518 | samsung,dw-mshc-sdr-timing = <2 3>; |
| 519 | samsung,dw-mshc-ddr-timing = <1 2>; |
| 520 | pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; |
| 521 | pinctrl-names = "default"; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 522 | status = "okay"; |
Tomasz Figa | ca7c11f | 2013-12-21 07:38:19 +0900 | [diff] [blame] | 523 | |
| 524 | slot@0 { |
| 525 | reg = <0>; |
| 526 | bus-width = <8>; |
| 527 | }; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 528 | }; |
| 529 | |
| 530 | serial@13800000 { |
| 531 | status = "okay"; |
| 532 | }; |
| 533 | |
| 534 | serial@13810000 { |
| 535 | status = "okay"; |
| 536 | }; |
| 537 | |
| 538 | serial@13820000 { |
| 539 | status = "okay"; |
| 540 | }; |
| 541 | |
| 542 | serial@13830000 { |
| 543 | status = "okay"; |
| 544 | }; |
Jacek Anaszewski | 9f1eaef | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 545 | |
| 546 | i2c_ak8975: i2c-gpio-0 { |
| 547 | compatible = "i2c-gpio"; |
| 548 | gpios = <&gpy2 4 0>, <&gpy2 5 0>; |
| 549 | i2c-gpio,delay-us = <2>; |
| 550 | #address-cells = <1>; |
| 551 | #size-cells = <0>; |
| 552 | status = "okay"; |
| 553 | |
| 554 | ak8975@0c { |
| 555 | compatible = "ak,ak8975"; |
| 556 | reg = <0x0c>; |
| 557 | gpios = <&gpj0 7 0>; |
| 558 | }; |
| 559 | }; |
Sylwester Nawrocki | b4fec64 | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 560 | |
Andrzej Hajda | 201f126 | 2013-08-06 02:49:45 +0900 | [diff] [blame] | 561 | spi_1: spi@13930000 { |
| 562 | pinctrl-names = "default"; |
| 563 | pinctrl-0 = <&spi1_bus>; |
| 564 | status = "okay"; |
| 565 | |
| 566 | s5c73m3_spi: s5c73m3 { |
| 567 | compatible = "samsung,s5c73m3"; |
| 568 | spi-max-frequency = <50000000>; |
| 569 | reg = <0>; |
| 570 | controller-data { |
| 571 | cs-gpio = <&gpb 5 0>; |
| 572 | samsung,spi-feedback-delay = <2>; |
| 573 | }; |
| 574 | }; |
| 575 | }; |
| 576 | |
Andrzej Hajda | 420ae84 | 2014-03-28 12:52:45 +0100 | [diff] [blame] | 577 | dsi_0: dsi@11C80000 { |
| 578 | vddcore-supply = <&ldo8_reg>; |
| 579 | vddio-supply = <&ldo10_reg>; |
| 580 | samsung,pll-clock-frequency = <24000000>; |
| 581 | status = "okay"; |
| 582 | |
| 583 | ports { |
| 584 | #address-cells = <1>; |
| 585 | #size-cells = <0>; |
| 586 | |
| 587 | port@1 { |
| 588 | reg = <1>; |
| 589 | |
| 590 | dsi_out: endpoint { |
| 591 | remote-endpoint = <&dsi_in>; |
| 592 | samsung,burst-clock-frequency = <500000000>; |
| 593 | samsung,esc-clock-frequency = <20000000>; |
| 594 | }; |
| 595 | }; |
| 596 | }; |
| 597 | |
| 598 | panel@0 { |
| 599 | compatible = "samsung,s6e8aa0"; |
| 600 | reg = <0>; |
| 601 | vdd3-supply = <&lcd_vdd3_reg>; |
| 602 | vci-supply = <&ldo25_reg>; |
| 603 | reset-gpios = <&gpy4 5 0>; |
| 604 | power-on-delay= <50>; |
| 605 | reset-delay = <100>; |
| 606 | init-delay = <100>; |
| 607 | flip-horizontal; |
| 608 | flip-vertical; |
| 609 | panel-width-mm = <58>; |
| 610 | panel-height-mm = <103>; |
| 611 | |
| 612 | display-timings { |
| 613 | timing-0 { |
| 614 | clock-frequency = <0>; |
| 615 | hactive = <720>; |
| 616 | vactive = <1280>; |
| 617 | hfront-porch = <5>; |
| 618 | hback-porch = <5>; |
| 619 | hsync-len = <5>; |
| 620 | vfront-porch = <13>; |
| 621 | vback-porch = <1>; |
| 622 | vsync-len = <2>; |
| 623 | }; |
| 624 | }; |
| 625 | |
| 626 | port { |
| 627 | dsi_in: endpoint { |
| 628 | remote-endpoint = <&dsi_out>; |
| 629 | }; |
| 630 | }; |
| 631 | }; |
| 632 | }; |
| 633 | |
Andrzej Hajda | bbab1e3f | 2014-03-28 12:52:47 +0100 | [diff] [blame] | 634 | fimd@11c00000 { |
| 635 | status = "okay"; |
| 636 | }; |
| 637 | |
Sylwester Nawrocki | 4cb3786 | 2014-05-09 06:01:40 +0900 | [diff] [blame^] | 638 | camera: camera { |
| 639 | pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>; |
Sylwester Nawrocki | b4fec64 | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 640 | pinctrl-names = "default"; |
| 641 | status = "okay"; |
| 642 | |
| 643 | fimc_0: fimc@11800000 { |
| 644 | status = "okay"; |
| 645 | }; |
| 646 | |
| 647 | fimc_1: fimc@11810000 { |
| 648 | status = "okay"; |
| 649 | }; |
| 650 | |
| 651 | fimc_2: fimc@11820000 { |
| 652 | status = "okay"; |
| 653 | }; |
| 654 | |
| 655 | fimc_3: fimc@11830000 { |
| 656 | status = "okay"; |
| 657 | }; |
| 658 | |
Sylwester Nawrocki | 4cb3786 | 2014-05-09 06:01:40 +0900 | [diff] [blame^] | 659 | csis_0: csis@11880000 { |
| 660 | status = "okay"; |
| 661 | vddcore-supply = <&ldo8_reg>; |
| 662 | vddio-supply = <&ldo10_reg>; |
| 663 | clock-frequency = <176000000>; |
| 664 | |
| 665 | /* Camera C (3) MIPI CSI-2 (CSIS0) */ |
| 666 | port@3 { |
| 667 | reg = <3>; |
| 668 | csis0_ep: endpoint { |
| 669 | remote-endpoint = <&s5c73m3_ep>; |
| 670 | data-lanes = <1 2 3 4>; |
| 671 | samsung,csis-hs-settle = <12>; |
| 672 | }; |
| 673 | }; |
| 674 | }; |
| 675 | |
Sylwester Nawrocki | b4fec64 | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 676 | csis_1: csis@11890000 { |
| 677 | vddcore-supply = <&ldo8_reg>; |
| 678 | vddio-supply = <&ldo10_reg>; |
| 679 | clock-frequency = <160000000>; |
| 680 | status = "okay"; |
| 681 | |
| 682 | /* Camera D (4) MIPI CSI-2 (CSIS1) */ |
| 683 | port@4 { |
| 684 | reg = <4>; |
| 685 | csis1_ep: endpoint { |
| 686 | remote-endpoint = <&is_s5k6a3_ep>; |
| 687 | data-lanes = <1>; |
| 688 | samsung,csis-hs-settle = <18>; |
| 689 | samsung,csis-wclk; |
| 690 | }; |
| 691 | }; |
| 692 | }; |
| 693 | |
| 694 | fimc_lite_0: fimc-lite@12390000 { |
| 695 | status = "okay"; |
| 696 | }; |
| 697 | |
| 698 | fimc_lite_1: fimc-lite@123A0000 { |
| 699 | status = "okay"; |
| 700 | }; |
| 701 | |
| 702 | fimc-is@12000000 { |
| 703 | pinctrl-0 = <&fimc_is_uart>; |
| 704 | pinctrl-names = "default"; |
| 705 | status = "okay"; |
| 706 | |
| 707 | i2c1_isp: i2c-isp@12140000 { |
| 708 | pinctrl-0 = <&fimc_is_i2c1>; |
| 709 | pinctrl-names = "default"; |
| 710 | |
| 711 | s5k6a3@10 { |
| 712 | compatible = "samsung,s5k6a3"; |
| 713 | reg = <0x10>; |
| 714 | svdda-supply = <&cam_io_reg>; |
| 715 | svddio-supply = <&ldo19_reg>; |
Sylwester Nawrocki | ee5eda6 | 2014-05-09 06:00:35 +0900 | [diff] [blame] | 716 | afvdd-supply = <&ldo19_reg>; |
Sylwester Nawrocki | b4fec64 | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 717 | clock-frequency = <24000000>; |
| 718 | /* CAM_B_CLKOUT */ |
Sylwester Nawrocki | ee5eda6 | 2014-05-09 06:00:35 +0900 | [diff] [blame] | 719 | clocks = <&camera 1>; |
| 720 | clock-names = "extclk"; |
Sylwester Nawrocki | b4fec64 | 2013-08-06 02:49:44 +0900 | [diff] [blame] | 721 | samsung,camclk-out = <1>; |
| 722 | gpios = <&gpm1 6 0>; |
| 723 | |
| 724 | port { |
| 725 | is_s5k6a3_ep: endpoint { |
| 726 | remote-endpoint = <&csis1_ep>; |
| 727 | data-lanes = <1>; |
| 728 | }; |
| 729 | }; |
| 730 | }; |
| 731 | }; |
| 732 | }; |
| 733 | }; |
Chanwoo Choi | 4f42378 | 2014-03-18 06:25:59 +0900 | [diff] [blame] | 734 | |
| 735 | thermistor-ap@0 { |
| 736 | compatible = "ntc,ncp15wb473"; |
| 737 | pullup-uv = <1800000>; /* VCC_1.8V_AP */ |
| 738 | pullup-ohm = <100000>; /* 100K */ |
| 739 | pulldown-ohm = <100000>; /* 100K */ |
| 740 | io-channels = <&adc 1>; /* AP temperature */ |
| 741 | }; |
| 742 | |
| 743 | thermistor-battery@1 { |
| 744 | compatible = "ntc,ncp15wb473"; |
| 745 | pullup-uv = <1800000>; /* VCC_1.8V_AP */ |
| 746 | pullup-ohm = <100000>; /* 100K */ |
| 747 | pulldown-ohm = <100000>; /* 100K */ |
| 748 | io-channels = <&adc 2>; /* Battery temperature */ |
| 749 | }; |
Tomasz Figa | 15dfdfa | 2013-07-24 13:41:45 +0900 | [diff] [blame] | 750 | }; |