1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2021, Linaro Ltd. 3 * Copyright (c) 2021, Linaro Ltd. 4 * Copyright (c) 2020, Konrad Dybcio <konrad.dy 4 * Copyright (c) 2020, Konrad Dybcio <konrad.dybcio@somainline.org> 5 * Copyright (c) 2020, AngeloGioacchino Del Re 5 * Copyright (c) 2020, AngeloGioacchino Del Regno 6 * <angelogioacchino.delreg 6 * <angelogioacchino.delregno@somainline.org> 7 */ 7 */ 8 8 9 /dts-v1/; 9 /dts-v1/; 10 10 11 #include "sdm660.dtsi" 11 #include "sdm660.dtsi" 12 #include "pm660.dtsi" 12 #include "pm660.dtsi" 13 #include "pm660l.dtsi" 13 #include "pm660l.dtsi" 14 14 15 / { 15 / { 16 model = "Inforce 6560 Single Board Com 16 model = "Inforce 6560 Single Board Computer"; 17 compatible = "inforce,ifc6560", "qcom, 17 compatible = "inforce,ifc6560", "qcom,sda660"; 18 chassis-type = "embedded"; /* SBC */ 18 chassis-type = "embedded"; /* SBC */ 19 19 20 aliases { 20 aliases { 21 serial0 = &blsp1_uart2; 21 serial0 = &blsp1_uart2; 22 serial1 = &blsp2_uart1; 22 serial1 = &blsp2_uart1; 23 }; 23 }; 24 24 25 chosen { 25 chosen { 26 stdout-path = "serial0:115200n 26 stdout-path = "serial0:115200n8"; 27 }; 27 }; 28 28 29 gpio-keys { 29 gpio-keys { 30 compatible = "gpio-keys"; 30 compatible = "gpio-keys"; 31 31 32 key-volup { 32 key-volup { 33 label = "Volume Up"; 33 label = "Volume Up"; 34 gpios = <&pm660l_gpios 34 gpios = <&pm660l_gpios 7 GPIO_ACTIVE_LOW>; 35 linux,code = <KEY_VOLU 35 linux,code = <KEY_VOLUMEUP>; 36 debounce-interval = <1 36 debounce-interval = <15>; 37 }; 37 }; 38 }; 38 }; 39 39 40 /* 40 /* 41 * Until we hook up type-c detection, 41 * Until we hook up type-c detection, we 42 * have to stick with this. But it wor 42 * have to stick with this. But it works. 43 */ 43 */ 44 extcon_usb: extcon-usb { 44 extcon_usb: extcon-usb { 45 compatible = "linux,extcon-usb 45 compatible = "linux,extcon-usb-gpio"; 46 id-gpios = <&tlmm 58 GPIO_ACTI 46 id-gpios = <&tlmm 58 GPIO_ACTIVE_HIGH>; 47 }; 47 }; 48 48 49 hdmi-out { 49 hdmi-out { 50 compatible = "hdmi-connector"; 50 compatible = "hdmi-connector"; 51 type = "a"; 51 type = "a"; 52 52 53 port { 53 port { 54 hdmi_con: endpoint { 54 hdmi_con: endpoint { 55 remote-endpoin 55 remote-endpoint = <&adv7533_out>; 56 }; 56 }; 57 }; 57 }; 58 }; 58 }; 59 59 60 vph_pwr: vph-pwr-regulator { 60 vph_pwr: vph-pwr-regulator { 61 compatible = "regulator-fixed" 61 compatible = "regulator-fixed"; 62 regulator-name = "vph_pwr"; 62 regulator-name = "vph_pwr"; 63 regulator-min-microvolt = <380 63 regulator-min-microvolt = <3800000>; 64 regulator-max-microvolt = <380 64 regulator-max-microvolt = <3800000>; 65 65 66 regulator-always-on; 66 regulator-always-on; 67 regulator-boot-on; 67 regulator-boot-on; 68 }; 68 }; 69 69 70 v3p3_bck_bst: v3p3-bck-bst-regulator { 70 v3p3_bck_bst: v3p3-bck-bst-regulator { 71 compatible = "regulator-fixed" 71 compatible = "regulator-fixed"; 72 regulator-name = "v3p3_bck_bst 72 regulator-name = "v3p3_bck_bst"; 73 73 74 regulator-min-microvolt = <330 74 regulator-min-microvolt = <3300000>; 75 regulator-max-microvolt = <330 75 regulator-max-microvolt = <3300000>; 76 76 77 vin-supply = <&vph_pwr>; 77 vin-supply = <&vph_pwr>; 78 }; 78 }; 79 79 80 v1p2_ldo: v1p2-ldo-regulator { 80 v1p2_ldo: v1p2-ldo-regulator { 81 compatible = "regulator-fixed" 81 compatible = "regulator-fixed"; 82 regulator-name = "v1p2_ldo"; 82 regulator-name = "v1p2_ldo"; 83 83 84 regulator-min-microvolt = <120 84 regulator-min-microvolt = <1200000>; 85 regulator-max-microvolt = <120 85 regulator-max-microvolt = <1200000>; 86 86 87 vin-supply = <&vph_pwr>; 87 vin-supply = <&vph_pwr>; 88 }; 88 }; 89 89 90 v5p0_boost: v5p0-boost-regulator { 90 v5p0_boost: v5p0-boost-regulator { 91 compatible = "regulator-fixed" 91 compatible = "regulator-fixed"; 92 regulator-name = "v5p0_boost"; 92 regulator-name = "v5p0_boost"; 93 93 94 regulator-min-microvolt = <500 94 regulator-min-microvolt = <5000000>; 95 regulator-max-microvolt = <500 95 regulator-max-microvolt = <5000000>; 96 96 97 vin-supply = <&vph_pwr>; 97 vin-supply = <&vph_pwr>; 98 }; 98 }; 99 99 100 /* 100 /* 101 * this is also used for APC1 CPU powe 101 * this is also used for APC1 CPU power, touching it resets the board 102 */ 102 */ 103 vreg_l10a_1p8: vreg-l10a-regulator { 103 vreg_l10a_1p8: vreg-l10a-regulator { 104 compatible = "regulator-fixed" 104 compatible = "regulator-fixed"; 105 regulator-name = "vreg_l10a_1p 105 regulator-name = "vreg_l10a_1p8"; 106 regulator-min-microvolt = <180 106 regulator-min-microvolt = <1804000>; 107 regulator-max-microvolt = <189 107 regulator-max-microvolt = <1896000>; 108 regulator-always-on; 108 regulator-always-on; 109 regulator-boot-on; 109 regulator-boot-on; 110 }; 110 }; 111 }; 111 }; 112 112 113 &adsp_pil { 113 &adsp_pil { 114 firmware-name = "qcom/sda660/adsp.mbn" 114 firmware-name = "qcom/sda660/adsp.mbn"; 115 }; 115 }; 116 116 117 &blsp_i2c6 { 117 &blsp_i2c6 { 118 status = "okay"; 118 status = "okay"; 119 119 120 adv7533: hdmi@39 { 120 adv7533: hdmi@39 { 121 compatible = "adi,adv7535"; 121 compatible = "adi,adv7535"; 122 reg = <0x39>, <0x66>; 122 reg = <0x39>, <0x66>; 123 reg-names = "main", "edid"; 123 reg-names = "main", "edid"; 124 124 125 interrupt-parent = <&pm660l_gp 125 interrupt-parent = <&pm660l_gpios>; 126 interrupts = <11 IRQ_TYPE_EDGE 126 interrupts = <11 IRQ_TYPE_EDGE_FALLING>; 127 127 128 clocks = <&rpmcc RPM_SMD_BB_CL 128 clocks = <&rpmcc RPM_SMD_BB_CLK2>; 129 clock-names = "cec"; 129 clock-names = "cec"; 130 /* 130 /* 131 * Limit to 3 lanes to prevent 131 * Limit to 3 lanes to prevent the bridge from changing amount 132 * of lanes in the fly. MSM DS 132 * of lanes in the fly. MSM DSI host doesn't like that. 133 */ 133 */ 134 adi,dsi-lanes = <3>; 134 adi,dsi-lanes = <3>; 135 avdd-supply = <&vreg_l13a_1p8> 135 avdd-supply = <&vreg_l13a_1p8>; 136 dvdd-supply = <&vreg_l13a_1p8> 136 dvdd-supply = <&vreg_l13a_1p8>; 137 pvdd-supply = <&vreg_l13a_1p8> 137 pvdd-supply = <&vreg_l13a_1p8>; 138 a2vdd-supply = <&vreg_l13a_1p8 138 a2vdd-supply = <&vreg_l13a_1p8>; 139 v3p3-supply = <&v3p3_bck_bst>; 139 v3p3-supply = <&v3p3_bck_bst>; 140 140 141 ports { 141 ports { 142 #address-cells = <1>; 142 #address-cells = <1>; 143 #size-cells = <0>; 143 #size-cells = <0>; 144 144 145 port@0 { 145 port@0 { 146 reg = <0>; 146 reg = <0>; 147 147 148 adv7533_in: en 148 adv7533_in: endpoint { 149 remote 149 remote-endpoint = <&mdss_dsi0_out>; 150 }; 150 }; 151 }; 151 }; 152 152 153 port@1 { 153 port@1 { 154 reg = <1>; 154 reg = <1>; 155 155 156 adv7533_out: e 156 adv7533_out: endpoint { 157 remote 157 remote-endpoint = <&hdmi_con>; 158 }; 158 }; 159 }; 159 }; 160 }; 160 }; 161 }; 161 }; 162 }; 162 }; 163 163 164 &blsp1_dma { 164 &blsp1_dma { 165 /* 165 /* 166 * The board will lock up if we toggle 166 * The board will lock up if we toggle the BLSP clock, unless the 167 * BAM DMA interconnects support is in 167 * BAM DMA interconnects support is in place. 168 */ 168 */ 169 /delete-property/ clocks; 169 /delete-property/ clocks; 170 }; 170 }; 171 171 172 &blsp1_uart2 { 172 &blsp1_uart2 { 173 status = "okay"; 173 status = "okay"; 174 }; 174 }; 175 175 176 &blsp2_dma { 176 &blsp2_dma { 177 /* 177 /* 178 * The board will lock up if we toggle 178 * The board will lock up if we toggle the BLSP clock, unless the 179 * BAM DMA interconnects support is in 179 * BAM DMA interconnects support is in place. 180 */ 180 */ 181 /delete-property/ clocks; 181 /delete-property/ clocks; 182 }; 182 }; 183 183 184 &blsp2_uart1 { 184 &blsp2_uart1 { 185 status = "okay"; 185 status = "okay"; 186 186 187 bluetooth { 187 bluetooth { 188 compatible = "qcom,wcn3990-bt" 188 compatible = "qcom,wcn3990-bt"; 189 189 190 vddio-supply = <&vreg_l13a_1p8 190 vddio-supply = <&vreg_l13a_1p8>; 191 vddxo-supply = <&vreg_l9a_1p8> 191 vddxo-supply = <&vreg_l9a_1p8>; 192 vddrf-supply = <&vreg_l6a_1p3> 192 vddrf-supply = <&vreg_l6a_1p3>; 193 vddch0-supply = <&vreg_l19a_3p 193 vddch0-supply = <&vreg_l19a_3p3>; 194 max-speed = <3200000>; 194 max-speed = <3200000>; 195 }; 195 }; 196 }; 196 }; 197 197 198 &mdss { 198 &mdss { 199 status = "okay"; 199 status = "okay"; 200 }; 200 }; 201 201 202 &mdss_dsi0 { 202 &mdss_dsi0 { 203 status = "okay"; 203 status = "okay"; 204 vdda-supply = <&vreg_l1a_1p225>; 204 vdda-supply = <&vreg_l1a_1p225>; 205 }; 205 }; 206 206 207 &mdss_dsi0_out { 207 &mdss_dsi0_out { 208 remote-endpoint = <&adv7533_in>; 208 remote-endpoint = <&adv7533_in>; 209 data-lanes = <0 1 2 3>; 209 data-lanes = <0 1 2 3>; 210 }; 210 }; 211 211 212 &mdss_dsi0_phy { 212 &mdss_dsi0_phy { 213 status = "okay"; 213 status = "okay"; 214 vcca-supply = <&vreg_l1b_0p925>; 214 vcca-supply = <&vreg_l1b_0p925>; 215 }; 215 }; 216 216 217 &mmss_smmu { 217 &mmss_smmu { 218 status = "okay"; 218 status = "okay"; 219 }; 219 }; 220 220 221 &pon_pwrkey { 221 &pon_pwrkey { 222 status = "okay"; 222 status = "okay"; 223 }; 223 }; 224 224 225 &pon_resin { 225 &pon_resin { 226 status = "okay"; 226 status = "okay"; 227 227 228 linux,code = <KEY_VOLUMEUP>; 228 linux,code = <KEY_VOLUMEUP>; 229 }; 229 }; 230 230 231 &qusb2phy0 { 231 &qusb2phy0 { 232 status = "okay"; 232 status = "okay"; 233 233 234 vdd-supply = <&vreg_l1b_0p925>; 234 vdd-supply = <&vreg_l1b_0p925>; 235 vdda-pll-supply = <&vreg_l10a_1p8>; 235 vdda-pll-supply = <&vreg_l10a_1p8>; 236 vdda-phy-dpdm-supply = <&vreg_l7b_3p12 236 vdda-phy-dpdm-supply = <&vreg_l7b_3p125>; 237 }; 237 }; 238 238 239 &qusb2phy1 { 239 &qusb2phy1 { 240 status = "okay"; 240 status = "okay"; 241 241 242 vdd-supply = <&vreg_l1b_0p925>; 242 vdd-supply = <&vreg_l1b_0p925>; 243 vdda-pll-supply = <&vreg_l10a_1p8>; 243 vdda-pll-supply = <&vreg_l10a_1p8>; 244 vdda-phy-dpdm-supply = <&vreg_l7b_3p12 244 vdda-phy-dpdm-supply = <&vreg_l7b_3p125>; 245 }; 245 }; 246 246 247 &rpm_requests { 247 &rpm_requests { 248 regulators-0 { 248 regulators-0 { 249 compatible = "qcom,rpm-pm660-r 249 compatible = "qcom,rpm-pm660-regulators"; 250 250 251 vdd_s1-supply = <&vph_pwr>; 251 vdd_s1-supply = <&vph_pwr>; 252 vdd_s2-supply = <&vph_pwr>; 252 vdd_s2-supply = <&vph_pwr>; 253 vdd_s3-supply = <&vph_pwr>; 253 vdd_s3-supply = <&vph_pwr>; 254 vdd_s4-supply = <&vph_pwr>; 254 vdd_s4-supply = <&vph_pwr>; 255 vdd_s5-supply = <&vph_pwr>; 255 vdd_s5-supply = <&vph_pwr>; 256 vdd_s6-supply = <&vph_pwr>; 256 vdd_s6-supply = <&vph_pwr>; 257 257 258 vdd_l1_l6_l7-supply = <&vreg_s 258 vdd_l1_l6_l7-supply = <&vreg_s5a_1p35>; 259 vdd_l2_l3-supply = <&vreg_s2b_ 259 vdd_l2_l3-supply = <&vreg_s2b_1p05>; 260 vdd_l5-supply = <&vreg_s2b_1p0 260 vdd_l5-supply = <&vreg_s2b_1p05>; 261 vdd_l8_l9_l10_l11_l12_l13_l14- 261 vdd_l8_l9_l10_l11_l12_l13_l14-supply = <&vreg_s4a_2p04>; 262 vdd_l15_l16_l17_l18_l19-supply 262 vdd_l15_l16_l17_l18_l19-supply = <&vreg_bob>; 263 263 264 vreg_s4a_2p04: s4 { 264 vreg_s4a_2p04: s4 { 265 regulator-min-microvol 265 regulator-min-microvolt = <1805000>; 266 regulator-max-microvol 266 regulator-max-microvolt = <2040000>; 267 regulator-enable-ramp- 267 regulator-enable-ramp-delay = <200>; 268 regulator-ramp-delay = 268 regulator-ramp-delay = <0>; 269 regulator-always-on; 269 regulator-always-on; 270 }; 270 }; 271 271 272 vreg_s5a_1p35: s5 { 272 vreg_s5a_1p35: s5 { 273 regulator-min-microvol 273 regulator-min-microvolt = <1224000>; 274 regulator-max-microvol 274 regulator-max-microvolt = <1350000>; 275 regulator-enable-ramp- 275 regulator-enable-ramp-delay = <200>; 276 regulator-ramp-delay = 276 regulator-ramp-delay = <0>; 277 }; 277 }; 278 278 279 vreg_l1a_1p225: l1 { 279 vreg_l1a_1p225: l1 { 280 regulator-min-microvol 280 regulator-min-microvolt = <1150000>; 281 regulator-max-microvol 281 regulator-max-microvolt = <1250000>; 282 regulator-enable-ramp- 282 regulator-enable-ramp-delay = <250>; 283 regulator-allow-set-lo 283 regulator-allow-set-load; 284 }; 284 }; 285 285 286 vreg_l6a_1p3: l6 { 286 vreg_l6a_1p3: l6 { 287 regulator-min-microvol 287 regulator-min-microvolt = <1304000>; 288 regulator-max-microvol 288 regulator-max-microvolt = <1368000>; 289 regulator-enable-ramp- 289 regulator-enable-ramp-delay = <250>; 290 regulator-ramp-delay = 290 regulator-ramp-delay = <0>; 291 regulator-allow-set-lo 291 regulator-allow-set-load; 292 }; 292 }; 293 293 294 vreg_l8a_1p8: l8 { 294 vreg_l8a_1p8: l8 { 295 regulator-min-microvol 295 regulator-min-microvolt = <1800000>; 296 regulator-max-microvol 296 regulator-max-microvolt = <1800000>; 297 regulator-enable-ramp- 297 regulator-enable-ramp-delay = <250>; 298 regulator-ramp-delay = 298 regulator-ramp-delay = <0>; 299 regulator-system-load 299 regulator-system-load = <325000>; 300 regulator-allow-set-lo 300 regulator-allow-set-load; 301 }; 301 }; 302 302 303 vreg_l9a_1p8: l9 { 303 vreg_l9a_1p8: l9 { 304 regulator-min-microvol 304 regulator-min-microvolt = <1804000>; 305 regulator-max-microvol 305 regulator-max-microvolt = <1896000>; 306 regulator-enable-ramp- 306 regulator-enable-ramp-delay = <250>; 307 regulator-ramp-delay = 307 regulator-ramp-delay = <0>; 308 regulator-allow-set-lo 308 regulator-allow-set-load; 309 }; 309 }; 310 310 311 vreg_l13a_1p8: l13 { 311 vreg_l13a_1p8: l13 { 312 /* This gives power to 312 /* This gives power to the LPDDR4: never turn it off! */ 313 regulator-min-microvol 313 regulator-min-microvolt = <1800000>; 314 regulator-max-microvol 314 regulator-max-microvolt = <1944000>; 315 regulator-enable-ramp- 315 regulator-enable-ramp-delay = <250>; 316 regulator-ramp-delay = 316 regulator-ramp-delay = <0>; 317 regulator-always-on; 317 regulator-always-on; 318 regulator-boot-on; 318 regulator-boot-on; 319 }; 319 }; 320 320 321 vreg_l19a_3p3: l19 { 321 vreg_l19a_3p3: l19 { 322 regulator-min-microvol 322 regulator-min-microvolt = <3312000>; 323 regulator-max-microvol 323 regulator-max-microvolt = <3400000>; 324 regulator-enable-ramp- 324 regulator-enable-ramp-delay = <250>; 325 regulator-ramp-delay = 325 regulator-ramp-delay = <0>; 326 regulator-allow-set-lo 326 regulator-allow-set-load; 327 }; 327 }; 328 }; 328 }; 329 329 330 regulators-1 { 330 regulators-1 { 331 compatible = "qcom,rpm-pm660l- 331 compatible = "qcom,rpm-pm660l-regulators"; 332 332 333 vdd_s1-supply = <&vph_pwr>; 333 vdd_s1-supply = <&vph_pwr>; 334 vdd_s2-supply = <&vph_pwr>; 334 vdd_s2-supply = <&vph_pwr>; 335 vdd_s3_s4-supply = <&vph_pwr>; 335 vdd_s3_s4-supply = <&vph_pwr>; 336 vdd_s5-supply = <&vph_pwr>; 336 vdd_s5-supply = <&vph_pwr>; 337 vdd_s6-supply = <&vph_pwr>; 337 vdd_s6-supply = <&vph_pwr>; 338 338 339 vdd_l1_l9_l10-supply = <&vreg_ 339 vdd_l1_l9_l10-supply = <&vreg_s2b_1p05>; 340 vdd_l2-supply = <&vreg_bob>; 340 vdd_l2-supply = <&vreg_bob>; 341 vdd_l3_l5_l7_l8-supply = <&vre 341 vdd_l3_l5_l7_l8-supply = <&vreg_bob>; 342 vdd_l4_l6-supply = <&vreg_bob> 342 vdd_l4_l6-supply = <&vreg_bob>; 343 vdd_bob-supply = <&vph_pwr>; 343 vdd_bob-supply = <&vph_pwr>; 344 344 345 vreg_s2b_1p05: s2 { 345 vreg_s2b_1p05: s2 { 346 regulator-min-microvol 346 regulator-min-microvolt = <1050000>; 347 regulator-max-microvol 347 regulator-max-microvolt = <1050000>; 348 regulator-enable-ramp- 348 regulator-enable-ramp-delay = <200>; 349 regulator-ramp-delay = 349 regulator-ramp-delay = <0>; 350 }; 350 }; 351 351 352 vreg_l1b_0p925: l1 { 352 vreg_l1b_0p925: l1 { 353 regulator-min-microvol 353 regulator-min-microvolt = <800000>; 354 regulator-max-microvol 354 regulator-max-microvolt = <925000>; 355 regulator-enable-ramp- 355 regulator-enable-ramp-delay = <250>; 356 regulator-allow-set-lo 356 regulator-allow-set-load; 357 }; 357 }; 358 358 359 vreg_l2b_2p95: l2 { 359 vreg_l2b_2p95: l2 { 360 regulator-min-microvol 360 regulator-min-microvolt = <1648000>; 361 regulator-max-microvol 361 regulator-max-microvolt = <3100000>; 362 regulator-enable-ramp- 362 regulator-enable-ramp-delay = <250>; 363 regulator-ramp-delay = 363 regulator-ramp-delay = <0>; 364 regulator-allow-set-lo 364 regulator-allow-set-load; 365 }; 365 }; 366 366 367 vreg_l4b_2p95: l4 { 367 vreg_l4b_2p95: l4 { 368 regulator-min-microvol 368 regulator-min-microvolt = <2944000>; 369 regulator-max-microvol 369 regulator-max-microvolt = <2952000>; 370 regulator-enable-ramp- 370 regulator-enable-ramp-delay = <250>; 371 regulator-ramp-delay = 371 regulator-ramp-delay = <0>; 372 372 373 regulator-min-microamp 373 regulator-min-microamp = <200>; 374 regulator-max-microamp 374 regulator-max-microamp = <600000>; 375 regulator-system-load 375 regulator-system-load = <570000>; 376 regulator-allow-set-lo 376 regulator-allow-set-load; 377 }; 377 }; 378 378 379 /* 379 /* 380 * Downstream specifies a rang 380 * Downstream specifies a range of 1721-3600mV, 381 * but the only assigned consu 381 * but the only assigned consumers are SDHCI2 VMMC 382 * and Coresight QPDI that bot 382 * and Coresight QPDI that both request pinned 2.95V. 383 * Tighten the range to 1.8-3. 383 * Tighten the range to 1.8-3.328 (closest to 3.3) to 384 * make the mmc driver happy. 384 * make the mmc driver happy. 385 */ 385 */ 386 vreg_l5b_2p95: l5 { 386 vreg_l5b_2p95: l5 { 387 regulator-min-microvol 387 regulator-min-microvolt = <1800000>; 388 regulator-max-microvol 388 regulator-max-microvolt = <3328000>; 389 regulator-enable-ramp- 389 regulator-enable-ramp-delay = <250>; 390 regulator-system-load 390 regulator-system-load = <800000>; 391 regulator-ramp-delay = 391 regulator-ramp-delay = <0>; 392 regulator-allow-set-lo 392 regulator-allow-set-load; 393 }; 393 }; 394 394 395 vreg_l7b_3p125: l7 { 395 vreg_l7b_3p125: l7 { 396 regulator-min-microvol 396 regulator-min-microvolt = <2700000>; 397 regulator-max-microvol 397 regulator-max-microvolt = <3125000>; 398 regulator-enable-ramp- 398 regulator-enable-ramp-delay = <250>; 399 }; 399 }; 400 400 401 vreg_l8b_3p3: l8 { 401 vreg_l8b_3p3: l8 { 402 regulator-min-microvol 402 regulator-min-microvolt = <2800000>; 403 regulator-max-microvol 403 regulator-max-microvolt = <3400000>; 404 regulator-enable-ramp- 404 regulator-enable-ramp-delay = <250>; 405 regulator-ramp-delay = 405 regulator-ramp-delay = <0>; 406 }; 406 }; 407 407 408 vreg_bob: bob { 408 vreg_bob: bob { 409 regulator-min-microvol 409 regulator-min-microvolt = <3300000>; 410 regulator-max-microvol 410 regulator-max-microvolt = <3624000>; 411 regulator-enable-ramp- 411 regulator-enable-ramp-delay = <500>; 412 regulator-ramp-delay = 412 regulator-ramp-delay = <0>; 413 }; 413 }; 414 }; 414 }; 415 }; 415 }; 416 416 417 &sdc2_state_on { 417 &sdc2_state_on { 418 sd-cd-pins { 418 sd-cd-pins { 419 pins = "gpio54"; 419 pins = "gpio54"; 420 function = "gpio"; 420 function = "gpio"; 421 bias-pull-up; 421 bias-pull-up; 422 drive-strength = <2>; 422 drive-strength = <2>; 423 }; 423 }; 424 }; 424 }; 425 425 426 &sdc2_state_off { 426 &sdc2_state_off { 427 sd-cd-pins { 427 sd-cd-pins { 428 pins = "gpio54"; 428 pins = "gpio54"; 429 function = "gpio"; 429 function = "gpio"; 430 bias-disable; 430 bias-disable; 431 drive-strength = <2>; 431 drive-strength = <2>; 432 }; 432 }; 433 }; 433 }; 434 434 435 &sdhc_1 { 435 &sdhc_1 { 436 status = "okay"; 436 status = "okay"; 437 supports-cqe; 437 supports-cqe; 438 438 439 vmmc-supply = <&vreg_l4b_2p95>; 439 vmmc-supply = <&vreg_l4b_2p95>; 440 vqmmc-supply = <&vreg_l8a_1p8>; 440 vqmmc-supply = <&vreg_l8a_1p8>; 441 441 442 mmc-ddr-1_8v; 442 mmc-ddr-1_8v; 443 mmc-hs400-1_8v; 443 mmc-hs400-1_8v; 444 mmc-hs400-enhanced-strobe; 444 mmc-hs400-enhanced-strobe; 445 }; 445 }; 446 446 447 &sdhc_2 { 447 &sdhc_2 { 448 status = "okay"; 448 status = "okay"; 449 449 450 vmmc-supply = <&vreg_l5b_2p95>; 450 vmmc-supply = <&vreg_l5b_2p95>; 451 vqmmc-supply = <&vreg_l2b_2p95>; 451 vqmmc-supply = <&vreg_l2b_2p95>; 452 452 453 cd-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>; 453 cd-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>; 454 no-sdio; 454 no-sdio; 455 no-mmc; 455 no-mmc; 456 }; 456 }; 457 457 458 &tlmm { 458 &tlmm { 459 gpio-reserved-ranges = <0 4>, <8 4>; 459 gpio-reserved-ranges = <0 4>, <8 4>; 460 }; 460 }; 461 461 462 &usb2 { 462 &usb2 { 463 status = "okay"; 463 status = "okay"; 464 }; 464 }; 465 465 466 &usb2_dwc3 { 466 &usb2_dwc3 { 467 dr_mode = "host"; 467 dr_mode = "host"; 468 }; 468 }; 469 469 470 &usb3 { 470 &usb3 { 471 status = "okay"; 471 status = "okay"; 472 }; 472 }; 473 473 474 &usb3_dwc3 { 474 &usb3_dwc3 { 475 dr_mode = "peripheral"; 475 dr_mode = "peripheral"; 476 extcon = <&extcon_usb>; 476 extcon = <&extcon_usb>; 477 }; 477 }; 478 478 479 &usb3_qmpphy { 479 &usb3_qmpphy { 480 vdda-phy-supply = <&vreg_l1b_0p925>; 480 vdda-phy-supply = <&vreg_l1b_0p925>; 481 vdda-pll-supply = <&vreg_l10a_1p8>; 481 vdda-pll-supply = <&vreg_l10a_1p8>; 482 status = "okay"; 482 status = "okay"; 483 }; 483 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.