rockchip64-6.18: mekotronics-r58-4x4: pcie2x1l0 (wifi) and pcie2x1l1 (rtl8169)

- wifi doesn't come up; guess I'll have to add bus-range later
- rtl8169 works
This commit is contained in:
Ricardo Pardini 2025-12-24 01:04:17 +01:00
parent dfcc8cd7b6
commit b0da2145ad

View File

@ -99,6 +99,16 @@
vin-supply = <&vcc12v_dcin>;
};
vcc3v3_pcie2x1l1: vcc3v3-pcie2x1l1{
compatible = "regulator-fixed";
regulator-name = "vcc3v3_pcie2x1l1";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
startup-delay-us = <10000>;
vin-supply = <&vcc12v_dcin>;
};
};
&cpu_b0 {
@ -197,6 +207,27 @@
status = "okay";
};
// wifi BCM43752
&pcie2x1l0 {
reset-gpios = <&gpio1 RK_PB4 GPIO_ACTIVE_HIGH>;
status = "okay";
};
&combphy1_ps { // for &pcie2x1l0 (wifi)
status = "okay";
};
/*for RTL8125B(S)_BG(S)_BI*/
&pcie2x1l1 {
reset-gpios = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>;
vpcie3v3-supply = <&vcc3v3_pcie2x1l1>;
status = "okay";
};
&combphy2_psu { // for &pcie2x1l1 (rtl8125b)
status = "okay";
};
&pinctrl {
vdd_sd {
@ -211,6 +242,12 @@
rockchip,pins = <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
RTL8125B {
RTL8125B_isolate: RTL8125B-isolate {
rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
};
&sdhci {