1f126890aSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright (c) 2021, Linaro Ltd. 4f126890aSEmmanuel Vadot */ 5f126890aSEmmanuel Vadot 6f126890aSEmmanuel Vadot/dts-v1/; 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 9f126890aSEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10f126890aSEmmanuel Vadot#include "qcom-sdx55.dtsi" 11*8d13bc63SEmmanuel Vadot#include "pmx55.dtsi" 12f126890aSEmmanuel Vadot 13f126890aSEmmanuel Vadot/ { 14f126890aSEmmanuel Vadot model = "Thundercomm T55 Development Kit"; 15f126890aSEmmanuel Vadot compatible = "qcom,sdx55-t55", "qcom,sdx55"; 16f126890aSEmmanuel Vadot qcom,board-id = <0xb010008 0x4>; 17f126890aSEmmanuel Vadot 18f126890aSEmmanuel Vadot aliases { 19f126890aSEmmanuel Vadot serial0 = &blsp1_uart3; 20f126890aSEmmanuel Vadot }; 21f126890aSEmmanuel Vadot 22f126890aSEmmanuel Vadot chosen { 23f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 24f126890aSEmmanuel Vadot }; 25f126890aSEmmanuel Vadot 26f126890aSEmmanuel Vadot reserved-memory { 27f126890aSEmmanuel Vadot #address-cells = <1>; 28f126890aSEmmanuel Vadot #size-cells = <1>; 29f126890aSEmmanuel Vadot ranges; 30f126890aSEmmanuel Vadot 31f126890aSEmmanuel Vadot mpss_debug_mem: memory@8ef00000 { 32f126890aSEmmanuel Vadot no-map; 33f126890aSEmmanuel Vadot reg = <0x8ef00000 0x800000>; 34f126890aSEmmanuel Vadot }; 35f126890aSEmmanuel Vadot 36f126890aSEmmanuel Vadot ipa_fw_mem: memory@8fced000 { 37f126890aSEmmanuel Vadot no-map; 38f126890aSEmmanuel Vadot reg = <0x8fced000 0x10000>; 39f126890aSEmmanuel Vadot }; 40f126890aSEmmanuel Vadot 41f126890aSEmmanuel Vadot mpss_adsp_mem: memory@90800000 { 42f126890aSEmmanuel Vadot no-map; 43f126890aSEmmanuel Vadot reg = <0x90800000 0xf800000>; 44f126890aSEmmanuel Vadot }; 45f126890aSEmmanuel Vadot }; 46f126890aSEmmanuel Vadot 47f126890aSEmmanuel Vadot vph_pwr: vph-pwr-regulator { 48f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 49f126890aSEmmanuel Vadot regulator-name = "vph_pwr"; 50f126890aSEmmanuel Vadot regulator-min-microvolt = <3700000>; 51f126890aSEmmanuel Vadot regulator-max-microvolt = <3700000>; 52f126890aSEmmanuel Vadot }; 53f126890aSEmmanuel Vadot 54f126890aSEmmanuel Vadot vreg_bob_3p3: pmx55-bob { 55f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 56f126890aSEmmanuel Vadot regulator-name = "vreg_bob_3p3"; 57f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 58f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 59f126890aSEmmanuel Vadot 60f126890aSEmmanuel Vadot regulator-always-on; 61f126890aSEmmanuel Vadot regulator-boot-on; 62f126890aSEmmanuel Vadot 63f126890aSEmmanuel Vadot vin-supply = <&vph_pwr>; 64f126890aSEmmanuel Vadot }; 65f126890aSEmmanuel Vadot 66f126890aSEmmanuel Vadot vreg_s7e_mx_0p752: pmx55-s7e { 67f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 68f126890aSEmmanuel Vadot regulator-name = "vreg_s7e_mx_0p752"; 69f126890aSEmmanuel Vadot regulator-min-microvolt = <752000>; 70f126890aSEmmanuel Vadot regulator-max-microvolt = <752000>; 71f126890aSEmmanuel Vadot 72f126890aSEmmanuel Vadot vin-supply = <&vph_pwr>; 73f126890aSEmmanuel Vadot }; 74f126890aSEmmanuel Vadot 75f126890aSEmmanuel Vadot vreg_sd_vdd: sd-vdd { 76f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 77f126890aSEmmanuel Vadot regulator-name = "vreg_sd_vdd"; 78f126890aSEmmanuel Vadot regulator-min-microvolt = <2950000>; 79f126890aSEmmanuel Vadot regulator-max-microvolt = <2950000>; 80f126890aSEmmanuel Vadot 81f126890aSEmmanuel Vadot vin-supply = <&vreg_vddpx_2>; 82f126890aSEmmanuel Vadot }; 83f126890aSEmmanuel Vadot 84f126890aSEmmanuel Vadot vreg_vddpx_2: vddpx-2 { 85f126890aSEmmanuel Vadot compatible = "regulator-gpio"; 86f126890aSEmmanuel Vadot regulator-name = "vreg_vddpx_2"; 87f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 88f126890aSEmmanuel Vadot regulator-max-microvolt = <2850000>; 89f126890aSEmmanuel Vadot enable-gpios = <&tlmm 98 GPIO_ACTIVE_HIGH>; 90f126890aSEmmanuel Vadot gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>; 91f126890aSEmmanuel Vadot states = <1800000 0>, <2850000 1>; 92f126890aSEmmanuel Vadot startup-delay-us = <200000>; 93f126890aSEmmanuel Vadot enable-active-high; 94f126890aSEmmanuel Vadot regulator-boot-on; 95f126890aSEmmanuel Vadot 96f126890aSEmmanuel Vadot vin-supply = <&vph_pwr>; 97f126890aSEmmanuel Vadot }; 98f126890aSEmmanuel Vadot}; 99f126890aSEmmanuel Vadot 100f126890aSEmmanuel Vadot&apps_rsc { 101f126890aSEmmanuel Vadot regulators-0 { 102f126890aSEmmanuel Vadot compatible = "qcom,pmx55-rpmh-regulators"; 103f126890aSEmmanuel Vadot qcom,pmic-id = "e"; 104f126890aSEmmanuel Vadot 105f126890aSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 106f126890aSEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 107f126890aSEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 108f126890aSEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 109f126890aSEmmanuel Vadot vdd-s5-supply = <&vph_pwr>; 110f126890aSEmmanuel Vadot vdd-s6-supply = <&vph_pwr>; 111f126890aSEmmanuel Vadot vdd-s7-supply = <&vph_pwr>; 112f126890aSEmmanuel Vadot vdd-l1-l2-supply = <&vreg_s2e_1p224>; 113f126890aSEmmanuel Vadot vdd-l3-l9-supply = <&vreg_s3e_0p824>; 114f126890aSEmmanuel Vadot vdd-l4-l12-supply = <&vreg_s4e_1p904>; 115f126890aSEmmanuel Vadot vdd-l5-l6-supply = <&vreg_s4e_1p904>; 116f126890aSEmmanuel Vadot vdd-l7-l8-supply = <&vreg_s3e_0p824>; 117f126890aSEmmanuel Vadot vdd-l10-l11-l13-supply = <&vreg_bob_3p3>; 118f126890aSEmmanuel Vadot vdd-l14-supply = <&vreg_s7e_mx_0p752>; 119f126890aSEmmanuel Vadot vdd-l15-supply = <&vreg_s2e_1p224>; 120f126890aSEmmanuel Vadot vdd-l16-supply = <&vreg_s4e_1p904>; 121f126890aSEmmanuel Vadot 122f126890aSEmmanuel Vadot vreg_s2e_1p224: smps2 { 123f126890aSEmmanuel Vadot regulator-min-microvolt = <1280000>; 124f126890aSEmmanuel Vadot regulator-max-microvolt = <1400000>; 125f126890aSEmmanuel Vadot }; 126f126890aSEmmanuel Vadot 127f126890aSEmmanuel Vadot vreg_s3e_0p824: smps3 { 128f126890aSEmmanuel Vadot regulator-min-microvolt = <800000>; 129f126890aSEmmanuel Vadot regulator-max-microvolt = <1000000>; 130f126890aSEmmanuel Vadot }; 131f126890aSEmmanuel Vadot 132f126890aSEmmanuel Vadot vreg_s4e_1p904: smps4 { 133f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 134f126890aSEmmanuel Vadot regulator-max-microvolt = <1960000>; 135f126890aSEmmanuel Vadot }; 136f126890aSEmmanuel Vadot 137f126890aSEmmanuel Vadot vreg_l1e_bb_1p2: ldo1 { 138f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 139f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 140f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 141f126890aSEmmanuel Vadot }; 142f126890aSEmmanuel Vadot 143f126890aSEmmanuel Vadot ldo2 { 144f126890aSEmmanuel Vadot regulator-min-microvolt = <1128000>; 145f126890aSEmmanuel Vadot regulator-max-microvolt = <1128000>; 146f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 147f126890aSEmmanuel Vadot }; 148f126890aSEmmanuel Vadot 149f126890aSEmmanuel Vadot ldo3 { 150f126890aSEmmanuel Vadot regulator-min-microvolt = <800000>; 151f126890aSEmmanuel Vadot regulator-max-microvolt = <800000>; 152f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 153f126890aSEmmanuel Vadot }; 154f126890aSEmmanuel Vadot 155f126890aSEmmanuel Vadot vreg_l4e_bb_0p875: ldo4 { 156f126890aSEmmanuel Vadot regulator-min-microvolt = <872000>; 157f126890aSEmmanuel Vadot regulator-max-microvolt = <872000>; 158f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 159f126890aSEmmanuel Vadot }; 160f126890aSEmmanuel Vadot 161f126890aSEmmanuel Vadot vreg_l5e_bb_1p7: ldo5 { 162f126890aSEmmanuel Vadot regulator-min-microvolt = <1704000>; 163f126890aSEmmanuel Vadot regulator-max-microvolt = <1900000>; 164f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 165f126890aSEmmanuel Vadot }; 166f126890aSEmmanuel Vadot 167f126890aSEmmanuel Vadot ldo6 { 168f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 169f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 170f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 171f126890aSEmmanuel Vadot }; 172f126890aSEmmanuel Vadot 173f126890aSEmmanuel Vadot ldo7 { 174f126890aSEmmanuel Vadot regulator-min-microvolt = <480000>; 175f126890aSEmmanuel Vadot regulator-max-microvolt = <900000>; 176f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 177f126890aSEmmanuel Vadot }; 178f126890aSEmmanuel Vadot 179f126890aSEmmanuel Vadot ldo8 { 180f126890aSEmmanuel Vadot regulator-min-microvolt = <480000>; 181f126890aSEmmanuel Vadot regulator-max-microvolt = <900000>; 182f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 183f126890aSEmmanuel Vadot }; 184f126890aSEmmanuel Vadot 185f126890aSEmmanuel Vadot ldo9 { 186f126890aSEmmanuel Vadot regulator-min-microvolt = <800000>; 187f126890aSEmmanuel Vadot regulator-max-microvolt = <800000>; 188f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 189f126890aSEmmanuel Vadot }; 190f126890aSEmmanuel Vadot 191f126890aSEmmanuel Vadot vreg_l10e_3p1: ldo10 { 192f126890aSEmmanuel Vadot regulator-min-microvolt = <3088000>; 193f126890aSEmmanuel Vadot regulator-max-microvolt = <3088000>; 194f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 195f126890aSEmmanuel Vadot }; 196f126890aSEmmanuel Vadot 197f126890aSEmmanuel Vadot ldo11 { 198f126890aSEmmanuel Vadot regulator-min-microvolt = <1704000>; 199f126890aSEmmanuel Vadot regulator-max-microvolt = <2928000>; 200f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 201f126890aSEmmanuel Vadot }; 202f126890aSEmmanuel Vadot 203f126890aSEmmanuel Vadot ldo12 { 204f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 205f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 206f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 207f126890aSEmmanuel Vadot }; 208f126890aSEmmanuel Vadot 209f126890aSEmmanuel Vadot ldo13 { 210f126890aSEmmanuel Vadot regulator-min-microvolt = <1704000>; 211f126890aSEmmanuel Vadot regulator-max-microvolt = <2928000>; 212f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 213f126890aSEmmanuel Vadot }; 214f126890aSEmmanuel Vadot 215f126890aSEmmanuel Vadot ldo14 { 216f126890aSEmmanuel Vadot regulator-min-microvolt = <600000>; 217f126890aSEmmanuel Vadot regulator-max-microvolt = <800000>; 218f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 219f126890aSEmmanuel Vadot }; 220f126890aSEmmanuel Vadot 221f126890aSEmmanuel Vadot ldo15 { 222f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 223f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 224f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 225f126890aSEmmanuel Vadot }; 226f126890aSEmmanuel Vadot 227f126890aSEmmanuel Vadot ldo16 { 228f126890aSEmmanuel Vadot regulator-min-microvolt = <1704000>; 229f126890aSEmmanuel Vadot regulator-max-microvolt = <1904000>; 230f126890aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 231f126890aSEmmanuel Vadot }; 232f126890aSEmmanuel Vadot }; 233f126890aSEmmanuel Vadot}; 234f126890aSEmmanuel Vadot 235f126890aSEmmanuel Vadot&blsp1_uart3 { 236f126890aSEmmanuel Vadot status = "okay"; 237f126890aSEmmanuel Vadot}; 238f126890aSEmmanuel Vadot 239f126890aSEmmanuel Vadot&ipa { 240f126890aSEmmanuel Vadot qcom,gsi-loader = "self"; 241f126890aSEmmanuel Vadot memory-region = <&ipa_fw_mem>; 242f126890aSEmmanuel Vadot status = "okay"; 243f126890aSEmmanuel Vadot}; 244f126890aSEmmanuel Vadot 245f126890aSEmmanuel Vadot&pcie_phy { 246f126890aSEmmanuel Vadot vdda-phy-supply = <&vreg_l1e_bb_1p2>; 247f126890aSEmmanuel Vadot vdda-pll-supply = <&vreg_l4e_bb_0p875>; 248f126890aSEmmanuel Vadot 249f126890aSEmmanuel Vadot status = "okay"; 250f126890aSEmmanuel Vadot}; 251f126890aSEmmanuel Vadot 252f126890aSEmmanuel Vadot&pcie_rc { 253f126890aSEmmanuel Vadot perst-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>; 254f126890aSEmmanuel Vadot wake-gpios = <&tlmm 53 GPIO_ACTIVE_HIGH>; 255f126890aSEmmanuel Vadot 256f126890aSEmmanuel Vadot pinctrl-0 = <&pcie_default>; 257f126890aSEmmanuel Vadot pinctrl-names = "default"; 258f126890aSEmmanuel Vadot 259f126890aSEmmanuel Vadot status = "okay"; 260f126890aSEmmanuel Vadot}; 261f126890aSEmmanuel Vadot 262f126890aSEmmanuel Vadot&qpic_bam { 263f126890aSEmmanuel Vadot status = "okay"; 264f126890aSEmmanuel Vadot}; 265f126890aSEmmanuel Vadot 266f126890aSEmmanuel Vadot&qpic_nand { 267f126890aSEmmanuel Vadot status = "okay"; 268f126890aSEmmanuel Vadot 269f126890aSEmmanuel Vadot nand@0 { 270f126890aSEmmanuel Vadot reg = <0>; 271f126890aSEmmanuel Vadot 272f126890aSEmmanuel Vadot nand-ecc-strength = <8>; 273f126890aSEmmanuel Vadot nand-ecc-step-size = <512>; 274f126890aSEmmanuel Vadot nand-bus-width = <8>; 275f126890aSEmmanuel Vadot /* efs2 partition is secured */ 276f126890aSEmmanuel Vadot secure-regions = /bits/ 64 <0x500000 0xb00000>; 277f126890aSEmmanuel Vadot }; 278f126890aSEmmanuel Vadot}; 279f126890aSEmmanuel Vadot 280f126890aSEmmanuel Vadot&remoteproc_mpss { 281f126890aSEmmanuel Vadot memory-region = <&mpss_adsp_mem>; 282f126890aSEmmanuel Vadot status = "okay"; 283f126890aSEmmanuel Vadot}; 284f126890aSEmmanuel Vadot 285f126890aSEmmanuel Vadot&tlmm { 286f126890aSEmmanuel Vadot pcie_default: pcie-default-state { 287f126890aSEmmanuel Vadot clkreq-pins { 288f126890aSEmmanuel Vadot pins = "gpio56"; 289f126890aSEmmanuel Vadot function = "pcie_clkreq"; 290f126890aSEmmanuel Vadot drive-strength = <2>; 291f126890aSEmmanuel Vadot bias-pull-up; 292f126890aSEmmanuel Vadot }; 293f126890aSEmmanuel Vadot 294f126890aSEmmanuel Vadot perst-pins { 295f126890aSEmmanuel Vadot pins = "gpio57"; 296f126890aSEmmanuel Vadot function = "gpio"; 297f126890aSEmmanuel Vadot drive-strength = <2>; 298f126890aSEmmanuel Vadot bias-pull-down; 299f126890aSEmmanuel Vadot }; 300f126890aSEmmanuel Vadot 301f126890aSEmmanuel Vadot wake-pins { 302f126890aSEmmanuel Vadot pins = "gpio53"; 303f126890aSEmmanuel Vadot function = "gpio"; 304f126890aSEmmanuel Vadot drive-strength = <2>; 305f126890aSEmmanuel Vadot bias-pull-up; 306f126890aSEmmanuel Vadot }; 307f126890aSEmmanuel Vadot }; 308f126890aSEmmanuel Vadot}; 309f126890aSEmmanuel Vadot 310f126890aSEmmanuel Vadot&usb_hsphy { 311f126890aSEmmanuel Vadot vdda-pll-supply = <&vreg_l4e_bb_0p875>; 312f126890aSEmmanuel Vadot vdda33-supply = <&vreg_l10e_3p1>; 313f126890aSEmmanuel Vadot vdda18-supply = <&vreg_l5e_bb_1p7>; 314f126890aSEmmanuel Vadot 315f126890aSEmmanuel Vadot status = "okay"; 316f126890aSEmmanuel Vadot}; 317f126890aSEmmanuel Vadot 318f126890aSEmmanuel Vadot&usb_qmpphy { 319f126890aSEmmanuel Vadot vdda-phy-supply = <&vreg_l4e_bb_0p875>; 320f126890aSEmmanuel Vadot vdda-pll-supply = <&vreg_l1e_bb_1p2>; 321f126890aSEmmanuel Vadot 322f126890aSEmmanuel Vadot status = "okay"; 323f126890aSEmmanuel Vadot}; 324f126890aSEmmanuel Vadot 325f126890aSEmmanuel Vadot&usb { 326f126890aSEmmanuel Vadot status = "okay"; 327f126890aSEmmanuel Vadot}; 328f126890aSEmmanuel Vadot 329f126890aSEmmanuel Vadot&usb_dwc3 { 330f126890aSEmmanuel Vadot dr_mode = "peripheral"; 331f126890aSEmmanuel Vadot}; 332