Skip to contentSkip to conversation

Tegra 4: add support for Asus TF701T and Nvidia Tegratab

PATCH Superseded Svyatoslav Ryhel 1 participant 3 messages Dec 12, 2024

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Tegra 4: add support for Asus TF701T and Nvidia Tegratab

Add support for Asus TF701T and Nvidia Tegratab Tegra 4 devices.

Svyatoslav Ryhel (2):
board: asus: transformer: add ASUS Transformer Pad TF701T support
board: nvidia: tegratab: add Nvidia Tegra Note 7 support

 arch/arm/dts/Makefile                         |    2 +
 arch/arm/dts/tegra114-asus-tf701t.dts         | 1256 +++++++++++++++++
 arch/arm/dts/tegra114-nvidia-tegratab.dts     | 1050 ++++++++++++++
 arch/arm/mach-tegra/tegra114/Kconfig          |   10 +
 board/asus/transformer-t114/Kconfig           |   12 +
 board/asus/transformer-t114/MAINTAINERS       |    8 +
 board/asus/transformer-t114/Makefile          |   10 +
 .../transformer-t114/transformer-t114-spl.c   |   42 +
 .../asus/transformer-t114/transformer-t114.c  |   57 +
 .../transformer-t114/transformer-t114.env     |   15 +
 board/nvidia/tegratab/Kconfig                 |   12 +
 board/nvidia/tegratab/MAINTAINERS             |    8 +
 board/nvidia/tegratab/Makefile                |   10 +
 board/nvidia/tegratab/tegratab-spl.c          |   42 +
 board/nvidia/tegratab/tegratab.c              |   56 +
 board/nvidia/tegratab/tegratab.env            |   15 +
 configs/tegratab_defconfig                    |   82 ++
 configs/tf701t_defconfig                      |   87 ++
 doc/board/asus/index.rst                      |    1 +
 doc/board/asus/transformer_t114.rst           |   72 +
 doc/board/index.rst                           |    1 +
 doc/board/nvidia/index.rst                    |    9 +
 doc/board/nvidia/tegratab.rst                 |   72 +
 include/configs/tegratab.h                    |   25 +
 include/configs/transformer-t114.h            |   25 +
 25 files changed, 2979 insertions(+)
 create mode 100644 arch/arm/dts/tegra114-asus-tf701t.dts
 create mode 100644 arch/arm/dts/tegra114-nvidia-tegratab.dts
 create mode 100644 board/asus/transformer-t114/Kconfig
 create mode 100644 board/asus/transformer-t114/MAINTAINERS
 create mode 100644 board/asus/transformer-t114/Makefile
 create mode 100644 board/asus/transformer-t114/transformer-t114-spl.c
 create mode 100644 board/asus/transformer-t114/transformer-t114.c
 create mode 100644 board/asus/transformer-t114/transformer-t114.env
 create mode 100644 board/nvidia/tegratab/Kconfig
 create mode 100644 board/nvidia/tegratab/MAINTAINERS
 create mode 100644 board/nvidia/tegratab/Makefile
 create mode 100644 board/nvidia/tegratab/tegratab-spl.c
 create mode 100644 board/nvidia/tegratab/tegratab.c
 create mode 100644 board/nvidia/tegratab/tegratab.env
 create mode 100644 configs/tegratab_defconfig
 create mode 100644 configs/tf701t_defconfig
 create mode 100644 doc/board/asus/transformer_t114.rst
 create mode 100644 doc/board/nvidia/index.rst
 create mode 100644 doc/board/nvidia/tegratab.rst
 create mode 100644 include/configs/tegratab.h
 create mode 100644 include/configs/transformer-t114.h
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/2 board: asus: transformer: add ASUS Transformer Pad TF701T support

The ASUS Transformer Pad TF701T is an Android tablet computer made by ASUS, successor to the ASUS Transformer Pad Infinity. The tablet includes a Tegra 4 T114 processor clocked at 1.9 GHz, and an upgraded 2560×1600 pixel resolution screen, increasing the pixel density to 300 PPI and a mobile dock. Transformers (t114) board derives from Nvidia Macallan development board.

