Skip to contentSkip to conversation

ARM: dts: add initial Rex Pro board support

PATCH New Robert Nelson 2 participants 3 messages Jul 8, 2014 – Jul 14, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: dts: add initial Rex Pro board support

Add initial Rex Pro i.mx6q board support. Ethernet, UART, USB, I2C, SPI, HDMI, Audio, and SDHC cards are working. Currently no mainline u-boot, so boot with cat zImage imx6q-rex-pro.dtb > zImage.dtb, then using mkimage create uImage

---
 arch/arm/boot/dts/Makefile          |   1 +
 arch/arm/boot/dts/imx6q-rex-pro.dts |  34 ++++
 arch/arm/boot/dts/imx6qdl-rex.dtsi  | 357 ++++++++++++++++++++++++++++++++++++
 3 files changed, 392 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6q-rex-pro.dts
 create mode 100644 arch/arm/boot/dts/imx6qdl-rex.dtsi
arch/arm/boot/dts/Makefile +1 -0
index b9e7adc..fb79bf5 100644
@@ -220,6 +220,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
 	imx6q-gw54xx.dtb \
 	imx6q-nitrogen6x.dtb \
 	imx6q-phytec-pbab01.dtb \
+	imx6q-rex-pro.dtb \
 	imx6q-sabreauto.dtb \
 	imx6q-sabrelite.dtb \
 	imx6q-sabresd.dtb \
arch/arm/boot/dts/imx6q-rex-pro.dts new file +34 -0
new file mode 100644
index 0000000..3c2852b
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2014 FEDEVEL, Inc.
+ *
+ * Author: Robert Nelson <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ */
+/dts-v1/;
+#include "imx6q.dtsi"
+#include "imx6qdl-rex.dtsi"
+
+/ {
+	model = "Rex Pro i.MX6 Quad Board";
+	compatible = "rex,imx6q-rex-pro", "fsl,imx6q";
+
+	memory {
+		reg = <0x10000000 0x80000000>;
+	};
+};
+
+&ecspi3 {
+	flash: m25p80 at 0 {
+		compatible = "sst,sst25vf032b";
+		spi-max-frequency = <20000000>;
+		reg = <0>;
+	};
+};
+
+&sata {
+	status = "okay";
+};
arch/arm/boot/dts/imx6qdl-rex.dtsi new file +357 -0

357 lines not on this page · raw message

Signature · 1 line
2.0.0
#1 lore raw

PATCH 2/2 ARM: dts: add initial Rex Basic board support

Add initial Rex Pro i.mx6dl board support. Ethernet, UART, USB, I2C, SPI, HDMI, Audio, and SDHC cards are working. Currently no mainline u-boot, so boot with cat zImage imx6dl-rex-basic.dtb > zImage.dtb, then using mkimage create uImage

---
 arch/arm/boot/dts/Makefile             |  1 +
 arch/arm/boot/dts/imx6dl-rex-basic.dts | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6dl-rex-basic.dts
arch/arm/boot/dts/Makefile +1 -0
index fb79bf5..cee0067 100644
@@ -199,6 +199,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
 	imx6dl-hummingboard.dtb \
 	imx6dl-nitrogen6x.dtb \
 	imx6dl-phytec-pbab01.dtb \
+	imx6dl-rex-basic.dtb \
 	imx6dl-riotboard.dtb \
 	imx6dl-sabreauto.dtb \
 	imx6dl-sabrelite.dtb \
arch/arm/boot/dts/imx6dl-rex-basic.dts new file +30 -0
new file mode 100644
index 0000000..b13845c
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2014 FEDEVEL, Inc.
+ *
+ * Author: Robert Nelson <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ */
+/dts-v1/;
+#include "imx6dl.dtsi"
+#include "imx6qdl-rex.dtsi"
+
+/ {
+	model = "Rex Basic i.MX6 Dual Lite Board";
+	compatible = "rex,imx6dl-rex-basic", "fsl,imx6dl";
+
+	memory {
+		reg = <0x10000000 0x20000000>;
+	};
+};
+
+&ecspi3 {
+	flash: m25p80 at 0 {
+		compatible = "sst,sst25vf016b";
+		spi-max-frequency = <20000000>;
+		reg = <0>;
+	};
+};
Signature · 1 line
2.0.0
Applied
#2 lore raw

PATCH 1/2 ARM: dts: add initial Rex Pro board support

In reply to Robert Nelson
Quoted 5 lines · Robert Nelson

Add initial Rex Pro i.mx6q board support. Ethernet, UART, USB, I2C, SPI, HDMI, Audio, and SDHC cards are working. Currently no mainline u-boot, so boot with cat zImage imx6q-rex-pro.dtb > zImage.dtb, then using mkimage create uImage

Applied both, thanks.