[PATCH 4/4] riscv: dts: spacemit: k3-com260-ifx: Add rfkill nodes
Jennifer Berringer
jberring at redhat.com
Mon Sep 28 16:18:07 PDT 2026
K3 CoM260 IFX has an M.2 E-key slot for wireless. Add rfkill nodes for
the GPIOs that control the slot's W_DISABLE1# and W_DISABLE2# pins for
WLAN and Bluetooth.
Signed-off-by: Jennifer Berringer <jberring at redhat.com>
---
arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts b/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts
index 01e286cb05797..cd878340e5add 100644
--- a/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts
+++ b/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts
@@ -47,6 +47,20 @@ reg_aux_vcc3v3: regulator-aux-vcc3v3 {
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
+
+ rfkill-pcie-wlan {
+ compatible = "rfkill-gpio";
+ label = "rfkill-pcie-wlan";
+ radio-type = "wlan";
+ shutdown-gpios = <&gpio K3_GPIO(73) GPIO_ACTIVE_LOW>;
+ };
+
+ rfkill-usb-bt {
+ compatible = "rfkill-gpio";
+ label = "rfkill-usb-bt";
+ radio-type = "bluetooth";
+ shutdown-gpios = <&gpio K3_GPIO(57) GPIO_ACTIVE_LOW>;
+ };
};
&combophy {
--
2.55.0
More information about the linux-riscv
mailing list