Skip to contentSkip to conversation

ARM: tegra: add Jetson TK1 board

PATCH New Stephen Warren 2 participants 4 messages Mar 25, 2014 – Mar 26, 2014 1 message not in the archive

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

PATCH 1/1 ARM: tegra: add Jetson TK1 board

From: Stephen Warren <[email protected]>

Jetson TK1 is an NVIDIA Tegra124 reference board, which shares much of its design with Venice2.

---
This patch depends on my recent pinmux cleanup series.

 arch/arm/dts/Makefile                              |   1 +
 arch/arm/dts/tegra124-jetson-tk1.dts               |  84 ++++++++
 board/nvidia/jetson-tk1/Makefile                   |   9 +
 board/nvidia/jetson-tk1/jetson-tk1.c               |  23 +++
 board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h | 227 +++++++++++++++++++++
 board/nvidia/venice2/as3722_init.h                 |   4 +
 boards.cfg                                         |   1 +
 include/configs/jetson-tk1.h                       |  79 +++++++
 8 files changed, 428 insertions(+)
 create mode 100644 arch/arm/dts/tegra124-jetson-tk1.dts
 create mode 100644 board/nvidia/jetson-tk1/Makefile
 create mode 100644 board/nvidia/jetson-tk1/jetson-tk1.c
 create mode 100644 board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h
 create mode 100644 include/configs/jetson-tk1.h
arch/arm/dts/Makefile +1 -0
index e2fcca567012..674b4f6ed727 100644
@@ -16,6 +16,7 @@ dtb-$(CONFIG_TEGRA) += tegra20-harmony.dtb \
 	tegra30-cardhu.dtb \
 	tegra30-tec-ng.dtb \
 	tegra114-dalmore.dtb \
+	tegra124-jetson-tk1.dtb \
 	tegra124-venice2.dtb
 dtb-$(CONFIG_ZYNQ) += zynq-zc702.dtb \
 	zynq-zc706.dtb \
arch/arm/dts/tegra124-jetson-tk1.dts new file +84 -0

84 lines not on this page · raw message

board/nvidia/jetson-tk1/Makefile new file +9 -0
new file mode 100644
index 000000000000..0f054117c418
@@ -0,0 +1,9 @@
+#
+# (C) Copyright 2014
+# NVIDIA Corporation <www.nvidia.com>
+#
+# SPDX-License-Identifier:     GPL-2.0+
+#
+
+obj-y	+= ../venice2/as3722_init.o
+obj-y	+= jetson-tk1.o
board/nvidia/jetson-tk1/jetson-tk1.c new file +23 -0
new file mode 100644
index 000000000000..f97aafad422b
@@ -0,0 +1,23 @@
+/*
+ * (C) Copyright 2014
+ * NVIDIA Corporation <www.nvidia.com>
+ *
+ * SPDX-License-Identifier:     GPL-2.0+
+ */
+
+#include <common.h>
+#include <asm/arch/pinmux.h>
+#include "pinmux-config-jetson-tk1.h"
+
+/*
+ * Routine: pinmux_init
+ * Description: Do individual peripheral pinmux configs
+ */
+void pinmux_init(void)
+{
+	pinmux_config_pingrp_table(jetson_tk1_pingrps,
+				   ARRAY_SIZE(jetson_tk1_pingrps));
+
+	pinmux_config_drvgrp_table(jetson_tk1_drvgrps,
+				   ARRAY_SIZE(jetson_tk1_drvgrps));
+}
board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h new file +227 -0

227 lines not on this page · raw message

board/nvidia/venice2/as3722_init.h +4 -0
index 2a9e7cdf8721..a7b24039f6aa 100644
@@ -18,7 +18,11 @@
 #define AS3722_LDO6VOLTAGE_REG	0x16	/* VDD_SDMMC */
 #define AS3722_LDCONTROL_REG	0x4E
 
+#ifdef CONFIG_BOARD_JETSON_TK1
+#define AS3722_SD0VOLTAGE_DATA	(0x3C00 | AS3722_SD0VOLTAGE_REG)
+#else
 #define AS3722_SD0VOLTAGE_DATA	(0x2800 | AS3722_SD0VOLTAGE_REG)
+#endif
 #define AS3722_SD0CONTROL_DATA	(0x0100 | AS3722_SDCONTROL_REG)
 
 #define AS3722_SD1VOLTAGE_DATA	(0x3200 | AS3722_SD1VOLTAGE_REG)
boards.cfg +1 -0
index 69c893630acb..ab6bd56ed9ee 100644
@@ -376,6 +376,7 @@ Active  arm         armv7          zynq        xilinx          zynq
 Active  arm         armv7          zynq        xilinx          zynq                zynq_zc770_xm013                     zynq_zc770:ZC770_XM013                                                                                                            Michal Simek <[email protected]>:Jagannadha Sutradharudu Teki <[email protected]>
 Active  arm         armv7          zynq        xilinx          zynq                zynq_zed                             -                                                                                                                                 Michal Simek <[email protected]>:Jagannadha Sutradharudu Teki <[email protected]>
 Active  arm         armv7:arm720t  tegra114    nvidia          dalmore             dalmore                              -                                                                                                                                 Tom Warren <[email protected]>
