diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-07-26 10:01:32 -0400 |
---|---|---|
committer | Benoit Cousson <b-cousson@ti.com> | 2012-09-07 13:22:47 -0400 |
commit | 3f187f82948c236cfbc7df3783df50eedcf62d03 (patch) | |
tree | fa3e06e4a251112793bfbbd154e1ca1a66da711e /arch/arm/boot | |
parent | 1c1737e5635d902e125394d7f66bccaf0f8c772c (diff) |
ARM: dts: omap2: Add McBSP entries for OMAP2420 and OMAP2430 SoC
The McBSP IP within OMAP2420 and 2430 is different we need to create separate
dtsi files for them.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/omap2420.dtsi | 39 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap2430.dtsi | 83 |
2 files changed, 122 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap2420.dtsi b/arch/arm/boot/dts/omap2420.dtsi new file mode 100644 index 000000000000..6174d3d93b1f --- /dev/null +++ b/arch/arm/boot/dts/omap2420.dtsi | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | * Device Tree Source for OMAP2420 SoC | ||
3 | * | ||
4 | * Copyright (C) 2012 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/ "omap2.dtsi" | ||
12 | |||
13 | / { | ||
14 | compatible = "ti,omap2420", "ti,omap2"; | ||
15 | |||
16 | ocp { | ||
17 | mcbsp1: mcbsp@48074000 { | ||
18 | compatible = "ti,omap2420-mcbsp"; | ||
19 | reg = <0x48074000 0xff>; | ||
20 | reg-names = "mpu"; | ||
21 | interrupts = <59>, /* TX interrupt */ | ||
22 | <60>; /* RX interrupt */ | ||
23 | interrupt-names = "tx", "rx"; | ||
24 | interrupt-parent = <&intc>; | ||
25 | ti,hwmods = "mcbsp1"; | ||
26 | }; | ||
27 | |||
28 | mcbsp2: mcbsp@48076000 { | ||
29 | compatible = "ti,omap2420-mcbsp"; | ||
30 | reg = <0x48076000 0xff>; | ||
31 | reg-names = "mpu"; | ||
32 | interrupts = <62>, /* TX interrupt */ | ||
33 | <63>; /* RX interrupt */ | ||
34 | interrupt-names = "tx", "rx"; | ||
35 | interrupt-parent = <&intc>; | ||
36 | ti,hwmods = "mcbsp2"; | ||
37 | }; | ||
38 | }; | ||
39 | }; | ||
diff --git a/arch/arm/boot/dts/omap2430.dtsi b/arch/arm/boot/dts/omap2430.dtsi new file mode 100644 index 000000000000..59a639a33794 --- /dev/null +++ b/arch/arm/boot/dts/omap2430.dtsi | |||
@@ -0,0 +1,83 @@ | |||
1 | /* | ||
2 | * Device Tree Source for OMAP243x SoC | ||
3 | * | ||
4 | * Copyright (C) 2012 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/ "omap2.dtsi" | ||
12 | |||
13 | / { | ||
14 | compatible = "ti,omap2430", "ti,omap2"; | ||
15 | |||
16 | ocp { | ||
17 | mcbsp1: mcbsp@48074000 { | ||
18 | compatible = "ti,omap2430-mcbsp"; | ||
19 | reg = <0x48074000 0xff>; | ||
20 | reg-names = "mpu"; | ||
21 | interrupts = <64>, /* OCP compliant interrupt */ | ||
22 | <59>, /* TX interrupt */ | ||
23 | <60>, /* RX interrupt */ | ||
24 | <61>; /* RX overflow interrupt */ | ||
25 | interrupt-names = "common", "tx", "rx", "rx_overflow"; | ||
26 | interrupt-parent = <&intc>; | ||
27 | ti,buffer-size = <128>; | ||
28 | ti,hwmods = "mcbsp1"; | ||
29 | }; | ||
30 | |||
31 | mcbsp2: mcbsp@48076000 { | ||
32 | compatible = "ti,omap2430-mcbsp"; | ||
33 | reg = <0x48076000 0xff>; | ||
34 | reg-names = "mpu"; | ||
35 | interrupts = <16>, /* OCP compliant interrupt */ | ||
36 | <62>, /* TX interrupt */ | ||
37 | <63>; /* RX interrupt */ | ||
38 | interrupt-names = "common", "tx", "rx"; | ||
39 | interrupt-parent = <&intc>; | ||
40 | ti,buffer-size = <128>; | ||
41 | ti,hwmods = "mcbsp2"; | ||
42 | }; | ||
43 | |||
44 | mcbsp3: mcbsp@4808c000 { | ||
45 | compatible = "ti,omap2430-mcbsp"; | ||
46 | reg = <0x4808c000 0xff>; | ||
47 | reg-names = "mpu"; | ||
48 | interrupts = <17>, /* OCP compliant interrupt */ | ||
49 | <89>, /* TX interrupt */ | ||
50 | <90>; /* RX interrupt */ | ||
51 | interrupt-names = "common", "tx", "rx"; | ||
52 | interrupt-parent = <&intc>; | ||
53 | ti,buffer-size = <128>; | ||
54 | ti,hwmods = "mcbsp3"; | ||
55 | }; | ||
56 | |||
57 | mcbsp4: mcbsp@4808e000 { | ||
58 | compatible = "ti,omap2430-mcbsp"; | ||
59 | reg = <0x4808e000 0xff>; | ||
60 | reg-names = "mpu"; | ||
61 | interrupts = <18>, /* OCP compliant interrupt */ | ||
62 | <54>, /* TX interrupt */ | ||
63 | <55>; /* RX interrupt */ | ||
64 | interrupt-names = "common", "tx", "rx"; | ||
65 | interrupt-parent = <&intc>; | ||
66 | ti,buffer-size = <128>; | ||
67 | ti,hwmods = "mcbsp4"; | ||
68 | }; | ||
69 | |||
70 | mcbsp5: mcbsp@48096000 { | ||
71 | compatible = "ti,omap2430-mcbsp"; | ||
72 | reg = <0x48096000 0xff>; | ||
73 | reg-names = "mpu"; | ||
74 | interrupts = <19>, /* OCP compliant interrupt */ | ||
75 | <81>, /* TX interrupt */ | ||
76 | <82>; /* RX interrupt */ | ||
77 | interrupt-names = "common", "tx", "rx"; | ||
78 | interrupt-parent = <&intc>; | ||
79 | ti,buffer-size = <128>; | ||
80 | ti,hwmods = "mcbsp5"; | ||
81 | }; | ||
82 | }; | ||
83 | }; | ||