---
 arch/arm/dts/Makefile                         |    1 +
 arch/arm/dts/tegra114-asus-tf701t.dts         | 1256 +++++++++++++++++
 arch/arm/mach-tegra/tegra114/Kconfig          |    5 +
 board/asus/transformer-t114/Kconfig           |   12 +
 board/asus/transformer-t114/MAINTAINERS       |    8 +
 board/asus/transformer-t114/Makefile          |   10 +
 .../transformer-t114/transformer-t114-spl.c   |   42 +
 .../asus/transformer-t114/transformer-t114.c  |   57 +
 .../transformer-t114/transformer-t114.env     |   15 +
 configs/tf701t_defconfig                      |   87 ++
 doc/board/asus/index.rst                      |    1 +
 doc/board/asus/transformer_t114.rst           |   72 +
 include/configs/transformer-t114.h            |   25 +
 13 files changed, 1591 insertions(+)
 create mode 100644 arch/arm/dts/tegra114-asus-tf701t.dts
 create mode 100644 board/asus/transformer-t114/Kconfig
 create mode 100644 board/asus/transformer-t114/MAINTAINERS
 create mode 100644 board/asus/transformer-t114/Makefile
 create mode 100644 board/asus/transformer-t114/transformer-t114-spl.c
 create mode 100644 board/asus/transformer-t114/transformer-t114.c
 create mode 100644 board/asus/transformer-t114/transformer-t114.env
 create mode 100644 configs/tf701t_defconfig
 create mode 100644 doc/board/asus/transformer_t114.rst
 create mode 100644 include/configs/transformer-t114.h
arch/arm/dts/Makefile +1 -0
index 6ad59aeed5f..4c6af1e673e 100644
@@ -127,6 +127,7 @@ dtb-$(CONFIG_ARCH_TEGRA) += \
 	tegra30-microsoft-surface-rt.dtb \
 	tegra30-tec-ng.dtb \
 	tegra30-wexler-qc750.dtb \
+	tegra114-asus-tf701t.dtb \
 	tegra114-dalmore.dtb \
 	tegra124-apalis.dtb \
 	tegra124-jetson-tk1.dtb \
arch/arm/dts/tegra114-asus-tf701t.dts new file +1256 -0

1,256 lines not on this page · raw message

arch/arm/mach-tegra/tegra114/Kconfig +5 -0
index 5f0f909dd3b..fb88696ae41 100644
@@ -8,11 +8,16 @@ config TARGET_DALMORE
 	bool "NVIDIA Tegra114 Dalmore evaluation board"
 	select BOARD_LATE_INIT
 
+config TARGET_TRANSFORMER_T114
+	bool "ASUS Tegra114 Transformer board"
+	select BOARD_LATE_INIT
+
 endchoice
 
 config SYS_SOC
 	default "tegra114"
 
 source "board/nvidia/dalmore/Kconfig"
+source "board/asus/transformer-t114/Kconfig"
 
 endif
board/asus/transformer-t114/Kconfig new file +12 -0
new file mode 100644
index 00000000000..477483b0ad3
@@ -0,0 +1,12 @@
+if TARGET_TRANSFORMER_T114
+
+config SYS_BOARD
+	default "transformer-t114"
+
+config SYS_VENDOR
+	default "asus"
+
+config SYS_CONFIG_NAME
+	default "transformer-t114"
+
+endif
board/asus/transformer-t114/MAINTAINERS new file +8 -0
new file mode 100644
index 00000000000..48532373a81
@@ -0,0 +1,8 @@
+TRANSFORMER BOARD
+M:	Svyatoslav Ryhel <[email protected]>
+S:	Maintained
+F:	arch/arm/dts/tegra114-asus-tf701t.dts
+F:	board/asus/transformer-t114/
+F:	configs/tf701t_defconfig
+F:	doc/board/asus/transformer_t114.rst
+F:	include/configs/transformer-t114.h
board/asus/transformer-t114/Makefile new file +10 -0
new file mode 100644
index 00000000000..37dda5fea92
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright (c) 2010-2013, NVIDIA CORPORATION.  All rights reserved.
+#
+# Copyright (c) 2023, Svyatoslav Ryhel <[email protected]>
+#
+
+obj-$(CONFIG_XPL_BUILD) += transformer-t114-spl.o
+
+obj-y += transformer-t114.o
board/asus/transformer-t114/transformer-t114-spl.c new file +42 -0

42 lines not on this page · raw message

board/asus/transformer-t114/transformer-t114.c new file +57 -0

57 lines not on this page · raw message

board/asus/transformer-t114/transformer-t114.env new file +15 -0
new file mode 100644
index 00000000000..f7278b8661e
@@ -0,0 +1,15 @@
+button_cmd_0_name=Volume Down
+button_cmd_0=bootmenu
+button_cmd_1_name=Hall Sensor
+button_cmd_1=poweroff
+
+fastboot_partition_alias_boot=CAC
+fastboot_partition_alias_root=UDA
+
+bootmenu_0=mount internal storage=usb start && ums 0 mmc 0:e; bootmenu
+bootmenu_1=mount external storage=usb start && ums 0 mmc 1; bootmenu
+bootmenu_2=fastboot=echo Starting Fastboot protocol ...; fastboot usb 0; bootmenu
+bootmenu_3=reboot RCM=enterrcm
+bootmenu_4=reboot=reset
+bootmenu_5=power off=poweroff
+bootmenu_delay=-1
configs/tf701t_defconfig new file +87 -0

