summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianling Shen2024-02-16 05:37:17 +0000
committerDaniel Golle2024-02-16 13:56:01 +0000
commit667d109d0fc8e3f64c6a47ca9cb40576a486a313 (patch)
treea63b5e2641e149e279232c423d56f017a4d2027d
parenteebf86555722650bddd3424fffc1216ca9df9891 (diff)
mediatek: filogic: bpi-r3-mini: fix power on M.2 slot
One of the pins requiered by M.2 slot is conflict with spi1, however, spi1 seems unused so simply disable it for now, this matches the factory behavior [1]. 1. https://github.com/BPI-SINOVOIP/BPI-R3MINI-OPENWRT-V21.02.3/commit/9bd78779f267a21c04c5bb4d16c32e83aae8d1d3 Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
-rw-r--r--target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3-mini.dts13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3-mini.dts b/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3-mini.dts
index fdf6b8818c..09a557c0cb 100644
--- a/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3-mini.dts
+++ b/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3-mini.dts
@@ -427,6 +427,11 @@
};
usb_ngff_pins: usb-ngff-pins {
+ ngff-gnss-off {
+ pins = "GPIO_6";
+ drive-strength = <8>;
+ mediatek,pull-up-adv = <1>;
+ };
ngff-pe-rst {
pins = "GPIO_7";
drive-strength = <8>;
@@ -447,6 +452,11 @@
drive-strength = <8>;
mediatek,pull-up-adv = <1>;
};
+ ngff-coex {
+ pins = "SPI1_CS";
+ drive-strength = <8>;
+ mediatek,pull-up-adv = <1>;
+ };
};
wf_2g_5g_pins: wf-2g-5g-pins {
@@ -534,7 +544,8 @@
&spi1 {
pinctrl-names = "default";
pinctrl-0 = <&spic_pins>;
- status = "okay";
+ /* conflicts with M.2 pin */
+ status = "disabled";
};
&ssusb {