Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326802
b: refs/heads/master
c: 640a7af
h: refs/heads/master
v: v3
  • Loading branch information
Laxman Dewangan authored and Stephen Warren committed Sep 6, 2012
1 parent d1bb891 commit cbc4177
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 167e62798ccd4172d02c8f10ca7010a301498aa3
refs/heads/master: 640a7af58b4ac9ca2347a25410b364829bde1bb7
11 changes: 11 additions & 0 deletions trunk/arch/arm/boot/dts/tegra30-cardhu-a02.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/dts-v1/;

/include/ "tegra30-cardhu.dtsi"

/* This dts file support the cardhu A02 version of board */

/ {
model = "NVIDIA Tegra30 Cardhu A02 evaluation board";
compatible = "nvidia,cardhu-a02", "nvidia,cardhu", "nvidia,tegra30";
};

10 changes: 10 additions & 0 deletions trunk/arch/arm/boot/dts/tegra30-cardhu-a04.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/dts-v1/;

/include/ "tegra30-cardhu.dtsi"

/* This dts file support the cardhu A04 and later versions of board */

/ {
model = "NVIDIA Tegra30 Cardhu A04 (A05, A06, A07) evaluation board";
compatible = "nvidia,cardhu-a04", "nvidia,cardhu", "nvidia,tegra30";
};
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
/dts-v1/;

/include/ "tegra30.dtsi"

/**
* This file contains common DT entry for all fab version of Cardhu.
* There is multiple fab version of Cardhu starting from A01 to A07.
* Cardhu fab version A01 and A03 are not supported. Cardhu fab version
* A02 will have different sets of GPIOs for fixed regulator compare to
* Cardhu fab version A04. The Cardhu fab version A05, A06, A07 are
* compatible with fab version A04. Based on Cardhu fab version, the
* related dts file need to be chosen like for Cardhu fab version A02,
* use tegra30-cardhu-a02.dts, Cardhu fab version A04 and later, use
* tegra30-cardhu-a04.dts.
* The identification of board is done in two ways, by looking the sticker
* on PCB and by reading board id eeprom.
* The stciker will have number like 600-81291-1000-002 C.3. In this 4th
* number is the fab version like here it is 002 and hence fab version A02.
* The (downstream internal) U-Boot of Cardhu display the board-id as
* follows:
* BoardID: 0C5B, SKU: 0A01, Fab: 02, Rev: 45.00
* In this Fab version is 02 i.e. A02.
* The BoardID I2C eeprom is interfaced through i2c5 (pwr_i2c address 0x56).
* The location 0x8 of this eeprom contains the Fab version. It is 1 byte
* wide.
*/

/ {
model = "NVIDIA Tegra30 Cardhu evaluation board";
compatible = "nvidia,cardhu", "nvidia,tegra30";
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/arm/mach-tegra/Makefile.boot
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20-seaboard.dtb
dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20-trimslice.dtb
dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20-ventana.dtb
dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20-whistler.dtb
dtb-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30-cardhu.dtb
dtb-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30-cardhu-a02.dtb
dtb-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30-cardhu-a04.dtb

0 comments on commit cbc4177

Please sign in to comment.