Thanks, I don't know how to do that and I'm not a "dts/dtb expert". Is there any guide on how to get this going? (not just bluetooth, als odts/dtb in generally). I'm interested and eager to learn but don't know where to start with this.
Edit:
I have absolutely no idea what I'm doing... But found this out looking at the schematics:
PIN Define CFG
PL10 BT-WIFI-ON 1
PM0 WL-WAKE-AP 0
PM1 BT-WAKE-AP 0
PM2 AP-WAKE-BT 1
PM3 WL-REG-ON 1
PM3 BT-REG-ON 1
I also found out that the schematics are the same as the AP6255.
Edit2:
Also found this topic....
Maybe if I convert DTB to DTS (and back) and add this:
/* There's the BT part of the AP6256 connected to that UART */ &uart1 { pinctrl-names = "default"; pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; uart-has-rtscts; status = "okay"; bluetooth { compatible = "brcm,bcm4345c5"; clocks = <&rtc 1>; clock-names = "lpo"; device-wakeup-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */ host-wakeup-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */ shutdown-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */ max-speed = <1500000>; }; };
And copy https://github.com/orangepi-xunlong/OrangePiH6_external/tree/master/ap6256 to:
/lib/firmware/brcm/(BCM4345C5.hcd)
Am I correct that it will it work then? (I'm using a OPi3)