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