diff options
-rw-r--r-- | arch/arm/boot/dts/tegra30-cardhu-a02.dts | 11 | ||||
-rw-r--r-- | arch/arm/boot/dts/tegra30-cardhu-a04.dts | 10 | ||||
-rw-r--r-- | arch/arm/boot/dts/tegra30-cardhu.dtsi (renamed from arch/arm/boot/dts/tegra30-cardhu.dts) | 25 | ||||
-rw-r--r-- | arch/arm/mach-tegra/Makefile.boot | 3 |
4 files changed, 46 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/tegra30-cardhu-a02.dts b/arch/arm/boot/dts/tegra30-cardhu-a02.dts new file mode 100644 index 000000000000..dd870b7f188b --- /dev/null +++ b/arch/arm/boot/dts/tegra30-cardhu-a02.dts | |||
@@ -0,0 +1,11 @@ | |||
1 | /dts-v1/; | ||
2 | |||
3 | /include/ "tegra30-cardhu.dtsi" | ||
4 | |||
5 | /* This dts file support the cardhu A02 version of board */ | ||
6 | |||
7 | / { | ||
8 | model = "NVIDIA Tegra30 Cardhu A02 evaluation board"; | ||
9 | compatible = "nvidia,cardhu-a02", "nvidia,cardhu", "nvidia,tegra30"; | ||
10 | }; | ||
11 | |||
diff --git a/arch/arm/boot/dts/tegra30-cardhu-a04.dts b/arch/arm/boot/dts/tegra30-cardhu-a04.dts new file mode 100644 index 000000000000..a4cae6c16ddf --- /dev/null +++ b/arch/arm/boot/dts/tegra30-cardhu-a04.dts | |||
@@ -0,0 +1,10 @@ | |||
1 | /dts-v1/; | ||
2 | |||
3 | /include/ "tegra30-cardhu.dtsi" | ||
4 | |||
5 | /* This dts file support the cardhu A04 and later versions of board */ | ||
6 | |||
7 | / { | ||
8 | model = "NVIDIA Tegra30 Cardhu A04 (A05, A06, A07) evaluation board"; | ||
9 | compatible = "nvidia,cardhu-a04", "nvidia,cardhu", "nvidia,tegra30"; | ||
10 | }; | ||
diff --git a/arch/arm/boot/dts/tegra30-cardhu.dts b/arch/arm/boot/dts/tegra30-cardhu.dtsi index 6f9daaead5f9..ba38527fcb7f 100644 --- a/arch/arm/boot/dts/tegra30-cardhu.dts +++ b/arch/arm/boot/dts/tegra30-cardhu.dtsi | |||
@@ -1,7 +1,28 @@ | |||
1 | /dts-v1/; | ||
2 | |||
3 | /include/ "tegra30.dtsi" | 1 | /include/ "tegra30.dtsi" |
4 | 2 | ||
3 | /** | ||
4 | * This file contains common DT entry for all fab version of Cardhu. | ||
5 | * There is multiple fab version of Cardhu starting from A01 to A07. | ||
6 | * Cardhu fab version A01 and A03 are not supported. Cardhu fab version | ||
7 | * A02 will have different sets of GPIOs for fixed regulator compare to | ||
8 | * Cardhu fab version A04. The Cardhu fab version A05, A06, A07 are | ||
9 | * compatible with fab version A04. Based on Cardhu fab version, the | ||
10 | * related dts file need to be chosen like for Cardhu fab version A02, | ||
11 | * use tegra30-cardhu-a02.dts, Cardhu fab version A04 and later, use | ||
12 | * tegra30-cardhu-a04.dts. | ||
13 | * The identification of board is done in two ways, by looking the sticker | ||
14 | * on PCB and by reading board id eeprom. | ||
15 | * The stciker will have number like 600-81291-1000-002 C.3. In this 4th | ||
16 | * number is the fab version like here it is 002 and hence fab version A02. | ||
17 | * The (downstream internal) U-Boot of Cardhu display the board-id as | ||
18 | * follows: | ||
19 | * BoardID: 0C5B, SKU: 0A01, Fab: 02, Rev: 45.00 | ||
20 | * In this Fab version is 02 i.e. A02. | ||
21 | * The BoardID I2C eeprom is interfaced through i2c5 (pwr_i2c address 0x56). | ||
22 | * The location 0x8 of this eeprom contains the Fab version. It is 1 byte | ||
23 | * wide. | ||
24 | */ | ||
25 | |||
5 | / { | 26 | / { |
6 | model = "NVIDIA Tegra30 Cardhu evaluation board"; | 27 | model = "NVIDIA Tegra30 Cardhu evaluation board"; |
7 | compatible = "nvidia,cardhu", "nvidia,tegra30"; | 28 | compatible = "nvidia,cardhu", "nvidia,tegra30"; |
diff --git a/arch/arm/mach-tegra/Makefile.boot b/arch/arm/mach-tegra/Makefile.boot index 7a1bb62ddcf0..6e3520725b06 100644 --- a/arch/arm/mach-tegra/Makefile.boot +++ b/arch/arm/mach-tegra/Makefile.boot | |||
@@ -8,4 +8,5 @@ dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20-seaboard.dtb | |||
8 | dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20-trimslice.dtb | 8 | dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20-trimslice.dtb |
9 | dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20-ventana.dtb | 9 | dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20-ventana.dtb |
10 | dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20-whistler.dtb | 10 | dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20-whistler.dtb |
11 | dtb-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30-cardhu.dtb | 11 | dtb-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30-cardhu-a02.dtb |
12 | dtb-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30-cardhu-a04.dtb | ||