Skip to contentSkip to conversation

ARM: DT: tegra: Add board leaver compatible properties

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

Subsystems (3)
lore
Share & tools
lore

Bryan Wu

author
#0 lore raw

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

---
 Documentation/devicetree/bindings/arm/tegra.txt |   51 ++++++++++++++++++++---
 1 file changed, 45 insertions(+), 6 deletions(-)
Documentation/devicetree/bindings/arm/tegra.txt +45 -6
index 6e69d2e..ff9199a 100644
@@ -1,14 +1,53 @@
 NVIDIA Tegra device tree bindings
 -------------------------------------------
 
-Boards with the tegra20 SoC shall have the following properties:
+- Boards with the tegra20 SoC shall have the following properties:
+  Required root node property:
+  compatible = "nvidia,tegra20";
 
-Required root node property:
+- Boards with the tegra30 SoC shall have the following properties:
+  Required root node property:
+  compatible = "nvidia,tegra30";
 
-compatible = "nvidia,tegra20";
+Boards
+-------------------------------------------
+
+- NVIDIA Tegra20 Harmony evaluation board:
+  compatible = "nvidia,harmony", "nvidia,tegra20";
+
+- Avionic Design Medcom-Wide board:
+  compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20";
+
+- Toshiba AC100 / Dynabook AZ;
+  compatible = "compal,paz00", "nvidia,tegra20";
+
+- Avionic Design Plutux board:
+  compatible = "ad,plutux", "ad,tamonten", "nvidia,tegra20";
+
+- NVIDIA Seaboard:
+  compatible = "nvidia,seaboard", "nvidia,tegra20";
+
+- Avionic Design Tamonten SOM:
+  compatible = "ad,tamonten", "nvidia,tegra20";
+
+- Avionic Design Tamonten Evaluation Carrier:
+  compatible = "ad,tec", "ad,tamonten", "nvidia,tegra20";
+
+- Compulab TrimSlice board:
+  compatible = "compulab,trimslice", "nvidia,tegra20";
+
+- NVIDIA Tegra20 Ventana evaluation board:
+  compatible = "nvidia,ventana", "nvidia,tegra20";
+
+- NVIDIA Tegra20 Whistler evaluation board:
+  compatible = "nvidia,whistler", "nvidia,tegra20";
+
+- NVIDIA Tegra30 Cardhu evaluation board:
+  compatible = "nvidia,cardhu", "nvidia,tegra30";
 
-Boards with the tegra30 SoC shall have the following properties:
+- NVIDIA Tegra30 Cardhu A02 evaluation board:
+  compatible = "nvidia,cardhu-a02", "nvidia,cardhu", "nvidia,tegra30";
 
-Required root node property:
+- NVIDIA Tegra30 Cardhu A04 (A05, A06, A07) evaluation board:
+  compatible = "nvidia,cardhu-a04", "nvidia,cardhu", "nvidia,tegra30";
 
-compatible = "nvidia,tegra30";
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 |    2 +
 arch/arm/boot/dts/Makefile                      |    3 +-
 arch/arm/boot/dts/tegra30-beaver.dts            |  374 +++++++++++++++++++++++
 3 files changed, 378 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/tegra30-beaver.dts
Documentation/devicetree/bindings/arm/tegra.txt +2 -0
index ff9199a..d733d53 100644
@@ -51,3 +51,5 @@ Boards
 - NVIDIA Tegra30 Cardhu A04 (A05, A06, A07) evaluation board:
   compatible = "nvidia,cardhu-a04", "nvidia,cardhu", "nvidia,tegra30";
 
+- NVIDIA Tegra30 Beaver evaluation board:
+  compatible = "nvidia,beaver", "nvidia,tegra30";
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 leaver compatible properties

In reply to Bryan Wu

On 01/02/2013 03:50 PM, Bryan Wu wrote:

A patch description would be useful.

Documentation/devicetree/bindings/arm/tegra.txt line 6

Quoted 6 lines
Documentation/devicetree/bindings/arm/tegra.txt +3 -1
 
-Boards with the tegra20 SoC shall have the following properties:
+- Boards with the tegra20 SoC shall have the following properties:
+  Required root node property:
+  compatible = "nvidia,tegra20";

Since you're changing that, Tegra should be capitalized in free-form text.

Documentation/devicetree/bindings/arm/tegra.txt line 19

Quoted 8 lines
Documentation/devicetree/bindings/arm/tegra.txt +8 -0
+Boards
+-------------------------------------------
+
+- NVIDIA Tegra20 Harmony evaluation board:
+  compatible = "nvidia,harmony", "nvidia,tegra20";
+
+- Avionic Design Medcom-Wide board:
+  compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20";

This seems a little long-winded. Perhaps just say:

SoCs
-------------------------------------------

Each device tree must specify which Tegra SoC it uses, using one of the following compatible values:

nvidia,tegra20
nvidia,tegra30

Boards
-------------------------------------------

Each device tree must specify which one or more of the following board-specific compatible values:

ad,plutux
compal,paz00
nvidia,harmony
...

(and keep the list alphabetically sorted)