ramips: fix PCIe reset pins for MTC WR1201
This router has two reset pins, GPIO 8 and GPIO 19. We have to configure them correctly to ensure that the wireless NICs work properly. Fixes: https://github.com/openwrt/openwrt/issues/11736 Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/16009 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
27510dc01b
commit
901adc3f2f
@ -166,8 +166,18 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pcie_pins {
|
||||||
|
uart3 {
|
||||||
|
groups = "uart3";
|
||||||
|
function = "gpio";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&pcie {
|
&pcie {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
reset-gpios = <&gpio 8 GPIO_ACTIVE_LOW>,
|
||||||
|
<&gpio 19 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&pcie0 {
|
&pcie0 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user