Commit bdc0205e 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 0add4c2f
......@@ -9,6 +9,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"
#define GPIO_CONTROL
......@@ -40,7 +41,7 @@
gpio-keys {
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_keys>, <&pinctrl_hsw>;
pinctrl-0 = <&pinctrl_keys>;
vol-down {
label = "VOL_DOWN";
......@@ -362,6 +363,30 @@
};
#endif
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-0 = <&pinctrl_hp>;
......
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