4 /* Switch Pi3 Bluetooth function to use the mini-UART (ttyS0) and restore
5 UART0/ttyAMA0 over GPIOs 14 & 15. Note that this may reduce the maximum
8 It is also necessary to edit /lib/systemd/system/hciuart.service and
9 replace ttyAMA0 with ttyS0, unless you have a system with udev rules
10 that create /dev/serial0 and /dev/serial1, in which case use /dev/serial1
11 instead because it will always be correct.
13 If cmdline.txt uses the alias serial0 to refer to the user-accessable port
14 then the firmware will replace with the appropriate port whether or not
19 compatible = "brcm,bcm2835";
24 pinctrl-names = "default";
25 pinctrl-0 = <&uart0_pins>;
33 pinctrl-names = "default";
34 pinctrl-0 = <&uart1_pins &bt_pins &fake_bt_cts>;
40 target = <&uart0_pins>;
49 target = <&uart1_pins>;
52 brcm,function = <2>; /* alt5=UART1 */
60 fake_bt_cts: fake_bt_cts {
62 brcm,function = <1>; /* output */
68 target-path = "/aliases";
70 serial0 = "/soc/serial@7e201000";
71 serial1 = "/soc/serial@7e215040";