From: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
This has been tested on the Pixel 3a with USB Cereal board
Depends on
https://lore.kernel.org/all/20260310002606.16413-5-mailingradian@gmail.com/
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi b/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi
index 32dce1cfdf6f..e8bd5f3861e4 100644
--- a/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi
@@ -27,7 +27,9 @@
/delete-node/ &gpu_mem;
/ {
- aliases { };
+ aliases {
+ serial0 = &uart12;
+ };
battery: battery {
compatible = "simple-battery";
@@ -683,6 +685,16 @@ &qupv3_id_1 {
status = "okay";
};
+&qup_uart12_rx {
+ drive-strength = <2>;
+ bias-pull-up;
+};
+
+&qup_uart12_tx {
+ drive-strength = <2>;
+ bias-disable;
+};
+
&sdhc_1 {
supports-cqe;
mmc-hs200-1_8v;
@@ -749,6 +761,10 @@ ts-switch-pins {
};
};
+&uart12 {
+ status = "okay";
+};
+
&usb_1_hsphy {
vdd-supply = <&vreg_l1b_0p925>;
vdda-pll-supply = <&vreg_l10a_1p8>;
--
2.53.0