Skip to contentSkip to conversation

ARM: DT: tegra: Add board level compatible properties

PATCH New Bryan Wu 2 participants 7 messages Jan 2, 2013 – Jan 3, 2013

Subsystems (3)
lore
Share & tools
lore

Bryan Wu

author
#0 lore raw

PATCH 1/2 ARM: DT: tegra: Add board level compatible properties

The compatible properties of Tegra SoC based boards or machines need to be documented. This patch adds these board levle compatible properties into device tree binding document.

---
 Documentation/devicetree/bindings/arm/tegra.txt |   29 ++++++++++++++++++-----
 1 file changed, 23 insertions(+), 6 deletions(-)
Documentation/devicetree/bindings/arm/tegra.txt +23 -6
index 6e69d2e..665c54d 100644
@@ -1,14 +1,31 @@
 NVIDIA Tegra device tree bindings
 -------------------------------------------
 
-Boards with the tegra20 SoC shall have the following properties:
+SoCs
+-------------------------------------------
 
-Required root node property:
+Each device tree must specify which Tegra SoC it uses, using one of the
+following compatible values:
 
-compatible = "nvidia,tegra20";
+  nvidia,tegra20
+  nvidia,tegra30
 
-Boards with the tegra30 SoC shall have the following properties:
+Boards
+-------------------------------------------
 
-Required root node property:
+Each device tree must specify which one or more of the following
+board-specific compatible values:
 
-compatible = "nvidia,tegra30";
+  ad,medcom-wide
+  ad,plutux
+  ad,tamonten
+  ad,tec
+  compal,paz00
+  compulab,trimslice
+  nvidia,cardhu
+  nvidia,cardhu-a02
+  nvidia,cardhu-a04
+  nvidia,harmony
+  nvidia,seaboard
+  nvidia,ventana
+  nvidia,whistler
Signature · 1 line
1.7.10.4
author
#1 lore raw

PATCH 2/2 ARM: DT: tegra: Add Tegra30 Beaver board support

This patch adds support for Tegra30 Beaver board in upstream kernel.

Beaver board is a Tegra30 SoC based development board, it has following features:
- T30 or T33 SoC (Qual core ARM Cortex A9)
- 2 GB DDR3L
- 16 GB EMMC
- 1 SD slot
- 1 USB Standart A port and 1 USB micro AB port
- PCI-E Gig Ethernet
- Audio input/output
- SATA port
- HDMI output
- UART and JTAG

---
 Documentation/devicetree/bindings/arm/tegra.txt |    1 +
 arch/arm/boot/dts/Makefile                      |    3 +-
 arch/arm/boot/dts/tegra30-beaver.dts            |  374 +++++++++++++++++++++++
 3 files changed, 377 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/tegra30-beaver.dts
Documentation/devicetree/bindings/arm/tegra.txt +1 -0
index 665c54d..a5d3353 100644
@@ -22,6 +22,7 @@ board-specific compatible values:
   ad,tec
   compal,paz00
   compulab,trimslice
+  nvidia,beaver
   nvidia,cardhu
   nvidia,cardhu-a02
   nvidia,cardhu-a04
arch/arm/boot/dts/Makefile +2 -1
index e44da40..5c13de2 100644
@@ -143,7 +143,8 @@ dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \
 	tegra20-ventana.dtb \
 	tegra20-whistler.dtb \
 	tegra30-cardhu-a02.dtb \
-	tegra30-cardhu-a04.dtb
+	tegra30-cardhu-a04.dtb \
+	tegra30-beaver.dtb
 dtb-$(CONFIG_ARCH_VEXPRESS) += vexpress-v2p-ca5s.dtb \
 	vexpress-v2p-ca9.dtb \
 	vexpress-v2p-ca15-tc1.dtb \
arch/arm/boot/dts/tegra30-beaver.dts new file +374 -0

374 lines not on this page · raw message

Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 1/2 ARM: DT: tegra: Add board level compatible properties

In reply to Bryan Wu
Quoted 3 lines · Bryan Wu

The compatible properties of Tegra SoC based boards or machines need to be documented. This patch adds these board levle compatible properties into device tree binding document.

This series looks reasonable now. I'll apply it tomorrow.

It should be easy enough to add HDMI support; the driver is there.

Do you have any idea when SATA support could be added?

author
#3 lore raw

PATCH 1/2 ARM: DT: tegra: Add board level compatible properties

Quoted 3 lines · Stephen Warren
Quoted 2 lines · Bryan Wu

The compatible properties of Tegra SoC based boards or machines need to be documented. This patch adds these board levle compatible

My bad, Stephen could you please help me to fix this typo when you merging this patch
'levle' -> 'level'

Quoted 4 lines
Quoted 1 line

properties into device tree binding document.

This series looks reasonable now. I'll apply it tomorrow.

It should be easy enough to add HDMI support; the driver is there.

OK, cool. I will take a look at this as long as driver is ready

Quoted 1 line

Do you have any idea when SATA support could be added?

Oh, do you have SATA driver merged into upstream yet?

Thanks,
-Bryan

#4 lore raw

PATCH 1/2 ARM: DT: tegra: Add board level compatible properties

Quoted 8 lines · Peng Wu
Quoted 3 lines · Stephen Warren
Quoted 2 lines · Bryan Wu

The compatible properties of Tegra SoC based boards or machines need to be documented. This patch adds these board levle compatible

My bad, Stephen could you please help me to fix this typo when you merging this patch
'levle' -> 'level'

Sure, I'll patch that up when applying.

Quoted 3 lines
Quoted 1 line

Do you have any idea when SATA support could be added?

Oh, do you have SATA driver merged into upstream yet?

The driver isn't there yet, but it'd be great to add it.

author
#5 lore raw

PATCH 1/2 ARM: DT: tegra: Add board level compatible properties

Quoted 3 lines · Stephen Warren
Quoted 2 lines
Quoted 1 line

Do you have any idea when SATA support could be added?

Oh, do you have SATA driver merged into upstream yet?

The driver isn't there yet, but it'd be great to add it.

SATA looks like share some code like clock with PCI-E, I think we are working on upstream PCI-E driver. Anyway, I will look at this.

Thanks,
-Bryan

#6 lore raw

PATCH 1/2 ARM: DT: tegra: Add board level compatible properties

In reply to Bryan Wu
Quoted 3 lines · Bryan Wu

The compatible properties of Tegra SoC based boards or machines need to be documented. This patch adds these board levle compatible properties into device tree binding document.

The series, applied to Tegra's for-3.9/dt branch.