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