diff options
author | Sekhar Nori <nsekhar@ti.com> | 2012-08-29 13:55:27 -0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2012-10-29 06:13:13 -0400 |
commit | 27e6e0d3dafa5b487dc28b219753443db300f289 (patch) | |
tree | b40286356a31bcbc4916acf529cd8161dbadd9d7 | |
parent | 33085b3e819c440f8ddbbc77142134c7ce7dffd1 (diff) |
ARM: davinci: da850 evm: add DT data
Add device tree data for DA850 EVM. At this time, only
information on serial ports is added.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r-- | Documentation/devicetree/bindings/arm/davinci.txt | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/da850-evm.dts | 28 | ||||
-rw-r--r-- | arch/arm/mach-davinci/da8xx-dt.c | 1 |
3 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/davinci.txt b/Documentation/devicetree/bindings/arm/davinci.txt index aa4e7a156dd2..2dda756414cc 100644 --- a/Documentation/devicetree/bindings/arm/davinci.txt +++ b/Documentation/devicetree/bindings/arm/davinci.txt | |||
@@ -1,6 +1,10 @@ | |||
1 | Texas Instruments DaVinci Platforms Device Tree Bindings | 1 | Texas Instruments DaVinci Platforms Device Tree Bindings |
2 | -------------------------------------------------------- | 2 | -------------------------------------------------------- |
3 | 3 | ||
4 | DA850/OMAP-L138/AM18x Evaluation Module (EVM) board | ||
5 | Required root node properties: | ||
6 | - compatible = "ti,da850-evm", "ti,da850"; | ||
7 | |||
4 | Generic DaVinci Boards | 8 | Generic DaVinci Boards |
5 | ---------------------- | 9 | ---------------------- |
6 | 10 | ||
diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts new file mode 100644 index 000000000000..37dc5a3243b8 --- /dev/null +++ b/arch/arm/boot/dts/da850-evm.dts | |||
@@ -0,0 +1,28 @@ | |||
1 | /* | ||
2 | * Device Tree for DA850 EVM board | ||
3 | * | ||
4 | * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License as published by the | ||
8 | * Free Software Foundation, version 2. | ||
9 | */ | ||
10 | /dts-v1/; | ||
11 | /include/ "da850.dtsi" | ||
12 | |||
13 | / { | ||
14 | compatible = "ti,da850-evm", "ti,da850"; | ||
15 | model = "DA850/AM1808/OMAP-L138 EVM"; | ||
16 | |||
17 | soc { | ||
18 | serial0: serial@1c42000 { | ||
19 | status = "okay"; | ||
20 | }; | ||
21 | serial1: serial@1d0c000 { | ||
22 | status = "okay"; | ||
23 | }; | ||
24 | serial2: serial@1d0d000 { | ||
25 | status = "okay"; | ||
26 | }; | ||
27 | }; | ||
28 | }; | ||
diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c index df393d9b1517..94b09fd4cca4 100644 --- a/arch/arm/mach-davinci/da8xx-dt.c +++ b/arch/arm/mach-davinci/da8xx-dt.c | |||
@@ -47,6 +47,7 @@ static void __init da850_init_machine(void) | |||
47 | } | 47 | } |
48 | 48 | ||
49 | static const char *da850_boards_compat[] __initdata = { | 49 | static const char *da850_boards_compat[] __initdata = { |
50 | "ti,da850-evm", | ||
50 | "ti,da850", | 51 | "ti,da850", |
51 | NULL, | 52 | NULL, |
52 | }; | 53 | }; |