1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 2 3 /dts-v1/; 3 /dts-v1/; 4 4 5 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/sound/qcom,q6asm.h> 6 #include <dt-bindings/sound/qcom,q6asm.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regu 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 8 8 9 #include "sc7180.dtsi" 9 #include "sc7180.dtsi" 10 10 11 #include "pm6150.dtsi" 11 #include "pm6150.dtsi" 12 #include "pm6150l.dtsi" 12 #include "pm6150l.dtsi" 13 13 14 /delete-node/ &tz_mem; 14 /delete-node/ &tz_mem; 15 /delete-node/ &ipa_fw_mem; 15 /delete-node/ &ipa_fw_mem; 16 16 17 / { 17 / { 18 model = "Acer Aspire 1"; 18 model = "Acer Aspire 1"; 19 compatible = "acer,aspire1", "qcom,sc7 19 compatible = "acer,aspire1", "qcom,sc7180"; 20 chassis-type = "laptop"; 20 chassis-type = "laptop"; 21 21 22 aliases { 22 aliases { 23 bluetooth0 = &bluetooth; 23 bluetooth0 = &bluetooth; 24 hsuart0 = &uart3; 24 hsuart0 = &uart3; 25 serial0 = &uart8; 25 serial0 = &uart8; 26 wifi0 = &wifi; 26 wifi0 = &wifi; 27 }; 27 }; 28 28 29 chosen { 29 chosen { 30 stdout-path = "serial0:115200n 30 stdout-path = "serial0:115200n8"; 31 }; 31 }; 32 32 33 reserved-memory { 33 reserved-memory { 34 zap_mem: zap-shader@80840000 { 34 zap_mem: zap-shader@80840000 { 35 reg = <0x0 0x80840000 35 reg = <0x0 0x80840000 0 0x2000>; 36 no-map; 36 no-map; 37 }; 37 }; 38 38 39 venus_mem: venus@85b00000 { 39 venus_mem: venus@85b00000 { 40 reg = <0x0 0x85b00000 40 reg = <0x0 0x85b00000 0 0x500000>; 41 no-map; 41 no-map; 42 }; 42 }; 43 43 44 mpss_mem: mpss@86000000 { 44 mpss_mem: mpss@86000000 { 45 reg = <0x0 0x86000000 45 reg = <0x0 0x86000000 0x0 0x2000000>; 46 no-map; 46 no-map; 47 }; 47 }; 48 48 49 adsp_mem: adsp@8e400000 { 49 adsp_mem: adsp@8e400000 { 50 reg = <0x0 0x8e400000 50 reg = <0x0 0x8e400000 0x0 0x2800000>; 51 no-map; 51 no-map; 52 }; 52 }; 53 53 54 wlan_mem: wlan@93900000 { 54 wlan_mem: wlan@93900000 { 55 reg = <0x0 0x93900000 55 reg = <0x0 0x93900000 0x0 0x200000>; 56 no-map; 56 no-map; 57 }; 57 }; 58 }; 58 }; 59 59 60 max98357a: audio-codec { 60 max98357a: audio-codec { 61 compatible = "maxim,max98357a" 61 compatible = "maxim,max98357a"; 62 sdmode-gpios = <&tlmm 23 GPIO_ 62 sdmode-gpios = <&tlmm 23 GPIO_ACTIVE_HIGH>; 63 63 64 pinctrl-0 = <&_sd_mode_defa 64 pinctrl-0 = <&_sd_mode_default>; 65 pinctrl-names = "default"; 65 pinctrl-names = "default"; 66 66 67 #sound-dai-cells = <0>; 67 #sound-dai-cells = <0>; 68 }; 68 }; 69 69 70 backlight: backlight { 70 backlight: backlight { 71 compatible = "pwm-backlight"; 71 compatible = "pwm-backlight"; 72 pwms = <&sn65dsi86_bridge 1000 72 pwms = <&sn65dsi86_bridge 1000000>; 73 enable-gpios = <&tlmm 10 GPIO_ 73 enable-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>; 74 74 75 pinctrl-0 = <&soc_bkoff_defaul 75 pinctrl-0 = <&soc_bkoff_default>; 76 pinctrl-names = "default"; 76 pinctrl-names = "default"; 77 }; 77 }; 78 78 79 reg_brij_1p2: bridge-1p2-regulator { 79 reg_brij_1p2: bridge-1p2-regulator { 80 compatible = "regulator-fixed" 80 compatible = "regulator-fixed"; 81 regulator-name = "brij_1p2"; 81 regulator-name = "brij_1p2"; 82 regulator-min-microvolt = <120 82 regulator-min-microvolt = <1200000>; 83 regulator-max-microvolt = <120 83 regulator-max-microvolt = <1200000>; 84 84 85 gpio = <&tlmm 19 GPIO_ACTIVE_H 85 gpio = <&tlmm 19 GPIO_ACTIVE_HIGH>; 86 enable-active-high; 86 enable-active-high; 87 87 88 pinctrl-0 = <®_edp_1p2_en_d 88 pinctrl-0 = <®_edp_1p2_en_default>; 89 pinctrl-names = "default"; 89 pinctrl-names = "default"; 90 }; 90 }; 91 91 92 reg_brij_1p8: bridge-regulator { 92 reg_brij_1p8: bridge-regulator { 93 compatible = "regulator-fixed" 93 compatible = "regulator-fixed"; 94 regulator-name = "brij_1p8"; 94 regulator-name = "brij_1p8"; 95 regulator-min-microvolt = <180 95 regulator-min-microvolt = <1800000>; 96 regulator-max-microvolt = <180 96 regulator-max-microvolt = <1800000>; 97 97 98 vin-supply = <&vreg_l8c_1p8>; 98 vin-supply = <&vreg_l8c_1p8>; 99 99 100 gpio = <&tlmm 20 GPIO_ACTIVE_H 100 gpio = <&tlmm 20 GPIO_ACTIVE_HIGH>; 101 enable-active-high; 101 enable-active-high; 102 102 103 pinctrl-0 = <®_edp_1p8_en_d 103 pinctrl-0 = <®_edp_1p8_en_default>; 104 pinctrl-names = "default"; 104 pinctrl-names = "default"; 105 }; 105 }; 106 106 107 reg_codec_3p3: codec-regulator { 107 reg_codec_3p3: codec-regulator { 108 compatible = "regulator-fixed" 108 compatible = "regulator-fixed"; 109 regulator-name = "codec_3p3"; 109 regulator-name = "codec_3p3"; 110 regulator-min-microvolt = <330 110 regulator-min-microvolt = <3300000>; 111 regulator-max-microvolt = <330 111 regulator-max-microvolt = <3300000>; 112 112 113 gpio = <&tlmm 83 GPIO_ACTIVE_H 113 gpio = <&tlmm 83 GPIO_ACTIVE_HIGH>; 114 enable-active-high; 114 enable-active-high; 115 115 116 pinctrl-0 = <®_audio_en_def 116 pinctrl-0 = <®_audio_en_default>; 117 pinctrl-names = "default"; 117 pinctrl-names = "default"; 118 }; 118 }; 119 119 120 reg_lcm_3p3: panel-regulator { 120 reg_lcm_3p3: panel-regulator { 121 compatible = "regulator-fixed" 121 compatible = "regulator-fixed"; 122 regulator-name = "lcm_3p3"; 122 regulator-name = "lcm_3p3"; 123 regulator-min-microvolt = <330 123 regulator-min-microvolt = <3300000>; 124 regulator-max-microvolt = <330 124 regulator-max-microvolt = <3300000>; 125 125 126 gpio = <&tlmm 26 GPIO_ACTIVE_H 126 gpio = <&tlmm 26 GPIO_ACTIVE_HIGH>; 127 enable-active-high; 127 enable-active-high; 128 128 129 pinctrl-0 = <®_lcm_en_defau 129 pinctrl-0 = <®_lcm_en_default>; 130 pinctrl-names = "default"; 130 pinctrl-names = "default"; 131 }; 131 }; 132 132 133 sound: sound { 133 sound: sound { 134 compatible = "qcom,sc7180-qdsp 134 compatible = "qcom,sc7180-qdsp6-sndcard"; 135 pinctrl-0 = <&pri_mi2s_active> 135 pinctrl-0 = <&pri_mi2s_active>, <&pri_mi2s_mclk_active>, <&ter_mi2s_active>; 136 pinctrl-names = "default"; 136 pinctrl-names = "default"; 137 model = "Acer-Aspire-1"; 137 model = "Acer-Aspire-1"; 138 138 139 audio-routing = 139 audio-routing = 140 "Headphone Jack", "HPO 140 "Headphone Jack", "HPOL", 141 "Headphone Jack", "HPO 141 "Headphone Jack", "HPOR"; 142 142 143 multimedia1-dai-link { 143 multimedia1-dai-link { 144 link-name = "MultiMedi 144 link-name = "MultiMedia1"; 145 145 146 cpu { 146 cpu { 147 sound-dai = <& 147 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; 148 }; 148 }; 149 }; 149 }; 150 150 151 multimedia2-dai-link { 151 multimedia2-dai-link { 152 link-name = "MultiMedi 152 link-name = "MultiMedia2"; 153 153 154 cpu { 154 cpu { 155 sound-dai = <& 155 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>; 156 }; 156 }; 157 }; 157 }; 158 158 159 multimedia3-dai-link { 159 multimedia3-dai-link { 160 link-name = "MultiMedi 160 link-name = "MultiMedia3"; 161 161 162 cpu { 162 cpu { 163 sound-dai = <& 163 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>; 164 }; 164 }; 165 }; 165 }; 166 166 167 multimedia4-dai-link { 167 multimedia4-dai-link { 168 link-name = "MultiMedi 168 link-name = "MultiMedia4"; 169 169 170 cpu { 170 cpu { 171 sound-dai = <& 171 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>; 172 }; 172 }; 173 }; 173 }; 174 174 175 primary-rx-dai-link { 175 primary-rx-dai-link { 176 link-name = "Primary M 176 link-name = "Primary MI2S Playback"; 177 177 178 cpu { 178 cpu { 179 sound-dai = <& 179 sound-dai = <&q6afedai PRIMARY_MI2S_RX>; 180 }; 180 }; 181 181 182 platform { 182 platform { 183 sound-dai = <& 183 sound-dai = <&q6routing>; 184 }; 184 }; 185 185 186 codec { 186 codec { 187 sound-dai = <& 187 sound-dai = <&alc5682 0>; 188 }; 188 }; 189 }; 189 }; 190 190 191 primary-tx-dai-link { 191 primary-tx-dai-link { 192 link-name = "Primary M 192 link-name = "Primary MI2S Capture"; 193 193 194 cpu { 194 cpu { 195 sound-dai = <& 195 sound-dai = <&q6afedai PRIMARY_MI2S_TX>; 196 }; 196 }; 197 197 198 platform { 198 platform { 199 sound-dai = <& 199 sound-dai = <&q6routing>; 200 }; 200 }; 201 201 202 codec { 202 codec { 203 sound-dai = <& 203 sound-dai = <&alc5682 0>; 204 }; 204 }; 205 }; 205 }; 206 206 207 tertiary-rx-dai-link { 207 tertiary-rx-dai-link { 208 link-name = "Tertiary 208 link-name = "Tertiary MI2S Playback"; 209 209 210 cpu { 210 cpu { 211 sound-dai = <& 211 sound-dai = <&q6afedai TERTIARY_MI2S_RX>; 212 }; 212 }; 213 213 214 platform { 214 platform { 215 sound-dai = <& 215 sound-dai = <&q6routing>; 216 }; 216 }; 217 217 218 codec { 218 codec { 219 sound-dai = <& 219 sound-dai = <&max98357a>; 220 }; 220 }; 221 }; 221 }; 222 222 223 displayport-rx-dai-link { 223 displayport-rx-dai-link { 224 link-name = "DisplayPo 224 link-name = "DisplayPort Playback"; 225 225 226 cpu { 226 cpu { 227 sound-dai = <& 227 sound-dai = <&q6afedai DISPLAY_PORT_RX>; 228 }; 228 }; 229 229 230 platform { 230 platform { 231 sound-dai = <& 231 sound-dai = <&q6routing>; 232 }; 232 }; 233 233 234 codec { 234 codec { 235 sound-dai = <& 235 sound-dai = <&mdss_dp>; 236 }; 236 }; 237 }; 237 }; 238 }; 238 }; 239 239 240 reg_tp_3p3: touchpad-regulator { 240 reg_tp_3p3: touchpad-regulator { 241 compatible = "regulator-fixed" 241 compatible = "regulator-fixed"; 242 regulator-name = "tp_3p3"; 242 regulator-name = "tp_3p3"; 243 regulator-min-microvolt = <330 243 regulator-min-microvolt = <3300000>; 244 regulator-max-microvolt = <330 244 regulator-max-microvolt = <3300000>; 245 245 246 gpio = <&tlmm 25 GPIO_ACTIVE_H 246 gpio = <&tlmm 25 GPIO_ACTIVE_HIGH>; 247 enable-active-high; 247 enable-active-high; 248 248 249 pinctrl-0 = <®_tp_en_defaul 249 pinctrl-0 = <®_tp_en_default>; 250 pinctrl-names = "default"; 250 pinctrl-names = "default"; 251 }; 251 }; 252 }; 252 }; 253 253 254 &i2c2 { 254 &i2c2 { 255 clock-frequency = <400000>; 255 clock-frequency = <400000>; 256 status = "okay"; 256 status = "okay"; 257 257 258 embedded-controller@76 { 258 embedded-controller@76 { 259 compatible = "acer,aspire1-ec" 259 compatible = "acer,aspire1-ec"; 260 reg = <0x76>; 260 reg = <0x76>; 261 261 262 interrupts-extended = <&tlmm 3 262 interrupts-extended = <&tlmm 30 IRQ_TYPE_LEVEL_LOW>; 263 263 264 pinctrl-0 = <&ec_int_default>; 264 pinctrl-0 = <&ec_int_default>; 265 pinctrl-names = "default"; 265 pinctrl-names = "default"; 266 266 267 connector { 267 connector { 268 compatible = "usb-c-co 268 compatible = "usb-c-connector"; 269 269 270 port { 270 port { 271 ec_dp_in: endp 271 ec_dp_in: endpoint { 272 remote 272 remote-endpoint = <&mdss_dp_out>; 273 }; 273 }; 274 }; 274 }; 275 }; 275 }; 276 }; 276 }; 277 }; 277 }; 278 278 279 &i2c4 { 279 &i2c4 { 280 clock-frequency = <400000>; 280 clock-frequency = <400000>; 281 status = "okay"; 281 status = "okay"; 282 282 283 /* 283 /* 284 * NOTE: DSDT defines two possible tou 284 * NOTE: DSDT defines two possible touchpads, other one is 285 * 285 * 286 * reg = <0x15>; 286 * reg = <0x15>; 287 * hid-descr-addr = <0x1>; 287 * hid-descr-addr = <0x1>; 288 */ 288 */ 289 289 290 touchpad@2c { 290 touchpad@2c { 291 compatible = "hid-over-i2c"; 291 compatible = "hid-over-i2c"; 292 reg = <0x2c>; 292 reg = <0x2c>; 293 hid-descr-addr = <0x20>; 293 hid-descr-addr = <0x20>; 294 294 295 vdd-supply = <®_tp_3p3>; 295 vdd-supply = <®_tp_3p3>; 296 296 297 interrupts-extended = <&tlmm 9 297 interrupts-extended = <&tlmm 94 IRQ_TYPE_LEVEL_LOW>; 298 298 299 pinctrl-0 = <&hid_touchpad_def 299 pinctrl-0 = <&hid_touchpad_default>; 300 pinctrl-names = "default"; 300 pinctrl-names = "default"; 301 301 302 wakeup-source; 302 wakeup-source; 303 }; 303 }; 304 304 305 keyboard@3a { 305 keyboard@3a { 306 compatible = "hid-over-i2c"; 306 compatible = "hid-over-i2c"; 307 reg = <0x3a>; 307 reg = <0x3a>; 308 hid-descr-addr = <0x1>; 308 hid-descr-addr = <0x1>; 309 309 310 interrupts-extended = <&tlmm 3 310 interrupts-extended = <&tlmm 33 IRQ_TYPE_LEVEL_LOW>; 311 311 312 pinctrl-0 = <&hid_keyboard_def 312 pinctrl-0 = <&hid_keyboard_default>; 313 pinctrl-names = "default"; 313 pinctrl-names = "default"; 314 314 315 wakeup-source; 315 wakeup-source; 316 }; 316 }; 317 }; 317 }; 318 318 319 &i2c9 { 319 &i2c9 { 320 clock-frequency = <400000>; 320 clock-frequency = <400000>; 321 status = "okay"; 321 status = "okay"; 322 322 323 alc5682: codec@1a { 323 alc5682: codec@1a { 324 compatible = "realtek,rt5682i" 324 compatible = "realtek,rt5682i"; 325 reg = <0x1a>; 325 reg = <0x1a>; 326 326 327 #sound-dai-cells = <1>; 327 #sound-dai-cells = <1>; 328 328 329 interrupt-parent = <&tlmm>; 329 interrupt-parent = <&tlmm>; 330 interrupts = <28 IRQ_TYPE_EDGE 330 interrupts = <28 IRQ_TYPE_EDGE_BOTH>; 331 331 332 pinctrl-0 = <&codec_irq_defaul 332 pinctrl-0 = <&codec_irq_default>; 333 pinctrl-names = "default"; 333 pinctrl-names = "default"; 334 334 335 AVDD-supply = <&vreg_l15a_1p8> 335 AVDD-supply = <&vreg_l15a_1p8>; 336 MICVDD-supply = <®_codec_3p 336 MICVDD-supply = <®_codec_3p3>; 337 VBAT-supply = <®_codec_3p3> 337 VBAT-supply = <®_codec_3p3>; 338 DBVDD-supply = <&vreg_l15a_1p8 338 DBVDD-supply = <&vreg_l15a_1p8>; 339 LDO1-IN-supply = <&vreg_l15a_1 339 LDO1-IN-supply = <&vreg_l15a_1p8>; 340 340 341 /* 341 /* 342 * NOTE: The board has a path 342 * NOTE: The board has a path from this codec to the 343 * DMIC microphones in the lid 343 * DMIC microphones in the lid, however some of the option 344 * resistors are absent and th 344 * resistors are absent and the microphones are connected 345 * to the SoC instead. 345 * to the SoC instead. 346 * 346 * 347 * If the resistors were to be 347 * If the resistors were to be changed by the user to 348 * connect the codec, the foll 348 * connect the codec, the following could be used: 349 * 349 * 350 * realtek,dmic1-data-pin = <1 350 * realtek,dmic1-data-pin = <1>; 351 * realtek,dmic1-clk-pin = <1> 351 * realtek,dmic1-clk-pin = <1>; 352 */ 352 */ 353 353 354 realtek,jd-src = <1>; 354 realtek,jd-src = <1>; 355 }; 355 }; 356 }; 356 }; 357 357 358 &i2c10 { 358 &i2c10 { 359 clock-frequency = <400000>; 359 clock-frequency = <400000>; 360 status = "okay"; 360 status = "okay"; 361 361 362 sn65dsi86_bridge: bridge@2c { 362 sn65dsi86_bridge: bridge@2c { 363 compatible = "ti,sn65dsi86"; 363 compatible = "ti,sn65dsi86"; 364 reg = <0x2c>; 364 reg = <0x2c>; 365 gpio-controller; 365 gpio-controller; 366 #gpio-cells = <2>; 366 #gpio-cells = <2>; 367 #pwm-cells = <1>; 367 #pwm-cells = <1>; 368 368 369 interrupt-parent = <&tlmm>; 369 interrupt-parent = <&tlmm>; 370 interrupts = <11 IRQ_TYPE_LEVE 370 interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; 371 371 372 enable-gpios = <&tlmm 51 GPIO_ 372 enable-gpios = <&tlmm 51 GPIO_ACTIVE_HIGH>; 373 suspend-gpios = <&tlmm 22 GPIO 373 suspend-gpios = <&tlmm 22 GPIO_ACTIVE_LOW>; 374 374 375 pinctrl-0 = <&bridge_en_defaul 375 pinctrl-0 = <&bridge_en_default>, 376 <&edp_bridge_irq_d 376 <&edp_bridge_irq_default>, 377 <&bridge_suspend_d 377 <&bridge_suspend_default>; 378 pinctrl-names = "default"; 378 pinctrl-names = "default"; 379 379 380 vpll-supply = <®_brij_1p8>; 380 vpll-supply = <®_brij_1p8>; 381 vccio-supply = <®_brij_1p8> 381 vccio-supply = <®_brij_1p8>; 382 vcca-supply = <®_brij_1p2>; 382 vcca-supply = <®_brij_1p2>; 383 vcc-supply = <®_brij_1p2>; 383 vcc-supply = <®_brij_1p2>; 384 384 385 clocks = <&rpmhcc RPMH_LN_BB_C 385 clocks = <&rpmhcc RPMH_LN_BB_CLK3>; 386 clock-names = "refclk"; 386 clock-names = "refclk"; 387 387 388 ports { 388 ports { 389 #address-cells = <1>; 389 #address-cells = <1>; 390 #size-cells = <0>; 390 #size-cells = <0>; 391 391 392 port@0 { 392 port@0 { 393 reg = <0>; 393 reg = <0>; 394 394 395 sn65dsi86_in: 395 sn65dsi86_in: endpoint { 396 remote 396 remote-endpoint = <&mdss_dsi0_out>; 397 }; 397 }; 398 }; 398 }; 399 399 400 port@1 { 400 port@1 { 401 reg = <1>; 401 reg = <1>; 402 402 403 sn65dsi86_out: 403 sn65dsi86_out: endpoint { 404 data-l 404 data-lanes = <0 1>; 405 remote 405 remote-endpoint = <&panel_in_edp>; 406 }; 406 }; 407 }; 407 }; 408 }; 408 }; 409 409 410 aux-bus { 410 aux-bus { 411 panel: panel { 411 panel: panel { 412 compatible = " 412 compatible = "edp-panel"; 413 power-supply = 413 power-supply = <®_lcm_3p3>; 414 backlight = <& 414 backlight = <&backlight>; 415 hpd-absent-del 415 hpd-absent-delay-ms = <200>; 416 416 417 port { 417 port { 418 panel_ 418 panel_in_edp: endpoint { 419 419 remote-endpoint = <&sn65dsi86_out>; 420 }; 420 }; 421 }; 421 }; 422 }; 422 }; 423 }; 423 }; 424 }; 424 }; 425 }; 425 }; 426 426 427 &gpu { 427 &gpu { 428 status = "okay"; 428 status = "okay"; 429 429 430 zap-shader { 430 zap-shader { 431 memory-region = <&zap_mem>; 431 memory-region = <&zap_mem>; 432 firmware-name = "qcom/sc7180/a 432 firmware-name = "qcom/sc7180/acer/aspire1/qcdxkmsuc7180.mbn"; 433 }; 433 }; 434 }; 434 }; 435 435 436 &mdss { 436 &mdss { 437 status = "okay"; 437 status = "okay"; 438 }; 438 }; 439 439 440 &mdss_dp { 440 &mdss_dp { 441 data-lanes = <0 1>; 441 data-lanes = <0 1>; 442 442 443 vdda-1p2-supply = <&vreg_l3c_1p2>; 443 vdda-1p2-supply = <&vreg_l3c_1p2>; 444 vdda-0p9-supply = <&vreg_l4a_0p8>; 444 vdda-0p9-supply = <&vreg_l4a_0p8>; 445 445 446 status = "okay"; 446 status = "okay"; 447 }; 447 }; 448 448 449 &mdss_dp_out { 449 &mdss_dp_out { 450 remote-endpoint = <&ec_dp_in>; 450 remote-endpoint = <&ec_dp_in>; 451 }; 451 }; 452 452 453 &mdss_dsi0 { 453 &mdss_dsi0 { 454 vdda-supply = <&vreg_l3c_1p2>; 454 vdda-supply = <&vreg_l3c_1p2>; 455 status = "okay"; 455 status = "okay"; 456 }; 456 }; 457 457 458 &mdss_dsi0_out { 458 &mdss_dsi0_out { 459 remote-endpoint = <&sn65dsi86_in>; 459 remote-endpoint = <&sn65dsi86_in>; 460 data-lanes = <0 1 2 3>; 460 data-lanes = <0 1 2 3>; 461 }; 461 }; 462 462 463 &mdss_dsi0_phy { 463 &mdss_dsi0_phy { 464 vdds-supply = <&vreg_l4a_0p8>; 464 vdds-supply = <&vreg_l4a_0p8>; 465 status = "okay"; 465 status = "okay"; 466 }; 466 }; 467 467 468 &pm6150_adc { 468 &pm6150_adc { 469 channel@4e { 469 channel@4e { 470 reg = <ADC5_AMUX_THM2_100K_PU> 470 reg = <ADC5_AMUX_THM2_100K_PU>; 471 qcom,ratiometric; 471 qcom,ratiometric; 472 qcom,hw-settle-time = <200>; 472 qcom,hw-settle-time = <200>; 473 label = "thermistor"; 473 label = "thermistor"; 474 }; 474 }; 475 475 476 channel@4f { 476 channel@4f { 477 reg = <ADC5_AMUX_THM3_100K_PU> 477 reg = <ADC5_AMUX_THM3_100K_PU>; 478 qcom,ratiometric; 478 qcom,ratiometric; 479 qcom,hw-settle-time = <200>; 479 qcom,hw-settle-time = <200>; 480 label = "charger_thermistor"; 480 label = "charger_thermistor"; 481 }; 481 }; 482 }; 482 }; 483 483 484 &pm6150_adc_tm { 484 &pm6150_adc_tm { 485 status = "okay"; 485 status = "okay"; 486 486 487 charger-thermistor@0 { 487 charger-thermistor@0 { 488 reg = <0>; 488 reg = <0>; 489 io-channels = <&pm6150_adc ADC 489 io-channels = <&pm6150_adc ADC5_AMUX_THM3_100K_PU>; 490 qcom,ratiometric; 490 qcom,ratiometric; 491 qcom,hw-settle-time-us = <200> 491 qcom,hw-settle-time-us = <200>; 492 }; 492 }; 493 493 494 thermistor@1 { 494 thermistor@1 { 495 reg = <1>; 495 reg = <1>; 496 io-channels = <&pm6150_adc ADC 496 io-channels = <&pm6150_adc ADC5_AMUX_THM2_100K_PU>; 497 qcom,ratiometric; 497 qcom,ratiometric; 498 qcom,hw-settle-time-us = <200> 498 qcom,hw-settle-time-us = <200>; 499 }; 499 }; 500 }; 500 }; 501 501 502 &pm6150_pon { 502 &pm6150_pon { 503 status = "disabled"; 503 status = "disabled"; 504 }; 504 }; 505 505 506 &pm6150_rtc { 506 &pm6150_rtc { 507 status = "okay"; 507 status = "okay"; 508 }; 508 }; 509 509 510 &q6afedai { 510 &q6afedai { 511 dai@16 { 511 dai@16 { 512 reg = <PRIMARY_MI2S_RX>; 512 reg = <PRIMARY_MI2S_RX>; 513 qcom,sd-lines = <1>; 513 qcom,sd-lines = <1>; 514 }; 514 }; 515 515 516 dai@17 { 516 dai@17 { 517 reg = <PRIMARY_MI2S_TX>; 517 reg = <PRIMARY_MI2S_TX>; 518 qcom,sd-lines = <0>; 518 qcom,sd-lines = <0>; 519 }; 519 }; 520 520 521 dai@20 { 521 dai@20 { 522 reg = <TERTIARY_MI2S_RX>; 522 reg = <TERTIARY_MI2S_RX>; 523 qcom,sd-lines = <0>; 523 qcom,sd-lines = <0>; 524 }; 524 }; 525 525 526 dai@104 { 526 dai@104 { 527 reg = <DISPLAY_PORT_RX>; 527 reg = <DISPLAY_PORT_RX>; 528 }; 528 }; 529 }; 529 }; 530 530 531 &q6asmdai { 531 &q6asmdai { 532 dai@0 { 532 dai@0 { 533 reg = <0>; 533 reg = <0>; 534 }; 534 }; 535 535 536 dai@1 { 536 dai@1 { 537 reg = <1>; 537 reg = <1>; 538 }; 538 }; 539 539 540 dai@2 { 540 dai@2 { 541 reg = <2>; 541 reg = <2>; 542 }; 542 }; 543 543 544 dai@3 { 544 dai@3 { 545 reg = <3>; 545 reg = <3>; 546 }; 546 }; 547 }; 547 }; 548 548 549 &qupv3_id_0 { 549 &qupv3_id_0 { 550 status = "okay"; 550 status = "okay"; 551 }; 551 }; 552 552 553 &qupv3_id_1 { 553 &qupv3_id_1 { 554 status = "okay"; 554 status = "okay"; 555 }; 555 }; 556 556 557 &remoteproc_adsp { 557 &remoteproc_adsp { 558 memory-region = <&adsp_mem>; 558 memory-region = <&adsp_mem>; 559 firmware-name = "qcom/sc7180/acer/aspi 559 firmware-name = "qcom/sc7180/acer/aspire1/qcadsp7180.mbn"; 560 status = "okay"; 560 status = "okay"; 561 }; 561 }; 562 562 563 &remoteproc_mpss { 563 &remoteproc_mpss { 564 firmware-name = "qcom/sc7180/acer/aspi 564 firmware-name = "qcom/sc7180/acer/aspire1/qcmpss7180_nm.mbn"; 565 status = "okay"; 565 status = "okay"; 566 }; 566 }; 567 567 568 &sdhc_1 { 568 &sdhc_1 { 569 pinctrl-0 = <&sdc1_default>; 569 pinctrl-0 = <&sdc1_default>; 570 pinctrl-1 = <&sdc1_sleep>; 570 pinctrl-1 = <&sdc1_sleep>; 571 pinctrl-names = "default", "sleep"; 571 pinctrl-names = "default", "sleep"; 572 vmmc-supply = <&vreg_l19a_2p9>; 572 vmmc-supply = <&vreg_l19a_2p9>; 573 vqmmc-supply = <&vreg_l12a_1p8>; 573 vqmmc-supply = <&vreg_l12a_1p8>; 574 574 575 status = "okay"; 575 status = "okay"; 576 }; 576 }; 577 577 578 &uart3 { 578 &uart3 { 579 /delete-property/interrupts; 579 /delete-property/interrupts; 580 interrupts-extended = <&intc GIC_SPI 6 580 interrupts-extended = <&intc GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>, 581 <&tlmm 41 IRQ_TY 581 <&tlmm 41 IRQ_TYPE_EDGE_FALLING>; 582 582 583 pinctrl-1 = <&qup_uart3_sleep>; 583 pinctrl-1 = <&qup_uart3_sleep>; 584 pinctrl-names = "default", "sleep"; 584 pinctrl-names = "default", "sleep"; 585 585 586 status = "okay"; 586 status = "okay"; 587 587 588 bluetooth: bluetooth { 588 bluetooth: bluetooth { 589 compatible = "qcom,wcn3991-bt" 589 compatible = "qcom,wcn3991-bt"; 590 vddio-supply = <&vreg_l10a_1p8 590 vddio-supply = <&vreg_l10a_1p8>; 591 vddxo-supply = <&vreg_l1c_1p8> 591 vddxo-supply = <&vreg_l1c_1p8>; 592 vddrf-supply = <&vreg_l2c_1p3> 592 vddrf-supply = <&vreg_l2c_1p3>; 593 vddch0-supply = <&vreg_l10c_3p 593 vddch0-supply = <&vreg_l10c_3p3>; 594 max-speed = <3200000>; 594 max-speed = <3200000>; 595 }; 595 }; 596 }; 596 }; 597 597 598 &uart8 { 598 &uart8 { 599 status = "okay"; 599 status = "okay"; 600 }; 600 }; 601 601 602 &usb_1 { 602 &usb_1 { 603 status = "okay"; 603 status = "okay"; 604 }; 604 }; 605 605 606 &usb_1_dwc3 { 606 &usb_1_dwc3 { 607 dr_mode = "host"; 607 dr_mode = "host"; 608 #address-cells = <1>; 608 #address-cells = <1>; 609 #size-cells = <0>; 609 #size-cells = <0>; 610 610 611 usb_hub_2_x: hub@1 { 611 usb_hub_2_x: hub@1 { 612 compatible = "usbbda,5411"; 612 compatible = "usbbda,5411"; 613 reg = <1>; 613 reg = <1>; 614 peer-hub = <&usb_hub_3_x>; 614 peer-hub = <&usb_hub_3_x>; 615 }; 615 }; 616 616 617 usb_hub_3_x: hub@2 { 617 usb_hub_3_x: hub@2 { 618 compatible = "usbbda,411"; 618 compatible = "usbbda,411"; 619 reg = <2>; 619 reg = <2>; 620 peer-hub = <&usb_hub_2_x>; 620 peer-hub = <&usb_hub_2_x>; 621 }; 621 }; 622 }; 622 }; 623 623 624 &usb_1_hsphy { 624 &usb_1_hsphy { 625 vdd-supply = <&vreg_l4a_0p8>; 625 vdd-supply = <&vreg_l4a_0p8>; 626 vdda-pll-supply = <&vreg_l11a_1p8>; 626 vdda-pll-supply = <&vreg_l11a_1p8>; 627 vdda-phy-dpdm-supply = <&vreg_l17a_3p0 627 vdda-phy-dpdm-supply = <&vreg_l17a_3p0>; 628 qcom,imp-res-offset-value = <8>; 628 qcom,imp-res-offset-value = <8>; 629 qcom,preemphasis-level = <QUSB2_V2_PRE 629 qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_15_PERCENT>; 630 qcom,preemphasis-width = <QUSB2_V2_PRE 630 qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>; 631 qcom,bias-ctrl-value = <0x22>; 631 qcom,bias-ctrl-value = <0x22>; 632 qcom,charge-ctrl-value = <3>; 632 qcom,charge-ctrl-value = <3>; 633 qcom,hsdisc-trim-value = <0>; 633 qcom,hsdisc-trim-value = <0>; 634 634 635 status = "okay"; 635 status = "okay"; 636 }; 636 }; 637 637 638 &usb_1_qmpphy { 638 &usb_1_qmpphy { 639 vdda-phy-supply = <&vreg_l3c_1p2>; 639 vdda-phy-supply = <&vreg_l3c_1p2>; 640 vdda-pll-supply = <&vreg_l4a_0p8>; 640 vdda-pll-supply = <&vreg_l4a_0p8>; 641 641 642 status = "okay"; 642 status = "okay"; 643 }; 643 }; 644 644 645 &venus { 645 &venus { 646 firmware-name = "qcom/sc7180/acer/aspi 646 firmware-name = "qcom/sc7180/acer/aspire1/qcvss7180.mbn"; 647 }; 647 }; 648 648 649 &wifi { 649 &wifi { 650 vdd-0.8-cx-mx-supply = <&vreg_l9a_0p6> 650 vdd-0.8-cx-mx-supply = <&vreg_l9a_0p6>; 651 vdd-1.8-xo-supply = <&vreg_l1c_1p8>; 651 vdd-1.8-xo-supply = <&vreg_l1c_1p8>; 652 vdd-1.3-rfa-supply = <&vreg_l2c_1p3>; 652 vdd-1.3-rfa-supply = <&vreg_l2c_1p3>; 653 vdd-3.3-ch0-supply = <&vreg_l10c_3p3>; 653 vdd-3.3-ch0-supply = <&vreg_l10c_3p3>; 654 vdd-3.3-ch1-supply = <&vreg_l11c_3p3>; 654 vdd-3.3-ch1-supply = <&vreg_l11c_3p3>; 655 655 656 status = "okay"; 656 status = "okay"; 657 }; 657 }; 658 658 659 &apps_rsc { 659 &apps_rsc { 660 regulators-0 { 660 regulators-0 { 661 compatible = "qcom,pm6150-rpmh 661 compatible = "qcom,pm6150-rpmh-regulators"; 662 qcom,pmic-id = "a"; 662 qcom,pmic-id = "a"; 663 663 664 vreg_s1a_1p1: smps1 { 664 vreg_s1a_1p1: smps1 { 665 regulator-min-microvol 665 regulator-min-microvolt = <1128000>; 666 regulator-max-microvol 666 regulator-max-microvolt = <1128000>; 667 }; 667 }; 668 668 669 vreg_l4a_0p8: ldo4 { 669 vreg_l4a_0p8: ldo4 { 670 regulator-min-microvol 670 regulator-min-microvolt = <824000>; 671 regulator-max-microvol 671 regulator-max-microvolt = <928000>; 672 regulator-initial-mode 672 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 673 }; 673 }; 674 674 675 vreg_l9a_0p6: ldo9 { 675 vreg_l9a_0p6: ldo9 { 676 regulator-min-microvol 676 regulator-min-microvolt = <488000>; 677 regulator-max-microvol 677 regulator-max-microvolt = <800000>; 678 regulator-initial-mode 678 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 679 }; 679 }; 680 680 681 vreg_l10a_1p8: ldo10 { 681 vreg_l10a_1p8: ldo10 { 682 regulator-min-microvol 682 regulator-min-microvolt = <1800000>; 683 regulator-max-microvol 683 regulator-max-microvolt = <1800000>; 684 regulator-initial-mode 684 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 685 regulator-always-on; 685 regulator-always-on; 686 regulator-boot-on; 686 regulator-boot-on; 687 }; 687 }; 688 688 689 vreg_l11a_1p8: ldo11 { 689 vreg_l11a_1p8: ldo11 { 690 regulator-min-microvol 690 regulator-min-microvolt = <1800000>; 691 regulator-max-microvol 691 regulator-max-microvolt = <1800000>; 692 regulator-initial-mode 692 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 693 }; 693 }; 694 694 695 vreg_l12a_1p8: ldo12 { 695 vreg_l12a_1p8: ldo12 { 696 regulator-min-microvol 696 regulator-min-microvolt = <1800000>; 697 regulator-max-microvol 697 regulator-max-microvolt = <1800000>; 698 regulator-initial-mode 698 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 699 }; 699 }; 700 700 701 vreg_l13a_1p8: ldo13 { 701 vreg_l13a_1p8: ldo13 { 702 regulator-min-microvol 702 regulator-min-microvolt = <1800000>; 703 regulator-max-microvol 703 regulator-max-microvolt = <1800000>; 704 regulator-initial-mode 704 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 705 }; 705 }; 706 706 707 vreg_l14a_1p8: ldo14 { 707 vreg_l14a_1p8: ldo14 { 708 regulator-min-microvol 708 regulator-min-microvolt = <1800000>; 709 regulator-max-microvol 709 regulator-max-microvolt = <1800000>; 710 regulator-initial-mode 710 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 711 }; 711 }; 712 712 713 vreg_l15a_1p8: ldo15 { 713 vreg_l15a_1p8: ldo15 { 714 regulator-min-microvol 714 regulator-min-microvolt = <1800000>; 715 regulator-max-microvol 715 regulator-max-microvolt = <1800000>; 716 regulator-initial-mode 716 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 717 }; 717 }; 718 718 719 vreg_l16a_2p7: ldo16 { 719 vreg_l16a_2p7: ldo16 { 720 regulator-min-microvol 720 regulator-min-microvolt = <2496000>; 721 regulator-max-microvol 721 regulator-max-microvolt = <3304000>; 722 regulator-initial-mode 722 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 723 }; 723 }; 724 724 725 vreg_l17a_3p0: ldo17 { 725 vreg_l17a_3p0: ldo17 { 726 regulator-min-microvol 726 regulator-min-microvolt = <2920000>; 727 regulator-max-microvol 727 regulator-max-microvolt = <3232000>; 728 regulator-initial-mode 728 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 729 }; 729 }; 730 730 731 vreg_l18a_2p8: ldo18 { 731 vreg_l18a_2p8: ldo18 { 732 regulator-min-microvol 732 regulator-min-microvolt = <2496000>; 733 regulator-max-microvol 733 regulator-max-microvolt = <3304000>; 734 regulator-initial-mode 734 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 735 }; 735 }; 736 736 737 vreg_l19a_2p9: ldo19 { 737 vreg_l19a_2p9: ldo19 { 738 regulator-min-microvol 738 regulator-min-microvolt = <2960000>; 739 regulator-max-microvol 739 regulator-max-microvolt = <2960000>; 740 regulator-initial-mode 740 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 741 }; 741 }; 742 }; 742 }; 743 743 744 regulators-1 { 744 regulators-1 { 745 compatible = "qcom,pm6150l-rpm 745 compatible = "qcom,pm6150l-rpmh-regulators"; 746 qcom,pmic-id = "c"; 746 qcom,pmic-id = "c"; 747 747 748 vreg_s8c_1p3: smps8 { 748 vreg_s8c_1p3: smps8 { 749 regulator-min-microvol 749 regulator-min-microvolt = <1120000>; 750 regulator-max-microvol 750 regulator-max-microvolt = <1408000>; 751 }; 751 }; 752 752 753 vreg_l1c_1p8: ldo1 { 753 vreg_l1c_1p8: ldo1 { 754 regulator-min-microvol 754 regulator-min-microvolt = <1616000>; 755 regulator-max-microvol 755 regulator-max-microvolt = <1984000>; 756 regulator-initial-mode 756 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 757 }; 757 }; 758 758 759 vreg_l2c_1p3: ldo2 { 759 vreg_l2c_1p3: ldo2 { 760 regulator-min-microvol 760 regulator-min-microvolt = <1168000>; 761 regulator-max-microvol 761 regulator-max-microvolt = <1304000>; 762 regulator-initial-mode 762 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 763 }; 763 }; 764 764 765 vreg_l3c_1p2: ldo3 { 765 vreg_l3c_1p2: ldo3 { 766 regulator-min-microvol 766 regulator-min-microvolt = <1144000>; 767 regulator-max-microvol 767 regulator-max-microvolt = <1304000>; 768 regulator-initial-mode 768 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 769 }; 769 }; 770 770 771 vreg_l4c_1p8: ldo4 { 771 vreg_l4c_1p8: ldo4 { 772 regulator-min-microvol 772 regulator-min-microvolt = <1648000>; 773 regulator-max-microvol 773 regulator-max-microvolt = <3304000>; 774 regulator-initial-mode 774 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 775 }; 775 }; 776 776 777 vreg_l5c_1p8: ldo5 { 777 vreg_l5c_1p8: ldo5 { 778 regulator-min-microvol 778 regulator-min-microvolt = <1648000>; 779 regulator-max-microvol 779 regulator-max-microvolt = <3304000>; 780 regulator-initial-mode 780 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 781 }; 781 }; 782 782 783 vreg_l6c_2p9: ldo6 { 783 vreg_l6c_2p9: ldo6 { 784 regulator-min-microvol 784 regulator-min-microvolt = <1800000>; 785 regulator-max-microvol 785 regulator-max-microvolt = <2950000>; 786 regulator-initial-mode 786 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 787 }; 787 }; 788 788 789 vreg_l7c_3p0: ldo7 { 789 vreg_l7c_3p0: ldo7 { 790 regulator-min-microvol 790 regulator-min-microvolt = <3000000>; 791 regulator-max-microvol 791 regulator-max-microvolt = <3312000>; 792 regulator-initial-mode 792 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 793 }; 793 }; 794 794 795 vreg_l8c_1p8: ldo8 { 795 vreg_l8c_1p8: ldo8 { 796 regulator-min-microvol 796 regulator-min-microvolt = <1800000>; 797 regulator-max-microvol 797 regulator-max-microvolt = <1800000>; 798 regulator-initial-mode 798 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 799 }; 799 }; 800 800 801 vreg_l9c_2p9: ldo9 { 801 vreg_l9c_2p9: ldo9 { 802 regulator-min-microvol 802 regulator-min-microvolt = <2952000>; 803 regulator-max-microvol 803 regulator-max-microvolt = <2952000>; 804 regulator-initial-mode 804 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 805 }; 805 }; 806 806 807 vreg_l10c_3p3: ldo10 { 807 vreg_l10c_3p3: ldo10 { 808 regulator-min-microvol 808 regulator-min-microvolt = <3000000>; 809 regulator-max-microvol 809 regulator-max-microvolt = <3400000>; 810 regulator-initial-mode 810 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 811 }; 811 }; 812 812 813 vreg_l11c_3p3: ldo11 { 813 vreg_l11c_3p3: ldo11 { 814 regulator-min-microvol 814 regulator-min-microvolt = <3000000>; 815 regulator-max-microvol 815 regulator-max-microvolt = <3400000>; 816 regulator-initial-mode 816 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 817 }; 817 }; 818 818 819 vreg_bob: bob { 819 vreg_bob: bob { 820 regulator-min-microvol 820 regulator-min-microvolt = <3008000>; 821 regulator-max-microvol 821 regulator-max-microvolt = <3960000>; 822 regulator-initial-mode 822 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 823 }; 823 }; 824 }; 824 }; 825 }; 825 }; 826 826 827 &qup_i2c2_default { 827 &qup_i2c2_default { 828 drive-strength = <2>; 828 drive-strength = <2>; 829 829 830 /* Has external pullup */ 830 /* Has external pullup */ 831 bias-disable; 831 bias-disable; 832 }; 832 }; 833 833 834 &qup_i2c4_default { 834 &qup_i2c4_default { 835 drive-strength = <2>; 835 drive-strength = <2>; 836 836 837 /* Has external pullup */ 837 /* Has external pullup */ 838 bias-disable; 838 bias-disable; 839 }; 839 }; 840 840 841 &qup_i2c9_default { 841 &qup_i2c9_default { 842 drive-strength = <2>; 842 drive-strength = <2>; 843 843 844 /* Has external pullup */ 844 /* Has external pullup */ 845 bias-disable; 845 bias-disable; 846 }; 846 }; 847 847 848 &qup_i2c10_default { 848 &qup_i2c10_default { 849 drive-strength = <2>; 849 drive-strength = <2>; 850 850 851 /* Has external pullup */ 851 /* Has external pullup */ 852 bias-disable; 852 bias-disable; 853 }; 853 }; 854 854 855 &tlmm { 855 &tlmm { 856 /* 856 /* 857 * The TZ seem to protect those becaus 857 * The TZ seem to protect those because some boards can have 858 * fingerprint sensor connected to thi 858 * fingerprint sensor connected to this range. Not connected 859 * on this board 859 * on this board 860 */ 860 */ 861 gpio-reserved-ranges = <58 5>; 861 gpio-reserved-ranges = <58 5>; 862 862 863 amp_sd_mode_default: amp-sd-mode-deaul 863 amp_sd_mode_default: amp-sd-mode-deault-state { 864 pins = "gpio23"; 864 pins = "gpio23"; 865 function = "gpio"; 865 function = "gpio"; 866 drive-strength = <16>; 866 drive-strength = <16>; 867 bias-disable; 867 bias-disable; 868 }; 868 }; 869 869 870 bridge_en_default: bridge-en-default-s 870 bridge_en_default: bridge-en-default-state { 871 pins = "gpio51"; 871 pins = "gpio51"; 872 function = "gpio"; 872 function = "gpio"; 873 drive-strength = <16>; 873 drive-strength = <16>; 874 bias-disable; 874 bias-disable; 875 }; 875 }; 876 876 877 bridge_suspend_default: bridge-suspend 877 bridge_suspend_default: bridge-suspend-default-state { 878 pins = "gpio22"; 878 pins = "gpio22"; 879 function = "gpio"; 879 function = "gpio"; 880 drive-strength = <16>; 880 drive-strength = <16>; 881 bias-pull-up; 881 bias-pull-up; 882 }; 882 }; 883 883 884 codec_irq_default: codec-irq-deault-st 884 codec_irq_default: codec-irq-deault-state { 885 pins = "gpio28"; 885 pins = "gpio28"; 886 function = "gpio"; 886 function = "gpio"; 887 drive-strength = <2>; 887 drive-strength = <2>; 888 bias-disable; 888 bias-disable; 889 }; 889 }; 890 890 891 ec_int_default: ec-int-default-state { 891 ec_int_default: ec-int-default-state { 892 pins = "gpio30"; 892 pins = "gpio30"; 893 function = "gpio"; 893 function = "gpio"; 894 drive-strength = <2>; 894 drive-strength = <2>; 895 bias-disable; 895 bias-disable; 896 }; 896 }; 897 897 898 edp_bridge_irq_default: edp-bridge-irq 898 edp_bridge_irq_default: edp-bridge-irq-default-state { 899 pins = "gpio11"; 899 pins = "gpio11"; 900 function = "gpio"; 900 function = "gpio"; 901 drive-strength = <2>; 901 drive-strength = <2>; 902 bias-pull-down; 902 bias-pull-down; 903 }; 903 }; 904 904 905 hid_keyboard_default: hid-keyboard-def 905 hid_keyboard_default: hid-keyboard-default-state { 906 pins = "gpio33"; 906 pins = "gpio33"; 907 function = "gpio"; 907 function = "gpio"; 908 drive-strength = <2>; 908 drive-strength = <2>; 909 bias-disable; 909 bias-disable; 910 }; 910 }; 911 911 912 hid_touchpad_default: hid-touchpad-def 912 hid_touchpad_default: hid-touchpad-default-state { 913 pins = "gpio94"; 913 pins = "gpio94"; 914 function = "gpio"; 914 function = "gpio"; 915 drive-strength = <2>; 915 drive-strength = <2>; 916 bias-disable; 916 bias-disable; 917 }; 917 }; 918 918 919 qup_uart3_sleep: qup-uart3-sleep-state 919 qup_uart3_sleep: qup-uart3-sleep-state { 920 cts-pins { 920 cts-pins { 921 /* 921 /* 922 * Configure a pull-do 922 * Configure a pull-down on CTS to match the pull of 923 * the Bluetooth modul 923 * the Bluetooth module. 924 */ 924 */ 925 pins = "gpio38"; 925 pins = "gpio38"; 926 function = "gpio"; 926 function = "gpio"; 927 bias-pull-down; 927 bias-pull-down; 928 }; 928 }; 929 929 930 rts-pins { 930 rts-pins { 931 /* 931 /* 932 * Configure pull-down 932 * Configure pull-down on RTS. As RTS is active low 933 * signal, pull it low 933 * signal, pull it low to indicate the BT SoC that it 934 * can wakeup the syst 934 * can wakeup the system anytime from suspend state by 935 * pulling RX low (by 935 * pulling RX low (by sending wakeup bytes). 936 */ 936 */ 937 pins = "gpio39"; 937 pins = "gpio39"; 938 function = "gpio"; 938 function = "gpio"; 939 bias-pull-down; 939 bias-pull-down; 940 }; 940 }; 941 941 942 tx-pins { 942 tx-pins { 943 /* 943 /* 944 * Configure pull-up o 944 * Configure pull-up on TX when it isn't actively driven 945 * to prevent BT SoC f 945 * to prevent BT SoC from receiving garbage during sleep. 946 */ 946 */ 947 pins = "gpio40"; 947 pins = "gpio40"; 948 function = "gpio"; 948 function = "gpio"; 949 bias-pull-up; 949 bias-pull-up; 950 }; 950 }; 951 951 952 rx-pins { 952 rx-pins { 953 /* 953 /* 954 * Configure a pull-up 954 * Configure a pull-up on RX. This is needed to avoid 955 * garbage data when t 955 * garbage data when the TX pin of the Bluetooth module 956 * is floating which m 956 * is floating which may cause spurious wakeups. 957 */ 957 */ 958 pins = "gpio41"; 958 pins = "gpio41"; 959 function = "gpio"; 959 function = "gpio"; 960 bias-pull-up; 960 bias-pull-up; 961 }; 961 }; 962 }; 962 }; 963 963 964 reg_edp_1p2_en_default: reg-edp-1p2-en 964 reg_edp_1p2_en_default: reg-edp-1p2-en-deault-state { 965 pins = "gpio19"; 965 pins = "gpio19"; 966 function = "gpio"; 966 function = "gpio"; 967 drive-strength = <16>; 967 drive-strength = <16>; 968 bias-disable; 968 bias-disable; 969 }; 969 }; 970 970 971 reg_edp_1p8_en_default: reg-edp-1p8-en 971 reg_edp_1p8_en_default: reg-edp-1p8-en-deault-state { 972 pins = "gpio20"; 972 pins = "gpio20"; 973 function = "gpio"; 973 function = "gpio"; 974 drive-strength = <16>; 974 drive-strength = <16>; 975 bias-disable; 975 bias-disable; 976 }; 976 }; 977 977 978 reg_lcm_en_default: reg-lcm-en-deault- 978 reg_lcm_en_default: reg-lcm-en-deault-state { 979 pins = "gpio26"; 979 pins = "gpio26"; 980 function = "gpio"; 980 function = "gpio"; 981 drive-strength = <16>; 981 drive-strength = <16>; 982 bias-disable; 982 bias-disable; 983 }; 983 }; 984 984 985 reg_audio_en_default: reg-audio-en-dea 985 reg_audio_en_default: reg-audio-en-deault-state { 986 pins = "gpio83"; 986 pins = "gpio83"; 987 function = "gpio"; 987 function = "gpio"; 988 drive-strength = <2>; 988 drive-strength = <2>; 989 bias-disable; 989 bias-disable; 990 }; 990 }; 991 991 992 reg_tp_en_default: reg-tp-en-deault-st 992 reg_tp_en_default: reg-tp-en-deault-state { 993 pins = "gpio25"; 993 pins = "gpio25"; 994 function = "gpio"; 994 function = "gpio"; 995 drive-strength = <2>; 995 drive-strength = <2>; 996 bias-disable; 996 bias-disable; 997 }; 997 }; 998 998 999 soc_bkoff_default: soc-bkoff-deault-st 999 soc_bkoff_default: soc-bkoff-deault-state { 1000 pins = "gpio10"; 1000 pins = "gpio10"; 1001 function = "gpio"; 1001 function = "gpio"; 1002 drive-strength = <16>; 1002 drive-strength = <16>; 1003 bias-disable; 1003 bias-disable; 1004 }; 1004 }; 1005 1005 1006 sdc1_default: sdc1-default-state { 1006 sdc1_default: sdc1-default-state { 1007 clk-pins { 1007 clk-pins { 1008 pins = "sdc1_clk"; 1008 pins = "sdc1_clk"; 1009 drive-strength = <16> 1009 drive-strength = <16>; 1010 bias-disable; 1010 bias-disable; 1011 }; 1011 }; 1012 1012 1013 cmd-pins { 1013 cmd-pins { 1014 pins = "sdc1_cmd"; 1014 pins = "sdc1_cmd"; 1015 drive-strength = <16> 1015 drive-strength = <16>; 1016 bias-pull-up; 1016 bias-pull-up; 1017 }; 1017 }; 1018 1018 1019 data-pins { 1019 data-pins { 1020 pins = "sdc1_data"; 1020 pins = "sdc1_data"; 1021 drive-strength = <16> 1021 drive-strength = <16>; 1022 bias-pull-up; 1022 bias-pull-up; 1023 }; 1023 }; 1024 1024 1025 rclk-pins { 1025 rclk-pins { 1026 pins = "sdc1_rclk"; 1026 pins = "sdc1_rclk"; 1027 bias-pull-down; 1027 bias-pull-down; 1028 }; 1028 }; 1029 }; 1029 }; 1030 1030 1031 sdc1_sleep: sdc1-sleep-state { 1031 sdc1_sleep: sdc1-sleep-state { 1032 clk-pins { 1032 clk-pins { 1033 pins = "sdc1_clk"; 1033 pins = "sdc1_clk"; 1034 drive-strength = <2>; 1034 drive-strength = <2>; 1035 bias-disable; 1035 bias-disable; 1036 }; 1036 }; 1037 1037 1038 cmd-pins { 1038 cmd-pins { 1039 pins = "sdc1_cmd"; 1039 pins = "sdc1_cmd"; 1040 drive-strength = <2>; 1040 drive-strength = <2>; 1041 bias-pull-up; 1041 bias-pull-up; 1042 }; 1042 }; 1043 1043 1044 data-pins { 1044 data-pins { 1045 pins = "sdc1_data"; 1045 pins = "sdc1_data"; 1046 drive-strength = <2>; 1046 drive-strength = <2>; 1047 bias-pull-up; 1047 bias-pull-up; 1048 }; 1048 }; 1049 1049 1050 rclk-pins { 1050 rclk-pins { 1051 pins = "sdc1_rclk"; 1051 pins = "sdc1_rclk"; 1052 bias-pull-down; 1052 bias-pull-down; 1053 }; 1053 }; 1054 }; 1054 }; 1055 }; 1055 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.