mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-21 21:58:51 +00:00
Enable UART2 for cubietruck mainline (for bluetooth support)
This commit is contained in:
parent
f1ad65809e
commit
3761622818
1 changed files with 17 additions and 0 deletions
17
patch/kernel/sunxi-next/cubietruck-enable-uart2.patch
Normal file
17
patch/kernel/sunxi-next/cubietruck-enable-uart2.patch
Normal file
|
@ -0,0 +1,17 @@
|
|||
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
|
||||
index 8da939a..490d6cb 100644
|
||||
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
|
||||
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
|
||||
@@ -307,6 +307,12 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
+&uart2 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&uart2_pins_a>;
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
&usb_otg {
|
||||
dr_mode = "otg";
|
||||
status = "okay";
|
Loading…
Add table
Add a link
Reference in a new issue