mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-06-13 10:49:13 +02:00
d1c66eacab
This is first step in migrating to a generic i.MX target which in the next steps will also get divided into arch-specific subtargets. In the result, this will make it possible to support, within a single target, also other modern NXP i.MX families, like the i.MX 7, i.MX 8 or recently introduced i.MX 9. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
58 lines
1.3 KiB
Diff
58 lines
1.3 KiB
Diff
From 66d19a4f8d0fa7539f90cad64d793b4dac6f6e5d Mon Sep 17 00:00:00 2001
|
|
From: Robert Jones <rjones@gateworks.com>
|
|
Date: Fri, 14 Feb 2020 13:01:55 -0800
|
|
Subject: [PATCH] ARM: dts: imx: ventana: add fxos8700 on gateworks boards
|
|
|
|
Add fxos8700 iio imu entries for Gateworks ventana SBCs.
|
|
|
|
Signed-off-by: Robert Jones <rjones@gateworks.com>
|
|
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
|
|
---
|
|
arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 5 +++++
|
|
arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 5 +++++
|
|
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 5 +++++
|
|
3 files changed, 15 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
|
|
+++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
|
|
@@ -313,6 +313,11 @@
|
|
interrupts = <12 2>;
|
|
wakeup-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
|
|
};
|
|
+
|
|
+ accel@1e {
|
|
+ compatible = "nxp,fxos8700";
|
|
+ reg = <0x1e>;
|
|
+ };
|
|
};
|
|
|
|
&ldb {
|
|
--- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
|
|
+++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
|
|
@@ -304,6 +304,11 @@
|
|
interrupts = <11 2>;
|
|
wakeup-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
|
|
};
|
|
+
|
|
+ accel@1e {
|
|
+ compatible = "nxp,fxos8700";
|
|
+ reg = <0x1e>;
|
|
+ };
|
|
};
|
|
|
|
&ldb {
|
|
--- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
|
|
+++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
|
|
@@ -361,6 +361,11 @@
|
|
interrupts = <12 2>;
|
|
wakeup-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
|
|
};
|
|
+
|
|
+ accel@1e {
|
|
+ compatible = "nxp,fxos8700";
|
|
+ reg = <0x1e>;
|
|
+ };
|
|
};
|
|
|
|
&ldb {
|