summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/s5pv210-aries.dtsi
diff options
context:
space:
mode:
authorJonathan Bakker <xc-racer2@live.ca>2020-06-13 21:44:26 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2020-06-15 10:00:40 +0300
commitc713a4e3e826c07579df9c32b4d10bb5e1857c7d (patch)
tree826c3381b25401558db0076d3f6a19d90e59743f /arch/arm/boot/dts/s5pv210-aries.dtsi
parent7c558af511d01ef0ab0fe1692517f80d27e17cc3 (diff)
downloadlinux-c713a4e3e826c07579df9c32b4d10bb5e1857c7d.tar.xz
ARM: dts: s5pv210: Add BMA023 accelerometer support to Aries
Aries boards have a BMA023 accelerometer attached over i2c-gpio. Signed-off-by: Jonathan Bakker <xc-racer2@live.ca> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/s5pv210-aries.dtsi')
-rw-r--r--arch/arm/boot/dts/s5pv210-aries.dtsi8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi b/arch/arm/boot/dts/s5pv210-aries.dtsi
index b27d7c2e6dca..92ec0e133b25 100644
--- a/arch/arm/boot/dts/s5pv210-aries.dtsi
+++ b/arch/arm/boot/dts/s5pv210-aries.dtsi
@@ -149,9 +149,13 @@
pinctrl-names = "default";
pinctrl-0 = <&accel_i2c_pins>;
- status = "disabled";
+ accelerometer@38 {
+ compatible = "bosch,bma023";
+ reg = <0x38>;
- /* bma023 accelerometer, no mainline binding */
+ vdd-supply = <&ldo9_reg>;
+ vddio-supply = <&ldo9_reg>;
+ };
};
i2c_pmic: i2c-gpio-2 {