Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8916-wingtech-wt86518.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-wingtech-wt86528.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-wingtech-wt88047.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-xiaoxun-jz0145-v33.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-xiaoxun-jz02-v30.dts
dtb-$(CONFIG_ARCH_QCOM) += msm8916-yiming-uz801v3.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8917-xiaomi-riva.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8929-wingtech-wt82918hd.dtb
Expand Down
66 changes: 66 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-xiaoxun-jz02-v30.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// SPDX-License-Identifier: GPL-2.0-only

/dts-v1/;

#include "msm8916-ufi.dtsi"

/ {
model = "JZ02 v30 4G Modem Stick";
compatible = "xiaoxun,jz02-v30", "qcom,msm8916";
};

&button_restart {
gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>;
};

&led_b {
gpios = <&tlmm 7 GPIO_ACTIVE_HIGH>;
};

&led_g {
gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
};

&led_r {
gpios = <&tlmm 8 GPIO_ACTIVE_HIGH>;
};

&mpss {
pinctrl-0 = <&sim_ctrl_default>;
pinctrl-names = "default";
};

&button_default {
pins = "gpio37";
bias-pull-down;
};

&gpio_leds_default {
pins = "gpio6", "gpio7", "gpio8";
};

/* This selects the external SIM card slot by default */
&tlmm {
sim_ctrl_default: sim-ctrl-default-state {
esim-sel-pins {
pins = "gpio22", "gpio23";
function = "gpio";
bias-disable;
output-low;
};

sim-en-pins {
pins = "gpio1";
function = "gpio";
bias-disable;
output-high;
};

sim-sel-pins {
pins = "gpio20";
function = "gpio";
bias-disable;
output-low;
};
};
};