“202e5979af4d91c7ca05892641131dee22653259”上不存在“arch/sparc/include/asm/compat.h”
提交 224771c9 编写于 作者: M Marek Vasut 提交者: Alexandre Torgue

ARM: dts: stm32: Enable Bluetooth on AV96

The WiFi/Bluetooth chip is attached to USART2 on AV96 as well, describe
it in DT to make it available. Remove BT LED and turn it into a shutdown
GPIO, because the GPIO line controls the BT_REG_ON signal. The LED is just
an indicator connected to the same line, but not the primary function.
Reviewed-by: NManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: NMarek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: NAlexandre Torgue <alexandre.torgue@st.com>
上级 077e0638
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
mmc0 = &sdmmc1; mmc0 = &sdmmc1;
serial0 = &uart4; serial0 = &uart4;
serial1 = &uart7; serial1 = &uart7;
serial2 = &usart2;
spi0 = &qspi; spi0 = &qspi;
}; };
...@@ -63,13 +64,6 @@ ...@@ -63,13 +64,6 @@
default-state = "off"; default-state = "off";
panic-indicator; panic-indicator;
}; };
led5 {
label = "blue:bt";
gpios = <&gpioz 6 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "bluetooth-power";
default-state = "off";
};
}; };
sd_switch: regulator-sd_switch { sd_switch: regulator-sd_switch {
...@@ -419,3 +413,18 @@ ...@@ -419,3 +413,18 @@
pinctrl-0 = <&uart7_pins_a>; pinctrl-0 = <&uart7_pins_a>;
status = "okay"; status = "okay";
}; };
/* Bluetooth */
&usart2 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&usart2_pins_a>;
pinctrl-1 = <&usart2_sleep_pins_a>;
st,hw-flow-ctrl;
status = "okay";
bluetooth {
compatible = "brcm,bcm43438-bt";
max-speed = <3000000>;
shutdown-gpios = <&gpioz 6 GPIO_ACTIVE_HIGH>;
};
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册