@@ -26,6 +26,7 @@ properties:
- bosch,bma255
- bosch,bma280
- bosch,bmc150_accel
+ - bosch,bmc156_accel
- bosch,bmi055_accel
# bma180 driver in Linux
@@ -50,6 +51,9 @@ properties:
the one connected to the INT2 pin (if available). The type should be
IRQ_TYPE_EDGE_RISING.
+ BMC156 does not have an INT1 pin, therefore the first interrupt pin is
+ always treated as INT2.
+
interrupt-names:
minItems: 1
maxItems: 2
@@ -85,6 +89,20 @@ examples:
interrupt-names = "INT1";
};
};
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ accelerometer@10 {
+ compatible = "bosch,bmc156_accel";
+ reg = <0x10>;
+ vddio-supply = <&vddio>;
+ vdd-supply = <&vdd>;
+ interrupts = <116 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "INT2";
+ };
+ };
- |
# include <dt-bindings/interrupt-controller/irq.h>
spi {