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

Commit fa88c243 authored by Archit Saxena's avatar Archit Saxena Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Cleanup existing dts of 403



Cleanup existing dts of 403 and add new dts for 401.

Change-Id: I74e50418080b5cf8570bcc43b5968645101ed2c8
Signed-off-by: default avatarArchit Saxena <archsaxe@codeaurora.org>
parent 90499130
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -10,6 +10,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8996-mtp.dtb
dtb-$(CONFIG_ARCH_QCS403) += qcs403-iot-sku1.dtb \
dtb-$(CONFIG_ARCH_QCS403) += qcs403-iot-sku1.dtb \
			qcs403-iot-sku3.dtb \
			qcs403-iot-sku3.dtb \
			qcs403-iot-sku5.dtb \
			qcs403-iot-sku5.dtb \
			qcs401-iot-sku5.dtb \
			qcs404-iot-sku3.dtb \
			qcs404-iot-sku3.dtb \
			qcs404-iot-sku5.dtb \
			qcs404-iot-sku5.dtb \
			qcs404-iot-sku6.dtb
			qcs404-iot-sku6.dtb
+52 −0
Original line number Original line 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 "qcs403.dtsi"
#include "qcs405-audio-overlay.dtsi"
#include "qcs405-geni-ir-overlay.dtsi"
#include "qcs405-pinctrl.dtsi"
#include "qcs405-circular-pca9956.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. QCS401 sEVB/SLT IOT";
	compatible = "qcom,qcs401-iot", "qcom,qcs401", "qcom,iot";
	qcom,board-id = <0x010020 0x2>;
};
#include "qcs405-mdss-panels.dtsi"

&mdss_mdp {
	qcom,mdss-pref-prim-intf = "dsi";
};

&mdss_dsi {
	hw-config = "single_dsi";
};

&mdss_dsi0 {
	qcom,dsi-pref-prim-pan = <&dsi_hx8394d_720_vid>;
	pinctrl-names = "mdss_default", "mdss_sleep";
	pinctrl-0 = <&mdss_dsi_active &mdss_te_active>;
	pinctrl-1 = <&mdss_dsi_suspend &mdss_te_suspend>;

	qcom,platform-te-gpio = <&tlmm 41 0>;
	qcom,platform-reset-gpio = <&tlmm 39 0>;
	qcom,platform-bklight-en-gpio = <&tlmm 48 0>;
};

&dsi_hx8394d_720_vid {
	qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_tlmm_gpio";
	qcom,mdss-dsi-bl-pmic-bank-select = <0>;
	qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
};
+2 −26
Original line number Original line Diff line number Diff line
@@ -11,7 +11,7 @@
 * GNU General Public License for more details.
 * GNU General Public License for more details.
 */
 */


#include "qcs405.dtsi"
#include "qcs403.dtsi"


/ {
/ {
	model = "Qualcomm Technologies, Inc. QCS401";
	model = "Qualcomm Technologies, Inc. QCS401";
@@ -20,29 +20,5 @@
};
};


&soc {
&soc {
	/delete-node/ qcom,msm-cpufreq;
	/delete-node/ qcom,turing@800000;

	msm_cpufreq: qcom,msm-cpufreq {
		compatible = "qcom,msm-cpufreq";
		clock-names = "cpu0_clk";
		clocks = <&clock_cpu APCS_MUX_CLK>;

		qcom,cpufreq-table =
			 < 1094400 >,
			 < 1248000 >,
			 < 1401600 >;
};
};

	/delete-node/ qcom,cpu0-computemon;

	cpu0_computemon: qcom,cpu0-computemon {
		compatible = "qcom,arm-cpu-mon";
		qcom,cpulist = <&CPU0 &CPU1>;
		qcom,target-dev = <&cpu0_cpu_ddr_latfloor>;
		qcom,core-dev-table =
			< 1094400 MHZ_TO_MBPS( 297, 8) >,
			< 1248000 MHZ_TO_MBPS( 597, 8) >,
			< 1401600 MHZ_TO_MBPS( 710, 8) >;
	};
};
+0 −13
Original line number Original line Diff line number Diff line
@@ -61,19 +61,6 @@
		};
		};
	};
	};


	/delete-node/ qcom,msm-cpufreq;

	msm_cpufreq: qcom,msm-cpufreq {
		compatible = "qcom,msm-cpufreq";
		clock-names = "cpu0_clk";
		clocks = <&clock_cpu APCS_MUX_CLK>;

		qcom,cpufreq-table =
			 < 1094400 >,
			 < 1248000 >,
			 < 1401600 >;
	};

	/delete-node/ qcom,cpu0-computemon;
	/delete-node/ qcom,cpu0-computemon;


	cpu0_computemon: qcom,cpu0-computemon {
	cpu0_computemon: qcom,cpu0-computemon {
+2 −2
Original line number Original line Diff line number Diff line
@@ -18,8 +18,8 @@
#include "qcs405-circular-pca9956.dtsi"
#include "qcs405-circular-pca9956.dtsi"


/ {
/ {
	model = "Qualcomm Technologies, Inc. QCS403 SSRD IOT";
	model = "Qualcomm Technologies, Inc. QCS404 SSRD IOT";
	compatible = "qcom,qcs403-iot", "qcom,qcs403", "qcom,iot";
	compatible = "qcom,qcs404-iot", "qcom,qcs404", "qcom,iot";
	qcom,board-id = <0x010020 0x4>;
	qcom,board-id = <0x010020 0x4>;


};
};
Loading