| 1 |
// SPDX-License-Identifier: GPL-2.0 |
| 2 |
/* |
| 3 |
* Samsung Galaxy A2 Core (a2corelte) device tree source |
| 4 |
* |
| 5 |
* Copyright (c) 2018 Samsung Electronics Co., Ltd. |
| 6 |
* Copyright (c) 2025 Kaustabh Chakraborty <[email protected]> |
| 7 |
*/ |
| 8 |
|
| 9 |
/dts-v1/; |
| 10 |
#include "exynos7870.dtsi" |
| 11 |
#include <dt-bindings/gpio/gpio.h> |
| 12 |
#include <dt-bindings/input/input.h> |
| 13 |
#include <dt-bindings/interrupt-controller/irq.h> |
| 14 |
|
| 15 |
/ { |
| 16 |
model = "Samsung Galaxy A2 Core"; |
| 17 |
compatible = "samsung,a2corelte", "samsung,exynos7870"; |
| 18 |
chassis-type = "handset"; |
| 19 |
|
| 20 |
aliases { |
| 21 |
mmc0 = &mmc0; |
| 22 |
mmc1 = &mmc1; |
| 23 |
mmc2 = &mmc2; |
| 24 |
serial0 = &serial0; |
| 25 |
serial1 = &serial1; |
| 26 |
serial2 = &serial2; |
| 27 |
}; |
| 28 |
|
| 29 |
chosen { |
| 30 |
stdout-path = &serial2; |
| 31 |
}; |
| 32 |
|
| 33 |
gpio-keys { |
| 34 |
compatible = "gpio-keys"; |
| 35 |
label = "GPIO Keys"; |
| 36 |
|
| 37 |
pinctrl-names = "default"; |
| 38 |
pinctrl-0 = <&key_power &key_voldown &key_volup>; |
| 39 |
|
| 40 |
key-power { |
| 41 |
label = "Power Key"; |
| 42 |
gpios = <&gpa0 0 GPIO_ACTIVE_LOW>; |
| 43 |
linux,code = <KEY_POWER>; |
| 44 |
}; |
| 45 |
|
| 46 |
key-voldown { |
| 47 |
label = "Volume Down Key"; |
| 48 |
gpios = <&gpa2 1 GPIO_ACTIVE_LOW>; |
| 49 |
linux,code = <KEY_VOLUMEDOWN>; |
| 50 |
}; |
| 51 |
|
| 52 |
key-volup { |
| 53 |
label = "Volume Up Key"; |
| 54 |
gpios = <&gpa2 0 GPIO_ACTIVE_LOW>; |
| 55 |
linux,code = <KEY_VOLUMEUP>; |
| 56 |
}; |
| 57 |
}; |
| 58 |
|
| 59 |
memory@40000000 { |
| 60 |
device_type = "memory"; |
| 61 |
reg = <0x0 0x40000000 0x3f200000>; |
| 62 |
}; |
| 63 |
|
| 64 |
pwrseq_mmc1: pwrseq-mmc1 { |
| 65 |
compatible = "mmc-pwrseq-simple"; |
| 66 |
reset-gpios = <&gpd3 6 GPIO_ACTIVE_LOW>; |
| 67 |
}; |
| 68 |
|
| 69 |
/* mmc2: vmmc */ |
| 70 |
vdd_fixed_mmc2: regulator-fixed-mmc2 { |
| 71 |
compatible = "regulator-fixed"; |
| 72 |
regulator-name = "vdd_fixed_mmc2"; |
| 73 |
regulator-max-microvolt = <2800000>; |
| 74 |
regulator-min-microvolt = <2800000>; |
| 75 |
gpio = <&gpc0 0 GPIO_ACTIVE_HIGH>; |
| 76 |
enable-active-high; |
| 77 |
}; |
| 78 |
|
| 79 |
vdd_fixed_proxled: regulator-fixed-proxled { |
| 80 |
compatible = "regulator-fixed"; |
| 81 |
regulator-name = "vdd_fixed_proxled"; |
| 82 |
regulator-boot-on; |
| 83 |
regulator-always-on; |
| 84 |
gpio = <&gpd4 3 GPIO_ACTIVE_HIGH>; |
| 85 |
enable-active-high; |
| 86 |
}; |
| 87 |
|
| 88 |
reserved-memory { |
| 89 |
#address-cells = <2>; |
| 90 |
#size-cells = <1>; |
| 91 |
ranges; |
| 92 |
|
| 93 |
ramoops@46800000 { |
| 94 |
compatible = "ramoops"; |
| 95 |
reg = <0x0 0x46800000 0x8000>; |
| 96 |
console-size = <0x4000>; |
| 97 |
pmsg-size = <0x4000>; |
| 98 |
}; |
| 99 |
|
| 100 |
cont_splash_mem: framebuffer@67000000 { |
| 101 |
reg = <0x0 0x67000000 (540 * 960 * 4)>; |
| 102 |
iommu-addresses = <&decon 0x67000000 (540 * 960 * 4)>; |
| 103 |
no-map; |
| 104 |
}; |
| 105 |
}; |
| 106 |
|
| 107 |
vibrator { |
| 108 |
compatible = "regulator-haptic"; |
| 109 |
haptic-supply = <&vdd_ldo32>; |
| 110 |
min-microvolt = <3300000>; |
| 111 |
max-microvolt = <3300000>; |
| 112 |
}; |
| 113 |
}; |
| 114 |
|
| 115 |
&decon { |
| 116 |
memory-region = <&cont_splash_mem>; |
| 117 |
|
| 118 |
status = "okay"; |
| 119 |
}; |
| 120 |
|
| 121 |
&dsi { |
| 122 |
#address-cells = <1>; |
| 123 |
#size-cells = <0>; |
| 124 |
|
| 125 |
samsung,burst-clock-frequency = <836000000>; |
| 126 |
samsung,esc-clock-frequency = <16000000>; |
| 127 |
samsung,pll-clock-frequency = <26000000>; |
| 128 |
|
| 129 |
status = "okay"; |
| 130 |
|
| 131 |
panel@0 { |
| 132 |
compatible = "syna,td4101-panel"; |
| 133 |
reg = <0>; |
| 134 |
|
| 135 |
backlight-gpios = <&gpd3 7 GPIO_ACTIVE_LOW>; |
| 136 |
|
| 137 |
width-mm = <62>; |
| 138 |
height-mm = <110>; |
| 139 |
|
| 140 |
panel-timing { |
| 141 |
clock-frequency = <69336720>; |
| 142 |
|
| 143 |
hactive = <540>; |
| 144 |
hsync-len = <4>; |
| 145 |
hfront-porch = <364>; |
| 146 |
hback-porch = <40>; |
| 147 |
|
| 148 |
vactive = <960>; |
| 149 |
vsync-len = <2>; |
| 150 |
vfront-porch = <244>; |
| 151 |
vback-porch = <13>; |
| 152 |
}; |
| 153 |
}; |
| 154 |
}; |
| 155 |
|
| 156 |
&gpu { |
| 157 |
status = "okay"; |
| 158 |
}; |
| 159 |
|
| 160 |
&hsi2c0 { |
| 161 |
#address-cells = <1>; |
| 162 |
#size-cells = <0>; |
| 163 |
|
| 164 |
status = "okay"; |
| 165 |
|
| 166 |
pmic@66 { |
| 167 |
compatible = "samsung,s2mpu05-pmic"; |
| 168 |
reg = <0x66>; |
| 169 |
interrupt-parent = <&gpa0>; |
| 170 |
interrupts = <2 IRQ_TYPE_LEVEL_LOW>; |
| 171 |
|
| 172 |
pinctrl-names = "default"; |
| 173 |
pinctrl-0 = <&pmic_irq>; |
| 174 |
|
| 175 |
regulators { |
| 176 |
vdd_buck1: buck1 { |
| 177 |
regulator-name = "vdd_buck1"; |
| 178 |
regulator-min-microvolt = <500000>; |
| 179 |
regulator-max-microvolt = <1300000>; |
| 180 |
regulator-ramp-delay = <12000>; |
| 181 |
regulator-boot-on; |
| 182 |
regulator-always-on; |
| 183 |
}; |
| 184 |
|
| 185 |
vdd_buck2: buck2 { |
| 186 |
regulator-name = "vdd_buck2"; |
| 187 |
regulator-min-microvolt = <500000>; |
| 188 |
regulator-max-microvolt = <1300000>; |
| 189 |
regulator-ramp-delay = <12000>; |
| 190 |
regulator-boot-on; |
| 191 |
regulator-always-on; |
| 192 |
}; |
| 193 |
|
| 194 |
vdd_buck3: buck3 { |
| 195 |
regulator-name = "vdd_buck3"; |
| 196 |
regulator-min-microvolt = <500000>; |
| 197 |
regulator-max-microvolt = <1300000>; |
| 198 |
regulator-ramp-delay = <12000>; |
| 199 |
regulator-boot-on; |
| 200 |
regulator-always-on; |
| 201 |
}; |
| 202 |
|
| 203 |
vdd_buck4: buck4 { |
| 204 |
regulator-name = "vdd_buck4"; |
| 205 |
regulator-min-microvolt = <1200000>; |
| 206 |
regulator-max-microvolt = <1500000>; |
| 207 |
regulator-ramp-delay = <12000>; |
| 208 |
regulator-boot-on; |
| 209 |
regulator-always-on; |
| 210 |
}; |
| 211 |
|
| 212 |
vdd_buck5: buck5 { |
| 213 |
regulator-name = "vdd_buck5"; |
| 214 |
regulator-min-microvolt = <1800000>; |
| 215 |
regulator-max-microvolt = <2100000>; |
| 216 |
regulator-ramp-delay = <12000>; |
| 217 |
regulator-boot-on; |
| 218 |
regulator-always-on; |
| 219 |
}; |
| 220 |
|
| 221 |
vdd_ldo1: ldo1 { |
| 222 |
regulator-name = "vdd_ldo1"; |
| 223 |
regulator-min-microvolt = <650000>; |
| 224 |
regulator-max-microvolt = <1350000>; |
| 225 |
regulator-ramp-delay = <12000>; |
| 226 |
regulator-boot-on; |
| 227 |
regulator-always-on; |
| 228 |
}; |
| 229 |
|
| 230 |
/* mmc2: vqmmc */ |
| 231 |
vdd_ldo2: ldo2 { |
| 232 |
regulator-name = "vdd_ldo2"; |
| 233 |
regulator-min-microvolt = <1800000>; |
| 234 |
regulator-max-microvolt = <2800000>; |
| 235 |
regulator-ramp-delay = <12000>; |
| 236 |
}; |
| 237 |
|
| 238 |
vdd_ldo3: ldo3 { |
| 239 |
regulator-name = "vdd_ldo3"; |
| 240 |
regulator-min-microvolt = <800000>; |
| 241 |
regulator-max-microvolt = <2375000>; |
| 242 |
regulator-ramp-delay = <12000>; |
| 243 |
regulator-boot-on; |
| 244 |
regulator-always-on; |
| 245 |
}; |
| 246 |
|
| 247 |
vdd_ldo4: ldo4 { |
| 248 |
regulator-name = "vdd_ldo4"; |
| 249 |
regulator-min-microvolt = <800000>; |
| 250 |
regulator-max-microvolt = <1350000>; |
| 251 |
regulator-ramp-delay = <12000>; |
| 252 |
regulator-boot-on; |
| 253 |
regulator-always-on; |
| 254 |
}; |
| 255 |
|
| 256 |
vdd_ldo5: ldo5 { |
| 257 |
regulator-name = "vdd_ldo5"; |
| 258 |
regulator-min-microvolt = <800000>; |
| 259 |
regulator-max-microvolt = <1350000>; |
| 260 |
regulator-ramp-delay = <12000>; |
| 261 |
regulator-boot-on; |
| 262 |
regulator-always-on; |
| 263 |
}; |
| 264 |
|
| 265 |
vdd_ldo6: ldo6 { |
| 266 |
regulator-name = "vdd_ldo6"; |
| 267 |
regulator-min-microvolt = <800000>; |
| 268 |
regulator-max-microvolt = <1350000>; |
| 269 |
regulator-ramp-delay = <12000>; |
| 270 |
regulator-boot-on; |
| 271 |
regulator-always-on; |
| 272 |
}; |
| 273 |
|
| 274 |
vdd_ldo7: ldo7 { |
| 275 |
regulator-name = "vdd_ldo7"; |
| 276 |
regulator-min-microvolt = <800000>; |
| 277 |
regulator-max-microvolt = <2375000>; |
| 278 |
regulator-ramp-delay = <12000>; |
| 279 |
regulator-boot-on; |
| 280 |
regulator-always-on; |
| 281 |
}; |
| 282 |
|
| 283 |
/* usbdrd: vdd33 */ |
| 284 |
vdd_ldo8: ldo8 { |
| 285 |
regulator-name = "vdd_ldo8"; |
| 286 |
regulator-min-microvolt = <1800000>; |
| 287 |
regulator-max-microvolt = <3375000>; |
| 288 |
regulator-ramp-delay = <12000>; |
| 289 |
}; |
| 290 |
|
| 291 |
vdd_ldo9: ldo9 { |
| 292 |
regulator-name = "vdd_ldo9"; |
| 293 |
regulator-min-microvolt = <650000>; |
| 294 |
regulator-max-microvolt = <1350000>; |
| 295 |
regulator-ramp-delay = <12000>; |
| 296 |
regulator-boot-on; |
| 297 |
regulator-always-on; |
| 298 |
}; |
| 299 |
|
| 300 |
vdd_ldo10: ldo10 { |
| 301 |
regulator-name = "vdd_ldo10"; |
| 302 |
regulator-min-microvolt = <650000>; |
| 303 |
regulator-max-microvolt = <1350000>; |
| 304 |
regulator-ramp-delay = <12000>; |
| 305 |
regulator-boot-on; |
| 306 |
regulator-always-on; |
| 307 |
}; |
| 308 |
|
| 309 |
vdd_ldo25: ldo25 { |
| 310 |
regulator-name = "vdd_ldo25"; |
| 311 |
regulator-min-microvolt = <800000>; |
| 312 |
regulator-max-microvolt = <2375000>; |
| 313 |
regulator-ramp-delay = <12000>; |
| 314 |
regulator-boot-on; |
| 315 |
regulator-always-on; |
| 316 |
}; |
| 317 |
|
| 318 |
/* mmc0: vmmc */ |
| 319 |
vdd_ldo26: ldo26 { |
| 320 |
regulator-name = "vdd_ldo26"; |
| 321 |
regulator-min-microvolt = <1800000>; |
| 322 |
regulator-max-microvolt = <3375000>; |
| 323 |
regulator-ramp-delay = <12000>; |
| 324 |
}; |
| 325 |
|
| 326 |
/* mmc0: vqmmc */ |
| 327 |
vdd_ldo27: ldo27 { |
| 328 |
regulator-name = "vdd_ldo27"; |
| 329 |
regulator-min-microvolt = <800000>; |
| 330 |
regulator-max-microvolt = <2375000>; |
| 331 |
regulator-ramp-delay = <12000>; |
| 332 |
}; |
| 333 |
|
| 334 |
vdd_ldo29: ldo29 { |
| 335 |
regulator-name = "vdd_ldo29"; |
| 336 |
regulator-min-microvolt = <3300000>; |
| 337 |
regulator-max-microvolt = <3300000>; |
| 338 |
regulator-boot-on; |
| 339 |
regulator-always-on; |
| 340 |
}; |
| 341 |
|
| 342 |
vdd_ldo30: ldo30 { |
| 343 |
regulator-name = "vdd_ldo30"; |
| 344 |
regulator-min-microvolt = <1800000>; |
| 345 |
regulator-max-microvolt = <1800000>; |
| 346 |
regulator-boot-on; |
| 347 |
regulator-always-on; |
| 348 |
}; |
| 349 |
|
| 350 |
vdd_ldo31: ldo31 { |
| 351 |
regulator-name = "vdd_ldo31"; |
| 352 |
regulator-min-microvolt = <2800000>; |
| 353 |
regulator-max-microvolt = <2800000>; |
| 354 |
regulator-ramp-delay = <12000>; |
| 355 |
regulator-boot-on; |
| 356 |
regulator-always-on; |
| 357 |
}; |
| 358 |
|
| 359 |
/* vibrator: haptic */ |
| 360 |
vdd_ldo32: ldo32 { |
| 361 |
regulator-name = "vdd_ldo32"; |
| 362 |
regulator-min-microvolt = <3300000>; |
| 363 |
regulator-max-microvolt = <3300000>; |
| 364 |
regulator-ramp-delay = <12000>; |
| 365 |
}; |
| 366 |
|
| 367 |
vdd_ldo33: ldo33 { |
| 368 |
regulator-name = "vdd_ldo33"; |
| 369 |
regulator-min-microvolt = <1800000>; |
| 370 |
regulator-max-microvolt = <1800000>; |
| 371 |
regulator-ramp-delay = <12000>; |
| 372 |
regulator-boot-on; |
| 373 |
regulator-always-on; |
| 374 |
}; |
| 375 |
|
| 376 |
vdd_ldo34: ldo34 { |
| 377 |
regulator-name = "vdd_ldo34"; |
| 378 |
regulator-min-microvolt = <1800000>; |
| 379 |
regulator-max-microvolt = <1800000>; |
| 380 |
regulator-ramp-delay = <12000>; |
| 381 |
regulator-boot-on; |
| 382 |
regulator-always-on; |
| 383 |
}; |
| 384 |
|
| 385 |
/* touchscreen: vdd */ |
| 386 |
vdd_ldo35: ldo35 { |
| 387 |
regulator-name = "vdd_ldo35"; |
| 388 |
regulator-min-microvolt = <2800000>; |
| 389 |
regulator-max-microvolt = <2800000>; |
| 390 |
regulator-ramp-delay = <12000>; |
| 391 |
}; |
| 392 |
}; |
| 393 |
}; |
| 394 |
}; |
| 395 |
|
| 396 |
&i2c5 { |
| 397 |
#address-cells = <1>; |
| 398 |
#size-cells = <0>; |
| 399 |
|
| 400 |
samsung,i2c-sda-delay = <100>; |
| 401 |
samsung,i2c-max-bus-freq = <400000>; |
| 402 |
|
| 403 |
status = "okay"; |
| 404 |
|
| 405 |
accelerometer@1d { |
| 406 |
compatible = "st,lis2ds12"; |
| 407 |
reg = <0x1d>; |
| 408 |
interrupt-parent = <&gpa2>; |
| 409 |
interrupts = <3 IRQ_TYPE_EDGE_RISING>; |
| 410 |
|
| 411 |
pinctrl-names = "default"; |
| 412 |
pinctrl-0 = <&accel_irq>; |
| 413 |
|
| 414 |
st,drdy-int-pin = <1>; |
| 415 |
}; |
| 416 |
|
| 417 |
proximity@48 { |
| 418 |
compatible = "sensortek,stk3013", "sensortek,stk3310"; |
| 419 |
reg = <0x48>; |
| 420 |
interrupt-parent = <&gpa0>; |
| 421 |
interrupts = <5 IRQ_TYPE_EDGE_BOTH>; |
| 422 |
|
| 423 |
pinctrl-names = "default"; |
| 424 |
pinctrl-0 = <&proxm_irq>; |
| 425 |
|
| 426 |
proximity-near-level = <25>; |
| 427 |
}; |
| 428 |
}; |
| 429 |
|
| 430 |
&i2c6 { |
| 431 |
#address-cells = <1>; |
| 432 |
#size-cells = <0>; |
| 433 |
|
| 434 |
samsung,i2c-sda-delay = <100>; |
| 435 |
samsung,i2c-max-bus-freq = <400000>; |
| 436 |
|
| 437 |
status = "okay"; |
| 438 |
|
| 439 |
touchscreen@4b { |
| 440 |
compatible = "syna,rmi4-i2c"; |
| 441 |
reg = <0x4b>; |
| 442 |
interrupt-parent = <&gpa0>; |
| 443 |
interrupts = <6 IRQ_TYPE_LEVEL_LOW>; |
| 444 |
#address-cells = <1>; |
| 445 |
#size-cells = <0>; |
| 446 |
|
| 447 |
pinctrl-names = "default"; |
| 448 |
pinctrl-0 = <&touch_irq>; |
| 449 |
|
| 450 |
vdd-supply = <&vdd_ldo35>; |
| 451 |
|
| 452 |
syna,reset-delay-ms = <200>; |
| 453 |
syna,startup-delay-ms = <200>; |
| 454 |
|
| 455 |
rmi4-f01@1 { |
| 456 |
reg = <0x01>; |
| 457 |
syna,nosleep-mode = <1>; |
| 458 |
}; |
| 459 |
|
| 460 |
rmi4-f12@12 { |
| 461 |
reg = <0x12>; |
| 462 |
syna,sensor-type = <1>; |
| 463 |
syna,rezero-wait-ms = <200>; |
| 464 |
syna,clip-x-high = <539>; |
| 465 |
syna,clip-y-high = <959>; |
| 466 |
touchscreen-x-mm = <62>; |
| 467 |
touchscreen-y-mm = <110>; |
| 468 |
}; |
| 469 |
}; |
| 470 |
}; |
| 471 |
|
| 472 |
&mmc0 { |
| 473 |
pinctrl-names = "default"; |
| 474 |
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_rdqs &sd0_bus1 &sd0_bus4 &sd0_bus8>; |
| 475 |
|
| 476 |
vmmc-supply = <&vdd_ldo26>; |
| 477 |
vqmmc-supply = <&vdd_ldo27>; |
| 478 |
|
| 479 |
bus-width = <8>; |
| 480 |
fifo-depth = <64>; |
| 481 |
samsung,dw-mshc-ciu-div = <3>; |
| 482 |
samsung,dw-mshc-sdr-timing = <0 4>; |
| 483 |
samsung,dw-mshc-ddr-timing = <2 4>; |
| 484 |
non-removable; |
| 485 |
|
| 486 |
status = "okay"; |
| 487 |
}; |
| 488 |
|
| 489 |
&mmc1 { |
| 490 |
#address-cells = <1>; |
| 491 |
#size-cells = <0>; |
| 492 |
|
| 493 |
pinctrl-names = "default"; |
| 494 |
pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus1 &sd1_bus4>; |
| 495 |
|
| 496 |
mmc-pwrseq = <&pwrseq_mmc1>; |
| 497 |
|
| 498 |
bus-width = <4>; |
| 499 |
fifo-depth = <64>; |
| 500 |
samsung,dw-mshc-ciu-div = <3>; |
| 501 |
samsung,dw-mshc-sdr-timing = <0 3>; |
| 502 |
samsung,dw-mshc-ddr-timing = <1 2>; |
| 503 |
non-removable; |
| 504 |
cap-sd-highspeed; |
| 505 |
cap-sdio-irq; |
| 506 |
|
| 507 |
status = "okay"; |
| 508 |
|
| 509 |
wifi@1 { |
| 510 |
compatible = "brcm,bcm43430a1-fmac", "brcm,bcm4329-fmac"; |
| 511 |
reg = <0x1>; |
| 512 |
interrupt-names = "host-wake"; |
| 513 |
interrupt-parent = <&gpa2>; |
| 514 |
interrupts = <2 IRQ_TYPE_LEVEL_LOW>; |
| 515 |
|
| 516 |
reset-gpios = <&gpd3 6 GPIO_ACTIVE_LOW>; |
| 517 |
}; |
| 518 |
}; |
| 519 |
|
| 520 |
&mmc2 { |
| 521 |
pinctrl-names = "default"; |
| 522 |
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus1 &sd2_bus4 &dwmmc2_irq>; |
| 523 |
|
| 524 |
vmmc-supply = <&vdd_fixed_mmc2>; |
| 525 |
vqmmc-supply = <&vdd_ldo2>; |
| 526 |
|
| 527 |
bus-width = <4>; |
| 528 |
card-detect-delay = <200>; |
| 529 |
fifo-depth = <64>; |
| 530 |
samsung,dw-mshc-ciu-div = <3>; |
| 531 |
samsung,dw-mshc-sdr-timing = <0 3>; |
| 532 |
samsung,dw-mshc-ddr-timing = <1 2>; |
| 533 |
sd-uhs-sdr50; |
| 534 |
sd-uhs-sdr104; |
| 535 |
broken-cd; |
| 536 |
disable-wp; |
| 537 |
|
| 538 |
status = "okay"; |
| 539 |
}; |
| 540 |
|
| 541 |
&oscclk { |
| 542 |
clock-frequency = <26000000>; |
| 543 |
}; |
| 544 |
|
| 545 |
&pinctrl_alive { |
| 546 |
accel_irq: accel-irq-pins { |
| 547 |
samsung,pins = "gpa2-3"; |
| 548 |
samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; |
| 549 |
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 550 |
samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; |
| 551 |
}; |
| 552 |
|
| 553 |
dwmmc2_irq: dwmmc2-irq-pins { |
| 554 |
samsung,pins = "gpa0-1"; |
| 555 |
samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; |
| 556 |
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 557 |
samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; |
| 558 |
}; |
| 559 |
|
| 560 |
fuel_irq: fuel-irq-pins { |
| 561 |
samsung,pins = "gpa0-3"; |
| 562 |
samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; |
| 563 |
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 564 |
samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; |
| 565 |
}; |
| 566 |
|
| 567 |
key_power: key-power-pins { |
| 568 |
samsung,pins = "gpa0-0"; |
| 569 |
samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; |
| 570 |
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 571 |
samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; |
| 572 |
}; |
| 573 |
|
| 574 |
key_voldown: key-voldown-pins { |
| 575 |
samsung,pins = "gpa2-1"; |
| 576 |
samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; |
| 577 |
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 578 |
samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; |
| 579 |
}; |
| 580 |
|
| 581 |
key_volup: key-volup-pins { |
| 582 |
samsung,pins = "gpa2-0"; |
| 583 |
samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; |
| 584 |
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 585 |
samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; |
| 586 |
}; |
| 587 |
|
| 588 |
pmic_irq: pmic-irq-pins { |
| 589 |
samsung,pins = "gpa0-2"; |
| 590 |
samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
| 591 |
samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; |
| 592 |
}; |
| 593 |
|
| 594 |
proxm_irq: proxm-irq-pins { |
| 595 |
samsung,pins = "gpa0-5"; |
| 596 |
samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; |
| 597 |
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 598 |
samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; |
| 599 |
}; |
| 600 |
|
| 601 |
touch_irq: touch-irq-pins { |
| 602 |
samsung,pins = "gpa0-6"; |
| 603 |
samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; |
| 604 |
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 605 |
samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; |
| 606 |
}; |
| 607 |
|
| 608 |
wlan_hostwake: wlan-hostwake-pins { |
| 609 |
samsung,pins = "gpa2-2"; |
| 610 |
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
| 611 |
samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
| 612 |
}; |
| 613 |
}; |
| 614 |
|
| 615 |
&pinctrl_top { |
| 616 |
bt_enable: bt-enable-pins { |
| 617 |
samsung,pins = "gpd4-0"; |
| 618 |
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
| 619 |
samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>; |
| 620 |
samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; |
| 621 |
samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; |
| 622 |
}; |
| 623 |
|
| 624 |
wlan_enable: wlan-enable-pins { |
| 625 |
samsung,pins = "gpd3-6"; |
| 626 |
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
| 627 |
samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>; |
| 628 |
samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; |
| 629 |
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 630 |
samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; |
| 631 |
samsung,pin-val = <0>; |
| 632 |
}; |
| 633 |
}; |
| 634 |
|
| 635 |
&serial1 { |
| 636 |
status = "okay"; |
| 637 |
|
| 638 |
bluetooth { |
| 639 |
compatible = "brcm,bcm43430a1-bt"; |
| 640 |
|
| 641 |
pinctrl-names = "default"; |
| 642 |
pinctrl-0 = <&bt_btwake &bt_hostwake &bt_enable>; |
| 643 |
|
| 644 |
device-wakeup-gpios = <&gpa1 2 GPIO_ACTIVE_HIGH>; |
| 645 |
host-wakeup-gpios = <&gpa1 6 GPIO_ACTIVE_HIGH>; |
| 646 |
shutdown-gpios = <&gpd4 0 GPIO_ACTIVE_HIGH>; |
| 647 |
|
| 648 |
max-speed = <3000000>; |
| 649 |
}; |
| 650 |
}; |
| 651 |
|
| 652 |
&serial2 { |
| 653 |
status = "okay"; |
| 654 |
}; |
| 655 |
|
| 656 |
&usbdrd { |
| 657 |
vdd33-supply = <&vdd_ldo8>; |
| 658 |
|
| 659 |
status = "okay"; |
| 660 |
}; |