87 lines not on this page · raw message

doc/board/asus/index.rst +1 -0
index 2cac04ce04a..a9ba7a5ac53 100644
@@ -9,3 +9,4 @@ ASUS
    grouper
    transformer_t20
    transformer_t30
+   transformer_t114
doc/board/asus/transformer_t114.rst new file +72 -0

72 lines not on this page · raw message

include/configs/transformer-t114.h new file +25 -0
new file mode 100644
index 00000000000..6c8ef3329c1
@@ -0,0 +1,25 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (c) 2010-2013, NVIDIA CORPORATION.  All rights reserved.
+ *
+ * Copyright (c) 2023, Svyatoslav Ryhel <[email protected]>
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#include "tegra114-common.h"
+
+/* High-level configuration options */
+#define CFG_TEGRA_BOARD_STRING		"ASUS Transformer"
+
+/* Board-specific serial config */
+#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
+
+#ifdef CONFIG_TEGRA_SUPPORT_NON_SECURE
+  #define CFG_PRAM			0x20000	/* 128 MB */
+#endif
+
+#include "tegra-common-post.h"
+
+#endif /* __CONFIG_H */
Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/2 board: nvidia: tegratab: add Nvidia Tegra Note 7 support

In reply to Svyatoslav Ryhel

The Tegra Note 7 is a mini tablet computer and the second Tegra 4 based mobile device designed by Nvidia that runs the Android operating system. The Tegra Note has a 7" IPS display with 1280 x 800 (217 ppi) resolution. The 1 GB of RAM and 16 GB of internal memory can be supplemented with a microSDXC card giving up to 64 GB of additional storage.

---
 arch/arm/dts/Makefile                     |    1 +
 arch/arm/dts/tegra114-nvidia-tegratab.dts | 1050 +++++++++++++++++++++
 arch/arm/mach-tegra/tegra114/Kconfig      |    5 +
 board/nvidia/tegratab/Kconfig             |   12 +
 board/nvidia/tegratab/MAINTAINERS         |    8 +
 board/nvidia/tegratab/Makefile            |   10 +
 board/nvidia/tegratab/tegratab-spl.c      |   42 +
 board/nvidia/tegratab/tegratab.c          |   56 ++
 board/nvidia/tegratab/tegratab.env        |   15 +
 configs/tegratab_defconfig                |   82 ++
 doc/board/index.rst                       |    1 +
 doc/board/nvidia/index.rst                |    9 +
 doc/board/nvidia/tegratab.rst             |   72 ++
 include/configs/tegratab.h                |   25 +
 14 files changed, 1388 insertions(+)
 create mode 100644 arch/arm/dts/tegra114-nvidia-tegratab.dts
 create mode 100644 board/nvidia/tegratab/Kconfig
 create mode 100644 board/nvidia/tegratab/MAINTAINERS
 create mode 100644 board/nvidia/tegratab/Makefile
 create mode 100644 board/nvidia/tegratab/tegratab-spl.c
 create mode 100644 board/nvidia/tegratab/tegratab.c
 create mode 100644 board/nvidia/tegratab/tegratab.env
 create mode 100644 configs/tegratab_defconfig
 create mode 100644 doc/board/nvidia/index.rst
 create mode 100644 doc/board/nvidia/tegratab.rst
 create mode 100644 include/configs/tegratab.h
arch/arm/dts/Makefile +1 -0
index 4c6af1e673e..fa8c4d1d3bf 100644
@@ -129,6 +129,7 @@ dtb-$(CONFIG_ARCH_TEGRA) += \
 	tegra30-wexler-qc750.dtb \
 	tegra114-asus-tf701t.dtb \
 	tegra114-dalmore.dtb \
+	tegra114-nvidia-tegratab.dtb \
 	tegra124-apalis.dtb \
 	tegra124-jetson-tk1.dtb \
 	tegra124-nyan-big.dtb \
arch/arm/dts/tegra114-nvidia-tegratab.dts new file +1050 -0

1,050 lines not on this page · raw message

arch/arm/mach-tegra/tegra114/Kconfig +5 -0
index fb88696ae41..98f1d0e71c1 100644
@@ -8,6 +8,10 @@ config TARGET_DALMORE
 	bool "NVIDIA Tegra114 Dalmore evaluation board"
 	select BOARD_LATE_INIT
 