+Active  arm         armv7:arm720t  tegra124    nvidia          jetson-tk1          jetson-tk1                           jetson-tk1:BOARD_JETSON_TK1=                                                                                                      Stephen Warren <[email protected]>
 Active  arm         armv7:arm720t  tegra124    nvidia          venice2             venice2                              -                                                                                                                                 Tom Warren <[email protected]>
 Active  arm         armv7:arm720t  tegra20     avionic-design  medcom-wide         medcom-wide                          -                                                                                                                                 Alban Bedel <[email protected]>
 Active  arm         armv7:arm720t  tegra20     avionic-design  plutux              plutux                               -                                                                                                                                 Alban Bedel <[email protected]>
include/configs/jetson-tk1.h new file +79 -0

79 lines not on this page · raw message

Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 1/1 ARM: tegra: add Jetson TK1 board

Dear Stephen,

Quoted 3 lines · In message <[email protected]> you wrote:

Jetson TK1 is an NVIDIA Tegra124 reference board, which shares much of its design with Venice2.

...

include/configs/jetson-tk1.h line 5

Quoted 7 lines

+++ b/include/configs/jetson-tk1.h

include/configs/jetson-tk1.h new file +5 -0
@@ -0,0 +1,79 @@
+/*
+ * (C) Copyright 2013-2014
+ * NVIDIA Corporation <www.nvidia.com>
+ *
+ * SPDX-License-Identifier:     GPL-2.0

Is there any specific reason this is not GPL-2.0+ ?

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Bradley's Bromide: If computers get too  powerful,  we  can  organize
them into a committee - that will do them in.
#2 lore raw

PATCH 1/1 ARM: tegra: add Jetson TK1 board

Quoted 7 lines · Wolfgang Denk

Dear Stephen,

Quoted 3 lines · In message <[email protected]> you wrote:

Jetson TK1 is an NVIDIA Tegra124 reference board, which shares much of its design with Venice2.

...

Quoted 9 lines

include/configs/jetson-tk1.h line 5

Quoted 7 lines

+++ b/include/configs/jetson-tk1.h

include/configs/jetson-tk1.h new file +5 -0
@@ -0,0 +1,79 @@
+/*
+ * (C) Copyright 2013-2014
+ * NVIDIA Corporation <www.nvidia.com>
+ *
+ * SPDX-License-Identifier:     GPL-2.0

Is there any specific reason this is not GPL-2.0+ ?

Oops. I evidently cut/paste from the wrong place. Please consider that to say GPL-2.0+. Tom, can you fix this while applying, or do you want a repost (I'd probably hold off on a repost until after 2014.04 is out in case there are any other comments).

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

PATCH 1/1 ARM: tegra: add Jetson TK1 board

Quoted 1 line · Tom Warren

I'll fix it on application. Pinmux changes and this patch should be in/tested late today, and if it looks good to you I'll issue a PR to Albert.

Aren't you only sending "ARM: tegra: make all I2C ports open-drain" for 2014.04? I was assuming the other pinmux driver change would all go into the next release, since they were posted well after the merge window.

Quoted 33 lines
Quoted 26 lines

-----Original Message-----
From: Stephen Warren [mailto:swarren at wwwdotorg.org]
Sent: Tuesday, March 25, 2014 12:17 PM
To: Wolfgang Denk; Tom Warren
Cc: u-boot at lists.denx.de; Simon Glass; Stephen Warren
Subject: Re: [U-Boot] [PATCH] ARM: tegra: add Jetson TK1 board

Quoted 3 lines · Wolfgang Denk

Dear Stephen,

In message <1395769173-8143-1-git-send-email-

Quoted 4 lines · swarren at wwwdotorg.org> you wrote:
Quoted 3 lines

Jetson TK1 is an NVIDIA Tegra124 reference board, which shares much of its design with Venice2.

...

Quoted 9 lines

include/configs/jetson-tk1.h line 5

Quoted 7 lines

+++ b/include/configs/jetson-tk1.h

include/configs/jetson-tk1.h new file +5 -0
@@ -0,0 +1,79 @@
+/*
+ * (C) Copyright 2013-2014
+ * NVIDIA Corporation <www.nvidia.com>
+ *
+ * SPDX-License-Identifier:     GPL-2.0

Is there any specific reason this is not GPL-2.0+ ?

Quoted 4 lines

Oops. I evidently cut/paste from the wrong place. Please consider that to say GPL-2.0+. Tom, can you fix this while applying, or do you want a repost (I'd probably hold off on a repost until after 2014.04 is out in case there are any other comments).

--
nvpublic