diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2012-07-09 15:39:12 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-07-10 13:23:03 -0400 |
commit | d2a37b3d91f46da25e7ff34f582e914a4cc0bfee (patch) | |
tree | b26ef7571c8c56df62f3cf25931063d7e8af6b8c /arch/arm/boot/dts/imx31.dtsi | |
parent | 5349f2a89e6a31c8d39c4ec2618b9dd6e421c415 (diff) |
ARM i.MX31: Add devicetree support
This patch adds basic devicetree support for i.MX31 based SoCs.
Only the UART and interrupts bindings are added.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boot/dts/imx31.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx31.dtsi | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx31.dtsi b/arch/arm/boot/dts/imx31.dtsi new file mode 100644 index 000000000000..eef7099f3e3c --- /dev/null +++ b/arch/arm/boot/dts/imx31.dtsi | |||
@@ -0,0 +1,88 @@ | |||
1 | /* | ||
2 | * Copyright 2012 Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | ||
3 | * | ||
4 | * The code contained herein is licensed under the GNU General Public | ||
5 | * License. You may obtain a copy of the GNU General Public License | ||
6 | * Version 2 or later at the following locations: | ||
7 | * | ||
8 | * http://www.opensource.org/licenses/gpl-license.html | ||
9 | * http://www.gnu.org/copyleft/gpl.html | ||
10 | */ | ||
11 | |||
12 | /include/ "skeleton.dtsi" | ||
13 | |||
14 | / { | ||
15 | aliases { | ||
16 | serial0 = &uart1; | ||
17 | serial1 = &uart2; | ||
18 | serial2 = &uart3; | ||
19 | serial3 = &uart4; | ||
20 | serial4 = &uart5; | ||
21 | }; | ||
22 | |||
23 | avic: avic-interrupt-controller@60000000 { | ||
24 | compatible = "fsl,imx31-avic", "fsl,avic"; | ||
25 | interrupt-controller; | ||
26 | #interrupt-cells = <1>; | ||
27 | reg = <0x60000000 0x100000>; | ||
28 | }; | ||
29 | |||
30 | soc { | ||
31 | #address-cells = <1>; | ||
32 | #size-cells = <1>; | ||
33 | compatible = "simple-bus"; | ||
34 | interrupt-parent = <&avic>; | ||
35 | ranges; | ||
36 | |||
37 | aips@43f00000 { /* AIPS1 */ | ||
38 | compatible = "fsl,aips-bus", "simple-bus"; | ||
39 | #address-cells = <1>; | ||
40 | #size-cells = <1>; | ||
41 | reg = <0x43f00000 0x100000>; | ||
42 | ranges; | ||
43 | |||
44 | uart1: serial@43f90000 { | ||
45 | compatible = "fsl,imx31-uart", "fsl,imx21-uart"; | ||
46 | reg = <0x43f90000 0x4000>; | ||
47 | interrupts = <45>; | ||
48 | status = "disabled"; | ||
49 | }; | ||
50 | |||
51 | uart2: serial@43f94000 { | ||
52 | compatible = "fsl,imx31-uart", "fsl,imx21-uart"; | ||
53 | reg = <0x43f94000 0x4000>; | ||
54 | interrupts = <32>; | ||
55 | status = "disabled"; | ||
56 | }; | ||
57 | |||
58 | uart4: serial@43fb0000 { | ||
59 | compatible = "fsl,imx31-uart", "fsl,imx21-uart"; | ||
60 | reg = <0x43fb0000 0x4000>; | ||
61 | interrupts = <46>; | ||
62 | status = "disabled"; | ||
63 | }; | ||
64 | |||
65 | uart5: serial@43fb4000 { | ||
66 | compatible = "fsl,imx31-uart", "fsl,imx21-uart"; | ||
67 | reg = <0x43fb4000 0x4000>; | ||
68 | interrupts = <47>; | ||
69 | status = "disabled"; | ||
70 | }; | ||
71 | }; | ||
72 | |||
73 | spba@50000000 { | ||
74 | compatible = "fsl,spba-bus", "simple-bus"; | ||
75 | #address-cells = <1>; | ||
76 | #size-cells = <1>; | ||
77 | reg = <0x50000000 0x100000>; | ||
78 | ranges; | ||
79 | |||
80 | uart3: serial@5000c000 { | ||
81 | compatible = "fsl,imx31-uart", "fsl,imx21-uart"; | ||
82 | reg = <0x5000c000 0x4000>; | ||
83 | interrupts = <18>; | ||
84 | status = "disabled"; | ||
85 | }; | ||
86 | }; | ||
87 | }; | ||
88 | }; | ||