forked from u-boot/u-boot
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
asus: add transformer t30 board support
Board derives from Cardhu board. Signed-off-by: Svyatoslav Ryhel <[email protected]>
- Loading branch information
Showing
10 changed files
with
941 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#include "tegra30.dtsi" | ||
|
||
/ { | ||
compatible = "asus,transformer", "nvidia,tegra30"; | ||
|
||
chosen { | ||
stdout-path = &uarta; | ||
}; | ||
|
||
aliases { | ||
i2c0 = &pmic_i2c; | ||
i2c1 = &lcd_ddc; | ||
|
||
mmc0 = &sdmmc4; /* eMMC */ | ||
mmc1 = &sdmmc1; /* uSD slot */ | ||
|
||
rtc0 = &pmic; | ||
rtc1 = "/rtc@7000e000"; | ||
|
||
usb0 = &usb1; | ||
usb1 = &usb3; /* Dock USB */ | ||
}; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x80000000 0x40000000>; | ||
}; | ||
|
||
uarta: serial@70006000 { | ||
status = "okay"; | ||
}; | ||
|
||
pwm: pwm@7000a000 { | ||
status = "okay"; | ||
}; | ||
|
||
lcd_ddc: i2c@7000c000 { | ||
status = "okay"; | ||
clock-frequency = <100000>; | ||
}; | ||
|
||
sdmmc1: sdhci@78000000 { | ||
status = "okay"; | ||
bus-width = <4>; | ||
|
||
cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; | ||
power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>; | ||
|
||
vmmc-supply = <&vdd_usd>; | ||
vqmmc-supply = <&vddio_usd>; | ||
}; | ||
|
||
sdmmc4: sdhci@78000600 { | ||
status = "okay"; | ||
bus-width = <8>; | ||
non-removable; | ||
}; | ||
|
||
/* USB via ASUS connector */ | ||
usb1: usb@7d000000 { | ||
status = "okay"; | ||
dr_mode = "otg"; | ||
}; | ||
|
||
/* Dock's USB port */ | ||
usb3: usb@7d008000 { | ||
status = "okay"; | ||
}; | ||
|
||
clocks { | ||
compatible = "simple-bus"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
clk32k_in: clock@0 { | ||
compatible = "fixed-clock"; | ||
reg = <0>; | ||
#clock-cells = <0>; | ||
clock-frequency = <32768>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
if TARGET_TRANSFORMER_T30 | ||
|
||
config SYS_BOARD | ||
default "transformer-t30" | ||
|
||
config SYS_VENDOR | ||
default "asus" | ||
|
||
config SYS_CONFIG_NAME | ||
default "transformer-t30" | ||
|
||
config TRANSFORMER_SPI_BOOT | ||
bool "Enable support for SPI based flash" | ||
default n | ||
help | ||
Tegra 3 based Transformers with Windows RT have core | ||
boot sequence (BCT, PT, EBT) on separate SPI FLASH | ||
memory with 4MB size. | ||
|
||
config TRANSFORMER_TF700T_MIPI | ||
bool "Enable support for TF700T MIPI panel configuration" | ||
default n | ||
help | ||
TF700T has different panel configuration then other | ||
Transformers and uses I2C bridge. | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
TRANSFORMER BOARD | ||
M: Svyatoslav Ryhel <[email protected]> | ||
S: Maintained | ||
F: board/asus/transformer-t30/ | ||
F: include/configs/transformer-t30.h | ||
F: configs/transformer_t30_defconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
# | ||
# (C) Copyright 2010-2012 | ||
# NVIDIA Corporation <www.nvidia.com> | ||
# | ||
# (C) Copyright 2021 | ||
# Svyatoslav Ryhel <[email protected]> | ||
|
||
obj-$(CONFIG_SPL_BUILD) += transformer-t30-spl.o | ||
|
||
obj-y += transformer-t30.o |
Oops, something went wrong.