Commit c7985d8c authored by Jonathan Bakker's avatar Jonathan Bakker Committed by Krzysztof Kozlowski

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: default avatarJonathan Bakker <xc-racer2@live.ca>
Signed-off-by: default avatarPaweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 657846f7
...@@ -41,6 +41,13 @@ mfc_right: region@51000000 { ...@@ -41,6 +41,13 @@ mfc_right: region@51000000 {
}; };
}; };
vibrator_pwr: regulator-fixed-0 {
compatible = "regulator-fixed";
regulator-name = "vibrator-en";
enable-active-high;
gpio = <&gpj1 1 GPIO_ACTIVE_HIGH>;
};
wifi_pwrseq: wifi-pwrseq { wifi_pwrseq: wifi-pwrseq {
compatible = "mmc-pwrseq-simple"; compatible = "mmc-pwrseq-simple";
reset-gpios = <&gpg1 2 GPIO_ACTIVE_LOW>; reset-gpios = <&gpg1 2 GPIO_ACTIVE_LOW>;
...@@ -314,6 +321,22 @@ fuelgauge@36 { ...@@ -314,6 +321,22 @@ fuelgauge@36 {
reg = <0x36>; reg = <0x36>;
}; };
}; };
vibrator: pwm-vibrator {
compatible = "pwm-vibrator";
pwms = <&pwm 1 44642 0>;
pwm-names = "enable";
vcc-supply = <&vibrator_pwr>;
pinctrl-names = "default";
pinctrl-0 = <&pwm1_out>;
};
poweroff: syscon-poweroff {
compatible = "syscon-poweroff";
regmap = <&pmu_syscon>;
offset = <0x681c>; /* PS_HOLD_CONTROL */
value = <0x5200>;
};
}; };
&fimd { &fimd {
...@@ -347,6 +370,23 @@ &hsotg { ...@@ -347,6 +370,23 @@ &hsotg {
status = "okay"; status = "okay";
}; };
&i2c2 {
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <400000>;
samsung,i2c-slave-addr = <0x10>;
status = "okay";
touchscreen@4a {
compatible = "atmel,maxtouch";
reg = <0x4a>;
interrupt-parent = <&gpj0>;
interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
pinctrl-names = "default";
pinctrl-0 = <&ts_irq>;
reset-gpios = <&gpj1 3 GPIO_ACTIVE_HIGH>;
};
};
&mfc { &mfc {
memory-region = <&mfc_left>, <&mfc_right>; memory-region = <&mfc_left>, <&mfc_right>;
}; };
...@@ -372,6 +412,13 @@ wifi_host_wake: wifi-host-wake { ...@@ -372,6 +412,13 @@ wifi_host_wake: wifi-host-wake {
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
}; };
bt_host_wake: bt-host-wake {
samsung,pins = "gph2-5";
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <S3C64XX_PIN_PULL_DOWN>;
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
};
tf_detect: tf-detect { tf_detect: tf-detect {
samsung,pins = "gph3-4"; samsung,pins = "gph3-4";
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
...@@ -384,6 +431,17 @@ wifi_wake: wifi-wake { ...@@ -384,6 +431,17 @@ wifi_wake: wifi-wake {
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
}; };
ts_irq: ts-irq {
samsung,pins = "gpj0-5";
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
};
};
&pwm {
samsung,pwm-outputs = <1>;
}; };
&sdhci1 { &sdhci1 {
...@@ -421,6 +479,16 @@ &sdhci2 { ...@@ -421,6 +479,16 @@ &sdhci2 {
&uart0 { &uart0 {
status = "okay"; status = "okay";
bluetooth {
compatible = "brcm,bcm43438-bt";
max-speed = <115200>;
pinctrl-names = "default";
pinctrl-0 = <&uart0_data &uart0_fctl &bt_host_wake>;
shutdown-gpios = <&gpb 3 GPIO_ACTIVE_HIGH>;
device-wakeup-gpios = <&gpg3 4 GPIO_ACTIVE_HIGH>;
host-wakeup-gpios = <&gph2 5 GPIO_ACTIVE_HIGH>;
};
}; };
&uart1 { &uart1 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment