1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 3 * Copyright (c) 2016-2022, AngeloGioacchino D 4 * <angelogioacchino.d 5 * Copyright (c) 2022, Konrad Dybcio <konrad.dy 6 * Copyright (c) 2022, Marijn Suijten <marijn.s 7 */ 8 9 #include "msm8956.dtsi" 10 11 #include "pm8004.dtsi" 12 #include "pm8950.dtsi" 13 #include "pmi8950.dtsi" 14 15 / { 16 qcom,msm-id = <266 0x10001>; /* MSM895 17 qcom,board-id = <8 0>; 18 19 aliases { 20 mmc0 = &sdhc_1; /* SDC1 eMMC s 21 mmc1 = &sdhc_2; /* SDC2 SD car 22 mmc2 = &sdhc_3; /* SDC3 SDIO c 23 serial0 = &blsp2_uart2; 24 }; 25 26 chosen { 27 stdout-path = "serial0:115200n 28 }; 29 30 reserved-memory { 31 cont-splash@83000000 { 32 reg = <0x0 0x83000000 33 }; 34 35 ramoops@57f00000 { 36 compatible = "ramoops" 37 reg = <0 0x57f00000 0 38 record-size = <0x20000 39 console-size = <0x4000 40 ftrace-size = <0x20000 41 pmsg-size = <0x20000>; 42 ecc-size = <16>; 43 }; 44 }; 45 46 usbphy_1p2: regulator-usbphy-1p2 { 47 compatible = "regulator-fixed" 48 regulator-name = "usbphy-1p2"; 49 regulator-always-on; 50 regulator-boot-on; 51 regulator-min-microvolt = <120 52 regulator-max-microvolt = <120 53 vin-supply = <&vph_pwr>; 54 }; 55 56 vph_pwr: regulator-vph-pwr { 57 compatible = "regulator-fixed" 58 regulator-name = "vph-pwr"; 59 regulator-always-on; 60 regulator-boot-on; 61 }; 62 }; 63 64 &blsp1_i2c4 { 65 status = "okay"; 66 67 /* Synaptics RMI4 @ 2c */ 68 }; 69 70 &blsp2_uart2 { 71 status = "okay"; 72 }; 73 74 &gcc { 75 vdd_gfx-supply = <&pm8004_s5>; 76 }; 77 78 &otg { 79 status = "okay"; 80 }; 81 82 &pm8004_spmi_regulators { 83 vdd_s2-supply = <&vph_pwr>; 84 vdd_s5-supply = <&vph_pwr>; 85 86 /* Cluster 1 supply */ 87 pm8004_s2: s2 { 88 /* regulator-min-microvolt = < 89 /* Set .95V to prevent unstabi 90 regulator-min-microvolt = <950 91 regulator-max-microvolt = <116 92 regulator-name = "vdd_apc1"; 93 /* Set always on until the CPU 94 regulator-always-on; 95 regulator-boot-on; 96 }; 97 98 pm8004_s5: s5 { 99 regulator-min-microvolt = <950 100 regulator-max-microvolt = <116 101 regulator-enable-ramp-delay = 102 regulator-name = "vdd_gfx"; 103 /* Hack this on until the gpu 104 regulator-always-on; 105 }; 106 }; 107 108 &pm8950_spmi_regulators { 109 vdd_s5-supply = <&vph_pwr>; 110 111 /* Cluster 0 supply */ 112 pm8950_spmi_s5: s5 { 113 /* Set .95V to prevent unstabi 114 /* regulator-min-microvolt = < 115 regulator-min-microvolt = <950 116 regulator-max-microvolt = <116 117 regulator-name = "vdd_apc0"; 118 /* Set always on until the CPU 119 regulator-always-on; 120 regulator-boot-on; 121 }; 122 }; 123 124 &rpm_requests { 125 pm8950_regulators: regulators { 126 compatible = "qcom,rpm-pm8950- 127 128 vdd_s1-supply = <&vph_pwr>; 129 vdd_s2-supply = <&vph_pwr>; 130 vdd_s3-supply = <&vph_pwr>; 131 vdd_s4-supply = <&vph_pwr>; 132 vdd_s6-supply = <&vph_pwr>; 133 vdd_l1_l19-supply = <&pm8950_s 134 vdd_l2_l23-supply = <&pm8950_s 135 vdd_l3-supply = <&pm8950_s3>; 136 vdd_l5_l6_l7_l16-supply = <&pm 137 vdd_l8_l11_l12_l17_l22-supply 138 139 pm8950_s1: s1 { 140 regulator-min-microvol 141 regulator-max-microvol 142 }; 143 144 pm8950_s3: s3 { 145 regulator-min-microvol 146 regulator-max-microvol 147 regulator-always-on; 148 }; 149 150 pm8950_s4: s4 { 151 regulator-min-microvol 152 regulator-max-microvol 153 regulator-always-on; 154 }; 155 156 pm8950_l1: l1 { 157 regulator-min-microvol 158 regulator-max-microvol 159 }; 160 161 pm8950_l2: l2 { 162 regulator-min-microvol 163 regulator-max-microvol 164 }; 165 166 pm8950_l3: l3 { 167 regulator-min-microvol 168 regulator-max-microvol 169 }; 170 171 pm8950_l5: l5 { 172 regulator-min-microvol 173 regulator-max-microvol 174 regulator-system-load 175 regulator-allow-set-lo 176 }; 177 178 pm8950_l6: l6 { 179 regulator-min-microvol 180 regulator-max-microvol 181 }; 182 183 pm8950_l7: l7 { 184 regulator-min-microvol 185 regulator-max-microvol 186 }; 187 188 pm8950_l8: l8 { 189 regulator-min-microvol 190 regulator-max-microvol 191 regulator-system-load 192 regulator-allow-set-lo 193 }; 194 195 pm8950_l9: l9 { 196 regulator-min-microvol 197 regulator-max-microvol 198 }; 199 200 pm8950_l10: l10 { 201 regulator-min-microvol 202 regulator-max-microvol 203 }; 204 205 pm8950_l11: l11 { 206 regulator-min-microvol 207 regulator-max-microvol 208 regulator-system-load 209 regulator-allow-set-lo 210 }; 211 212 pm8950_l12: l12 { 213 regulator-min-microvol 214 regulator-max-microvol 215 regulator-system-load 216 regulator-allow-set-lo 217 }; 218 219 pm8950_l13: l13 { 220 regulator-min-microvol 221 regulator-max-microvol 222 }; 223 224 pm8950_l14: l14 { 225 regulator-min-microvol 226 regulator-max-microvol 227 }; 228 229 pm8950_l15: l15 { 230 regulator-min-microvol 231 regulator-max-microvol 232 }; 233 234 pm8950_l16: l16 { 235 regulator-min-microvol 236 regulator-max-microvol 237 }; 238 239 pm8950_l17: l17 { 240 regulator-min-microvol 241 regulator-max-microvol 242 }; 243 244 pm8950_l22: l22 { 245 regulator-min-microvol 246 regulator-max-microvol 247 }; 248 249 pm8950_l23: l23 { 250 regulator-min-microvol 251 regulator-max-microvol 252 }; 253 }; 254 }; 255 256 &sdhc_1 { 257 /* Toshiba THGBMHG8C4LBAU7 (032G34) */ 258 bus-width = <8>; 259 non-removable; 260 vmmc-supply = <&pm8950_l8>; 261 vqmmc-supply = <&pm8950_l5>; 262 status = "okay"; 263 }; 264 265 &sdhc_2 { 266 bus-width = <4>; 267 cd-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH 268 vmmc-supply = <&pm8950_l11>; 269 vqmmc-supply = <&pm8950_l12>; 270 status = "okay"; 271 }; 272 273 &tlmm { 274 gpio-reserved-ranges = <0 4>; 275 }; 276 277 &usb_hs_phy { 278 vdd-supply = <&usbphy_1p2>; 279 vdda1p8-supply = <&pm8950_l7>; 280 vdda3p3-supply = <&pm8950_l13>; 281 status = "okay"; 282 }; 283 284 &xo_board { 285 clock-frequency = <19200000>; 286 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.