overlays: mpu6050: Add 'addr' parameter
authorPhil Elwell <phil@raspberrypi.com>
Tue, 15 Dec 2020 17:02:17 +0000 (17:02 +0000)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:13:27 +0000 (19:13 +0000)
commit47888e77815b73f15a6a219f631436c01ab0531f
tree337d089334de8784a876d64b15e161a810ba6bb0
parent2cc41cfc79323d90b7fd8f28b22e77db2a0c3360
overlays: mpu6050: Add 'addr' parameter

The mpu6050 starts up at address 0x68 by default, but can be set to
0x69 if the ADO pin is pulled high. Give the overlay an addr parameter
to allow devices at the alternate address to be used.

See: https://github.com/Hexxeh/rpi-firmware/issues/252

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm/boot/dts/overlays/README
arch/arm/boot/dts/overlays/mpu6050-overlay.dts