From b270ca1085ba3fe603fc7dca05d5541c1897333e Mon Sep 17 00:00:00 2001 From: Alex Zhao Date: Thu, 7 Nov 2019 20:12:14 +0800 Subject: [PATCH] arm64: dts: rockchip: add 4g modem for rk3399-evb-ind Signed-off-by: Alex Zhao Change-Id: I4690b0cc6bf78dafd9c0ec27005f249c065f8158 --- .../boot/dts/rockchip/rk3399-evb-ind.dtsi | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-evb-ind.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-evb-ind.dtsi index af7fda60f756..a8d4fb87aefa 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-evb-ind.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-evb-ind.dtsi @@ -156,6 +156,16 @@ status = "okay"; }; + rk_modem: rk-modem { + compatible="4g-modem-platdata"; + pinctrl-names = "default"; + pinctrl-0 = <<e_vbat <e_power_en <e_reset>; + 4G,vbat-gpio = <&gpio4 RK_PD0 GPIO_ACTIVE_HIGH>; + 4G,power-gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_LOW>; + 4G,reset-gpio = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>; + status = "okay"; + }; + tc358749x_sound:tc358749x-sound { status = "okay"; compatible = "simple-audio-card"; @@ -1339,6 +1349,20 @@ }; }; + rk-modem { + lte_vbat: lte-vbat { + rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + lte_power_en: lte-power-en { + rockchip,pins = <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + lte_reset: lte-reset { + rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + usb2 { host_vbus_drv: host-vbus-drv { rockchip,pins =