|
3 | 3 | /plugin/; |
4 | 4 |
|
5 | 5 | #include <dt-bindings/gpio/gpio.h> |
| 6 | +#include <dt-bindings/interrupt-controller/irq.h> |
6 | 7 |
|
7 | 8 | / { |
8 | 9 | compatible = "brcm,bcm2835"; |
|
529 | 530 | }; |
530 | 531 | }; |
531 | 532 |
|
| 533 | + fragment@35 { |
| 534 | + target = <&i2cbus>; |
| 535 | + __dormant__ { |
| 536 | + #address-cells = <1>; |
| 537 | + #size-cells = <0>; |
| 538 | + status = "okay"; |
| 539 | + |
| 540 | + hts221: hts221@5f { |
| 541 | + compatible = "st,hts221-humid", "st,hts221"; |
| 542 | + reg = <0x5f>; |
| 543 | + interrupt-parent = <&gpio>; |
| 544 | + interrupts = <4 IRQ_TYPE_EDGE_RISING>; |
| 545 | + pinctrl-0 = <&int_pins>; |
| 546 | + pinctrl-names = "default"; |
| 547 | + }; |
| 548 | + }; |
| 549 | + }; |
| 550 | + |
| 551 | + fragment@36 { |
| 552 | + target = <&i2cbus>; |
| 553 | + __dormant__ { |
| 554 | + #address-cells = <1>; |
| 555 | + #size-cells = <0>; |
| 556 | + status = "okay"; |
| 557 | + |
| 558 | + veml6075: veml6075@10 { |
| 559 | + compatible = "vishay,veml6075"; |
| 560 | + reg = <0x10>; |
| 561 | + status = "okay"; |
| 562 | + }; |
| 563 | + }; |
| 564 | + }; |
| 565 | + |
| 566 | + fragment@38 { |
| 567 | + target = <&i2cbus>; |
| 568 | + __dormant__ { |
| 569 | + #address-cells = <1>; |
| 570 | + #size-cells = <0>; |
| 571 | + status = "okay"; |
| 572 | + |
| 573 | + as73211: as73211@74 { |
| 574 | + compatible = "ams,as73211"; |
| 575 | + reg = <0x74>; |
| 576 | + interrupt-parent = <&gpio>; |
| 577 | + interrupts = <4 IRQ_TYPE_EDGE_RISING>; |
| 578 | + pinctrl-0 = <&int_pins>; |
| 579 | + pinctrl-names = "default"; |
| 580 | + }; |
| 581 | + }; |
| 582 | + }; |
| 583 | + |
532 | 584 | fragment@99 { |
533 | 585 | target = <&gpio>; |
534 | 586 | __dormant__ { |
|
576 | 628 | bno055 = <0>,"+31"; |
577 | 629 | sht4x = <0>,"+32"; |
578 | 630 | adt7410 = <0>,"+34"; |
| 631 | + hts221 = <0>,"+35+99"; |
| 632 | + veml6075 = <0>,"+36"; |
| 633 | + as73211 = <0>,"+38+99"; |
579 | 634 |
|
580 | 635 | addr = <&bme280>,"reg:0", <&bmp280>,"reg:0", <&tmp102>,"reg:0", |
581 | 636 | <&lm75>,"reg:0", <&hdc100x>,"reg:0", <&sht3x>,"reg:0", |
|
590 | 645 | <&int_pins>, "reg:0", |
591 | 646 | <&max30102>, "interrupts:0", |
592 | 647 | <&mpu6050>, "interrupts:0", |
593 | | - <&mpu9250>, "interrupts:0"; |
| 648 | + <&mpu9250>, "interrupts:0", |
| 649 | + <&hts221>, "interrupts:0", |
| 650 | + <&as73211>, "interrupts:0"; |
594 | 651 | no_timeout = <&jc42>, "smbus-timeout-disable?"; |
595 | 652 | reset_pin = <&bno055>,"reset-gpios:4", <0>,"+30"; |
596 | 653 | }; |
|
0 commit comments