Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: qcom: msm8916-yiming-uz801v3: Add initial device tree

This commit adds support for the uz801 v3.0 WiFi/LTE dongle made by
Henan Yiming Technology Co., Ltd. based on MSM8916.

Note: The original firmware does not support 64-bit OS. It is necessary
to flash 64-bit TZ firmware to boot arm64.

Currently supported:
- All CPU cores
- Buttons
- LEDs
- Modem
- SDHC
- USB Device Mode
- UART

Signed-off-by: Yang Xiwen <forbidden405@foxmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/tencent_62395CA0D608DD0078DD3D889F6E4E22BA05@qq.com

authored by

Yang Xiwen and committed by
Bjorn Andersson
7a888e14 32444424

+36
+1
arch/arm64/boot/dts/qcom/Makefile
··· 29 29 dtb-$(CONFIG_ARCH_QCOM) += msm8916-thwc-uf896.dtb 30 30 dtb-$(CONFIG_ARCH_QCOM) += msm8916-thwc-ufi001c.dtb 31 31 dtb-$(CONFIG_ARCH_QCOM) += msm8916-wingtech-wt88047.dtb 32 + dtb-$(CONFIG_ARCH_QCOM) += msm8916-yiming-uz801v3.dtb 32 33 dtb-$(CONFIG_ARCH_QCOM) += msm8953-motorola-potter.dtb 33 34 dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-daisy.dtb 34 35 dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-mido.dtb
+35
arch/arm64/boot/dts/qcom/msm8916-yiming-uz801v3.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 2 + 3 + /dts-v1/; 4 + 5 + #include "msm8916-ufi.dtsi" 6 + 7 + / { 8 + model = "uz801 v3.0 4G Modem Stick"; 9 + compatible = "yiming,uz801-v3", "qcom,msm8916"; 10 + }; 11 + 12 + &button_restart { 13 + gpios = <&msmgpio 23 GPIO_ACTIVE_LOW>; 14 + }; 15 + 16 + &led_r { 17 + gpios = <&msmgpio 7 GPIO_ACTIVE_HIGH>; 18 + }; 19 + 20 + &led_g { 21 + gpios = <&msmgpio 8 GPIO_ACTIVE_HIGH>; 22 + }; 23 + 24 + &led_b { 25 + gpios = <&msmgpio 6 GPIO_ACTIVE_HIGH>; 26 + }; 27 + 28 + &button_default { 29 + pins = "gpio23"; 30 + bias-pull-up; 31 + }; 32 + 33 + &gpio_leds_default { 34 + pins = "gpio6", "gpio7", "gpio8"; 35 + };