Skip to content

Commit b6fe358

Browse files
committed
asus: add transformer t30 board support
Board derives from Cardhu board. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
1 parent 602aaff commit b6fe358

File tree

9 files changed

+859
-0
lines changed

9 files changed

+859
-0
lines changed
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
2+
3+
#include "tegra30.dtsi"
4+
5+
/ {
6+
compatible = "asus,transformer", "nvidia,tegra30";
7+
8+
chosen {
9+
stdout-path = &uarta;
10+
};
11+
12+
aliases {
13+
mmc0 = &sdmmc4; /* eMMC */
14+
mmc1 = &sdmmc1; /* uSD slot */
15+
16+
rtc0 = &pmic;
17+
rtc1 = "/rtc@7000e000";
18+
19+
usb0 = &usb1;
20+
usb1 = &usb3; /* Dock USB */
21+
};
22+
23+
memory {
24+
device_type = "memory";
25+
reg = <0x80000000 0x40000000>;
26+
};
27+
28+
uarta: serial@70006000 {
29+
status = "okay";
30+
};
31+
32+
pwm: pwm@7000a000 {
33+
status = "okay";
34+
};
35+
36+
sdmmc1: sdhci@78000000 {
37+
status = "okay";
38+
bus-width = <4>;
39+
40+
cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
41+
power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>;
42+
43+
vmmc-supply = <&vdd_usd>;
44+
vqmmc-supply = <&vddio_usd>;
45+
};
46+
47+
sdmmc4: sdhci@78000600 {
48+
status = "okay";
49+
bus-width = <8>;
50+
non-removable;
51+
};
52+
53+
/* USB via ASUS connector */
54+
usb1: usb@7d000000 {
55+
status = "okay";
56+
dr_mode = "otg";
57+
};
58+
59+
/* Dock's USB port */
60+
usb3: usb@7d008000 {
61+
status = "okay";
62+
};
63+
64+
clocks {
65+
compatible = "simple-bus";
66+
#address-cells = <1>;
67+
#size-cells = <0>;
68+
69+
clk32k_in: clock@0 {
70+
compatible = "fixed-clock";
71+
reg = <0>;
72+
#clock-cells = <0>;
73+
clock-frequency = <32768>;
74+
};
75+
};
76+
};

arch/arm/mach-tegra/tegra30/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,16 @@ config TARGET_TEC_NG
2424
bool "Avionic Design TEC-NG board"
2525
select BOARD_LATE_INIT
2626

27+
config TARGET_TRANSFORMER_T30
28+
bool "Asus Tegra30 Transformer board"
29+
select BOARD_LATE_INIT
30+
2731
endchoice
2832

2933
config SYS_SOC
3034
default "tegra30"
3135

36+
source "board/asus/transformer-t30/Kconfig"
3237
source "board/toradex/apalis_t30/Kconfig"
3338
source "board/nvidia/beaver/Kconfig"
3439
source "board/nvidia/cardhu/Kconfig"

board/asus/transformer-t30/Kconfig

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
if TARGET_TRANSFORMER_T30
2+
3+
config SYS_BOARD
4+
default "transformer-t30"
5+
6+
config SYS_VENDOR
7+
default "asus"
8+
9+
config SYS_CONFIG_NAME
10+
default "transformer-t30"
11+
12+
config TRANSFORMER_SPI_BOOT
13+
bool "Enable support for SPI based flash"
14+
default n
15+
help
16+
Tegra 3 based Transformers with Windows RT have core
17+
boot sequence (BCT, PT, EBT) on separate SPI FLASH
18+
memory with 4MB size.
19+
20+
config TRANSFORMER_TF700T_MIPI
21+
bool "Enable support for TF700T MIPI panel configuration"
22+
default n
23+
help
24+
TF700T has different panel configuration then other
25+
Transformers and uses I2C bridge.
26+
27+
endif
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
TRANSFORMER BOARD
2+
M: Svyatoslav Ryhel <clamor95@gmail.com>
3+
S: Maintained
4+
F: board/asus/transformer-t30/
5+
F: include/configs/transformer-t30.h
6+
F: configs/transformer_t30_defconfig
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
#
3+
# (C) Copyright 2010-2012
4+
# NVIDIA Corporation <www.nvidia.com>
5+
#
6+
# (C) Copyright 2021
7+
# Svyatoslav Ryhel <clamor95@gmail.com>
8+
9+
obj-y := transformer-t30.o

0 commit comments

Comments
 (0)