Commit 7d0de57c authored by Guido Gunther's avatar Guido Gunther
Browse files

dts: arm64: librem5: Use rfkill-hks for hardware kill switches


Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 9b378b19
......@@ -10,6 +10,7 @@
#include "dt-bindings/leds/common.h"
#include "dt-bindings/pwm/pwm.h"
#include "dt-bindings/usb/pd.h"
#include "dt-bindings/rfkill/rfkill.h"
#include "imx8mq.dtsi"
/ {
......@@ -37,7 +38,7 @@
gpio-keys {
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_keys>, <&pinctrl_hsw>;
pinctrl-0 = <&pinctrl_keys>;
vol-down {
label = "VOL_DOWN";
......@@ -275,6 +276,30 @@
regulator-max-microvolt = <3300000>;
};
rfkill-hks {
compatible = "rfkill-hks";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hsw>;
mic-hks {
gpios = <&gpio4 1 GPIO_ACTIVE_LOW>;
name = "mic-hks";
type = <RFKILL_MIC>;
};
wlan-hks {
gpios = <&gpio4 10 GPIO_ACTIVE_LOW>;
name = "wlan-hks";
type = <RFKILL_WLAN>;
};
wwan-hks {
gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
name = "wwan-hks";
type = <RFKILL_WWAN>;
};
};
sound {
compatible = "simple-audio-card";
pinctrl-names = "default";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment