[PATCH 2/2] ARM: dts: change dmo, imx6q-realq7 compatible to dmo, imx6q-edmqmx6
Sascha Hauer
s.hauer at pengutronix.de
Wed Jan 15 02:26:34 EST 2014
To use the same compatible as the kernel.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/boards/dmo-mx6-realq7/board.c | 6 +++---
arch/arm/dts/imx6q-dmo-edmqmx6.dts | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boards/dmo-mx6-realq7/board.c b/arch/arm/boards/dmo-mx6-realq7/board.c
index 1753bdd..8a49bee 100644
--- a/arch/arm/boards/dmo-mx6-realq7/board.c
+++ b/arch/arm/boards/dmo-mx6-realq7/board.c
@@ -74,7 +74,7 @@ static int ksz9031rn_phy_fixup(struct phy_device *dev)
static int realq7_enet_init(void)
{
- if (!of_machine_is_compatible("dmo,imx6q-realq7"))
+ if (!of_machine_is_compatible("dmo,imx6q-edmqmx6"))
return 0;
mxc_iomux_v3_setup_multiple_pads(realq7_pads_gpio, ARRAY_SIZE(realq7_pads_gpio));
@@ -100,7 +100,7 @@ fs_initcall(realq7_enet_init);
static int realq7_env_init(void)
{
- if (!of_machine_is_compatible("dmo,imx6q-realq7"))
+ if (!of_machine_is_compatible("dmo,imx6q-edmqmx6"))
return 0;
imx6_bbu_internal_spi_i2c_register_handler("spiflash", "/dev/m25p0.barebox",
@@ -113,7 +113,7 @@ late_initcall(realq7_env_init);
static int realq7_console_init(void)
{
- if (!of_machine_is_compatible("dmo,imx6q-realq7"))
+ if (!of_machine_is_compatible("dmo,imx6q-edmqmx6"))
return 0;
barebox_set_hostname("eDM-QMX6");
diff --git a/arch/arm/dts/imx6q-dmo-edmqmx6.dts b/arch/arm/dts/imx6q-dmo-edmqmx6.dts
index 4701d79..9fe1284 100644
--- a/arch/arm/dts/imx6q-dmo-edmqmx6.dts
+++ b/arch/arm/dts/imx6q-dmo-edmqmx6.dts
@@ -14,8 +14,8 @@
#include "imx6q.dtsi"
/ {
- model = "Data Modul RealQ7 Board";
- compatible = "dmo,imx6q-realq7", "fsl,imx6q";
+ model = "Data Modul eDM-QMX6 Board";
+ compatible = "dmo,imx6q-edmqmx6", "fsl,imx6q";
chosen {
linux,stdout-path = "/soc/aips-bus at 02100000/serial at 021e8000";
--
1.8.5.2
More information about the barebox
mailing list