|
1 | 1 | // Definitions for I2C based sensors using the Industrial IO or HWMON interface.
|
2 | 2 | #include <dt-bindings/gpio/gpio.h>
|
| 3 | +#include <dt-bindings/interrupt-controller/irq.h> |
3 | 4 |
|
4 | 5 | / {
|
5 | 6 | compatible = "brcm,bcm2835";
|
|
562 | 563 | };
|
563 | 564 | };
|
564 | 565 |
|
| 566 | + fragment@37 { |
| 567 | + target = <&i2cbus>; |
| 568 | + __dormant__ { |
| 569 | + #address-cells = <1>; |
| 570 | + #size-cells = <0>; |
| 571 | + status = "okay"; |
| 572 | + |
| 573 | + hts221: hts221@5f { |
| 574 | + compatible = "st,hts221-humid", "st,hts221"; |
| 575 | + reg = <0x5f>; |
| 576 | + interrupt-parent = <&gpio>; |
| 577 | + interrupts = <4 IRQ_TYPE_EDGE_RISING>; |
| 578 | + pinctrl-0 = <&int_pins>; |
| 579 | + pinctrl-names = "default"; |
| 580 | + }; |
| 581 | + }; |
| 582 | + }; |
| 583 | + |
| 584 | + fragment@38 { |
| 585 | + target = <&i2cbus>; |
| 586 | + __dormant__ { |
| 587 | + #address-cells = <1>; |
| 588 | + #size-cells = <0>; |
| 589 | + status = "okay"; |
| 590 | + |
| 591 | + veml6075: veml6075@10 { |
| 592 | + compatible = "vishay,veml6075"; |
| 593 | + reg = <0x10>; |
| 594 | + }; |
| 595 | + }; |
| 596 | + }; |
| 597 | + |
| 598 | + fragment@39 { |
| 599 | + target = <&i2cbus>; |
| 600 | + __dormant__ { |
| 601 | + #address-cells = <1>; |
| 602 | + #size-cells = <0>; |
| 603 | + status = "okay"; |
| 604 | + |
| 605 | + as73211: as73211@74 { |
| 606 | + compatible = "ams,as73211"; |
| 607 | + reg = <0x74>; |
| 608 | + interrupt-parent = <&gpio>; |
| 609 | + interrupts = <4 IRQ_TYPE_EDGE_RISING>; |
| 610 | + pinctrl-0 = <&int_pins>; |
| 611 | + pinctrl-names = "default"; |
| 612 | + }; |
| 613 | + }; |
| 614 | + }; |
| 615 | + |
565 | 616 | fragment@99 {
|
566 | 617 | target = <&gpio>;
|
567 | 618 | __dormant__ {
|
|
611 | 662 | adt7410 = <0>,"+34";
|
612 | 663 | ina238 = <0>,"+35";
|
613 | 664 | shtc3 = <0>,"+36";
|
| 665 | + hts221 = <0>,"+37+99"; |
| 666 | + veml6075 = <0>,"+38"; |
| 667 | + as73211 = <0>,"+39+99"; |
614 | 668 |
|
615 | 669 | addr = <&bme280>,"reg:0", <&bmp280>,"reg:0", <&tmp102>,"reg:0",
|
616 | 670 | <&lm75>,"reg:0", <&hdc100x>,"reg:0", <&sht3x>,"reg:0",
|
|
625 | 679 | <&int_pins>, "reg:0",
|
626 | 680 | <&max30102>, "interrupts:0",
|
627 | 681 | <&mpu6050>, "interrupts:0",
|
628 |
| - <&mpu9250>, "interrupts:0"; |
| 682 | + <&mpu9250>, "interrupts:0", |
| 683 | + <&hts221>, "interrupts:0", |
| 684 | + <&as73211>, "interrupts:0"; |
629 | 685 | no_timeout = <&jc42>, "smbus-timeout-disable?";
|
630 | 686 | reset_pin = <&bno055>,"reset-gpios:4", <0>,"+30";
|
631 | 687 | shunt_resistor = <&ina238>,"shunt-resistor:0";
|
|
0 commit comments