Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Sascha Hauer, Pengutronix |
| 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 | |
Shawn Guo | 36dffd8 | 2013-04-07 10:49:34 +0800 | [diff] [blame] | 12 | #include "skeleton.dtsi" |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | aliases { |
| 16 | serial0 = &uart1; |
| 17 | serial1 = &uart2; |
| 18 | serial2 = &uart3; |
| 19 | serial3 = &uart4; |
| 20 | serial4 = &uart5; |
| 21 | serial5 = &uart6; |
Shawn Guo | 5230f8f | 2012-08-05 14:01:28 +0800 | [diff] [blame] | 22 | gpio0 = &gpio1; |
| 23 | gpio1 = &gpio2; |
| 24 | gpio2 = &gpio3; |
| 25 | gpio3 = &gpio4; |
| 26 | gpio4 = &gpio5; |
| 27 | gpio5 = &gpio6; |
Alexander Shiyan | a5a641a | 2013-05-01 14:46:57 +0400 | [diff] [blame^] | 28 | spi0 = &cspi1; |
| 29 | spi1 = &cspi2; |
| 30 | spi2 = &cspi3; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 31 | }; |
| 32 | |
| 33 | avic: avic-interrupt-controller@e0000000 { |
| 34 | compatible = "fsl,imx27-avic", "fsl,avic"; |
| 35 | interrupt-controller; |
| 36 | #interrupt-cells = <1>; |
| 37 | reg = <0x10040000 0x1000>; |
| 38 | }; |
| 39 | |
| 40 | clocks { |
| 41 | #address-cells = <1>; |
| 42 | #size-cells = <0>; |
| 43 | |
| 44 | osc26m { |
| 45 | compatible = "fsl,imx-osc26m", "fixed-clock"; |
| 46 | clock-frequency = <26000000>; |
| 47 | }; |
| 48 | }; |
| 49 | |
| 50 | soc { |
| 51 | #address-cells = <1>; |
| 52 | #size-cells = <1>; |
| 53 | compatible = "simple-bus"; |
| 54 | interrupt-parent = <&avic>; |
| 55 | ranges; |
| 56 | |
| 57 | aipi@10000000 { /* AIPI1 */ |
| 58 | compatible = "fsl,aipi-bus", "simple-bus"; |
| 59 | #address-cells = <1>; |
| 60 | #size-cells = <1>; |
Fabio Estevam | 3e24b05 | 2012-11-21 17:19:38 -0200 | [diff] [blame] | 61 | reg = <0x10000000 0x20000>; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 62 | ranges; |
| 63 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 64 | wdog: wdog@10002000 { |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 65 | compatible = "fsl,imx27-wdt", "fsl,imx21-wdt"; |
Sascha Hauer | ca26d04 | 2013-03-14 13:08:57 +0100 | [diff] [blame] | 66 | reg = <0x10002000 0x1000>; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 67 | interrupts = <27>; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 68 | clocks = <&clks 0>; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 69 | }; |
| 70 | |
Sascha Hauer | ca26d04 | 2013-03-14 13:08:57 +0100 | [diff] [blame] | 71 | gpt1: timer@10003000 { |
| 72 | compatible = "fsl,imx27-gpt", "fsl,imx1-gpt"; |
| 73 | reg = <0x10003000 0x1000>; |
| 74 | interrupts = <26>; |
Sascha Hauer | b700c11 | 2013-03-14 13:09:02 +0100 | [diff] [blame] | 75 | clocks = <&clks 46>, <&clks 61>; |
| 76 | clock-names = "ipg", "per"; |
Sascha Hauer | ca26d04 | 2013-03-14 13:08:57 +0100 | [diff] [blame] | 77 | }; |
| 78 | |
| 79 | gpt2: timer@10004000 { |
| 80 | compatible = "fsl,imx27-gpt", "fsl,imx1-gpt"; |
| 81 | reg = <0x10004000 0x1000>; |
| 82 | interrupts = <25>; |
Sascha Hauer | b700c11 | 2013-03-14 13:09:02 +0100 | [diff] [blame] | 83 | clocks = <&clks 45>, <&clks 61>; |
| 84 | clock-names = "ipg", "per"; |
Sascha Hauer | ca26d04 | 2013-03-14 13:08:57 +0100 | [diff] [blame] | 85 | }; |
| 86 | |
| 87 | gpt3: timer@10005000 { |
| 88 | compatible = "fsl,imx27-gpt", "fsl,imx1-gpt"; |
| 89 | reg = <0x10005000 0x1000>; |
| 90 | interrupts = <24>; |
Sascha Hauer | b700c11 | 2013-03-14 13:09:02 +0100 | [diff] [blame] | 91 | clocks = <&clks 44>, <&clks 61>; |
| 92 | clock-names = "ipg", "per"; |
Sascha Hauer | ca26d04 | 2013-03-14 13:08:57 +0100 | [diff] [blame] | 93 | }; |
| 94 | |
Gwenhael Goavec-Merou | 08f4881a | 2013-04-14 09:44:25 +0200 | [diff] [blame] | 95 | pwm0: pwm@10006000 { |
| 96 | compatible = "fsl,imx27-pwm"; |
| 97 | reg = <0x10006000 0x1000>; |
| 98 | interrupts = <23>; |
| 99 | clocks = <&clks 34>, <&clks 61>; |
| 100 | clock-names = "ipg", "per"; |
| 101 | }; |
| 102 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 103 | uart1: serial@1000a000 { |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 104 | compatible = "fsl,imx27-uart", "fsl,imx21-uart"; |
| 105 | reg = <0x1000a000 0x1000>; |
| 106 | interrupts = <20>; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 107 | clocks = <&clks 81>, <&clks 61>; |
| 108 | clock-names = "ipg", "per"; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 109 | status = "disabled"; |
| 110 | }; |
| 111 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 112 | uart2: serial@1000b000 { |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 113 | compatible = "fsl,imx27-uart", "fsl,imx21-uart"; |
| 114 | reg = <0x1000b000 0x1000>; |
| 115 | interrupts = <19>; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 116 | clocks = <&clks 80>, <&clks 61>; |
| 117 | clock-names = "ipg", "per"; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 118 | status = "disabled"; |
| 119 | }; |
| 120 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 121 | uart3: serial@1000c000 { |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 122 | compatible = "fsl,imx27-uart", "fsl,imx21-uart"; |
| 123 | reg = <0x1000c000 0x1000>; |
| 124 | interrupts = <18>; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 125 | clocks = <&clks 79>, <&clks 61>; |
| 126 | clock-names = "ipg", "per"; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 127 | status = "disabled"; |
| 128 | }; |
| 129 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 130 | uart4: serial@1000d000 { |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 131 | compatible = "fsl,imx27-uart", "fsl,imx21-uart"; |
| 132 | reg = <0x1000d000 0x1000>; |
| 133 | interrupts = <17>; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 134 | clocks = <&clks 78>, <&clks 61>; |
| 135 | clock-names = "ipg", "per"; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 136 | status = "disabled"; |
| 137 | }; |
| 138 | |
| 139 | cspi1: cspi@1000e000 { |
| 140 | #address-cells = <1>; |
| 141 | #size-cells = <0>; |
| 142 | compatible = "fsl,imx27-cspi"; |
| 143 | reg = <0x1000e000 0x1000>; |
| 144 | interrupts = <16>; |
Jonas Andersson | 37523dc | 2013-05-23 13:38:05 +0200 | [diff] [blame] | 145 | clocks = <&clks 53>, <&clks 53>; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 146 | clock-names = "ipg", "per"; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 147 | status = "disabled"; |
| 148 | }; |
| 149 | |
| 150 | cspi2: cspi@1000f000 { |
| 151 | #address-cells = <1>; |
| 152 | #size-cells = <0>; |
| 153 | compatible = "fsl,imx27-cspi"; |
| 154 | reg = <0x1000f000 0x1000>; |
| 155 | interrupts = <15>; |
Jonas Andersson | 37523dc | 2013-05-23 13:38:05 +0200 | [diff] [blame] | 156 | clocks = <&clks 52>, <&clks 52>; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 157 | clock-names = "ipg", "per"; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 158 | status = "disabled"; |
| 159 | }; |
| 160 | |
| 161 | i2c1: i2c@10012000 { |
| 162 | #address-cells = <1>; |
| 163 | #size-cells = <0>; |
Shawn Guo | 5bdfba2 | 2012-09-14 15:19:00 +0800 | [diff] [blame] | 164 | compatible = "fsl,imx27-i2c", "fsl,imx21-i2c"; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 165 | reg = <0x10012000 0x1000>; |
| 166 | interrupts = <12>; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 167 | clocks = <&clks 40>; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 168 | status = "disabled"; |
| 169 | }; |
| 170 | |
| 171 | gpio1: gpio@10015000 { |
| 172 | compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; |
| 173 | reg = <0x10015000 0x100>; |
| 174 | interrupts = <8>; |
| 175 | gpio-controller; |
| 176 | #gpio-cells = <2>; |
| 177 | interrupt-controller; |
Shawn Guo | 88cde8b | 2012-07-06 20:03:37 +0800 | [diff] [blame] | 178 | #interrupt-cells = <2>; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 179 | }; |
| 180 | |
| 181 | gpio2: gpio@10015100 { |
| 182 | compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; |
| 183 | reg = <0x10015100 0x100>; |
| 184 | interrupts = <8>; |
| 185 | gpio-controller; |
| 186 | #gpio-cells = <2>; |
| 187 | interrupt-controller; |
Shawn Guo | 88cde8b | 2012-07-06 20:03:37 +0800 | [diff] [blame] | 188 | #interrupt-cells = <2>; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 189 | }; |
| 190 | |
| 191 | gpio3: gpio@10015200 { |
| 192 | compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; |
| 193 | reg = <0x10015200 0x100>; |
| 194 | interrupts = <8>; |
| 195 | gpio-controller; |
| 196 | #gpio-cells = <2>; |
| 197 | interrupt-controller; |
Shawn Guo | 88cde8b | 2012-07-06 20:03:37 +0800 | [diff] [blame] | 198 | #interrupt-cells = <2>; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 199 | }; |
| 200 | |
| 201 | gpio4: gpio@10015300 { |
| 202 | compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; |
| 203 | reg = <0x10015300 0x100>; |
| 204 | interrupts = <8>; |
| 205 | gpio-controller; |
| 206 | #gpio-cells = <2>; |
| 207 | interrupt-controller; |
Shawn Guo | 88cde8b | 2012-07-06 20:03:37 +0800 | [diff] [blame] | 208 | #interrupt-cells = <2>; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 209 | }; |
| 210 | |
| 211 | gpio5: gpio@10015400 { |
| 212 | compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; |
| 213 | reg = <0x10015400 0x100>; |
| 214 | interrupts = <8>; |
| 215 | gpio-controller; |
| 216 | #gpio-cells = <2>; |
| 217 | interrupt-controller; |
Shawn Guo | 88cde8b | 2012-07-06 20:03:37 +0800 | [diff] [blame] | 218 | #interrupt-cells = <2>; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 219 | }; |
| 220 | |
| 221 | gpio6: gpio@10015500 { |
| 222 | compatible = "fsl,imx27-gpio", "fsl,imx21-gpio"; |
| 223 | reg = <0x10015500 0x100>; |
| 224 | interrupts = <8>; |
| 225 | gpio-controller; |
| 226 | #gpio-cells = <2>; |
| 227 | interrupt-controller; |
Shawn Guo | 88cde8b | 2012-07-06 20:03:37 +0800 | [diff] [blame] | 228 | #interrupt-cells = <2>; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 229 | }; |
| 230 | |
| 231 | cspi3: cspi@10017000 { |
| 232 | #address-cells = <1>; |
| 233 | #size-cells = <0>; |
| 234 | compatible = "fsl,imx27-cspi"; |
| 235 | reg = <0x10017000 0x1000>; |
| 236 | interrupts = <6>; |
Jonas Andersson | 37523dc | 2013-05-23 13:38:05 +0200 | [diff] [blame] | 237 | clocks = <&clks 51>, <&clks 51>; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 238 | clock-names = "ipg", "per"; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 239 | status = "disabled"; |
| 240 | }; |
| 241 | |
Sascha Hauer | ca26d04 | 2013-03-14 13:08:57 +0100 | [diff] [blame] | 242 | gpt4: timer@10019000 { |
| 243 | compatible = "fsl,imx27-gpt", "fsl,imx1-gpt"; |
| 244 | reg = <0x10019000 0x1000>; |
| 245 | interrupts = <4>; |
Sascha Hauer | b700c11 | 2013-03-14 13:09:02 +0100 | [diff] [blame] | 246 | clocks = <&clks 43>, <&clks 61>; |
| 247 | clock-names = "ipg", "per"; |
Sascha Hauer | ca26d04 | 2013-03-14 13:08:57 +0100 | [diff] [blame] | 248 | }; |
| 249 | |
| 250 | gpt5: timer@1001a000 { |
| 251 | compatible = "fsl,imx27-gpt", "fsl,imx1-gpt"; |
| 252 | reg = <0x1001a000 0x1000>; |
| 253 | interrupts = <3>; |
Sascha Hauer | b700c11 | 2013-03-14 13:09:02 +0100 | [diff] [blame] | 254 | clocks = <&clks 42>, <&clks 61>; |
| 255 | clock-names = "ipg", "per"; |
Sascha Hauer | ca26d04 | 2013-03-14 13:08:57 +0100 | [diff] [blame] | 256 | }; |
| 257 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 258 | uart5: serial@1001b000 { |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 259 | compatible = "fsl,imx27-uart", "fsl,imx21-uart"; |
| 260 | reg = <0x1001b000 0x1000>; |
| 261 | interrupts = <49>; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 262 | clocks = <&clks 77>, <&clks 61>; |
| 263 | clock-names = "ipg", "per"; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 264 | status = "disabled"; |
| 265 | }; |
| 266 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 267 | uart6: serial@1001c000 { |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 268 | compatible = "fsl,imx27-uart", "fsl,imx21-uart"; |
| 269 | reg = <0x1001c000 0x1000>; |
| 270 | interrupts = <48>; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 271 | clocks = <&clks 78>, <&clks 61>; |
| 272 | clock-names = "ipg", "per"; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 273 | status = "disabled"; |
| 274 | }; |
| 275 | |
| 276 | i2c2: i2c@1001d000 { |
| 277 | #address-cells = <1>; |
| 278 | #size-cells = <0>; |
Shawn Guo | 5bdfba2 | 2012-09-14 15:19:00 +0800 | [diff] [blame] | 279 | compatible = "fsl,imx27-i2c", "fsl,imx21-i2c"; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 280 | reg = <0x1001d000 0x1000>; |
| 281 | interrupts = <1>; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 282 | clocks = <&clks 39>; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 283 | status = "disabled"; |
| 284 | }; |
| 285 | |
Sascha Hauer | ca26d04 | 2013-03-14 13:08:57 +0100 | [diff] [blame] | 286 | gpt6: timer@1001f000 { |
| 287 | compatible = "fsl,imx27-gpt", "fsl,imx1-gpt"; |
| 288 | reg = <0x1001f000 0x1000>; |
| 289 | interrupts = <2>; |
Sascha Hauer | b700c11 | 2013-03-14 13:09:02 +0100 | [diff] [blame] | 290 | clocks = <&clks 41>, <&clks 61>; |
| 291 | clock-names = "ipg", "per"; |
Sascha Hauer | ca26d04 | 2013-03-14 13:08:57 +0100 | [diff] [blame] | 292 | }; |
Fabio Estevam | 3e24b05 | 2012-11-21 17:19:38 -0200 | [diff] [blame] | 293 | }; |
| 294 | |
| 295 | aipi@10020000 { /* AIPI2 */ |
| 296 | compatible = "fsl,aipi-bus", "simple-bus"; |
| 297 | #address-cells = <1>; |
| 298 | #size-cells = <1>; |
| 299 | reg = <0x10020000 0x20000>; |
| 300 | ranges; |
| 301 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 302 | fec: ethernet@1002b000 { |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 303 | compatible = "fsl,imx27-fec"; |
| 304 | reg = <0x1002b000 0x4000>; |
| 305 | interrupts = <50>; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 306 | clocks = <&clks 48>, <&clks 67>, <&clks 0>; |
| 307 | clock-names = "ipg", "ahb", "ptp"; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 308 | status = "disabled"; |
| 309 | }; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 310 | |
| 311 | clks: ccm@10027000{ |
| 312 | compatible = "fsl,imx27-ccm"; |
| 313 | reg = <0x10027000 0x1000>; |
| 314 | #clock-cells = <1>; |
| 315 | }; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 316 | }; |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 317 | |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 318 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 319 | nfc: nand@d8000000 { |
Uwe Kleine-König | 3778736 | 2012-04-23 11:23:42 +0200 | [diff] [blame] | 320 | #address-cells = <1>; |
| 321 | #size-cells = <1>; |
| 322 | |
| 323 | compatible = "fsl,imx27-nand"; |
| 324 | reg = <0xd8000000 0x1000>; |
| 325 | interrupts = <29>; |
Fabio Estevam | c20736f | 2012-11-28 15:55:30 -0200 | [diff] [blame] | 326 | clocks = <&clks 54>; |
Uwe Kleine-König | 3778736 | 2012-04-23 11:23:42 +0200 | [diff] [blame] | 327 | status = "disabled"; |
| 328 | }; |
Sascha Hauer | 9f0749e | 2012-02-28 21:57:50 +0100 | [diff] [blame] | 329 | }; |
| 330 | }; |