]>
Commit | Line | Data |
---|---|---|
d2a37b3d DGC |
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 | ||
d2a37b3d | 12 | / { |
7f107887 FE |
13 | #address-cells = <1>; |
14 | #size-cells = <1>; | |
a971c554 FE |
15 | /* |
16 | * The decompressor and also some bootloaders rely on a | |
17 | * pre-existing /chosen node to be available to insert the | |
18 | * command line and merge other ATAGS info. | |
19 | * Also for U-Boot there must be a pre-existing /memory node. | |
20 | */ | |
21 | chosen {}; | |
22 | memory { device_type = "memory"; reg = <0 0>; }; | |
7f107887 | 23 | |
d2a37b3d DGC |
24 | aliases { |
25 | serial0 = &uart1; | |
26 | serial1 = &uart2; | |
27 | serial2 = &uart3; | |
28 | serial3 = &uart4; | |
29 | serial4 = &uart5; | |
30 | }; | |
31 | ||
070bd7e4 | 32 | cpus { |
d447dd88 | 33 | #address-cells = <1>; |
070bd7e4 FE |
34 | #size-cells = <0>; |
35 | ||
d447dd88 | 36 | cpu@0 { |
bc6cde35 | 37 | compatible = "arm,arm1136jf-s"; |
070bd7e4 | 38 | device_type = "cpu"; |
d447dd88 | 39 | reg = <0>; |
070bd7e4 FE |
40 | }; |
41 | }; | |
42 | ||
af92305e | 43 | avic: interrupt-controller@68000000 { |
d2a37b3d DGC |
44 | compatible = "fsl,imx31-avic", "fsl,avic"; |
45 | interrupt-controller; | |
46 | #interrupt-cells = <1>; | |
af92305e | 47 | reg = <0x68000000 0x100000>; |
d2a37b3d DGC |
48 | }; |
49 | ||
50 | soc { | |
51 | #address-cells = <1>; | |
52 | #size-cells = <1>; | |
53 | compatible = "simple-bus"; | |
54 | interrupt-parent = <&avic>; | |
55 | ranges; | |
56 | ||
57 | aips@43f00000 { /* AIPS1 */ | |
58 | compatible = "fsl,aips-bus", "simple-bus"; | |
59 | #address-cells = <1>; | |
60 | #size-cells = <1>; | |
61 | reg = <0x43f00000 0x100000>; | |
62 | ranges; | |
63 | ||
64 | uart1: serial@43f90000 { | |
65 | compatible = "fsl,imx31-uart", "fsl,imx21-uart"; | |
66 | reg = <0x43f90000 0x4000>; | |
67 | interrupts = <45>; | |
ef0e4a60 FE |
68 | clocks = <&clks 10>, <&clks 30>; |
69 | clock-names = "ipg", "per"; | |
d2a37b3d DGC |
70 | status = "disabled"; |
71 | }; | |
72 | ||
73 | uart2: serial@43f94000 { | |
74 | compatible = "fsl,imx31-uart", "fsl,imx21-uart"; | |
75 | reg = <0x43f94000 0x4000>; | |
76 | interrupts = <32>; | |
ef0e4a60 FE |
77 | clocks = <&clks 10>, <&clks 31>; |
78 | clock-names = "ipg", "per"; | |
d2a37b3d DGC |
79 | status = "disabled"; |
80 | }; | |
81 | ||
d8c8c70c AK |
82 | kpp: kpp@43fa8000 { |
83 | compatible = "fsl,imx31-kpp", "fsl,imx21-kpp"; | |
84 | reg = <0x43fa8000 0x4000>; | |
85 | interrupts = <24>; | |
86 | clocks = <&clks 46>; | |
87 | status = "disabled"; | |
88 | }; | |
89 | ||
d2a37b3d DGC |
90 | uart4: serial@43fb0000 { |
91 | compatible = "fsl,imx31-uart", "fsl,imx21-uart"; | |
92 | reg = <0x43fb0000 0x4000>; | |
ef0e4a60 FE |
93 | clocks = <&clks 10>, <&clks 49>; |
94 | clock-names = "ipg", "per"; | |
d2a37b3d DGC |
95 | interrupts = <46>; |
96 | status = "disabled"; | |
97 | }; | |
98 | ||
99 | uart5: serial@43fb4000 { | |
100 | compatible = "fsl,imx31-uart", "fsl,imx21-uart"; | |
101 | reg = <0x43fb4000 0x4000>; | |
102 | interrupts = <47>; | |
ef0e4a60 FE |
103 | clocks = <&clks 10>, <&clks 50>; |
104 | clock-names = "ipg", "per"; | |
d2a37b3d DGC |
105 | status = "disabled"; |
106 | }; | |
107 | }; | |
108 | ||
109 | spba@50000000 { | |
110 | compatible = "fsl,spba-bus", "simple-bus"; | |
111 | #address-cells = <1>; | |
112 | #size-cells = <1>; | |
113 | reg = <0x50000000 0x100000>; | |
114 | ranges; | |
115 | ||
116 | uart3: serial@5000c000 { | |
117 | compatible = "fsl,imx31-uart", "fsl,imx21-uart"; | |
118 | reg = <0x5000c000 0x4000>; | |
119 | interrupts = <18>; | |
ef0e4a60 FE |
120 | clocks = <&clks 10>, <&clks 48>; |
121 | clock-names = "ipg", "per"; | |
d2a37b3d DGC |
122 | status = "disabled"; |
123 | }; | |
ef0e4a60 | 124 | |
9c5d5909 SH |
125 | iim: iim@5001c000 { |
126 | compatible = "fsl,imx31-iim", "fsl,imx27-iim"; | |
127 | reg = <0x5001c000 0x1000>; | |
128 | interrupts = <19>; | |
129 | clocks = <&clks 25>; | |
130 | }; | |
d2a37b3d | 131 | }; |
a44eed9a SH |
132 | |
133 | aips@53f00000 { /* AIPS2 */ | |
134 | compatible = "fsl,aips-bus", "simple-bus"; | |
135 | #address-cells = <1>; | |
136 | #size-cells = <1>; | |
137 | reg = <0x53f00000 0x100000>; | |
138 | ranges; | |
139 | ||
1f87aee6 VZ |
140 | clks: ccm@53f80000{ |
141 | compatible = "fsl,imx31-ccm"; | |
142 | reg = <0x53f80000 0x4000>; | |
143 | interrupts = <31>, <53>; | |
144 | #clock-cells = <1>; | |
145 | }; | |
146 | ||
a44eed9a SH |
147 | gpt: timer@53f90000 { |
148 | compatible = "fsl,imx31-gpt"; | |
149 | reg = <0x53f90000 0x4000>; | |
150 | interrupts = <29>; | |
151 | clocks = <&clks 10>, <&clks 22>; | |
152 | clock-names = "ipg", "per"; | |
153 | }; | |
154 | }; | |
d2a37b3d DGC |
155 | }; |
156 | }; |