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