summaryrefslogtreecommitdiff
path: root/arch/arm/dts/imx6dl-wandboard-revd1.dts
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2020-04-17 09:27:09 -0300
committerStefano Babic <sbabic@denx.de>2020-04-18 12:59:23 +0200
commit4c13a4db60b4d570ea8cc496d02e5ea31adf27f0 (patch)
tree1f533504a21a98e970932828ecb3aefd0546a643 /arch/arm/dts/imx6dl-wandboard-revd1.dts
parent84eea6a118e72ce6c487c6517bc32abc77b59c9c (diff)
wandboard: Fix version detection for mx6q/mx6dl revD1
The detection of the revD1 version is based on the presence of the PMIC. Currently revb1 device trees are used for mx6q/mx6dl variants, which do not have the PMIC nodes. This causes revD1 boards to be incorrectly be detected as revB1. Fix this issue by using the revd1 device trees, so that the PMIC node can be found and then the PMIC can be detected by reading its register ID. Imported the revd1 device trees from mainline kernel version 5.7-rc1. Reported-by: Heiko Schocher <hs@denx.de> Reported-by: Derek Atkins <derek@ihtfp.com> Signed-off-by: Fabio Estevam <festevam@gmail.com> Tested-by: Derek Atkins <derek@ihtfp.com> Tested-by: Heiko Schocher <hs@denx.de> Tested-by: Peter Robinson <pbrobinson@gmail.com>
Diffstat (limited to 'arch/arm/dts/imx6dl-wandboard-revd1.dts')
-rw-r--r--arch/arm/dts/imx6dl-wandboard-revd1.dts19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6dl-wandboard-revd1.dts b/arch/arm/dts/imx6dl-wandboard-revd1.dts
new file mode 100644
index 0000000000..6d1d863c2e
--- /dev/null
+++ b/arch/arm/dts/imx6dl-wandboard-revd1.dts
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright 2013 Freescale Semiconductor, Inc.
+ *
+ * Author: Fabio Estevam <fabio.estevam@freescale.com>
+ */
+/dts-v1/;
+#include "imx6dl.dtsi"
+#include "imx6qdl-wandboard-revd1.dtsi"
+
+/ {
+ model = "Wandboard i.MX6 Dual Lite Board revD1";
+ compatible = "wand,imx6dl-wandboard", "fsl,imx6dl";
+
+ memory@10000000 {
+ device_type = "memory";
+ reg = <0x10000000 0x40000000>;
+ };
+};