summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2015-04-08 12:54:56 -0700
committerStefano Babic <sbabic@denx.de>2015-04-22 14:39:11 +0200
commit95069704cdd88c1e0494081056df08b9526b9ae1 (patch)
treefb9f55a11371f97f4230ea15e4d4cef78f05a51f /board
parent7f14c31bba70ee339c8c730e263a143b869f2828 (diff)
downloadu-boot-imx-95069704cdd88c1e0494081056df08b9526b9ae1.zip
u-boot-imx-95069704cdd88c1e0494081056df08b9526b9ae1.tar.gz
u-boot-imx-95069704cdd88c1e0494081056df08b9526b9ae1.tar.bz2
imx: ventana: add DT fixup for GW54xx compatibility with older kernels
Certain older kernels in use by some customers erroneously define a uart3 for GW54xx with a pinmux that conflicts with NAND. This will remove that node to avoid such conflicts. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board')
-rw-r--r--board/gateworks/gw_ventana/gw_ventana.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c
index 068c726..06611b5 100644
--- a/board/gateworks/gw_ventana/gw_ventana.c
+++ b/board/gateworks/gw_ventana/gw_ventana.c
@@ -1599,6 +1599,17 @@ int ft_board_setup(void *blob, bd_t *bd)
strlen((const char *)info->model) + 1);
/*
+ * disable serial2 node for GW54xx for compatibility with older
+ * 3.10.x kernel that improperly had this node enabled in the DT
+ */
+ if (board_type == GW54xx) {
+ i = fdt_path_offset(blob,
+ "/soc/aips-bus@02100000/serial@021ec000");
+ if (i)
+ fdt_del_node(blob, i);
+ }
+
+ /*
* disable wdog1/wdog2 nodes for GW51xx below revC to work around
* errata causing wdog timer to be unreliable.
*/