summaryrefslogtreecommitdiffstats
path: root/board/nvidia/venice2
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2015-07-09 16:33:01 +0900
committerTom Warren <twarren@nvidia.com>2015-08-06 10:50:03 -0700
commita38a3c4af4ed72a2ed6192203f8fe17ccdd2389f (patch)
tree71a0a327f8ca6b0bf1798aa08ec3e26659d11157 /board/nvidia/venice2
parent871d78ed1b906a79d8a6dad96a9f83dea7b9170f (diff)
downloadblackbird-obmc-uboot-a38a3c4af4ed72a2ed6192203f8fe17ccdd2389f.tar.gz
blackbird-obmc-uboot-a38a3c4af4ed72a2ed6192203f8fe17ccdd2389f.zip
ARM: tegra: enable GPU DT node when appropriate
T124/210 requires some specific configuration (VPR setup) to be performed by the bootloader before the GPU can be used. For this reason, the GPU node in the device tree is disabled by default. This patch enables the node if U-boot has performed VPR configuration. Boards enabled by this patch are T124's Jetson TK1 and Venice2 and T210's P2571. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Tom Warren <twarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board/nvidia/venice2')
-rw-r--r--board/nvidia/venice2/venice2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/nvidia/venice2/venice2.c b/board/nvidia/venice2/venice2.c
index c56ef129d6..3e2b9a7745 100644
--- a/board/nvidia/venice2/venice2.c
+++ b/board/nvidia/venice2/venice2.c
@@ -8,6 +8,7 @@
#include <common.h>
#include <asm/arch/gpio.h>
#include <asm/arch/pinmux.h>
+#include <asm/arch-tegra/gpu.h>
#include "pinmux-config-venice2.h"
/*
@@ -27,3 +28,10 @@ void pinmux_init(void)
pinmux_config_drvgrp_table(venice2_drvgrps,
ARRAY_SIZE(venice2_drvgrps));
}
+
+int ft_board_setup(void *blob, bd_t *bd)
+{
+ gpu_enable_node(blob, "/gpu@0,57000000");
+
+ return 0;
+}
OpenPOWER on IntegriCloud