aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bakker <xc-racer2@live.ca>2019-01-08 11:55:59 -0500
committerKrzysztof Kozlowski <krzk@kernel.org>2019-01-10 14:48:25 -0500
commitc7985d8cb4c28390a95992f20c99e6d2ca0e9126 (patch)
treef16a388c2afeaf27612bbf6dd337fe9af07f89e3
parent657846f75670cb895672e48c61040c7d24d7361e (diff)
ARM: dts: s5pv210: Add support for more devices present on Aries
This commit enables following devices present on Aries based phones: - pwm-vibrator attached to PWM 1 - poweroff support - Atmel maXTouch touchscreen, connected to I2C-2 - Broadcom BCM4329 Bluetooth over UART-0 Signed-off-by: Jonathan Bakker <xc-racer2@live.ca> Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
-rw-r--r--arch/arm/boot/dts/s5pv210-aries.dtsi68
1 files changed, 68 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi b/arch/arm/boot/dts/s5pv210-aries.dtsi
index 89525e56cc7c..8ff70b856334 100644
--- a/arch/arm/boot/dts/s5pv210-aries.dtsi
+++ b/arch/arm/boot/dts/s5pv210-aries.dtsi
@@ -41,6 +41,13 @@
41 }; 41 };
42 }; 42 };
43 43
44 vibrator_pwr: regulator-fixed-0 {
45 compatible = "regulator-fixed";
46 regulator-name = "vibrator-en";
47 enable-active-high;
48 gpio = <&gpj1 1 GPIO_ACTIVE_HIGH>;
49 };
50
44 wifi_pwrseq: wifi-pwrseq { 51 wifi_pwrseq: wifi-pwrseq {
45 compatible = "mmc-pwrseq-simple"; 52 compatible = "mmc-pwrseq-simple";
46 reset-gpios = <&gpg1 2 GPIO_ACTIVE_LOW>; 53 reset-gpios = <&gpg1 2 GPIO_ACTIVE_LOW>;
@@ -314,6 +321,22 @@
314 reg = <0x36>; 321 reg = <0x36>;
315 }; 322 };
316 }; 323 };
324
325 vibrator: pwm-vibrator {
326 compatible = "pwm-vibrator";
327 pwms = <&pwm 1 44642 0>;
328 pwm-names = "enable";
329 vcc-supply = <&vibrator_pwr>;
330 pinctrl-names = "default";
331 pinctrl-0 = <&pwm1_out>;
332 };
333
334 poweroff: syscon-poweroff {
335 compatible = "syscon-poweroff";
336 regmap = <&pmu_syscon>;
337 offset = <0x681c>; /* PS_HOLD_CONTROL */
338 value = <0x5200>;
339 };
317}; 340};
318 341
319&fimd { 342&fimd {
@@ -347,6 +370,23 @@
347 status = "okay"; 370 status = "okay";
348}; 371};
349 372
373&i2c2 {
374 samsung,i2c-sda-delay = <100>;
375 samsung,i2c-max-bus-freq = <400000>;
376 samsung,i2c-slave-addr = <0x10>;
377 status = "okay";
378
379 touchscreen@4a {
380 compatible = "atmel,maxtouch";
381 reg = <0x4a>;
382 interrupt-parent = <&gpj0>;
383 interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
384 pinctrl-names = "default";
385 pinctrl-0 = <&ts_irq>;
386 reset-gpios = <&gpj1 3 GPIO_ACTIVE_HIGH>;
387 };
388};
389
350&mfc { 390&mfc {
351 memory-region = <&mfc_left>, <&mfc_right>; 391 memory-region = <&mfc_left>, <&mfc_right>;
352}; 392};
@@ -372,6 +412,13 @@
372 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 412 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
373 }; 413 };
374 414
415 bt_host_wake: bt-host-wake {
416 samsung,pins = "gph2-5";
417 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
418 samsung,pin-pud = <S3C64XX_PIN_PULL_DOWN>;
419 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
420 };
421
375 tf_detect: tf-detect { 422 tf_detect: tf-detect {
376 samsung,pins = "gph3-4"; 423 samsung,pins = "gph3-4";
377 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 424 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
@@ -384,6 +431,17 @@
384 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 431 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
385 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; 432 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
386 }; 433 };
434
435 ts_irq: ts-irq {
436 samsung,pins = "gpj0-5";
437 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
438 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
439 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
440 };
441};
442
443&pwm {
444 samsung,pwm-outputs = <1>;
387}; 445};
388 446
389&sdhci1 { 447&sdhci1 {
@@ -421,6 +479,16 @@
421 479
422&uart0 { 480&uart0 {
423 status = "okay"; 481 status = "okay";
482
483 bluetooth {
484 compatible = "brcm,bcm43438-bt";
485 max-speed = <115200>;
486 pinctrl-names = "default";
487 pinctrl-0 = <&uart0_data &uart0_fctl &bt_host_wake>;
488 shutdown-gpios = <&gpb 3 GPIO_ACTIVE_HIGH>;
489 device-wakeup-gpios = <&gpg3 4 GPIO_ACTIVE_HIGH>;
490 host-wakeup-gpios = <&gph2 5 GPIO_ACTIVE_HIGH>;
491 };
424}; 492};
425 493
426&uart1 { 494&uart1 {