+config TARGET_TEGRATAB
+	bool "NVIDIA Tegra114 TegraTab evaluation board"
+	select BOARD_LATE_INIT
+
 config TARGET_TRANSFORMER_T114
 	bool "ASUS Tegra114 Transformer board"
 	select BOARD_LATE_INIT
@@ -18,6 +22,7 @@ config SYS_SOC
 	default "tegra114"
 
 source "board/nvidia/dalmore/Kconfig"
+source "board/nvidia/tegratab/Kconfig"
 source "board/asus/transformer-t114/Kconfig"
 
 endif
board/nvidia/tegratab/Kconfig new file +12 -0
new file mode 100644
index 00000000000..5ca0c54e253
@@ -0,0 +1,12 @@
+if TARGET_TEGRATAB
+
+config SYS_BOARD
+	default "tegratab"
+
+config SYS_VENDOR
+	default "nvidia"
+
+config SYS_CONFIG_NAME
+	default "tegratab"
+
+endif
board/nvidia/tegratab/MAINTAINERS new file +8 -0
new file mode 100644
index 00000000000..bfd9eae8658
@@ -0,0 +1,8 @@
+TEGRATAB BOARD
+M:	Svyatoslav Ryhel <[email protected]>
+S:	Maintained
+F:	arch/arm/dts/tegra114-nvidia-tegratab.dts
+F:	board/nvidia/tegratab/
+F:	configs/tegratab_defconfig
+F:	doc/board/nvidia/tegratab.rst
+F:	include/configs/tegratab.h
board/nvidia/tegratab/Makefile new file +10 -0
new file mode 100644
index 00000000000..183a0ba0319
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Copyright (c) 2010-2013, NVIDIA CORPORATION.  All rights reserved.
+#
+# Copyright (c) 2023, Svyatoslav Ryhel <[email protected]>
+#
+
+obj-$(CONFIG_XPL_BUILD) += tegratab-spl.o
+
+obj-y += tegratab.o
board/nvidia/tegratab/tegratab-spl.c new file +42 -0

42 lines not on this page · raw message

board/nvidia/tegratab/tegratab.c new file +56 -0

56 lines not on this page · raw message

board/nvidia/tegratab/tegratab.env new file +15 -0
new file mode 100644
index 00000000000..b2ba4f4354c
@@ -0,0 +1,15 @@
+button_cmd_0_name=Volume Down
+button_cmd_0=bootmenu
+button_cmd_1_name=Hall Sensor
+button_cmd_1=poweroff
+
+fastboot_partition_alias_boot=CAC
+fastboot_partition_alias_root=UDA
+
+bootmenu_0=mount internal storage=usb start && ums 0 mmc 0:c; bootmenu
+bootmenu_1=mount external storage=usb start && ums 0 mmc 1; bootmenu
+bootmenu_2=fastboot=echo Starting Fastboot protocol ...; fastboot usb 0; bootmenu
+bootmenu_3=reboot RCM=enterrcm
+bootmenu_4=reboot=reset
+bootmenu_5=power off=poweroff
+bootmenu_delay=-1
configs/tegratab_defconfig new file +82 -0

82 lines not on this page · raw message

doc/board/index.rst +1 -0
index b54c1748d57..a1f2dd6cdb8 100644
@@ -39,6 +39,7 @@ Board-specific doc
    mediatek/index
    microchip/index
    microsoft/index
+   nvidia/index
    nxp/index
    openpiton/index
    phytec/index
doc/board/nvidia/index.rst new file +9 -0
new file mode 100644
index 00000000000..7c105445559
@@ -0,0 +1,9 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+NVIDIA
+======
+
+.. toctree::
+   :maxdepth: 2
+
+   tegratab
doc/board/nvidia/tegratab.rst new file +72 -0

72 lines not on this page · raw message

include/configs/tegratab.h new file +25 -0
new file mode 100644
index 00000000000..6c002246992
@@ -0,0 +1,25 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (c) 2010-2013, NVIDIA CORPORATION.  All rights reserved.
+ *
+ * Copyright (c) 2023, Svyatoslav Ryhel <[email protected]>
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#include "tegra114-common.h"
+
+/* High-level configuration options */
+#define CFG_TEGRA_BOARD_STRING		"NVIDIA TegraTab"
+
+/* Board-specific serial config */
+#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
+
+#ifdef CONFIG_TEGRA_SUPPORT_NON_SECURE
+  #define CFG_PRAM			0x21C00	/* 135 MB */
+#endif
+
+#include "tegra-common-post.h"
+
+#endif /* __CONFIG_H */
Signature · 1 line
2.43.0