eaba416688
The previous commit mistakenly introduced sim_ctrl_default as pinctrl, this is incorrect, the interface for sim card selection varies between different devices and should not be placed in the dtsi. This commit selects external SIM card slot for ufi001c as default. uf896 selects the correct SIM card slot automatically, thus does not need this pinctrl node. Fixes: faf69431464b ("arm64: dts: qcom: msm8916-thwc: Add initial device trees") Signed-off-by: Yang Xiwen <forbidden405@foxmail.com> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/tencent_7036BCA256055D05F8C49D86DF7F0E2D1A05@qq.com
36 lines
508 B
Plaintext
36 lines
508 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
/dts-v1/;
|
|
|
|
#include "msm8916-ufi.dtsi"
|
|
|
|
/ {
|
|
model = "uf896 4G Modem Stick";
|
|
compatible = "thwc,uf896", "qcom,msm8916";
|
|
};
|
|
|
|
&button_restart {
|
|
gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
&led_r {
|
|
gpios = <&msmgpio 82 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
&led_g {
|
|
gpios = <&msmgpio 83 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
&led_b {
|
|
gpios = <&msmgpio 81 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
&button_default {
|
|
pins = "gpio35";
|
|
bias-pull-up;
|
|
};
|
|
|
|
&gpio_leds_default {
|
|
pins = "gpio81", "gpio82", "gpio83";
|
|
};
|