1*724ba675SRob Herring// SPDX-License-Identifier: BSD-3-Clause 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 4*724ba675SRob Herring * Copyright (c) 2020, Linaro Ltd. 5*724ba675SRob Herring */ 6*724ba675SRob Herring 7*724ba675SRob Herring/dts-v1/; 8*724ba675SRob Herring 9*724ba675SRob Herring#include "qcom-sdx55.dtsi" 10*724ba675SRob Herring#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 11*724ba675SRob Herring#include <arm64/qcom/pm8150b.dtsi> 12*724ba675SRob Herring#include "qcom-pmx55.dtsi" 13*724ba675SRob Herring 14*724ba675SRob Herring/ { 15*724ba675SRob Herring model = "Qualcomm Technologies, Inc. SDX55 MTP"; 16*724ba675SRob Herring compatible = "qcom,sdx55-mtp", "qcom,sdx55"; 17*724ba675SRob Herring qcom,board-id = <0x5010008 0x0>; 18*724ba675SRob Herring 19*724ba675SRob Herring aliases { 20*724ba675SRob Herring serial0 = &blsp1_uart3; 21*724ba675SRob Herring }; 22*724ba675SRob Herring 23*724ba675SRob Herring chosen { 24*724ba675SRob Herring stdout-path = "serial0:115200n8"; 25*724ba675SRob Herring }; 26*724ba675SRob Herring 27*724ba675SRob Herring reserved-memory { 28*724ba675SRob Herring #address-cells = <1>; 29*724ba675SRob Herring #size-cells = <1>; 30*724ba675SRob Herring ranges; 31*724ba675SRob Herring 32*724ba675SRob Herring mpss_debug_mem: memory@8ef00000 { 33*724ba675SRob Herring no-map; 34*724ba675SRob Herring reg = <0x8ef00000 0x800000>; 35*724ba675SRob Herring }; 36*724ba675SRob Herring 37*724ba675SRob Herring ipa_fw_mem: memory@8fced000 { 38*724ba675SRob Herring no-map; 39*724ba675SRob Herring reg = <0x8fced000 0x10000>; 40*724ba675SRob Herring }; 41*724ba675SRob Herring 42*724ba675SRob Herring mpss_adsp_mem: memory@90c00000 { 43*724ba675SRob Herring no-map; 44*724ba675SRob Herring reg = <0x90c00000 0xd400000>; 45*724ba675SRob Herring }; 46*724ba675SRob Herring }; 47*724ba675SRob Herring 48*724ba675SRob Herring vph_pwr: vph-pwr-regulator { 49*724ba675SRob Herring compatible = "regulator-fixed"; 50*724ba675SRob Herring regulator-name = "vph_pwr"; 51*724ba675SRob Herring regulator-min-microvolt = <3700000>; 52*724ba675SRob Herring regulator-max-microvolt = <3700000>; 53*724ba675SRob Herring }; 54*724ba675SRob Herring 55*724ba675SRob Herring vreg_bob_3p3: pmx55-bob { 56*724ba675SRob Herring compatible = "regulator-fixed"; 57*724ba675SRob Herring regulator-name = "vreg_bob_3p3"; 58*724ba675SRob Herring regulator-min-microvolt = <3300000>; 59*724ba675SRob Herring regulator-max-microvolt = <3300000>; 60*724ba675SRob Herring 61*724ba675SRob Herring regulator-always-on; 62*724ba675SRob Herring regulator-boot-on; 63*724ba675SRob Herring 64*724ba675SRob Herring vin-supply = <&vph_pwr>; 65*724ba675SRob Herring }; 66*724ba675SRob Herring 67*724ba675SRob Herring vreg_s7e_mx_0p752: pmx55-s7e { 68*724ba675SRob Herring compatible = "regulator-fixed"; 69*724ba675SRob Herring regulator-name = "vreg_s7e_mx_0p752"; 70*724ba675SRob Herring regulator-min-microvolt = <752000>; 71*724ba675SRob Herring regulator-max-microvolt = <752000>; 72*724ba675SRob Herring 73*724ba675SRob Herring vin-supply = <&vph_pwr>; 74*724ba675SRob Herring }; 75*724ba675SRob Herring}; 76*724ba675SRob Herring 77*724ba675SRob Herring&apps_rsc { 78*724ba675SRob Herring regulators-0 { 79*724ba675SRob Herring compatible = "qcom,pmx55-rpmh-regulators"; 80*724ba675SRob Herring qcom,pmic-id = "e"; 81*724ba675SRob Herring 82*724ba675SRob Herring vdd-s1-supply = <&vph_pwr>; 83*724ba675SRob Herring vdd-s2-supply = <&vph_pwr>; 84*724ba675SRob Herring vdd-s3-supply = <&vph_pwr>; 85*724ba675SRob Herring vdd-s4-supply = <&vph_pwr>; 86*724ba675SRob Herring vdd-s5-supply = <&vph_pwr>; 87*724ba675SRob Herring vdd-s6-supply = <&vph_pwr>; 88*724ba675SRob Herring vdd-s7-supply = <&vph_pwr>; 89*724ba675SRob Herring vdd-l1-l2-supply = <&vreg_s2e_1p224>; 90*724ba675SRob Herring vdd-l3-l9-supply = <&vreg_s3e_0p824>; 91*724ba675SRob Herring vdd-l4-l12-supply = <&vreg_s4e_1p904>; 92*724ba675SRob Herring vdd-l5-l6-supply = <&vreg_s4e_1p904>; 93*724ba675SRob Herring vdd-l7-l8-supply = <&vreg_s3e_0p824>; 94*724ba675SRob Herring vdd-l10-l11-l13-supply = <&vreg_bob_3p3>; 95*724ba675SRob Herring vdd-l14-supply = <&vreg_s7e_mx_0p752>; 96*724ba675SRob Herring vdd-l15-supply = <&vreg_s2e_1p224>; 97*724ba675SRob Herring vdd-l16-supply = <&vreg_s4e_1p904>; 98*724ba675SRob Herring 99*724ba675SRob Herring vreg_s2e_1p224: smps2 { 100*724ba675SRob Herring regulator-min-microvolt = <1280000>; 101*724ba675SRob Herring regulator-max-microvolt = <1400000>; 102*724ba675SRob Herring }; 103*724ba675SRob Herring 104*724ba675SRob Herring vreg_s3e_0p824: smps3 { 105*724ba675SRob Herring regulator-min-microvolt = <800000>; 106*724ba675SRob Herring regulator-max-microvolt = <1000000>; 107*724ba675SRob Herring }; 108*724ba675SRob Herring 109*724ba675SRob Herring vreg_s4e_1p904: smps4 { 110*724ba675SRob Herring regulator-min-microvolt = <1800000>; 111*724ba675SRob Herring regulator-max-microvolt = <1960000>; 112*724ba675SRob Herring }; 113*724ba675SRob Herring 114*724ba675SRob Herring vreg_l1e_bb_1p2: ldo1 { 115*724ba675SRob Herring regulator-min-microvolt = <1200000>; 116*724ba675SRob Herring regulator-max-microvolt = <1200000>; 117*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 118*724ba675SRob Herring }; 119*724ba675SRob Herring 120*724ba675SRob Herring ldo2 { 121*724ba675SRob Herring regulator-min-microvolt = <1128000>; 122*724ba675SRob Herring regulator-max-microvolt = <1128000>; 123*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 124*724ba675SRob Herring }; 125*724ba675SRob Herring 126*724ba675SRob Herring ldo3 { 127*724ba675SRob Herring regulator-min-microvolt = <800000>; 128*724ba675SRob Herring regulator-max-microvolt = <800000>; 129*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 130*724ba675SRob Herring }; 131*724ba675SRob Herring 132*724ba675SRob Herring vreg_l4e_bb_0p875: ldo4 { 133*724ba675SRob Herring regulator-min-microvolt = <872000>; 134*724ba675SRob Herring regulator-max-microvolt = <872000>; 135*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 136*724ba675SRob Herring }; 137*724ba675SRob Herring 138*724ba675SRob Herring vreg_l5e_bb_1p7: ldo5 { 139*724ba675SRob Herring regulator-min-microvolt = <1704000>; 140*724ba675SRob Herring regulator-max-microvolt = <1900000>; 141*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 142*724ba675SRob Herring }; 143*724ba675SRob Herring 144*724ba675SRob Herring ldo6 { 145*724ba675SRob Herring regulator-min-microvolt = <1800000>; 146*724ba675SRob Herring regulator-max-microvolt = <1800000>; 147*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 148*724ba675SRob Herring }; 149*724ba675SRob Herring 150*724ba675SRob Herring ldo7 { 151*724ba675SRob Herring regulator-min-microvolt = <480000>; 152*724ba675SRob Herring regulator-max-microvolt = <900000>; 153*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 154*724ba675SRob Herring }; 155*724ba675SRob Herring 156*724ba675SRob Herring ldo8 { 157*724ba675SRob Herring regulator-min-microvolt = <480000>; 158*724ba675SRob Herring regulator-max-microvolt = <900000>; 159*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 160*724ba675SRob Herring }; 161*724ba675SRob Herring 162*724ba675SRob Herring ldo9 { 163*724ba675SRob Herring regulator-min-microvolt = <800000>; 164*724ba675SRob Herring regulator-max-microvolt = <800000>; 165*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 166*724ba675SRob Herring }; 167*724ba675SRob Herring 168*724ba675SRob Herring vreg_l10e_3p1: ldo10 { 169*724ba675SRob Herring regulator-min-microvolt = <3088000>; 170*724ba675SRob Herring regulator-max-microvolt = <3088000>; 171*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 172*724ba675SRob Herring }; 173*724ba675SRob Herring 174*724ba675SRob Herring ldo11 { 175*724ba675SRob Herring regulator-min-microvolt = <1704000>; 176*724ba675SRob Herring regulator-max-microvolt = <2928000>; 177*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 178*724ba675SRob Herring }; 179*724ba675SRob Herring 180*724ba675SRob Herring ldo12 { 181*724ba675SRob Herring regulator-min-microvolt = <1200000>; 182*724ba675SRob Herring regulator-max-microvolt = <1200000>; 183*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 184*724ba675SRob Herring }; 185*724ba675SRob Herring 186*724ba675SRob Herring ldo13 { 187*724ba675SRob Herring regulator-min-microvolt = <1704000>; 188*724ba675SRob Herring regulator-max-microvolt = <2928000>; 189*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 190*724ba675SRob Herring }; 191*724ba675SRob Herring 192*724ba675SRob Herring ldo14 { 193*724ba675SRob Herring regulator-min-microvolt = <600000>; 194*724ba675SRob Herring regulator-max-microvolt = <800000>; 195*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 196*724ba675SRob Herring }; 197*724ba675SRob Herring 198*724ba675SRob Herring ldo15 { 199*724ba675SRob Herring regulator-min-microvolt = <1200000>; 200*724ba675SRob Herring regulator-max-microvolt = <1200000>; 201*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 202*724ba675SRob Herring }; 203*724ba675SRob Herring 204*724ba675SRob Herring ldo16 { 205*724ba675SRob Herring regulator-min-microvolt = <1704000>; 206*724ba675SRob Herring regulator-max-microvolt = <1904000>; 207*724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 208*724ba675SRob Herring }; 209*724ba675SRob Herring }; 210*724ba675SRob Herring}; 211*724ba675SRob Herring 212*724ba675SRob Herring&blsp1_uart3 { 213*724ba675SRob Herring status = "okay"; 214*724ba675SRob Herring}; 215*724ba675SRob Herring 216*724ba675SRob Herring&qpic_bam { 217*724ba675SRob Herring status = "okay"; 218*724ba675SRob Herring}; 219*724ba675SRob Herring 220*724ba675SRob Herring&qpic_nand { 221*724ba675SRob Herring status = "okay"; 222*724ba675SRob Herring 223*724ba675SRob Herring nand@0 { 224*724ba675SRob Herring reg = <0>; 225*724ba675SRob Herring 226*724ba675SRob Herring nand-ecc-strength = <8>; 227*724ba675SRob Herring nand-ecc-step-size = <512>; 228*724ba675SRob Herring nand-bus-width = <8>; 229*724ba675SRob Herring }; 230*724ba675SRob Herring}; 231*724ba675SRob Herring 232*724ba675SRob Herring&remoteproc_mpss { 233*724ba675SRob Herring memory-region = <&mpss_adsp_mem>; 234*724ba675SRob Herring}; 235*724ba675SRob Herring 236*724ba675SRob Herring&usb { 237*724ba675SRob Herring status = "okay"; 238*724ba675SRob Herring}; 239*724ba675SRob Herring 240*724ba675SRob Herring&usb_dwc3 { 241*724ba675SRob Herring dr_mode = "peripheral"; 242*724ba675SRob Herring}; 243*724ba675SRob Herring 244*724ba675SRob Herring&usb_hsphy { 245*724ba675SRob Herring status = "okay"; 246*724ba675SRob Herring vdda-pll-supply = <&vreg_l4e_bb_0p875>; 247*724ba675SRob Herring vdda33-supply = <&vreg_l10e_3p1>; 248*724ba675SRob Herring vdda18-supply = <&vreg_l5e_bb_1p7>; 249*724ba675SRob Herring}; 250*724ba675SRob Herring 251*724ba675SRob Herring&usb_qmpphy { 252*724ba675SRob Herring status = "okay"; 253*724ba675SRob Herring vdda-phy-supply = <&vreg_l4e_bb_0p875>; 254*724ba675SRob Herring vdda-pll-supply = <&vreg_l1e_bb_1p2>; 255*724ba675SRob Herring}; 256