gl-infra-builder-FUjr/patches-wlan-ap/0018-fix-ax1800-for-i2c-gpio-custom.patch
2022-07-28 20:55:04 +08:00

31 lines
897 B
Diff

From d03b24aaee110b04d7af48f5af383c60141ddcdb Mon Sep 17 00:00:00 2001
From: Dongming Han <handongming@gl-inet.com>
Date: Wed, 27 Jul 2022 21:35:46 +0800
Subject: [PATCH] fix ax1800 for i2c gpio custom
---
.../arm64/boot/dts/qcom/qcom-ipq6018-gl-ax1800.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq6018-gl-ax1800.dts b/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq6018-gl-ax1800.dts
index 9f98ef6d..685cfc68 100644
--- a/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq6018-gl-ax1800.dts
+++ b/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq6018-gl-ax1800.dts
@@ -82,3 +82,13 @@
phy-mode = "sgmii";
};
};
+
+&tlmm {
+ uart_pins: uart_pins {
+ mux_1 {
+ pins = "gpio42", "gpio43"; // i2c
+ function = "gpio";
+ bias-pull-up;
+ };
+ };
+};
--
2.17.1