1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2021, Linaro Limited 3 * Copyright (c) 2021, Linaro Limited 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include <dt-bindings/regulator/qcom,rpmh-regu 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include "sa8155p.dtsi" !! 10 #include "sm8150.dtsi" 11 #include "pmm8155au_1.dtsi" 11 #include "pmm8155au_1.dtsi" 12 #include "pmm8155au_2.dtsi" 12 #include "pmm8155au_2.dtsi" 13 13 14 / { 14 / { 15 model = "Qualcomm Technologies, Inc. S 15 model = "Qualcomm Technologies, Inc. SA8155P ADP"; 16 compatible = "qcom,sa8155p-adp", "qcom 16 compatible = "qcom,sa8155p-adp", "qcom,sa8155p"; 17 17 18 aliases { 18 aliases { 19 serial0 = &uart2; 19 serial0 = &uart2; 20 serial1 = &uart9; << 21 }; 20 }; 22 21 23 chosen { 22 chosen { 24 stdout-path = "serial0:115200n 23 stdout-path = "serial0:115200n8"; 25 }; 24 }; 26 25 27 vreg_3p3: vreg-3p3-regulator { !! 26 vreg_3p3: vreg_3p3_regulator { 28 compatible = "regulator-fixed" 27 compatible = "regulator-fixed"; 29 regulator-name = "vreg_3p3"; 28 regulator-name = "vreg_3p3"; 30 regulator-min-microvolt = <330 29 regulator-min-microvolt = <3300000>; 31 regulator-max-microvolt = <330 30 regulator-max-microvolt = <3300000>; 32 }; 31 }; 33 32 34 /* 33 /* 35 * S4A is always on and not controllab 34 * S4A is always on and not controllable through RPMh. 36 * So model it as a fixed regulator. 35 * So model it as a fixed regulator. 37 */ 36 */ 38 vreg_s4a_1p8: smps4 { 37 vreg_s4a_1p8: smps4 { 39 compatible = "regulator-fixed" 38 compatible = "regulator-fixed"; 40 regulator-name = "vreg_s4a_1p8 39 regulator-name = "vreg_s4a_1p8"; 41 40 42 regulator-min-microvolt = <180 41 regulator-min-microvolt = <1800000>; 43 regulator-max-microvolt = <180 42 regulator-max-microvolt = <1800000>; 44 43 45 regulator-always-on; 44 regulator-always-on; 46 regulator-boot-on; 45 regulator-boot-on; 47 46 48 vin-supply = <&vreg_3p3>; 47 vin-supply = <&vreg_3p3>; 49 }; 48 }; 50 }; 49 }; 51 50 52 &apps_rsc { 51 &apps_rsc { 53 regulators-0 { !! 52 pmm8155au-1-rpmh-regulators { 54 compatible = "qcom,pmm8155au-r 53 compatible = "qcom,pmm8155au-rpmh-regulators"; 55 qcom,pmic-id = "a"; 54 qcom,pmic-id = "a"; 56 55 57 vdd-s1-supply = <&vreg_3p3>; 56 vdd-s1-supply = <&vreg_3p3>; 58 vdd-s2-supply = <&vreg_3p3>; 57 vdd-s2-supply = <&vreg_3p3>; 59 vdd-s3-supply = <&vreg_3p3>; 58 vdd-s3-supply = <&vreg_3p3>; 60 vdd-s4-supply = <&vreg_3p3>; 59 vdd-s4-supply = <&vreg_3p3>; 61 vdd-s5-supply = <&vreg_3p3>; 60 vdd-s5-supply = <&vreg_3p3>; 62 vdd-s6-supply = <&vreg_3p3>; 61 vdd-s6-supply = <&vreg_3p3>; 63 vdd-s7-supply = <&vreg_3p3>; 62 vdd-s7-supply = <&vreg_3p3>; 64 vdd-s8-supply = <&vreg_3p3>; 63 vdd-s8-supply = <&vreg_3p3>; 65 vdd-s9-supply = <&vreg_3p3>; 64 vdd-s9-supply = <&vreg_3p3>; 66 vdd-s10-supply = <&vreg_3p3>; 65 vdd-s10-supply = <&vreg_3p3>; 67 66 68 vdd-l1-l8-l11-supply = <&vreg_ 67 vdd-l1-l8-l11-supply = <&vreg_s6a_0p92>; 69 vdd-l2-l10-supply = <&vreg_3p3 68 vdd-l2-l10-supply = <&vreg_3p3>; 70 vdd-l3-l4-l5-l18-supply = <&vr 69 vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p92>; 71 vdd-l6-l9-supply = <&vreg_s6a_ 70 vdd-l6-l9-supply = <&vreg_s6a_0p92>; 72 vdd-l7-l12-l14-l15-supply = <& 71 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>; 73 vdd-l13-l16-l17-supply = <&vre 72 vdd-l13-l16-l17-supply = <&vreg_3p3>; 74 73 75 vreg_s5a_2p04: smps5 { 74 vreg_s5a_2p04: smps5 { 76 regulator-name = "vreg 75 regulator-name = "vreg_s5a_2p04"; 77 regulator-min-microvol 76 regulator-min-microvolt = <1904000>; 78 regulator-max-microvol 77 regulator-max-microvolt = <2000000>; 79 }; 78 }; 80 79 81 vreg_s6a_0p92: smps6 { 80 vreg_s6a_0p92: smps6 { 82 regulator-name = "vreg 81 regulator-name = "vreg_s6a_0p92"; 83 regulator-min-microvol 82 regulator-min-microvolt = <920000>; 84 regulator-max-microvol 83 regulator-max-microvolt = <1128000>; 85 }; 84 }; 86 85 87 vreg_l1a_0p752: ldo1 { 86 vreg_l1a_0p752: ldo1 { 88 regulator-name = "vreg 87 regulator-name = "vreg_l1a_0p752"; 89 regulator-min-microvol 88 regulator-min-microvolt = <752000>; 90 regulator-max-microvol 89 regulator-max-microvolt = <752000>; 91 regulator-initial-mode 90 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 92 }; 91 }; 93 92 94 vdda_usb_hs_3p1: 93 vdda_usb_hs_3p1: 95 vreg_l2a_3p072: ldo2 { 94 vreg_l2a_3p072: ldo2 { 96 regulator-name = "vreg 95 regulator-name = "vreg_l2a_3p072"; 97 regulator-min-microvol 96 regulator-min-microvolt = <3072000>; 98 regulator-max-microvol 97 regulator-max-microvolt = <3072000>; 99 regulator-initial-mode 98 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 100 }; 99 }; 101 100 102 vreg_l3a_0p8: ldo3 { 101 vreg_l3a_0p8: ldo3 { 103 regulator-name = "vreg 102 regulator-name = "vreg_l3a_0p8"; 104 regulator-min-microvol 103 regulator-min-microvolt = <800000>; 105 regulator-max-microvol 104 regulator-max-microvolt = <800000>; 106 regulator-initial-mode 105 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 107 }; 106 }; 108 107 109 vdd_usb_hs_core: 108 vdd_usb_hs_core: 110 vdda_usb_ss_dp_core_1: 109 vdda_usb_ss_dp_core_1: 111 vreg_l5a_0p88: ldo5 { 110 vreg_l5a_0p88: ldo5 { 112 regulator-name = "vreg 111 regulator-name = "vreg_l5a_0p88"; 113 regulator-min-microvol 112 regulator-min-microvolt = <880000>; 114 regulator-max-microvol 113 regulator-max-microvolt = <880000>; 115 regulator-initial-mode 114 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 116 regulator-allow-set-lo 115 regulator-allow-set-load; 117 regulator-allowed-mode !! 116 regulator-allowed-modes = 118 !! 117 <RPMH_REGULATOR_MODE_LPM >> 118 RPMH_REGULATOR_MODE_HPM>; 119 }; 119 }; 120 120 121 vreg_l7a_1p8: ldo7 { 121 vreg_l7a_1p8: ldo7 { 122 regulator-name = "vreg 122 regulator-name = "vreg_l7a_1p8"; 123 regulator-min-microvol 123 regulator-min-microvolt = <1800000>; 124 regulator-max-microvol 124 regulator-max-microvolt = <1800000>; 125 regulator-initial-mode 125 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 126 }; 126 }; 127 127 128 vreg_l10a_2p96: ldo10 { 128 vreg_l10a_2p96: ldo10 { 129 regulator-name = "vreg 129 regulator-name = "vreg_l10a_2p96"; 130 regulator-min-microvol 130 regulator-min-microvolt = <2504000>; 131 regulator-max-microvol 131 regulator-max-microvolt = <2960000>; 132 regulator-initial-mode 132 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 133 regulator-allow-set-lo 133 regulator-allow-set-load; 134 regulator-allowed-mode !! 134 regulator-allowed-modes = 135 !! 135 <RPMH_REGULATOR_MODE_LPM >> 136 RPMH_REGULATOR_MODE_HPM>; 136 }; 137 }; 137 138 138 vreg_l11a_0p8: ldo11 { 139 vreg_l11a_0p8: ldo11 { 139 regulator-name = "vreg 140 regulator-name = "vreg_l11a_0p8"; 140 regulator-min-microvol 141 regulator-min-microvolt = <800000>; 141 regulator-max-microvol 142 regulator-max-microvolt = <800000>; 142 regulator-initial-mode 143 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 143 }; 144 }; 144 145 145 vdda_usb_hs_1p8: 146 vdda_usb_hs_1p8: 146 vreg_l12a_1p8: ldo12 { 147 vreg_l12a_1p8: ldo12 { 147 regulator-name = "vreg 148 regulator-name = "vreg_l12a_1p8"; 148 regulator-min-microvol 149 regulator-min-microvolt = <1800000>; 149 regulator-max-microvol 150 regulator-max-microvolt = <1800000>; 150 regulator-initial-mode 151 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 151 }; 152 }; 152 153 153 vreg_l13a_2p7: ldo13 { 154 vreg_l13a_2p7: ldo13 { 154 regulator-name = "vreg 155 regulator-name = "vreg_l13a_2p7"; 155 regulator-min-microvol 156 regulator-min-microvolt = <2704000>; 156 regulator-max-microvol 157 regulator-max-microvolt = <2704000>; 157 regulator-initial-mode 158 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 158 }; 159 }; 159 160 160 vreg_l15a_1p7: ldo15 { 161 vreg_l15a_1p7: ldo15 { 161 regulator-name = "vreg 162 regulator-name = "vreg_l15a_1p7"; 162 regulator-min-microvol 163 regulator-min-microvolt = <1704000>; 163 regulator-max-microvol 164 regulator-max-microvolt = <1704000>; 164 regulator-initial-mode 165 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 165 }; 166 }; 166 167 167 vreg_l16a_2p7: ldo16 { 168 vreg_l16a_2p7: ldo16 { 168 regulator-name = "vreg 169 regulator-name = "vreg_l16a_2p7"; 169 regulator-min-microvol 170 regulator-min-microvolt = <2704000>; 170 regulator-max-microvol 171 regulator-max-microvolt = <2960000>; 171 regulator-initial-mode 172 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 172 }; 173 }; 173 174 174 vreg_l17a_2p96: ldo17 { 175 vreg_l17a_2p96: ldo17 { 175 regulator-name = "vreg 176 regulator-name = "vreg_l17a_2p96"; 176 regulator-min-microvol 177 regulator-min-microvolt = <2504000>; 177 regulator-max-microvol 178 regulator-max-microvolt = <2960000>; 178 regulator-initial-mode 179 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 179 }; 180 }; 180 }; 181 }; 181 182 182 regulators-1 { !! 183 pmm8155au-2-rpmh-regulators { 183 compatible = "qcom,pmm8155au-r 184 compatible = "qcom,pmm8155au-rpmh-regulators"; 184 qcom,pmic-id = "c"; 185 qcom,pmic-id = "c"; 185 186 186 vdd-s1-supply = <&vreg_3p3>; 187 vdd-s1-supply = <&vreg_3p3>; 187 vdd-s2-supply = <&vreg_3p3>; 188 vdd-s2-supply = <&vreg_3p3>; 188 vdd-s3-supply = <&vreg_3p3>; 189 vdd-s3-supply = <&vreg_3p3>; 189 vdd-s4-supply = <&vreg_3p3>; 190 vdd-s4-supply = <&vreg_3p3>; 190 vdd-s5-supply = <&vreg_3p3>; 191 vdd-s5-supply = <&vreg_3p3>; 191 vdd-s6-supply = <&vreg_3p3>; 192 vdd-s6-supply = <&vreg_3p3>; 192 vdd-s7-supply = <&vreg_3p3>; 193 vdd-s7-supply = <&vreg_3p3>; 193 vdd-s8-supply = <&vreg_3p3>; 194 vdd-s8-supply = <&vreg_3p3>; 194 vdd-s9-supply = <&vreg_3p3>; 195 vdd-s9-supply = <&vreg_3p3>; 195 vdd-s10-supply = <&vreg_3p3>; 196 vdd-s10-supply = <&vreg_3p3>; 196 197 197 vdd-l1-l8-l11-supply = <&vreg_ 198 vdd-l1-l8-l11-supply = <&vreg_s4c_1p352>; 198 vdd-l2-l10-supply = <&vreg_3p3 199 vdd-l2-l10-supply = <&vreg_3p3>; 199 vdd-l3-l4-l5-l18-supply = <&vr 200 vdd-l3-l4-l5-l18-supply = <&vreg_s4c_1p352>; 200 vdd-l6-l9-supply = <&vreg_s6c_ 201 vdd-l6-l9-supply = <&vreg_s6c_1p128>; 201 vdd-l7-l12-l14-l15-supply = <& 202 vdd-l7-l12-l14-l15-supply = <&vreg_s5c_2p04>; 202 vdd-l13-l16-l17-supply = <&vre 203 vdd-l13-l16-l17-supply = <&vreg_3p3>; 203 204 204 vreg_s4c_1p352: smps4 { 205 vreg_s4c_1p352: smps4 { 205 regulator-name = "vreg 206 regulator-name = "vreg_s4c_1p352"; 206 regulator-min-microvol 207 regulator-min-microvolt = <1352000>; 207 regulator-max-microvol 208 regulator-max-microvolt = <1352000>; 208 }; 209 }; 209 210 210 vreg_s5c_2p04: smps5 { 211 vreg_s5c_2p04: smps5 { 211 regulator-name = "vreg 212 regulator-name = "vreg_s5c_2p04"; 212 regulator-min-microvol 213 regulator-min-microvolt = <1904000>; 213 regulator-max-microvol 214 regulator-max-microvolt = <2000000>; 214 }; 215 }; 215 216 216 vreg_s6c_1p128: smps6 { 217 vreg_s6c_1p128: smps6 { 217 regulator-name = "vreg 218 regulator-name = "vreg_s6c_1p128"; 218 regulator-min-microvol 219 regulator-min-microvolt = <1128000>; 219 regulator-max-microvol 220 regulator-max-microvolt = <1128000>; 220 }; 221 }; 221 222 222 vreg_l1c_1p304: ldo1 { 223 vreg_l1c_1p304: ldo1 { 223 regulator-name = "vreg 224 regulator-name = "vreg_l1c_1p304"; 224 regulator-min-microvol 225 regulator-min-microvolt = <1304000>; 225 regulator-max-microvol 226 regulator-max-microvolt = <1304000>; 226 regulator-initial-mode 227 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 227 }; 228 }; 228 229 229 vreg_l2c_1p808: ldo2 { 230 vreg_l2c_1p808: ldo2 { 230 regulator-name = "vreg 231 regulator-name = "vreg_l2c_1p808"; 231 regulator-min-microvol 232 regulator-min-microvolt = <1704000>; 232 regulator-max-microvol 233 regulator-max-microvolt = <2928000>; 233 regulator-initial-mode 234 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 234 }; 235 }; 235 236 236 vreg_l5c_1p2: ldo5 { 237 vreg_l5c_1p2: ldo5 { 237 regulator-name = "vreg 238 regulator-name = "vreg_l5c_1p2"; 238 regulator-min-microvol 239 regulator-min-microvolt = <1200000>; 239 regulator-max-microvol 240 regulator-max-microvolt = <1200000>; 240 regulator-initial-mode 241 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 241 regulator-allow-set-lo 242 regulator-allow-set-load; 242 regulator-allowed-mode !! 243 regulator-allowed-modes = 243 !! 244 <RPMH_REGULATOR_MODE_LPM >> 245 RPMH_REGULATOR_MODE_HPM>; 244 }; 246 }; 245 247 246 vreg_l7c_1p8: ldo7 { 248 vreg_l7c_1p8: ldo7 { 247 regulator-name = "vreg 249 regulator-name = "vreg_l7c_1p8"; 248 regulator-min-microvol 250 regulator-min-microvolt = <1800000>; 249 regulator-max-microvol 251 regulator-max-microvolt = <1800000>; 250 regulator-initial-mode 252 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 251 }; 253 }; 252 254 253 vreg_l8c_1p2: ldo8 { 255 vreg_l8c_1p2: ldo8 { 254 regulator-name = "vreg 256 regulator-name = "vreg_l8c_1p2"; 255 regulator-min-microvol 257 regulator-min-microvolt = <1200000>; 256 regulator-max-microvol 258 regulator-max-microvolt = <1200000>; 257 regulator-initial-mode 259 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 258 regulator-allow-set-lo 260 regulator-allow-set-load; 259 regulator-allowed-mode !! 261 regulator-allowed-modes = 260 !! 262 <RPMH_REGULATOR_MODE_LPM >> 263 RPMH_REGULATOR_MODE_HPM>; 261 }; 264 }; 262 265 263 vreg_l10c_3p3: ldo10 { 266 vreg_l10c_3p3: ldo10 { 264 regulator-name = "vreg 267 regulator-name = "vreg_l10c_3p3"; 265 regulator-min-microvol 268 regulator-min-microvolt = <3000000>; 266 regulator-max-microvol 269 regulator-max-microvolt = <3312000>; 267 regulator-initial-mode 270 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 268 }; 271 }; 269 272 270 vreg_l11c_0p8: ldo11 { 273 vreg_l11c_0p8: ldo11 { 271 regulator-name = "vreg 274 regulator-name = "vreg_l11c_0p8"; 272 regulator-min-microvol 275 regulator-min-microvolt = <800000>; 273 regulator-max-microvol 276 regulator-max-microvolt = <800000>; 274 regulator-initial-mode 277 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 275 }; 278 }; 276 279 277 vreg_l12c_1p808: ldo12 { 280 vreg_l12c_1p808: ldo12 { 278 regulator-name = "vreg 281 regulator-name = "vreg_l12c_1p808"; 279 regulator-min-microvol 282 regulator-min-microvolt = <1704000>; 280 regulator-max-microvol 283 regulator-max-microvolt = <2928000>; 281 regulator-initial-mode 284 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 282 }; 285 }; 283 286 284 vreg_l13c_2p96: ldo13 { 287 vreg_l13c_2p96: ldo13 { 285 regulator-name = "vreg 288 regulator-name = "vreg_l13c_2p96"; 286 regulator-min-microvol !! 289 regulator-min-microvolt = <2504000>; 287 regulator-max-microvol 290 regulator-max-microvolt = <2960000>; 288 regulator-initial-mode 291 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 289 }; 292 }; 290 293 291 vreg_l15c_1p9: ldo15 { 294 vreg_l15c_1p9: ldo15 { 292 regulator-name = "vreg 295 regulator-name = "vreg_l15c_1p9"; 293 regulator-min-microvol 296 regulator-min-microvolt = <1704000>; 294 regulator-max-microvol 297 regulator-max-microvolt = <2928000>; 295 regulator-initial-mode 298 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 296 }; 299 }; 297 300 298 vreg_l16c_3p008: ldo16 { 301 vreg_l16c_3p008: ldo16 { 299 regulator-name = "vreg 302 regulator-name = "vreg_l16c_3p008"; 300 regulator-min-microvol 303 regulator-min-microvolt = <3008000>; 301 regulator-max-microvol 304 regulator-max-microvolt = <3008000>; 302 regulator-initial-mode 305 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 303 }; 306 }; 304 307 305 vreg_l18c_0p88: ldo18 { 308 vreg_l18c_0p88: ldo18 { 306 regulator-name = "vreg 309 regulator-name = "vreg_l18c_0p88"; 307 regulator-min-microvol 310 regulator-min-microvolt = <880000>; 308 regulator-max-microvol 311 regulator-max-microvolt = <880000>; 309 regulator-initial-mode 312 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 310 }; 313 }; 311 }; 314 }; 312 }; 315 }; 313 316 314 ðernet { << 315 status = "okay"; << 316 << 317 snps,reset-gpio = <&tlmm 79 GPIO_ACTIV << 318 snps,reset-active-low; << 319 snps,reset-delays-us = <0 11000 70000> << 320 << 321 snps,mtl-rx-config = <&mtl_rx_setup>; << 322 snps,mtl-tx-config = <&mtl_tx_setup>; << 323 << 324 pinctrl-names = "default"; << 325 pinctrl-0 = <ðernet_defaults>; << 326 << 327 phy-handle = <&rgmii_phy>; << 328 phy-mode = "rgmii"; << 329 max-speed = <1000>; << 330 << 331 mdio { << 332 compatible = "snps,dwmac-mdio" << 333 #address-cells = <1>; << 334 #size-cells = <0>; << 335 << 336 /* Micrel KSZ9031RNZ PHY */ << 337 rgmii_phy: phy@7 { << 338 compatible = "ethernet << 339 reg = <0x7>; << 340 << 341 interrupts-extended = << 342 device_type = "etherne << 343 }; << 344 }; << 345 << 346 mtl_rx_setup: rx-queues-config { << 347 snps,rx-queues-to-use = <1>; << 348 snps,rx-sched-sp; << 349 << 350 queue0 { << 351 snps,dcb-algorithm; << 352 snps,map-to-dma-channe << 353 snps,route-up; << 354 snps,priority = <0x1>; << 355 }; << 356 }; << 357 << 358 mtl_tx_setup: tx-queues-config { << 359 snps,tx-queues-to-use = <1>; << 360 snps,tx-sched-wrr; << 361 << 362 queue0 { << 363 snps,weight = <0x10>; << 364 snps,dcb-algorithm; << 365 snps,priority = <0x0>; << 366 }; << 367 }; << 368 }; << 369 << 370 &pmm8155au_1_gpios { << 371 pmm8155au_1_sdc2_cd: sdc2-cd-default-s << 372 pins = "gpio4"; << 373 function = "normal"; << 374 input-enable; << 375 bias-pull-up; << 376 power-source = <0>; << 377 }; << 378 }; << 379 << 380 &qupv3_id_1 { 317 &qupv3_id_1 { 381 status = "okay"; 318 status = "okay"; 382 }; 319 }; 383 320 384 &remoteproc_adsp { << 385 status = "okay"; << 386 firmware-name = "qcom/sa8155p/adsp.mdt << 387 }; << 388 << 389 &remoteproc_cdsp { << 390 status = "okay"; << 391 firmware-name = "qcom/sa8155p/cdsp.mdt << 392 }; << 393 << 394 &sdhc_2 { << 395 status = "okay"; << 396 << 397 cd-gpios = <&pmm8155au_1_gpios 4 GPIO_ << 398 pinctrl-names = "default", "sleep"; << 399 pinctrl-0 = <&sdc2_on &pmm8155au_1_sdc << 400 pinctrl-1 = <&sdc2_off &pmm8155au_1_sd << 401 vqmmc-supply = <&vreg_l13c_2p96>; /* I << 402 vmmc-supply = <&vreg_l17a_2p96>; /* C << 403 bus-width = <4>; << 404 no-sdio; << 405 no-mmc; << 406 }; << 407 << 408 &uart2 { 321 &uart2 { 409 status = "okay"; 322 status = "okay"; 410 }; 323 }; 411 324 412 &uart9 { << 413 status = "okay"; << 414 }; << 415 << 416 &ufs_mem_hc { 325 &ufs_mem_hc { 417 status = "okay"; 326 status = "okay"; 418 327 419 reset-gpios = <&tlmm 175 GPIO_ACTIVE_L 328 reset-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>; 420 329 421 vcc-supply = <&vreg_l10a_2p96>; 330 vcc-supply = <&vreg_l10a_2p96>; 422 vcc-max-microamp = <750000>; 331 vcc-max-microamp = <750000>; 423 vccq-supply = <&vreg_l5c_1p2>; 332 vccq-supply = <&vreg_l5c_1p2>; 424 vccq-max-microamp = <700000>; 333 vccq-max-microamp = <700000>; 425 vccq2-supply = <&vreg_s4a_1p8>; 334 vccq2-supply = <&vreg_s4a_1p8>; 426 vccq2-max-microamp = <750000>; 335 vccq2-max-microamp = <750000>; 427 }; 336 }; 428 337 429 &ufs_mem_phy { 338 &ufs_mem_phy { 430 status = "okay"; 339 status = "okay"; 431 340 432 vdda-phy-supply = <&vreg_l8c_1p2>; 341 vdda-phy-supply = <&vreg_l8c_1p2>; >> 342 vdda-max-microamp = <87100>; 433 vdda-pll-supply = <&vreg_l5a_0p88>; 343 vdda-pll-supply = <&vreg_l5a_0p88>; >> 344 vdda-pll-max-microamp = <18300>; 434 }; 345 }; 435 346 436 &usb_1 { 347 &usb_1 { 437 status = "okay"; 348 status = "okay"; 438 }; 349 }; 439 350 440 &usb_1_dwc3 { 351 &usb_1_dwc3 { 441 dr_mode = "host"; 352 dr_mode = "host"; 442 353 443 pinctrl-names = "default"; 354 pinctrl-names = "default"; 444 pinctrl-0 = <&usb2phy_ac_en1_default>; 355 pinctrl-0 = <&usb2phy_ac_en1_default>; 445 }; 356 }; 446 357 447 &usb_1_hsphy { 358 &usb_1_hsphy { 448 status = "okay"; 359 status = "okay"; 449 vdda-pll-supply = <&vdd_usb_hs_core>; 360 vdda-pll-supply = <&vdd_usb_hs_core>; 450 vdda33-supply = <&vdda_usb_hs_3p1>; 361 vdda33-supply = <&vdda_usb_hs_3p1>; 451 vdda18-supply = <&vdda_usb_hs_1p8>; 362 vdda18-supply = <&vdda_usb_hs_1p8>; 452 }; 363 }; 453 364 454 &usb_1_qmpphy { 365 &usb_1_qmpphy { 455 status = "disabled"; 366 status = "disabled"; 456 }; 367 }; 457 368 458 &usb_2 { 369 &usb_2 { 459 status = "okay"; 370 status = "okay"; 460 }; 371 }; 461 372 462 &usb_2_dwc3 { 373 &usb_2_dwc3 { 463 dr_mode = "host"; 374 dr_mode = "host"; 464 375 465 pinctrl-names = "default"; 376 pinctrl-names = "default"; 466 pinctrl-0 = <&usb2phy_ac_en2_default>; 377 pinctrl-0 = <&usb2phy_ac_en2_default>; 467 }; 378 }; 468 379 469 &usb_2_hsphy { 380 &usb_2_hsphy { 470 status = "okay"; 381 status = "okay"; 471 vdda-pll-supply = <&vdd_usb_hs_core>; 382 vdda-pll-supply = <&vdd_usb_hs_core>; 472 vdda33-supply = <&vdda_usb_hs_3p1>; 383 vdda33-supply = <&vdda_usb_hs_3p1>; 473 vdda18-supply = <&vdda_usb_hs_1p8>; 384 vdda18-supply = <&vdda_usb_hs_1p8>; 474 }; 385 }; 475 386 476 &usb_2_qmpphy { 387 &usb_2_qmpphy { 477 status = "okay"; 388 status = "okay"; 478 vdda-phy-supply = <&vreg_l8c_1p2>; 389 vdda-phy-supply = <&vreg_l8c_1p2>; 479 vdda-pll-supply = <&vdda_usb_ss_dp_cor 390 vdda-pll-supply = <&vdda_usb_ss_dp_core_1>; 480 }; 391 }; 481 392 482 &pcie0 { << 483 status = "okay"; << 484 }; << 485 << 486 &pcie0_phy { << 487 status = "okay"; << 488 vdda-phy-supply = <&vreg_l18c_0p88>; << 489 vdda-pll-supply = <&vreg_l8c_1p2>; << 490 }; << 491 << 492 &pcie1_phy { << 493 vdda-phy-supply = <&vreg_l18c_0p88>; << 494 vdda-pll-supply = <&vreg_l8c_1p2>; << 495 }; << 496 << 497 &tlmm { 393 &tlmm { 498 gpio-reserved-ranges = <0 4>; 394 gpio-reserved-ranges = <0 4>; 499 395 500 sdc2_on: sdc2-on-state { !! 396 usb2phy_ac_en1_default: usb2phy_ac_en1_default { 501 clk-pins { !! 397 mux { 502 pins = "sdc2_clk"; !! 398 pins = "gpio113"; 503 bias-disable; !! 399 function = "usb2phy_ac"; 504 drive-strength = <16>; << 505 }; << 506 << 507 cmd-pins { << 508 pins = "sdc2_cmd"; << 509 bias-pull-up; << 510 drive-strength = <16>; << 511 }; << 512 << 513 data-pins { << 514 pins = "sdc2_data"; << 515 bias-pull-up; << 516 drive-strength = <16>; << 517 }; << 518 }; << 519 << 520 sdc2_off: sdc2-off-state { << 521 clk-pins { << 522 pins = "sdc2_clk"; << 523 bias-disable; << 524 drive-strength = <2>; << 525 }; << 526 << 527 cmd-pins { << 528 pins = "sdc2_cmd"; << 529 bias-pull-up; << 530 drive-strength = <2>; << 531 }; << 532 << 533 data-pins { << 534 pins = "sdc2_data"; << 535 bias-pull-up; << 536 drive-strength = <2>; << 537 }; << 538 }; << 539 << 540 usb2phy_ac_en1_default: usb2phy-ac-en1 << 541 pins = "gpio113"; << 542 function = "usb2phy_ac"; << 543 bias-disable; << 544 drive-strength = <2>; << 545 }; << 546 << 547 usb2phy_ac_en2_default: usb2phy-ac-en2 << 548 pins = "gpio123"; << 549 function = "usb2phy_ac"; << 550 bias-disable; << 551 drive-strength = <2>; << 552 }; << 553 << 554 ethernet_defaults: ethernet-defaults-s << 555 mdc-pins { << 556 pins = "gpio7"; << 557 function = "rgmii"; << 558 bias-pull-up; << 559 }; << 560 << 561 mdio-pins { << 562 pins = "gpio59"; << 563 function = "rgmii"; << 564 bias-pull-up; << 565 }; << 566 << 567 rgmii-rx-pins { << 568 pins = "gpio117", "gpi << 569 function = "rgmii"; << 570 bias-disable; 400 bias-disable; 571 drive-strength = <2>; 401 drive-strength = <2>; 572 }; 402 }; >> 403 }; 573 404 574 rgmii-tx-pins { !! 405 usb2phy_ac_en2_default: usb2phy_ac_en2_default { 575 pins = "gpio122", "gpi !! 406 mux { 576 function = "rgmii"; !! 407 pins = "gpio123"; 577 bias-pull-up; !! 408 function = "usb2phy_ac"; 578 drive-strength = <16>; << 579 }; << 580 << 581 phy-intr-pins { << 582 pins = "gpio124"; << 583 function = "emac_phy"; << 584 bias-disable; << 585 drive-strength = <8>; << 586 }; << 587 << 588 pps-pins { << 589 pins = "gpio81"; << 590 function = "emac_pps"; << 591 bias-disable; 409 bias-disable; 592 drive-strength = <8>; !! 410 drive-strength = <2>; 593 }; << 594 << 595 phy-reset-pins { << 596 pins = "gpio79"; << 597 function = "gpio"; << 598 bias-pull-up; << 599 drive-strength = <16>; << 600 }; 411 }; 601 }; 412 }; 602 }; 413 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.