Commit 3fb7fa49 authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Krzysztof Kozlowski

ARM: dts: exynos: Enable Bluetooth support for Artik5 board

Add a node for the BCM4354 Bluetooth chip on the serial bus #0 on
the Exynos3250-based Artik5 boards.
Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent d644853f
...@@ -352,6 +352,14 @@ &mshc_1 { ...@@ -352,6 +352,14 @@ &mshc_1 {
}; };
&pinctrl_1 { &pinctrl_1 {
bten: bten {
samsung,pins ="gpx1-7";
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>;
samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_DOWN>;
};
wlanen: wlanen { wlanen: wlanen {
samsung,pins = "gpx2-3"; samsung,pins = "gpx2-3";
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
...@@ -364,6 +372,22 @@ s2mps14_irq: s2mps14-irq { ...@@ -364,6 +372,22 @@ s2mps14_irq: s2mps14-irq {
samsung,pins = "gpx3-5"; samsung,pins = "gpx3-5";
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
}; };
bthostwake: bthostwake {
samsung,pins = "gpx3-6";
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-con-pdn = <EXYNOS_PIN_PDN_INPUT>;
samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
};
btwake: btwake {
samsung,pins = "gpx3-7";
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT0>;
samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_DOWN>;
};
}; };
&rtc { &rtc {
...@@ -372,6 +396,23 @@ &rtc { ...@@ -372,6 +396,23 @@ &rtc {
status = "okay"; status = "okay";
}; };
&serial_0 {
assigned-clocks = <&cmu CLK_SCLK_UART0>;
assigned-clock-rates = <100000000>;
status = "okay";
bluetooth {
compatible = "brcm,bcm4330-bt";
pinctrl-names = "default";
pinctrl-0 = <&bten &btwake &bthostwake>;
max-speed = <3000000>;
shutdown-gpios = <&gpx1 7 GPIO_ACTIVE_HIGH>;
device-wakeup-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
host-wakeup-gpios = <&gpx3 6 GPIO_ACTIVE_HIGH>;
clocks = <&s2mps14_osc S2MPS11_CLK_BT>;
};
};
&tmu { &tmu {
status = "okay"; status = "okay";
}; };
......
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