|
307 | 307 | maxim,ir-led-current-microamp = <7000>;
|
308 | 308 | interrupt-parent = <&gpio>;
|
309 | 309 | interrupts = <4 2>;
|
| 310 | + pinctrl-0 = <&int_pins>; |
| 311 | + pinctrl-names = "default"; |
310 | 312 | };
|
311 | 313 | };
|
312 | 314 | };
|
|
436 | 438 | reg = <0x68>;
|
437 | 439 | interrupt-parent = <&gpio>;
|
438 | 440 | interrupts = <4 2>;
|
| 441 | + pinctrl-0 = <&int_pins>; |
| 442 | + pinctrl-names = "default"; |
439 | 443 | };
|
440 | 444 | };
|
441 | 445 | };
|
|
453 | 457 | reg = <0x68>;
|
454 | 458 | interrupt-parent = <&gpio>;
|
455 | 459 | interrupts = <4 2>;
|
| 460 | + pinctrl-0 = <&int_pins>; |
| 461 | + pinctrl-names = "default"; |
456 | 462 | };
|
457 | 463 | };
|
458 | 464 | };
|
|
523 | 529 | };
|
524 | 530 | };
|
525 | 531 |
|
| 532 | + fragment@99 { |
| 533 | + target = <&gpio>; |
| 534 | + __dormant__ { |
| 535 | + int_pins: int_pins@4 { |
| 536 | + brcm,pins = <4>; |
| 537 | + brcm,function = <0>; /* in */ |
| 538 | + brcm,pull = <0>; /* none */ |
| 539 | + }; |
| 540 | + }; |
| 541 | + }; |
| 542 | + |
526 | 543 | __overrides__ {
|
527 | 544 | bme280 = <0>,"+0";
|
528 | 545 | bmp085 = <0>,"+1";
|
|
545 | 562 | sgp30 = <0>,"+16";
|
546 | 563 | ccs811 = <0>, "+17";
|
547 | 564 | bh1750 = <0>, "+18";
|
548 |
| - max30102 = <0>,"+19"; |
| 565 | + max30102 = <0>,"+19+99"; |
549 | 566 | aht10 = <0>,"+20";
|
550 | 567 | mcp980x = <0>,"+21";
|
551 | 568 | jc42 = <0>,"+22";
|
|
554 | 571 | ms5805 = <0>,"+25";
|
555 | 572 | ms5837 = <0>,"+26";
|
556 | 573 | ms8607 = <0>,"+27";
|
557 |
| - mpu6050 = <0>,"+28"; |
558 |
| - mpu9250 = <0>,"+29"; |
| 574 | + mpu6050 = <0>,"+28+99"; |
| 575 | + mpu9250 = <0>,"+29+99"; |
559 | 576 | bno055 = <0>,"+31";
|
560 | 577 | sht4x = <0>,"+32";
|
561 | 578 | adt7410 = <0>,"+34";
|
|
569 | 586 | <&mpu6050>,"reg:0", <&mpu9250>,"reg:0",
|
570 | 587 | <&bno055>,"reg:0", <&sht4x>,"reg:0",
|
571 | 588 | <&bmp380>,"reg:0", <&adt7410>,"reg:0";
|
572 |
| - int_pin = <&max30102>, "interrupts:0", |
| 589 | + int_pin = <&int_pins>, "brcm,pins:0", |
| 590 | + <&int_pins>, "reg:0", |
| 591 | + <&max30102>, "interrupts:0", |
573 | 592 | <&mpu6050>, "interrupts:0",
|
574 | 593 | <&mpu9250>, "interrupts:0";
|
575 | 594 | no_timeout = <&jc42>, "smbus-timeout-disable?";
|
|
0 commit comments