Skip to content

Commit

Permalink
mediatek: filogic: bpi-r3-mini: fix power on M.2 slot
Browse files Browse the repository at this point in the history
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. BPI-SINOVOIP/BPI-R3MINI-OPENWRT-V21.02.3@9bd7877

Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 authored and dangowrt committed Feb 16, 2024
1 parent eebf865 commit 667d109
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3-mini.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand All @@ -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 {
Expand Down Expand Up @@ -534,7 +544,8 @@
&spi1 {
pinctrl-names = "default";
pinctrl-0 = <&spic_pins>;
status = "okay";
/* conflicts with M.2 pin */
status = "disabled";
};

&ssusb {
Expand Down

0 comments on commit 667d109

Please sign in to comment.