Skip to content

Commit eb017fa

Browse files
committed
am335x-sancloud-bbe: update lps331ap/mpu6050 irq pins
Signed-off-by: Robert Nelson <[email protected]>
1 parent 702c7c6 commit eb017fa

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

arch/arm/boot/dts/am335x-sancloud-bbe.dts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include "am33xx.dtsi"
1111
#include "am335x-bone-common.dtsi"
1212
#include "am33xx-overlay-edma-fix.dtsi"
13+
#include <dt-bindings/interrupt-controller/irq.h>
1314

1415
/ {
1516
model = "SanCloud BeagleBone Enhanced";
@@ -184,15 +185,18 @@
184185

185186
lps331ap: lps331ap@5C {
186187
compatible = "st,lps331ap";
188+
st,drdy-int-pin = <1>;
187189
reg = <0x5C>;
188-
interrupts = <0>, <1>;
190+
interrupt-parent = <&gpio1>;
191+
interrupts = <27 IRQ_TYPE_EDGE_RISING>;
189192
};
190193

191194
mpu6050: mpu6050@68 {
192-
compatible = "inv,mpu6050";
195+
compatible = "invensense,mpu6050";
193196
reg = <0x68>;
194-
orientation = <0xff 0 0 0 1 0 0 0 0xff>;
195-
interrupts = <2 1>;
197+
interrupt-parent = <&gpio0>;
198+
interrupts = <2 IRQ_TYPE_EDGE_RISING>;
199+
//orientation = <0xff 0 0 0 1 0 0 0 0xff>;
196200
};
197201
};
198202

0 commit comments

Comments
 (0)