1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * sc7280 IDP board device tree source 4 * 5 * Copyright (c) 2021, The Linux Foundation. All rights reserved. 6 */ 7 8/dts-v1/; 9 10#include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 11#include <dt-bindings/iio/qcom,spmi-adc7-pmr735b.h> 12#include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h> 13#include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 14#include "sc7280.dtsi" 15#include "pm7325.dtsi" 16#include "pmr735a.dtsi" 17#include "pm8350c.dtsi" 18#include "pmk8350.dtsi" 19 20/ { 21 model = "Qualcomm Technologies, Inc. sc7280 IDP platform"; 22 compatible = "qcom,sc7280-idp", "google,senor", "qcom,sc7280"; 23 24 aliases { 25 serial0 = &uart5; 26 }; 27 28 chosen { 29 stdout-path = "serial0:115200n8"; 30 }; 31}; 32 33&apps_rsc { 34 pm7325-regulators { 35 compatible = "qcom,pm7325-rpmh-regulators"; 36 qcom,pmic-id = "b"; 37 38 vreg_s1b_1p8: smps1 { 39 regulator-min-microvolt = <1856000>; 40 regulator-max-microvolt = <2040000>; 41 }; 42 43 vreg_s7b_0p9: smps7 { 44 regulator-min-microvolt = <535000>; 45 regulator-max-microvolt = <1120000>; 46 }; 47 48 vreg_s8b_1p2: smps8 { 49 regulator-min-microvolt = <1256000>; 50 regulator-max-microvolt = <1500000>; 51 }; 52 53 vreg_l1b_0p8: ldo1 { 54 regulator-min-microvolt = <825000>; 55 regulator-max-microvolt = <925000>; 56 }; 57 58 vreg_l2b_3p0: ldo2 { 59 regulator-min-microvolt = <2700000>; 60 regulator-max-microvolt = <3544000>; 61 }; 62 63 vreg_l6b_1p2: ldo6 { 64 regulator-min-microvolt = <1140000>; 65 regulator-max-microvolt = <1260000>; 66 }; 67 68 vreg_l7b_2p9: ldo7 { 69 regulator-min-microvolt = <2960000>; 70 regulator-max-microvolt = <2960000>; 71 }; 72 73 vreg_l8b_0p9: ldo8 { 74 regulator-min-microvolt = <870000>; 75 regulator-max-microvolt = <970000>; 76 }; 77 78 vreg_l9b_1p2: ldo9 { 79 regulator-min-microvolt = <1080000>; 80 regulator-max-microvolt = <1304000>; 81 }; 82 83 vreg_l11b_1p7: ldo11 { 84 regulator-min-microvolt = <1504000>; 85 regulator-max-microvolt = <2000000>; 86 }; 87 88 vreg_l12b_0p8: ldo12 { 89 regulator-min-microvolt = <751000>; 90 regulator-max-microvolt = <824000>; 91 }; 92 93 vreg_l13b_0p8: ldo13 { 94 regulator-min-microvolt = <530000>; 95 regulator-max-microvolt = <824000>; 96 }; 97 98 vreg_l14b_1p2: ldo14 { 99 regulator-min-microvolt = <1080000>; 100 regulator-max-microvolt = <1304000>; 101 }; 102 103 vreg_l15b_0p8: ldo15 { 104 regulator-min-microvolt = <765000>; 105 regulator-max-microvolt = <1020000>; 106 }; 107 108 vreg_l16b_1p2: ldo16 { 109 regulator-min-microvolt = <1100000>; 110 regulator-max-microvolt = <1300000>; 111 }; 112 113 vreg_l17b_1p8: ldo17 { 114 regulator-min-microvolt = <1700000>; 115 regulator-max-microvolt = <1900000>; 116 }; 117 118 vreg_l18b_1p8: ldo18 { 119 regulator-min-microvolt = <1800000>; 120 regulator-max-microvolt = <2000000>; 121 }; 122 123 vreg_l19b_1p8: ldo19 { 124 regulator-min-microvolt = <1800000>; 125 regulator-max-microvolt = <1800000>; 126 }; 127 }; 128 129 pm8350c-regulators { 130 compatible = "qcom,pm8350c-rpmh-regulators"; 131 qcom,pmic-id = "c"; 132 133 vreg_s1c_2p2: smps1 { 134 regulator-min-microvolt = <2190000>; 135 regulator-max-microvolt = <2210000>; 136 }; 137 138 vreg_s9c_1p0: smps9 { 139 regulator-min-microvolt = <1010000>; 140 regulator-max-microvolt = <1170000>; 141 }; 142 143 vreg_l1c_1p8: ldo1 { 144 regulator-min-microvolt = <1800000>; 145 regulator-max-microvolt = <1980000>; 146 }; 147 148 vreg_l2c_1p8: ldo2 { 149 regulator-min-microvolt = <1620000>; 150 regulator-max-microvolt = <1980000>; 151 }; 152 153 vreg_l3c_3p0: ldo3 { 154 regulator-min-microvolt = <2800000>; 155 regulator-max-microvolt = <3540000>; 156 }; 157 158 vreg_l4c_1p8: ldo4 { 159 regulator-min-microvolt = <1620000>; 160 regulator-max-microvolt = <3300000>; 161 }; 162 163 vreg_l5c_1p8: ldo5 { 164 regulator-min-microvolt = <1620000>; 165 regulator-max-microvolt = <3300000>; 166 }; 167 168 vreg_l6c_2p9: ldo6 { 169 regulator-min-microvolt = <1800000>; 170 regulator-max-microvolt = <2950000>; 171 }; 172 173 vreg_l7c_3p0: ldo7 { 174 regulator-min-microvolt = <3000000>; 175 regulator-max-microvolt = <3544000>; 176 }; 177 178 vreg_l8c_1p8: ldo8 { 179 regulator-min-microvolt = <1620000>; 180 regulator-max-microvolt = <2000000>; 181 }; 182 183 vreg_l9c_2p9: ldo9 { 184 regulator-min-microvolt = <2960000>; 185 regulator-max-microvolt = <2960000>; 186 }; 187 188 vreg_l10c_0p8: ldo10 { 189 regulator-min-microvolt = <720000>; 190 regulator-max-microvolt = <1050000>; 191 }; 192 193 vreg_l11c_2p8: ldo11 { 194 regulator-min-microvolt = <2800000>; 195 regulator-max-microvolt = <3544000>; 196 }; 197 198 vreg_l12c_1p8: ldo12 { 199 regulator-min-microvolt = <1650000>; 200 regulator-max-microvolt = <2000000>; 201 }; 202 203 vreg_l13c_3p0: ldo13 { 204 regulator-min-microvolt = <2700000>; 205 regulator-max-microvolt = <3544000>; 206 }; 207 208 vreg_bob: bob { 209 regulator-min-microvolt = <3008000>; 210 regulator-max-microvolt = <3960000>; 211 }; 212 }; 213 214 pmr735a-regulators { 215 compatible = "qcom,pmr735a-rpmh-regulators"; 216 qcom,pmic-id = "e"; 217 218 vreg_l2e_1p2: ldo2 { 219 regulator-min-microvolt = <1200000>; 220 regulator-max-microvolt = <1200000>; 221 }; 222 223 vreg_l3e_0p9: ldo3 { 224 regulator-min-microvolt = <912000>; 225 regulator-max-microvolt = <1020000>; 226 }; 227 228 vreg_l4e_1p7: ldo4 { 229 regulator-min-microvolt = <1776000>; 230 regulator-max-microvolt = <1890000>; 231 }; 232 233 vreg_l5e_0p8: ldo5 { 234 regulator-min-microvolt = <800000>; 235 regulator-max-microvolt = <800000>; 236 }; 237 238 vreg_l6e_0p8: ldo6 { 239 regulator-min-microvolt = <480000>; 240 regulator-max-microvolt = <904000>; 241 }; 242 }; 243}; 244 245&pmk8350_vadc { 246 pm8350_die_temp { 247 reg = <PM8350_ADC7_DIE_TEMP>; 248 label = "pm8350_die_temp"; 249 qcom,pre-scaling = <1 1>; 250 }; 251 252 pmk8350_die_temp { 253 reg = <PMK8350_ADC7_DIE_TEMP>; 254 label = "pmk8350_die_temp"; 255 qcom,pre-scaling = <1 1>; 256 }; 257 258 pmr735a_die_temp { 259 reg = <PMR735A_ADC7_DIE_TEMP>; 260 label = "pmr735a_die_temp"; 261 qcom,pre-scaling = <1 1>; 262 }; 263 264 pmr735b_die_temp { 265 reg = <PMR735B_ADC7_DIE_TEMP>; 266 label = "pmr735b_die_temp"; 267 qcom,pre-scaling = <1 1>; 268 }; 269}; 270 271&qupv3_id_0 { 272 status = "okay"; 273}; 274 275&uart5 { 276 status = "okay"; 277}; 278 279/* PINCTRL - additions to nodes defined in sc7280.dtsi */ 280 281&qup_uart5_default { 282 tx { 283 pins = "gpio46"; 284 drive-strength = <2>; 285 bias-disable; 286 }; 287 288 rx { 289 pins = "gpio47"; 290 drive-strength = <2>; 291 bias-pull-up; 292 }; 293}; 294