cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

qcom-sdx65-mtp.dts (5852B)


      1// SPDX-License-Identifier: BSD-3-Clause
      2/*
      3 * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
      4 */
      5/dts-v1/;
      6
      7#include "qcom-sdx65.dtsi"
      8#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
      9#include <arm64/qcom/pmk8350.dtsi>
     10#include <arm64/qcom/pm8150b.dtsi>
     11#include "qcom-pmx65.dtsi"
     12
     13/ {
     14	model = "Qualcomm Technologies, Inc. SDX65 MTP";
     15	compatible = "qcom,sdx65-mtp", "qcom,sdx65";
     16	qcom,board-id = <0x2010008 0x302>;
     17
     18	aliases {
     19		serial0 = &blsp1_uart3;
     20	};
     21
     22	chosen {
     23		stdout-path = "serial0:115200n8";
     24	};
     25
     26	reserved-memory {
     27		#address-cells = <1>;
     28		#size-cells = <1>;
     29		ranges;
     30
     31		mpss_dsm: memory@8c400000 {
     32			no-map;
     33			reg = <0x8c400000 0x3200000>;
     34		};
     35
     36		ipa_fw_mem: memory@8fced000 {
     37			no-map;
     38			reg = <0x8fced000 0x10000>;
     39		};
     40
     41		mpss_adsp_mem: memory@90800000 {
     42			no-map;
     43			reg = <0x90800000 0x10000000>;
     44		};
     45	};
     46
     47	vph_pwr: vph-pwr-regulator {
     48		compatible = "regulator-fixed";
     49		regulator-name = "vph_pwr";
     50		regulator-min-microvolt = <3700000>;
     51		regulator-max-microvolt = <3700000>;
     52	};
     53
     54	vreg_bob_3p3: pmx65_bob {
     55		compatible = "regulator-fixed";
     56		regulator-name = "vreg_bob_3p3";
     57		regulator-min-microvolt = <3300000>;
     58		regulator-max-microvolt = <3300000>;
     59
     60		regulator-always-on;
     61		regulator-boot-on;
     62
     63		vin-supply = <&vph_pwr>;
     64	};
     65};
     66
     67&blsp1_uart3 {
     68	status = "ok";
     69};
     70
     71&apps_rsc {
     72	pmx65-rpmh-regulators {
     73		compatible = "qcom,pmx65-rpmh-regulators";
     74		qcom,pmic-id = "b";
     75
     76		vdd-s1-supply = <&vph_pwr>;
     77		vdd-s2-supply = <&vph_pwr>;
     78		vdd-s3-supply = <&vph_pwr>;
     79		vdd-s4-supply = <&vph_pwr>;
     80		vdd-s5-supply = <&vph_pwr>;
     81		vdd-s6-supply = <&vph_pwr>;
     82		vdd-s7-supply = <&vph_pwr>;
     83		vdd-s8-supply = <&vph_pwr>;
     84		vdd-l1-supply = <&vreg_s2b_1p224>;
     85		vdd-l2-l18-supply = <&vreg_s2b_1p224>;
     86		vdd-l3-supply = <&vreg_s8b_0p824>;
     87		vdd-l4-supply = <&vreg_s7b_0p936>;
     88		vdd-l5-l6-l16-supply = <&vreg_s4b_1p824>;
     89		vdd-l7-supply = <&vreg_s3b_0p776>;
     90		vdd-l8-l9-supply = <&vreg_s8b_0p824>;
     91		vdd-l10-supply = <&vreg_bob_3p3>;
     92		vdd-l11-l13-supply = <&vreg_bob_3p3>;
     93		vdd-l12-supply = <&vreg_s2b_1p224>;
     94		vdd-l14-supply = <&vreg_s3b_0p776>;
     95		vdd-l15-supply = <&vreg_s2b_1p224>;
     96		vdd-l17-supply = <&vreg_s8b_0p824>;
     97		vdd-l19-supply = <&vreg_s3b_0p776>;
     98		vdd-l20-supply = <&vreg_s7b_0p936>;
     99		vdd-l21-supply = <&vreg_s7b_0p936>;
    100
    101		vreg_s2b_1p224: smps2 {
    102			regulator-min-microvolt = <1200000>;
    103			regulator-max-microvolt = <1400000>;
    104		};
    105
    106		vreg_s3b_0p776: smps3 {
    107			regulator-min-microvolt = <500000>;
    108			regulator-max-microvolt = <1040000>;
    109		};
    110
    111		vreg_s4b_1p824: smps4 {
    112			regulator-min-microvolt = <1800000>;
    113			regulator-max-microvolt = <2024000>;
    114		};
    115
    116		vreg_s7b_0p936: smps7 {
    117			regulator-min-microvolt = <500000>;
    118			regulator-max-microvolt = <1040000>;
    119		};
    120
    121		vreg_s8b_0p824: smps8 {
    122			regulator-min-microvolt = <304000>;
    123			regulator-max-microvolt = <1300000>;
    124		};
    125
    126		ldo1 {
    127			regulator-min-microvolt = <1200000>;
    128			regulator-max-microvolt = <1200000>;
    129			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    130		};
    131
    132		ldo2 {
    133			regulator-min-microvolt = <1128000>;
    134			regulator-max-microvolt = <1128000>;
    135			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    136		};
    137
    138		ldo3 {
    139			regulator-min-microvolt = <300000>;
    140			regulator-max-microvolt = <960000>;
    141			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    142		};
    143
    144		ldo4 {
    145			regulator-min-microvolt = <880000>;
    146			regulator-max-microvolt = <912000>;
    147			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    148		};
    149
    150		ldo5 {
    151			regulator-min-microvolt = <1800000>;
    152			regulator-max-microvolt = <1800000>;
    153			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    154		};
    155
    156		ldo6 {
    157			regulator-min-microvolt = <1800000>;
    158			regulator-max-microvolt = <1800000>;
    159			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    160		};
    161
    162		ldo7 {
    163			regulator-min-microvolt = <752000>;
    164			regulator-max-microvolt = <752000>;
    165			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    166		};
    167
    168		ldo8 {
    169			regulator-min-microvolt = <800000>;
    170			regulator-max-microvolt = <800000>;
    171			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    172		};
    173
    174		ldo9 {
    175			regulator-min-microvolt = <800000>;
    176			regulator-max-microvolt = <800000>;
    177			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    178		};
    179
    180		ldo10 {
    181			regulator-min-microvolt = <3088000>;
    182			regulator-max-microvolt = <3088000>;
    183			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    184		};
    185
    186		ldo11 {
    187			regulator-min-microvolt = <1704000>;
    188			regulator-max-microvolt = <2928000>;
    189			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    190		};
    191
    192		ldo12 {
    193			regulator-min-microvolt = <1200000>;
    194			regulator-max-microvolt = <1200000>;
    195			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    196		};
    197
    198		ldo13 {
    199			regulator-min-microvolt = <1704000>;
    200			regulator-max-microvolt = <2928000>;
    201			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    202		};
    203
    204		ldo14 {
    205			regulator-min-microvolt = <600000>;
    206			regulator-max-microvolt = <800000>;
    207			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    208		};
    209
    210		ldo15 {
    211			regulator-min-microvolt = <1200000>;
    212			regulator-max-microvolt = <1200000>;
    213			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    214		};
    215
    216		ldo16 {
    217			regulator-min-microvolt = <1776000>;
    218			regulator-max-microvolt = <1776000>;
    219			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    220		};
    221
    222		ldo17 {
    223			regulator-min-microvolt = <300000>;
    224			regulator-max-microvolt = <960000>;
    225			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    226		};
    227
    228		ldo19 {
    229			regulator-min-microvolt = <752000>;
    230			regulator-max-microvolt = <752000>;
    231			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    232		};
    233
    234		ldo20 {
    235			regulator-min-microvolt = <912000>;
    236			regulator-max-microvolt = <912000>;
    237			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    238		};
    239
    240		ldo21 {
    241			regulator-min-microvolt = <912000>;
    242			regulator-max-microvolt = <912000>;
    243			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
    244		};
    245	};
    246};