Advertisement
panda84

Bluetooth support for orangepi-zero-plus2

Nov 6th, 2019
668
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. From ff490523dfb5f63c2d34d85918598bf68d1b4d63 Mon Sep 17 00:00:00 2001
  2. From: Diego Rondini <diego.rondini@kynetics.com>
  3. Date: Fri, 27 Jul 2018 10:37:34 +0200
  4. Subject: [PATCH] ARM: dts: sun8i-h3: orangepi-zero-plus2: add Bluetooth
  5. support
  6.  
  7. Enable Bluetooth support for integrated Broadcom 43438 part of Ampak 6212A
  8. module.
  9.  
  10. Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
  11. ---
  12. .../boot/dts/sun8i-h3-orangepi-zero-plus2.dts | 21 +++++++++++++++++++
  13. 1 file changed, 21 insertions(+)
  14.  
  15. diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts
  16. index 03e8f760281b..0e711468a62f 100644
  17. --- a/arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts
  18. +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts
  19. @@ -146,6 +146,27 @@
  20. status = "okay";
  21. };
  22.  
  23. +&uart1 {
  24. + pinctrl-names = "default";
  25. + pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
  26. + uart-has-rtscts;
  27. + status = "okay";
  28. +
  29. + bluetooth {
  30. + compatible = "brcm,bcm43438-bt";
  31. + clocks = <&rtc 1>;
  32. + clock-names = "lpo";
  33. + vbat-supply = <&reg_vcc3v3>;
  34. + vddio-supply = <&reg_vcc3v3>;
  35. + /*vbat-supply = <&reg_dldo1>;
  36. + vddio-supply = <&reg_aldo3>;*/
  37. + shutdown-gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>; /* PA10 */
  38. + device-wakeup-gpios = <&pio 9 2 GPIO_ACTIVE_HIGH>; /* PL2 */
  39. + host-wakeup-gpios = <&pio 0 20 GPIO_ACTIVE_HIGH>; /* PA20 */
  40. + /* max-speed = <2000000>; */
  41. + };
  42. +};
  43. +
  44. &usbphy {
  45. status = "okay";
  46. };
  47. --
  48. 2.21.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement