File tree Expand file tree Collapse file tree
board/aarch64/bananapi-bpi-r3/dts/mediatek Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,18 @@ https://github.com/openwrt/openwrt/blob/main/target/linux/mediatek/patches-6.12/
2424&secmon_reserved {
2525 reg = <0 0x43000000 0 0x40000>;
2626};
27+ /*
28+ * The T-PHY's pcie-phy sub-node only claims clk40m ("ref") in the SoC
29+ * dtsi. CLK_TOP_PCIE_PHY_SEL ("da_ref") is left unclaimed, so the
30+ * kernel's clk_disable_unused late_initcall gates it — killing the
31+ * PCIe REFCLK output to the endpoint mid-probe. Wire it here so the
32+ * clock stays enabled while the PHY is active.
33+ */
34+ &pcie_port {
35+ clocks = <&clk40m>, <&topckgen CLK_TOP_PCIE_PHY_SEL>;
36+ clock-names = "ref", "da_ref";
37+ };
38+
2739&cpu_thermal {
2840 /delete-node/ trips;
2941 /delete-node/ cooling-maps;
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ define FEATURE_WIFI_LINUX_CONFIG_FIXUPS
1212 $(call KCONFIG_ENABLE_OPT,CONFIG_RFKILL)
1313 $(call KCONFIG_SET_OPT,CONFIG_MAC80211,m)
1414 $(call KCONFIG_SET_OPT,CONFIG_CFG80211,m)
15+ $(call KCONFIG_ENABLE_OPT,CONFIG_MAC80211_MESH)
1516
1617 $(if $(filter y,$(BR2_PACKAGE_FEATURE_WIFI_MEDIATEK ) ) ,
1718 $(call KCONFIG_ENABLE_OPT,CONFIG_MT7601U)
You can’t perform that action at this time.
0 commit comments