Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1461580 > unrolled thread
| Started by | Sebastian Reichel <sre@kernel.org> |
|---|---|
| First post | 2016-08-13 05:20 +0200 |
| Last post | 2016-08-14 11:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[RFC 7/7] ARM: dts: OMAP3-N950: Add bluetooth Sebastian Reichel <sre@kernel.org> - 2016-08-13 05:20 +0200
Re: [RFC 7/7] ARM: dts: OMAP3-N950: Add bluetooth Pavel Machek <pavel@ucw.cz> - 2016-08-14 11:00 +0200
| From | Sebastian Reichel <sre@kernel.org> |
|---|---|
| Date | 2016-08-13 05:20 +0200 |
| Subject | [RFC 7/7] ARM: dts: OMAP3-N950: Add bluetooth |
| Message-ID | <s5xEm-2xg-19@gated-at.bofh.it> |
---
arch/arm/boot/dts/omap3-n950-n9.dtsi | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-n950-n9.dtsi b/arch/arm/boot/dts/omap3-n950-n9.dtsi
index 927b17fc4ed8..7c0c53e2f679 100644
--- a/arch/arm/boot/dts/omap3-n950-n9.dtsi
+++ b/arch/arm/boot/dts/omap3-n950-n9.dtsi
@@ -58,6 +58,13 @@
pinctrl-0 = <&debug_leds>;
};
};
+
+ /* controlled (enabled/disabled) directly by wl1271 */
+ vctcxo: vctcxo {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <38400000>;
+ };
};
&omap3_pmx_core {
@@ -125,6 +132,16 @@
OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE4) /* gpio_93 (cmt_apeslpx) */
>;
};
+
+ uart2_pins: pinmux_uart2_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT | MUX_MODE0) /* uart2_cts */
+ OMAP3_CORE1_IOPAD(0x2176, PIN_OUTPUT | MUX_MODE0) /* uart2_rts */
+ OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0) /* uart2_tx */
+ OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx */
+ >;
+ };
+
};
&omap3_pmx_core2 {
@@ -435,3 +452,20 @@
&ssi_port2 {
status = "disabled";
};
+
+&uart2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart2_pins>;
+
+ bluetooth {
+ compatible = "nokia,ti,wl1271-bluetooth";
+
+ reset-gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; /* 26 */
+ host-wakeup-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* 101 */
+ bluetooth-wakeup-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* 37 */
+
+ clocks = <&vctcxo>;
+ clock-names = "sysclk";
+ };
+
+};
--
2.8.1
[toc] | [next] | [standalone]
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Date | 2016-08-14 11:00 +0200 |
| Message-ID | <s5ZqX-5AD-47@gated-at.bofh.it> |
| In reply to | #1461580 |
You'll need to sign off the patch.
Acked-by: Pavel Machek <pavel@ucw.cz>
Pavel
On Sat 2016-08-13 05:14:38, Sebastian Reichel wrote:
> ---
> arch/arm/boot/dts/omap3-n950-n9.dtsi | 34 ++++++++++++++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
>
> diff --git a/arch/arm/boot/dts/omap3-n950-n9.dtsi b/arch/arm/boot/dts/omap3-n950-n9.dtsi
> index 927b17fc4ed8..7c0c53e2f679 100644
> --- a/arch/arm/boot/dts/omap3-n950-n9.dtsi
> +++ b/arch/arm/boot/dts/omap3-n950-n9.dtsi
> @@ -58,6 +58,13 @@
> pinctrl-0 = <&debug_leds>;
> };
> };
> +
> + /* controlled (enabled/disabled) directly by wl1271 */
> + vctcxo: vctcxo {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <38400000>;
> + };
> };
>
> &omap3_pmx_core {
> @@ -125,6 +132,16 @@
> OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE4) /* gpio_93 (cmt_apeslpx) */
> >;
> };
> +
> + uart2_pins: pinmux_uart2_pins {
> + pinctrl-single,pins = <
> + OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT | MUX_MODE0) /* uart2_cts */
> + OMAP3_CORE1_IOPAD(0x2176, PIN_OUTPUT | MUX_MODE0) /* uart2_rts */
> + OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0) /* uart2_tx */
> + OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx */
> + >;
> + };
> +
> };
>
> &omap3_pmx_core2 {
> @@ -435,3 +452,20 @@
> &ssi_port2 {
> status = "disabled";
> };
> +
> +&uart2 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&uart2_pins>;
> +
> + bluetooth {
> + compatible = "nokia,ti,wl1271-bluetooth";
> +
> + reset-gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; /* 26 */
> + host-wakeup-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* 101 */
> + bluetooth-wakeup-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* 37 */
> +
> + clocks = <&vctcxo>;
> + clock-names = "sysclk";
> + };
> +
> +};
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web