Files
cubelinux-kernel/arch/arm64/boot/dts/qcom/msm8916-thwc-ufi001c.dts
T
Greg Kroah-Hartman 598cf27219 Linux 6.19.3
Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org
Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com>
Tested-by: Peter Schneider <pschneider1968@googlemail.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Salvatore Bonaccorso <carnil@debian.org>
Tested-by: Brett A C Sheffield <bacs@librecast.net>
Tested-by: Mark Brown <broonie@kernel.org>
Tested-by: Luna Jernberg <droidbittin@gmail.com>
Tested-by: Ronald Warsow <rwarsow@gmx.de>
Tested-by: Justin M. Forbes <jforbes@fedoraproject.org>
Tested-by: Ron Economos <re@w6rz.net>
Tested-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-02-19 16:33:27 +01:00

67 lines
1001 B
Devicetree

// SPDX-License-Identifier: GPL-2.0-only
/dts-v1/;
#include "msm8916-ufi.dtsi"
/ {
model = "ufi-001c/ufi-001b 4G Modem Stick";
compatible = "thwc,ufi001c", "qcom,msm8916";
};
&button_restart {
gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>;
};
&led_b {
gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>;
};
&led_g {
gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
};
&led_r {
gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
};
&mpss {
pinctrl-0 = <&sim_ctrl_default>;
pinctrl-names = "default";
};
&button_default {
pins = "gpio37";
bias-pull-down;
};
&gpio_leds_default {
pins = "gpio20", "gpio21", "gpio22";
};
/* This selects the external SIM card slot by default */
&tlmm {
sim_ctrl_default: sim-ctrl-default-state {
esim-sel-pins {
pins = "gpio0", "gpio3";
function = "gpio";
bias-disable;
output-low;
};
sim-en-pins {
pins = "gpio1";
function = "gpio";
bias-disable;
output-low;
};
sim-sel-pins {
pins = "gpio2";
function = "gpio";
bias-disable;
output-high;
};
};
};