diff options
author | Tony Lindgren <tony@atomide.com> | 2011-12-16 17:13:09 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-12-16 17:15:16 -0500 |
commit | f20b933d2a51ffce8af1c8b77b925ce07245a575 (patch) | |
tree | 38a287a43107f39ce75b061d91befa044ad72593 /arch/arm/boot | |
parent | d92b0dfc5078aeec869d58372dbda5e16739b8de (diff) |
arm/dts: Add minimal device tree support for omap2420 and omap2430
Add minimal device tree support for omap2420 and omap2430.
This is needed to keep the uart functional on omap2 after
omap_serial_init is removed from board-generic.c.
Reviewed-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/omap2.dtsi | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap2.dtsi b/arch/arm/boot/dts/omap2.dtsi new file mode 100644 index 000000000000..f2ab4ea7cc0e --- /dev/null +++ b/arch/arm/boot/dts/omap2.dtsi | |||
@@ -0,0 +1,67 @@ | |||
1 | /* | ||
2 | * Device Tree Source for OMAP2 SoC | ||
3 | * | ||
4 | * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ | ||
5 | * | ||
6 | * This file is licensed under the terms of the GNU General Public License | ||
7 | * version 2. This program is licensed "as is" without any warranty of any | ||
8 | * kind, whether express or implied. | ||
9 | */ | ||
10 | |||
11 | /include/ "skeleton.dtsi" | ||
12 | |||
13 | / { | ||
14 | compatible = "ti,omap2430", "ti,omap2420", "ti,omap2"; | ||
15 | |||
16 | aliases { | ||
17 | serial0 = &uart1; | ||
18 | serial1 = &uart2; | ||
19 | serial2 = &uart3; | ||
20 | }; | ||
21 | |||
22 | cpus { | ||
23 | cpu@0 { | ||
24 | compatible = "arm,arm1136jf-s"; | ||
25 | }; | ||
26 | }; | ||
27 | |||
28 | soc { | ||
29 | compatible = "ti,omap-infra"; | ||
30 | mpu { | ||
31 | compatible = "ti,omap2-mpu"; | ||
32 | ti,hwmods = "mpu"; | ||
33 | }; | ||
34 | }; | ||
35 | |||
36 | ocp { | ||
37 | compatible = "simple-bus"; | ||
38 | #address-cells = <1>; | ||
39 | #size-cells = <1>; | ||
40 | ranges; | ||
41 | ti,hwmods = "l3_main"; | ||
42 | |||
43 | intc: interrupt-controller@1 { | ||
44 | compatible = "ti,omap2-intc"; | ||
45 | interrupt-controller; | ||
46 | #interrupt-cells = <1>; | ||
47 | }; | ||
48 | |||
49 | uart1: serial@4806a000 { | ||
50 | compatible = "ti,omap2-uart"; | ||
51 | ti,hwmods = "uart1"; | ||
52 | clock-frequency = <48000000>; | ||
53 | }; | ||
54 | |||
55 | uart2: serial@4806c000 { | ||
56 | compatible = "ti,omap2-uart"; | ||
57 | ti,hwmods = "uart2"; | ||
58 | clock-frequency = <48000000>; | ||
59 | }; | ||
60 | |||
61 | uart3: serial@4806e000 { | ||
62 | compatible = "ti,omap2-uart"; | ||
63 | ti,hwmods = "uart3"; | ||
64 | clock-frequency = <48000000>; | ||
65 | }; | ||
66 | }; | ||
67 | }; | ||