mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-05 01:46:11 +02:00
airoha: an7581: drop airoha,x2-mode related property and enable in device
Drop airoha,x2-mode related property from the DTSI and enable them only in the relevant devices that use a PCIe0 line. x2-mode should be enabled only for the WiFi card that would use it as it might cause problem for WiFi card that expect 2 single PCIe x1 line instead of a single PCIe x2 line. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
aa06d26879
commit
0bf1870245
@ -356,6 +356,7 @@
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
airoha,x2-mode;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pcie1_rst_pins>;
|
||||
status = "okay";
|
||||
|
||||
@ -252,6 +252,8 @@
|
||||
&pcie0 {
|
||||
status = "okay";
|
||||
|
||||
airoha,x2-mode;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pcie0_rst_pins>;
|
||||
pcie@0,0 {
|
||||
|
||||
@ -728,10 +728,7 @@
|
||||
|
||||
mediatek,pbus-csr = <&pbus_csr 0x0 0x4>;
|
||||
|
||||
airoha,chip-scu = <&chip_scu>;
|
||||
airoha,np-scu = <&scuclk>;
|
||||
airoha,x2-mode;
|
||||
airoha,serdes-lanes-mask = <0x3>;
|
||||
|
||||
interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
|
||||
bus-range = <0x00 0xff>;
|
||||
@ -819,8 +816,6 @@
|
||||
|
||||
mediatek,pbus-csr = <&pbus_csr 0x10 0x14>;
|
||||
|
||||
airoha,chip-scu = <&chip_scu>;
|
||||
airoha,serdes-lanes-mask = <0x4>;
|
||||
airoha,np-scu = <&scuclk>;
|
||||
|
||||
interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user