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