1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * sc7280 IDP board device tree source 3 * sc7280 IDP board device tree source 4 * 4 * 5 * Copyright (c) 2021, The Linux Foundation. A 5 * Copyright (c) 2021, The Linux Foundation. All rights reserved. 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include <dt-bindings/iio/qcom,spmi-adc7-pmr73 10 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 11 #include "sc7280-idp.dtsi" !! 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" 12 #include "pmr735a.dtsi" 16 #include "pmr735a.dtsi" >> 17 #include "pm8350c.dtsi" >> 18 #include "pmk8350.dtsi" 13 19 14 / { 20 / { 15 model = "Qualcomm Technologies, Inc. s !! 21 model = "Qualcomm Technologies, Inc. sc7280 IDP platform"; 16 compatible = "qcom,sc7280-idp", "googl 22 compatible = "qcom,sc7280-idp", "google,senor", "qcom,sc7280"; 17 23 18 aliases { 24 aliases { 19 serial0 = &uart5; 25 serial0 = &uart5; 20 }; 26 }; 21 27 22 chosen { 28 chosen { 23 stdout-path = "serial0:115200n 29 stdout-path = "serial0:115200n8"; 24 }; 30 }; 25 }; 31 }; 26 32 27 &apps_rsc { 33 &apps_rsc { 28 regulators-2 { !! 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 { 29 compatible = "qcom,pmr735a-rpm 215 compatible = "qcom,pmr735a-rpmh-regulators"; 30 qcom,pmic-id = "e"; 216 qcom,pmic-id = "e"; 31 217 32 vreg_l2e_1p2: ldo2 { 218 vreg_l2e_1p2: ldo2 { 33 regulator-min-microvol 219 regulator-min-microvolt = <1200000>; 34 regulator-max-microvol 220 regulator-max-microvolt = <1200000>; 35 }; 221 }; 36 222 37 vreg_l3e_0p9: ldo3 { 223 vreg_l3e_0p9: ldo3 { 38 regulator-min-microvol 224 regulator-min-microvolt = <912000>; 39 regulator-max-microvol 225 regulator-max-microvolt = <1020000>; 40 }; 226 }; 41 227 42 vreg_l4e_1p7: ldo4 { 228 vreg_l4e_1p7: ldo4 { 43 regulator-min-microvol 229 regulator-min-microvolt = <1776000>; 44 regulator-max-microvol 230 regulator-max-microvolt = <1890000>; 45 }; 231 }; 46 232 47 vreg_l5e_0p8: ldo5 { 233 vreg_l5e_0p8: ldo5 { 48 regulator-min-microvol 234 regulator-min-microvolt = <800000>; 49 regulator-max-microvol 235 regulator-max-microvolt = <800000>; 50 }; 236 }; 51 237 52 vreg_l6e_0p8: ldo6 { 238 vreg_l6e_0p8: ldo6 { 53 regulator-min-microvol 239 regulator-min-microvolt = <480000>; 54 regulator-max-microvol 240 regulator-max-microvolt = <904000>; 55 }; 241 }; 56 }; 242 }; 57 }; 243 }; 58 244 59 &bluetooth { !! 245 &pmk8350_vadc { 60 vddio-supply = <&vreg_l19b_1p8>; !! 246 pm8350_die_temp { 61 }; !! 247 reg = <PM8350_ADC7_DIE_TEMP>; >> 248 label = "pm8350_die_temp"; >> 249 qcom,pre-scaling = <1 1>; >> 250 }; 62 251 63 &pmk8350_rtc { !! 252 pmk8350_die_temp { 64 status = "okay"; !! 253 reg = <PMK8350_ADC7_DIE_TEMP>; 65 }; !! 254 label = "pmk8350_die_temp"; >> 255 qcom,pre-scaling = <1 1>; >> 256 }; 66 257 67 &nvme_pwren { !! 258 pmr735a_die_temp { 68 pins = "gpio19"; !! 259 reg = <PMR735A_ADC7_DIE_TEMP>; 69 }; !! 260 label = "pmr735a_die_temp"; >> 261 qcom,pre-scaling = <1 1>; >> 262 }; 70 263 71 &nvme_3v3_regulator { !! 264 pmr735b_die_temp { 72 gpio = <&tlmm 19 GPIO_ACTIVE_HIGH>; !! 265 reg = <PMR735B_ADC7_DIE_TEMP>; >> 266 label = "pmr735b_die_temp"; >> 267 qcom,pre-scaling = <1 1>; >> 268 }; 73 }; 269 }; 74 270 75 &pmk8350_vadc { !! 271 &qupv3_id_0 { 76 channel@403 { !! 272 status = "okay"; 77 reg = <PMR735A_ADC7_DIE_TEMP>; << 78 label = "pmr735a_die_temp"; << 79 qcom,pre-scaling = <1 1>; << 80 }; << 81 }; 273 }; 82 274 83 &usb_2 { !! 275 &uart5 { 84 status = "okay"; 276 status = "okay"; 85 }; 277 }; 86 278 87 &usb_2_dwc3 { !! 279 /* PINCTRL - additions to nodes defined in sc7280.dtsi */ 88 dr_mode = "otg"; << 89 }; << 90 280 91 &usb_2_hsphy { !! 281 &qup_uart5_default { 92 status = "okay"; !! 282 tx { >> 283 pins = "gpio46"; >> 284 drive-strength = <2>; >> 285 bias-disable; >> 286 }; 93 287 94 vdda-pll-supply = <&vreg_l10c_0p8>; !! 288 rx { 95 vdda33-supply = <&vreg_l2b_3p0>; !! 289 pins = "gpio47"; 96 vdda18-supply = <&vreg_l1c_1p8>; !! 290 drive-strength = <2>; >> 291 bias-pull-up; >> 292 }; 97 }; 293 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.