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