Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e61a939d authored by zhaochen's avatar zhaochen
Browse files

ARM: dts: msm: Add new dts for sdm845 RB3 board



Add sdm845-v2.1-rb3.dts and sdm845-v2.1-rb3.dtsi to
support sdm845 RB3 board.

Change-Id: Id4334e3c6624e74df376c026cf1d1e43a40999f3
Signed-off-by: default avatarzhaochen <zhaochen@codeaurora.org>
parent e3050e3c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -110,7 +110,8 @@ dtb-$(CONFIG_ARCH_SDM845) += sdm845-sim.dtb \
	sdm845-4k-panel-cdp.dtb \
	sdm845-4k-panel-qrd.dtb \
	sdm845-interposer-sdm670-mtp.dtb \
	sdm845-interposer-sdm670-cdp.dtb
	sdm845-interposer-sdm670-cdp.dtb \
	sdm845-v2.1-rb3.dtb
endif

ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
+25 −0
Original line number Diff line number Diff line
/* Copyright (c) 2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */


/dts-v1/;
#include "sdm845-v2.1-rb3.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. sda845 v2.1 TurboX-SOM_V01";
	compatible = "qcom,sda845-mtp", "qcom,sda845", "qcom,mtp";
	qcom,msm-id = <341 0x20001>;
	qcom,board-id = <8 0>;
	aliases {
		spi0 = &qupv3_se5_spi;
	};
};
+103 −0
Original line number Diff line number Diff line
/* Copyright (c) 2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/clock/qcom,camcc-sdm845.h>
#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

#include "sda845-v2.1.dtsi"
#include "sdm845-sde-display.dtsi"
#include "sdm845-mtp.dtsi"
#include "sdm845-audio-overlay.dtsi"

&labibb {
	status = "disabled";
};

&pmi8998_wled {
	status = "disabled";
};

&qupv3_se3_i2c {
	status = "disabled";
};

&pmi8998_pdphy {
	vbus-supply = <&smb2_vbus>;
};

&pmi8998_pwm_2 {
	status = "ok";
};

&ext_5v_boost {
	status = "disabled";
};

&wil6210 {
	status = "disabled";
};

&smb1355_0 {
	status = "disabled";
};

&smb1355_1 {
	status = "disabled";
};

&key_home_default {
	pins = "gpio4";
};

&max_rst_active {
	mux {
		pins = "gpio31","gpio77","gpio32";
	};
	config {
		pins = "gpio31","gpio77","gpio32";
	};
};

&max_rst_suspend {
	mux {
		pins = "gpio31","gpio77","gpio32";
	};
	config {
		pins = "gpio31","gpio77","gpio32";
	};
};

&camera_dvdd_en_default {
	pins = "gpio11";
};

&sde_dp {
	status = "disabled";
};

&mdss_mdp {
	status = "disabled";
};

&soc {
	qcom,qbt1000 {
		compatible = "qcom,qbt1000";
		clock-names = "core", "iface";
		clock-frequency = <25000000>;
		qcom,ipc-gpio = <&tlmm 121 0>;
		qcom,finger-detect-gpio = <&pm8998_gpios 4 0>;
	};
	};