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:
Christian Marangi 2026-03-30 12:17:50 +02:00
parent aa06d26879
commit 0bf1870245
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
3 changed files with 3 additions and 5 deletions

View File

@ -356,6 +356,7 @@
};
&pcie0 {
airoha,x2-mode;
pinctrl-names = "default";
pinctrl-0 = <&pcie1_rst_pins>;
status = "okay";

View File

@ -252,6 +252,8 @@
&pcie0 {
status = "okay";
airoha,x2-mode;
pinctrl-names = "default";
pinctrl-0 = <&pcie0_rst_pins>;
pcie@0,0 {

View File

@ -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>;