File tree Expand file tree Collapse file tree 5 files changed +37
-4
lines changed Expand file tree Collapse file tree 5 files changed +37
-4
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
59
59
midi-uart0.dtbo \
60
60
midi-uart1.dtbo \
61
61
mmc.dtbo \
62
+ mpu6050.dtbo \
62
63
mz61581.dtbo \
63
64
pi3-act-led.dtbo \
64
65
pi3-disable-bt.dtbo \
Original file line number Diff line number Diff line change @@ -898,6 +898,12 @@ Params: overclock_50 Clock (in MHz) to use when the MMC framework
898
898
requests 50MHz
899
899
900
900
901
+ Name: mpu6050
902
+ Info: Overlay for i2c connected mpu6050 imu
903
+ Load: dtoverlay=mpu6050,<param>=<val>
904
+ Params: interrupt GPIO pin for interrupt (default 4)
905
+
906
+
901
907
Name: mz61581
902
908
Info: MZ61581 display by Tontec
903
909
Load: dtoverlay=mz61581,<param>=<val>
Original file line number Diff line number Diff line change
1
+ // Definitions for MPU6050
2
+ /dts-v1/;
3
+ /plugin/;
4
+
5
+ / {
6
+ compatible = "brcm,bcm2708";
7
+
8
+ fragment@0 {
9
+ target = <&i2c1>;
10
+ __overlay__ {
11
+ #address-cells = <1>;
12
+ #size-cells = <0>;
13
+ status = "okay";
14
+ clock-frequency = <400000>;
15
+
16
+ mpu6050: mpu6050@68 {
17
+ compatible = "invensense,mpu6050";
18
+ reg = <0x68>;
19
+ interrupt-parent = <&gpio>;
20
+ interrupts = <4 1>;
21
+ };
22
+ };
23
+ };
24
+
25
+ __overrides__ {
26
+ interrupt = <&mpu6050>,"interrupts:0";
27
+ };
28
+ };
Original file line number Diff line number Diff line change @@ -1164,13 +1164,12 @@ CONFIG_RASPBERRYPI_POWER=y
1164
1164
CONFIG_EXTCON=m
1165
1165
CONFIG_EXTCON_ARIZONA=m
1166
1166
CONFIG_IIO=m
1167
- CONFIG_IIO_BUFFER=y
1168
1167
CONFIG_IIO_BUFFER_CB=m
1169
- CONFIG_IIO_KFIFO_BUF=m
1170
1168
CONFIG_MCP320X=m
1171
1169
CONFIG_MCP3422=m
1172
1170
CONFIG_DHT11=m
1173
1171
CONFIG_HTU21=m
1172
+ CONFIG_INV_MPU6050_I2C=m
1174
1173
CONFIG_BMP280=m
1175
1174
CONFIG_PWM_BCM2835=m
1176
1175
CONFIG_PWM_PCA9685=m
Original file line number Diff line number Diff line change @@ -1170,13 +1170,12 @@ CONFIG_RASPBERRYPI_POWER=y
1170
1170
CONFIG_EXTCON=m
1171
1171
CONFIG_EXTCON_ARIZONA=m
1172
1172
CONFIG_IIO=m
1173
- CONFIG_IIO_BUFFER=y
1174
1173
CONFIG_IIO_BUFFER_CB=m
1175
- CONFIG_IIO_KFIFO_BUF=m
1176
1174
CONFIG_MCP320X=m
1177
1175
CONFIG_MCP3422=m
1178
1176
CONFIG_DHT11=m
1179
1177
CONFIG_HTU21=m
1178
+ CONFIG_INV_MPU6050_I2C=m
1180
1179
CONFIG_BMP280=m
1181
1180
CONFIG_PWM_BCM2835=m
1182
1181
CONFIG_PWM_PCA9685=m
You can’t perform that action at this time.
0 commit comments