1724ba675SRob Herring// SPDX-License-Identifier: BSD-3-Clause 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 4724ba675SRob Herring * Copyright (c) 2020, Linaro Ltd. 5724ba675SRob Herring */ 6724ba675SRob Herring 7724ba675SRob Herring/dts-v1/; 8724ba675SRob Herring 9724ba675SRob Herring#include "qcom-sdx55.dtsi" 10724ba675SRob Herring#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 11724ba675SRob Herring#include <arm64/qcom/pm8150b.dtsi> 12*455a4c46SDmitry Baryshkov#include "pmx55.dtsi" 13724ba675SRob Herring 14724ba675SRob Herring/ { 15724ba675SRob Herring model = "Qualcomm Technologies, Inc. SDX55 MTP"; 16724ba675SRob Herring compatible = "qcom,sdx55-mtp", "qcom,sdx55"; 17724ba675SRob Herring qcom,board-id = <0x5010008 0x0>; 18724ba675SRob Herring 19724ba675SRob Herring aliases { 20724ba675SRob Herring serial0 = &blsp1_uart3; 21724ba675SRob Herring }; 22724ba675SRob Herring 23724ba675SRob Herring chosen { 24724ba675SRob Herring stdout-path = "serial0:115200n8"; 25724ba675SRob Herring }; 26724ba675SRob Herring 27724ba675SRob Herring reserved-memory { 28724ba675SRob Herring #address-cells = <1>; 29724ba675SRob Herring #size-cells = <1>; 30724ba675SRob Herring ranges; 31724ba675SRob Herring 32724ba675SRob Herring mpss_debug_mem: memory@8ef00000 { 33724ba675SRob Herring no-map; 34724ba675SRob Herring reg = <0x8ef00000 0x800000>; 35724ba675SRob Herring }; 36724ba675SRob Herring 37724ba675SRob Herring ipa_fw_mem: memory@8fced000 { 38724ba675SRob Herring no-map; 39724ba675SRob Herring reg = <0x8fced000 0x10000>; 40724ba675SRob Herring }; 41724ba675SRob Herring 42724ba675SRob Herring mpss_adsp_mem: memory@90c00000 { 43724ba675SRob Herring no-map; 44724ba675SRob Herring reg = <0x90c00000 0xd400000>; 45724ba675SRob Herring }; 46724ba675SRob Herring }; 47724ba675SRob Herring 48724ba675SRob Herring vph_pwr: vph-pwr-regulator { 49724ba675SRob Herring compatible = "regulator-fixed"; 50724ba675SRob Herring regulator-name = "vph_pwr"; 51724ba675SRob Herring regulator-min-microvolt = <3700000>; 52724ba675SRob Herring regulator-max-microvolt = <3700000>; 53724ba675SRob Herring }; 54724ba675SRob Herring 55724ba675SRob Herring vreg_bob_3p3: pmx55-bob { 56724ba675SRob Herring compatible = "regulator-fixed"; 57724ba675SRob Herring regulator-name = "vreg_bob_3p3"; 58724ba675SRob Herring regulator-min-microvolt = <3300000>; 59724ba675SRob Herring regulator-max-microvolt = <3300000>; 60724ba675SRob Herring 61724ba675SRob Herring regulator-always-on; 62724ba675SRob Herring regulator-boot-on; 63724ba675SRob Herring 64724ba675SRob Herring vin-supply = <&vph_pwr>; 65724ba675SRob Herring }; 66724ba675SRob Herring 67724ba675SRob Herring vreg_s7e_mx_0p752: pmx55-s7e { 68724ba675SRob Herring compatible = "regulator-fixed"; 69724ba675SRob Herring regulator-name = "vreg_s7e_mx_0p752"; 70724ba675SRob Herring regulator-min-microvolt = <752000>; 71724ba675SRob Herring regulator-max-microvolt = <752000>; 72724ba675SRob Herring 73724ba675SRob Herring vin-supply = <&vph_pwr>; 74724ba675SRob Herring }; 75724ba675SRob Herring}; 76724ba675SRob Herring 77724ba675SRob Herring&apps_rsc { 78724ba675SRob Herring regulators-0 { 79724ba675SRob Herring compatible = "qcom,pmx55-rpmh-regulators"; 80724ba675SRob Herring qcom,pmic-id = "e"; 81724ba675SRob Herring 82724ba675SRob Herring vdd-s1-supply = <&vph_pwr>; 83724ba675SRob Herring vdd-s2-supply = <&vph_pwr>; 84724ba675SRob Herring vdd-s3-supply = <&vph_pwr>; 85724ba675SRob Herring vdd-s4-supply = <&vph_pwr>; 86724ba675SRob Herring vdd-s5-supply = <&vph_pwr>; 87724ba675SRob Herring vdd-s6-supply = <&vph_pwr>; 88724ba675SRob Herring vdd-s7-supply = <&vph_pwr>; 89724ba675SRob Herring vdd-l1-l2-supply = <&vreg_s2e_1p224>; 90724ba675SRob Herring vdd-l3-l9-supply = <&vreg_s3e_0p824>; 91724ba675SRob Herring vdd-l4-l12-supply = <&vreg_s4e_1p904>; 92724ba675SRob Herring vdd-l5-l6-supply = <&vreg_s4e_1p904>; 93724ba675SRob Herring vdd-l7-l8-supply = <&vreg_s3e_0p824>; 94724ba675SRob Herring vdd-l10-l11-l13-supply = <&vreg_bob_3p3>; 95724ba675SRob Herring vdd-l14-supply = <&vreg_s7e_mx_0p752>; 96724ba675SRob Herring vdd-l15-supply = <&vreg_s2e_1p224>; 97724ba675SRob Herring vdd-l16-supply = <&vreg_s4e_1p904>; 98724ba675SRob Herring 99724ba675SRob Herring vreg_s2e_1p224: smps2 { 100724ba675SRob Herring regulator-min-microvolt = <1280000>; 101724ba675SRob Herring regulator-max-microvolt = <1400000>; 102724ba675SRob Herring }; 103724ba675SRob Herring 104724ba675SRob Herring vreg_s3e_0p824: smps3 { 105724ba675SRob Herring regulator-min-microvolt = <800000>; 106724ba675SRob Herring regulator-max-microvolt = <1000000>; 107724ba675SRob Herring }; 108724ba675SRob Herring 109724ba675SRob Herring vreg_s4e_1p904: smps4 { 110724ba675SRob Herring regulator-min-microvolt = <1800000>; 111724ba675SRob Herring regulator-max-microvolt = <1960000>; 112724ba675SRob Herring }; 113724ba675SRob Herring 114724ba675SRob Herring vreg_l1e_bb_1p2: ldo1 { 115724ba675SRob Herring regulator-min-microvolt = <1200000>; 116724ba675SRob Herring regulator-max-microvolt = <1200000>; 117724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 118724ba675SRob Herring }; 119724ba675SRob Herring 120724ba675SRob Herring ldo2 { 121724ba675SRob Herring regulator-min-microvolt = <1128000>; 122724ba675SRob Herring regulator-max-microvolt = <1128000>; 123724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 124724ba675SRob Herring }; 125724ba675SRob Herring 126724ba675SRob Herring ldo3 { 127724ba675SRob Herring regulator-min-microvolt = <800000>; 128724ba675SRob Herring regulator-max-microvolt = <800000>; 129724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 130724ba675SRob Herring }; 131724ba675SRob Herring 132724ba675SRob Herring vreg_l4e_bb_0p875: ldo4 { 133724ba675SRob Herring regulator-min-microvolt = <872000>; 134724ba675SRob Herring regulator-max-microvolt = <872000>; 135724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 136724ba675SRob Herring }; 137724ba675SRob Herring 138724ba675SRob Herring vreg_l5e_bb_1p7: ldo5 { 139724ba675SRob Herring regulator-min-microvolt = <1704000>; 140724ba675SRob Herring regulator-max-microvolt = <1900000>; 141724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 142724ba675SRob Herring }; 143724ba675SRob Herring 144724ba675SRob Herring ldo6 { 145724ba675SRob Herring regulator-min-microvolt = <1800000>; 146724ba675SRob Herring regulator-max-microvolt = <1800000>; 147724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 148724ba675SRob Herring }; 149724ba675SRob Herring 150724ba675SRob Herring ldo7 { 151724ba675SRob Herring regulator-min-microvolt = <480000>; 152724ba675SRob Herring regulator-max-microvolt = <900000>; 153724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 154724ba675SRob Herring }; 155724ba675SRob Herring 156724ba675SRob Herring ldo8 { 157724ba675SRob Herring regulator-min-microvolt = <480000>; 158724ba675SRob Herring regulator-max-microvolt = <900000>; 159724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 160724ba675SRob Herring }; 161724ba675SRob Herring 162724ba675SRob Herring ldo9 { 163724ba675SRob Herring regulator-min-microvolt = <800000>; 164724ba675SRob Herring regulator-max-microvolt = <800000>; 165724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 166724ba675SRob Herring }; 167724ba675SRob Herring 168724ba675SRob Herring vreg_l10e_3p1: ldo10 { 169724ba675SRob Herring regulator-min-microvolt = <3088000>; 170724ba675SRob Herring regulator-max-microvolt = <3088000>; 171724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 172724ba675SRob Herring }; 173724ba675SRob Herring 174724ba675SRob Herring ldo11 { 175724ba675SRob Herring regulator-min-microvolt = <1704000>; 176724ba675SRob Herring regulator-max-microvolt = <2928000>; 177724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 178724ba675SRob Herring }; 179724ba675SRob Herring 180724ba675SRob Herring ldo12 { 181724ba675SRob Herring regulator-min-microvolt = <1200000>; 182724ba675SRob Herring regulator-max-microvolt = <1200000>; 183724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 184724ba675SRob Herring }; 185724ba675SRob Herring 186724ba675SRob Herring ldo13 { 187724ba675SRob Herring regulator-min-microvolt = <1704000>; 188724ba675SRob Herring regulator-max-microvolt = <2928000>; 189724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 190724ba675SRob Herring }; 191724ba675SRob Herring 192724ba675SRob Herring ldo14 { 193724ba675SRob Herring regulator-min-microvolt = <600000>; 194724ba675SRob Herring regulator-max-microvolt = <800000>; 195724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 196724ba675SRob Herring }; 197724ba675SRob Herring 198724ba675SRob Herring ldo15 { 199724ba675SRob Herring regulator-min-microvolt = <1200000>; 200724ba675SRob Herring regulator-max-microvolt = <1200000>; 201724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 202724ba675SRob Herring }; 203724ba675SRob Herring 204724ba675SRob Herring ldo16 { 205724ba675SRob Herring regulator-min-microvolt = <1704000>; 206724ba675SRob Herring regulator-max-microvolt = <1904000>; 207724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 208724ba675SRob Herring }; 209724ba675SRob Herring }; 210724ba675SRob Herring}; 211724ba675SRob Herring 212724ba675SRob Herring&blsp1_uart3 { 213724ba675SRob Herring status = "okay"; 214724ba675SRob Herring}; 215724ba675SRob Herring 216724ba675SRob Herring&qpic_bam { 217724ba675SRob Herring status = "okay"; 218724ba675SRob Herring}; 219724ba675SRob Herring 220724ba675SRob Herring&qpic_nand { 221724ba675SRob Herring status = "okay"; 222724ba675SRob Herring 223724ba675SRob Herring nand@0 { 224724ba675SRob Herring reg = <0>; 225724ba675SRob Herring 226724ba675SRob Herring nand-ecc-strength = <8>; 227724ba675SRob Herring nand-ecc-step-size = <512>; 228724ba675SRob Herring nand-bus-width = <8>; 229724ba675SRob Herring }; 230724ba675SRob Herring}; 231724ba675SRob Herring 232724ba675SRob Herring&remoteproc_mpss { 233724ba675SRob Herring memory-region = <&mpss_adsp_mem>; 234724ba675SRob Herring}; 235724ba675SRob Herring 236724ba675SRob Herring&usb { 237724ba675SRob Herring status = "okay"; 238724ba675SRob Herring}; 239724ba675SRob Herring 240724ba675SRob Herring&usb_dwc3 { 241724ba675SRob Herring dr_mode = "peripheral"; 242724ba675SRob Herring}; 243724ba675SRob Herring 244724ba675SRob Herring&usb_hsphy { 245724ba675SRob Herring status = "okay"; 246724ba675SRob Herring vdda-pll-supply = <&vreg_l4e_bb_0p875>; 247724ba675SRob Herring vdda33-supply = <&vreg_l10e_3p1>; 248724ba675SRob Herring vdda18-supply = <&vreg_l5e_bb_1p7>; 249724ba675SRob Herring}; 250724ba675SRob Herring 251724ba675SRob Herring&usb_qmpphy { 252724ba675SRob Herring status = "okay"; 253724ba675SRob Herring vdda-phy-supply = <&vreg_l4e_bb_0p875>; 254724ba675SRob Herring vdda-pll-supply = <&vreg_l1e_bb_1p2>; 255724ba675SRob Herring}; 256