mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Amlogic GX reference boards shipped with Broadcom SDIO modules and this is described in device-tree files. These boards are rare, but their device-trees are commonly used to boot no-name Android STB's that closely follow the vendor reference design. For cost reasons these boxes often use non-Broadcom RTL8189ES/FS and QCA9377 SDIO modules, and for availability reasons the chipset/module used can change between batches of the same device. Testing shows the only requirement for WiFi driver probe and load is presence of the correct 'reg' value, and all Amlogic boards use the same <1> value. Removing the 'brcm,bcm4329-fmac' compatible allows a wider range of Android STB boards to boot from reference design device-trees and have working WiFi. Also convert the 'brcmf' node name to a more generic 'sdio' to reflect we are not always using the Broadcom brcmfmac driver now. Signed-off-by: Christian Hewitt <christianshewitt@gmail.com> Link: https://lore.kernel.org/r/20241127043358.3799737-1-christianshewitt@gmail.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
27 lines
505 B
Text
27 lines
505 B
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2016 Endless Computers, Inc.
|
|
* Author: Carlo Caione <carlo@endlessm.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "meson-gxm.dtsi"
|
|
#include "meson-gx-p23x-q20x.dtsi"
|
|
|
|
/ {
|
|
compatible = "amlogic,q201", "amlogic,s912", "amlogic,meson-gxm";
|
|
model = "Amlogic Meson GXM (S912) Q201 Development Board";
|
|
};
|
|
|
|
/* Q201 has only internal PHY port */
|
|
ðmac {
|
|
phy-mode = "rmii";
|
|
phy-handle = <&internal_phy>;
|
|
};
|
|
|
|
&sd_emmc_a {
|
|
sdio: wifi@1 {
|
|
reg = <1>;
|
|
};
|
|
};
|