Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2011 Freescale Semiconductor, Inc. |
| 3 | * Copyright 2011 Linaro Ltd. |
| 4 | * |
| 5 | * The code contained herein is licensed under the GNU General Public |
| 6 | * License. You may obtain a copy of the GNU General Public License |
| 7 | * Version 2 or later at the following locations: |
| 8 | * |
| 9 | * http://www.opensource.org/licenses/gpl-license.html |
| 10 | * http://www.gnu.org/copyleft/gpl.html |
| 11 | */ |
| 12 | |
Shawn Guo | 36dffd8 | 2013-04-07 10:49:34 +0800 | [diff] [blame] | 13 | #include "skeleton.dtsi" |
Shawn Guo | e164153 | 2013-02-20 10:32:52 +0800 | [diff] [blame] | 14 | #include "imx51-pinfunc.h" |
Alexander Shiyan | 1cbb74f | 2013-11-07 12:45:08 +0400 | [diff] [blame] | 15 | #include <dt-bindings/interrupt-controller/irq.h> |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 16 | #include <dt-bindings/clock/imx5-clock.h> |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 17 | |
| 18 | / { |
| 19 | aliases { |
Shawn Guo | 5230f8f | 2012-08-05 14:01:28 +0800 | [diff] [blame] | 20 | gpio0 = &gpio1; |
| 21 | gpio1 = &gpio2; |
| 22 | gpio2 = &gpio3; |
| 23 | gpio3 = &gpio4; |
Sascha Hauer | e3b73c6 | 2013-06-25 15:51:55 +0200 | [diff] [blame] | 24 | i2c0 = &i2c1; |
| 25 | i2c1 = &i2c2; |
| 26 | serial0 = &uart1; |
| 27 | serial1 = &uart2; |
| 28 | serial2 = &uart3; |
| 29 | spi0 = &ecspi1; |
| 30 | spi1 = &ecspi2; |
| 31 | spi2 = &cspi; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 32 | }; |
| 33 | |
| 34 | tzic: tz-interrupt-controller@e0000000 { |
| 35 | compatible = "fsl,imx51-tzic", "fsl,tzic"; |
| 36 | interrupt-controller; |
| 37 | #interrupt-cells = <1>; |
| 38 | reg = <0xe0000000 0x4000>; |
| 39 | }; |
| 40 | |
| 41 | clocks { |
| 42 | #address-cells = <1>; |
| 43 | #size-cells = <0>; |
| 44 | |
| 45 | ckil { |
| 46 | compatible = "fsl,imx-ckil", "fixed-clock"; |
| 47 | clock-frequency = <32768>; |
| 48 | }; |
| 49 | |
| 50 | ckih1 { |
| 51 | compatible = "fsl,imx-ckih1", "fixed-clock"; |
Alexander Shiyan | 677e28b | 2013-07-27 11:19:45 +0400 | [diff] [blame] | 52 | clock-frequency = <0>; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 53 | }; |
| 54 | |
| 55 | ckih2 { |
| 56 | compatible = "fsl,imx-ckih2", "fixed-clock"; |
| 57 | clock-frequency = <0>; |
| 58 | }; |
| 59 | |
| 60 | osc { |
| 61 | compatible = "fsl,imx-osc", "fixed-clock"; |
| 62 | clock-frequency = <24000000>; |
| 63 | }; |
| 64 | }; |
| 65 | |
Markus Pargmann | 6f9d62d | 2013-04-07 21:56:45 +0200 | [diff] [blame] | 66 | cpus { |
| 67 | #address-cells = <1>; |
| 68 | #size-cells = <0>; |
Alexander Shiyan | 6acde88 | 2013-11-07 12:45:05 +0400 | [diff] [blame] | 69 | cpu: cpu@0 { |
Markus Pargmann | 6f9d62d | 2013-04-07 21:56:45 +0200 | [diff] [blame] | 70 | device_type = "cpu"; |
| 71 | compatible = "arm,cortex-a8"; |
| 72 | reg = <0>; |
Alexander Shiyan | 6acde88 | 2013-11-07 12:45:05 +0400 | [diff] [blame] | 73 | clock-latency = <62500>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 74 | clocks = <&clks IMX5_CLK_CPU_PODF>; |
| 75 | clock-names = "cpu"; |
Markus Pargmann | 6f9d62d | 2013-04-07 21:56:45 +0200 | [diff] [blame] | 76 | operating-points = < |
Alexander Shiyan | 6acde88 | 2013-11-07 12:45:05 +0400 | [diff] [blame] | 77 | 166000 1000000 |
| 78 | 600000 1050000 |
| 79 | 800000 1100000 |
Markus Pargmann | 6f9d62d | 2013-04-07 21:56:45 +0200 | [diff] [blame] | 80 | >; |
Alexander Shiyan | 6acde88 | 2013-11-07 12:45:05 +0400 | [diff] [blame] | 81 | voltage-tolerance = <5>; |
Markus Pargmann | 6f9d62d | 2013-04-07 21:56:45 +0200 | [diff] [blame] | 82 | }; |
| 83 | }; |
| 84 | |
Alexander Shiyan | 4e94230 | 2013-11-19 15:47:26 +0400 | [diff] [blame^] | 85 | usbphy { |
| 86 | #address-cells = <1>; |
| 87 | #size-cells = <0>; |
| 88 | compatible = "simple-bus"; |
| 89 | |
| 90 | usbphy0: usbphy@0 { |
| 91 | compatible = "usb-nop-xceiv"; |
| 92 | reg = <0>; |
| 93 | clocks = <&clks IMX5_CLK_USB_PHY_GATE>; |
| 94 | clock-names = "main_clk"; |
| 95 | }; |
| 96 | }; |
| 97 | |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 98 | soc { |
| 99 | #address-cells = <1>; |
| 100 | #size-cells = <1>; |
| 101 | compatible = "simple-bus"; |
| 102 | interrupt-parent = <&tzic>; |
| 103 | ranges; |
| 104 | |
Alexander Shiyan | da38ea3 | 2013-08-21 11:28:24 +0400 | [diff] [blame] | 105 | iram: iram@1ffe0000 { |
| 106 | compatible = "mmio-sram"; |
| 107 | reg = <0x1ffe0000 0x20000>; |
| 108 | }; |
| 109 | |
Sascha Hauer | b5af6b1 | 2012-11-12 12:56:00 +0100 | [diff] [blame] | 110 | ipu: ipu@40000000 { |
| 111 | #crtc-cells = <1>; |
| 112 | compatible = "fsl,imx51-ipu"; |
| 113 | reg = <0x40000000 0x20000000>; |
| 114 | interrupts = <11 10>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 115 | clocks = <&clks IMX5_CLK_IPU_GATE>, |
| 116 | <&clks IMX5_CLK_IPU_DI0_GATE>, |
| 117 | <&clks IMX5_CLK_IPU_DI1_GATE>; |
Philipp Zabel | 4438a6a | 2013-03-27 18:30:36 +0100 | [diff] [blame] | 118 | clock-names = "bus", "di0", "di1"; |
Philipp Zabel | 8d84c37 | 2013-03-28 17:35:23 +0100 | [diff] [blame] | 119 | resets = <&src 2>; |
Sascha Hauer | b5af6b1 | 2012-11-12 12:56:00 +0100 | [diff] [blame] | 120 | }; |
| 121 | |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 122 | aips@70000000 { /* AIPS1 */ |
| 123 | compatible = "fsl,aips-bus", "simple-bus"; |
| 124 | #address-cells = <1>; |
| 125 | #size-cells = <1>; |
| 126 | reg = <0x70000000 0x10000000>; |
| 127 | ranges; |
| 128 | |
| 129 | spba@70000000 { |
| 130 | compatible = "fsl,spba-bus", "simple-bus"; |
| 131 | #address-cells = <1>; |
| 132 | #size-cells = <1>; |
| 133 | reg = <0x70000000 0x40000>; |
| 134 | ranges; |
| 135 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 136 | esdhc1: esdhc@70004000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 137 | compatible = "fsl,imx51-esdhc"; |
| 138 | reg = <0x70004000 0x4000>; |
| 139 | interrupts = <1>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 140 | clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>, |
| 141 | <&clks IMX5_CLK_DUMMY>, |
| 142 | <&clks IMX5_CLK_ESDHC1_PER_GATE>; |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 143 | clock-names = "ipg", "ahb", "per"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 144 | status = "disabled"; |
| 145 | }; |
| 146 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 147 | esdhc2: esdhc@70008000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 148 | compatible = "fsl,imx51-esdhc"; |
| 149 | reg = <0x70008000 0x4000>; |
| 150 | interrupts = <2>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 151 | clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>, |
| 152 | <&clks IMX5_CLK_DUMMY>, |
| 153 | <&clks IMX5_CLK_ESDHC2_PER_GATE>; |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 154 | clock-names = "ipg", "ahb", "per"; |
Sascha Hauer | c104b6a | 2012-09-25 11:49:33 +0200 | [diff] [blame] | 155 | bus-width = <4>; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 156 | status = "disabled"; |
| 157 | }; |
| 158 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 159 | uart3: serial@7000c000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 160 | compatible = "fsl,imx51-uart", "fsl,imx21-uart"; |
| 161 | reg = <0x7000c000 0x4000>; |
| 162 | interrupts = <33>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 163 | clocks = <&clks IMX5_CLK_UART3_IPG_GATE>, |
| 164 | <&clks IMX5_CLK_UART3_PER_GATE>; |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 165 | clock-names = "ipg", "per"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 166 | status = "disabled"; |
| 167 | }; |
| 168 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 169 | ecspi1: ecspi@70010000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 170 | #address-cells = <1>; |
| 171 | #size-cells = <0>; |
| 172 | compatible = "fsl,imx51-ecspi"; |
| 173 | reg = <0x70010000 0x4000>; |
| 174 | interrupts = <36>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 175 | clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>, |
| 176 | <&clks IMX5_CLK_ECSPI1_PER_GATE>; |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 177 | clock-names = "ipg", "per"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 178 | status = "disabled"; |
| 179 | }; |
| 180 | |
Shawn Guo | a15d9f8 | 2012-05-11 13:08:46 +0800 | [diff] [blame] | 181 | ssi2: ssi@70014000 { |
| 182 | compatible = "fsl,imx51-ssi", "fsl,imx21-ssi"; |
| 183 | reg = <0x70014000 0x4000>; |
| 184 | interrupts = <30>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 185 | clocks = <&clks IMX5_CLK_SSI2_IPG_GATE>; |
Shawn Guo | 5da826a | 2013-07-17 13:50:54 +0800 | [diff] [blame] | 186 | dmas = <&sdma 24 1 0>, |
| 187 | <&sdma 25 1 0>; |
| 188 | dma-names = "rx", "tx"; |
Shawn Guo | a15d9f8 | 2012-05-11 13:08:46 +0800 | [diff] [blame] | 189 | fsl,fifo-depth = <15>; |
| 190 | fsl,ssi-dma-events = <25 24 23 22>; /* TX0 RX0 TX1 RX1 */ |
| 191 | status = "disabled"; |
| 192 | }; |
| 193 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 194 | esdhc3: esdhc@70020000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 195 | compatible = "fsl,imx51-esdhc"; |
| 196 | reg = <0x70020000 0x4000>; |
| 197 | interrupts = <3>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 198 | clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>, |
| 199 | <&clks IMX5_CLK_DUMMY>, |
| 200 | <&clks IMX5_CLK_ESDHC3_PER_GATE>; |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 201 | clock-names = "ipg", "ahb", "per"; |
Sascha Hauer | c104b6a | 2012-09-25 11:49:33 +0200 | [diff] [blame] | 202 | bus-width = <4>; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 203 | status = "disabled"; |
| 204 | }; |
| 205 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 206 | esdhc4: esdhc@70024000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 207 | compatible = "fsl,imx51-esdhc"; |
| 208 | reg = <0x70024000 0x4000>; |
| 209 | interrupts = <4>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 210 | clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>, |
| 211 | <&clks IMX5_CLK_DUMMY>, |
| 212 | <&clks IMX5_CLK_ESDHC4_PER_GATE>; |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 213 | clock-names = "ipg", "ahb", "per"; |
Sascha Hauer | c104b6a | 2012-09-25 11:49:33 +0200 | [diff] [blame] | 214 | bus-width = <4>; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 215 | status = "disabled"; |
| 216 | }; |
| 217 | }; |
| 218 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 219 | usbotg: usb@73f80000 { |
Michael Grzeschik | 212d0b8 | 2012-08-23 12:35:57 +0200 | [diff] [blame] | 220 | compatible = "fsl,imx51-usb", "fsl,imx27-usb"; |
| 221 | reg = <0x73f80000 0x0200>; |
| 222 | interrupts = <18>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 223 | clocks = <&clks IMX5_CLK_USBOH3_GATE>; |
Michael Grzeschik | a573502 | 2013-04-11 12:13:14 +0200 | [diff] [blame] | 224 | fsl,usbmisc = <&usbmisc 0>; |
Michael Grzeschik | a79025c | 2013-04-11 12:13:16 +0200 | [diff] [blame] | 225 | fsl,usbphy = <&usbphy0>; |
Michael Grzeschik | 212d0b8 | 2012-08-23 12:35:57 +0200 | [diff] [blame] | 226 | status = "disabled"; |
| 227 | }; |
| 228 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 229 | usbh1: usb@73f80200 { |
Michael Grzeschik | 212d0b8 | 2012-08-23 12:35:57 +0200 | [diff] [blame] | 230 | compatible = "fsl,imx51-usb", "fsl,imx27-usb"; |
| 231 | reg = <0x73f80200 0x0200>; |
| 232 | interrupts = <14>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 233 | clocks = <&clks IMX5_CLK_USBOH3_GATE>; |
Michael Grzeschik | a573502 | 2013-04-11 12:13:14 +0200 | [diff] [blame] | 234 | fsl,usbmisc = <&usbmisc 1>; |
Michael Grzeschik | 212d0b8 | 2012-08-23 12:35:57 +0200 | [diff] [blame] | 235 | status = "disabled"; |
| 236 | }; |
| 237 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 238 | usbh2: usb@73f80400 { |
Michael Grzeschik | 212d0b8 | 2012-08-23 12:35:57 +0200 | [diff] [blame] | 239 | compatible = "fsl,imx51-usb", "fsl,imx27-usb"; |
| 240 | reg = <0x73f80400 0x0200>; |
| 241 | interrupts = <16>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 242 | clocks = <&clks IMX5_CLK_USBOH3_GATE>; |
Michael Grzeschik | a573502 | 2013-04-11 12:13:14 +0200 | [diff] [blame] | 243 | fsl,usbmisc = <&usbmisc 2>; |
Michael Grzeschik | 212d0b8 | 2012-08-23 12:35:57 +0200 | [diff] [blame] | 244 | status = "disabled"; |
| 245 | }; |
| 246 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 247 | usbh3: usb@73f80600 { |
Michael Grzeschik | 212d0b8 | 2012-08-23 12:35:57 +0200 | [diff] [blame] | 248 | compatible = "fsl,imx51-usb", "fsl,imx27-usb"; |
| 249 | reg = <0x73f80600 0x0200>; |
| 250 | interrupts = <17>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 251 | clocks = <&clks IMX5_CLK_USBOH3_GATE>; |
Michael Grzeschik | a573502 | 2013-04-11 12:13:14 +0200 | [diff] [blame] | 252 | fsl,usbmisc = <&usbmisc 3>; |
Michael Grzeschik | 212d0b8 | 2012-08-23 12:35:57 +0200 | [diff] [blame] | 253 | status = "disabled"; |
| 254 | }; |
| 255 | |
Michael Grzeschik | a573502 | 2013-04-11 12:13:14 +0200 | [diff] [blame] | 256 | usbmisc: usbmisc@73f80800 { |
| 257 | #index-cells = <1>; |
| 258 | compatible = "fsl,imx51-usbmisc"; |
| 259 | reg = <0x73f80800 0x200>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 260 | clocks = <&clks IMX5_CLK_USBOH3_GATE>; |
Michael Grzeschik | a573502 | 2013-04-11 12:13:14 +0200 | [diff] [blame] | 261 | }; |
| 262 | |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 263 | gpio1: gpio@73f84000 { |
Benoît Thébaudeau | aeb2774 | 2012-06-22 21:04:06 +0200 | [diff] [blame] | 264 | compatible = "fsl,imx51-gpio", "fsl,imx35-gpio"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 265 | reg = <0x73f84000 0x4000>; |
| 266 | interrupts = <50 51>; |
| 267 | gpio-controller; |
| 268 | #gpio-cells = <2>; |
| 269 | interrupt-controller; |
Shawn Guo | 88cde8b | 2012-07-06 20:03:37 +0800 | [diff] [blame] | 270 | #interrupt-cells = <2>; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 271 | }; |
| 272 | |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 273 | gpio2: gpio@73f88000 { |
Benoît Thébaudeau | aeb2774 | 2012-06-22 21:04:06 +0200 | [diff] [blame] | 274 | compatible = "fsl,imx51-gpio", "fsl,imx35-gpio"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 275 | reg = <0x73f88000 0x4000>; |
| 276 | interrupts = <52 53>; |
| 277 | gpio-controller; |
| 278 | #gpio-cells = <2>; |
| 279 | interrupt-controller; |
Shawn Guo | 88cde8b | 2012-07-06 20:03:37 +0800 | [diff] [blame] | 280 | #interrupt-cells = <2>; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 281 | }; |
| 282 | |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 283 | gpio3: gpio@73f8c000 { |
Benoît Thébaudeau | aeb2774 | 2012-06-22 21:04:06 +0200 | [diff] [blame] | 284 | compatible = "fsl,imx51-gpio", "fsl,imx35-gpio"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 285 | reg = <0x73f8c000 0x4000>; |
| 286 | interrupts = <54 55>; |
| 287 | gpio-controller; |
| 288 | #gpio-cells = <2>; |
| 289 | interrupt-controller; |
Shawn Guo | 88cde8b | 2012-07-06 20:03:37 +0800 | [diff] [blame] | 290 | #interrupt-cells = <2>; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 291 | }; |
| 292 | |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 293 | gpio4: gpio@73f90000 { |
Benoît Thébaudeau | aeb2774 | 2012-06-22 21:04:06 +0200 | [diff] [blame] | 294 | compatible = "fsl,imx51-gpio", "fsl,imx35-gpio"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 295 | reg = <0x73f90000 0x4000>; |
| 296 | interrupts = <56 57>; |
| 297 | gpio-controller; |
| 298 | #gpio-cells = <2>; |
| 299 | interrupt-controller; |
Shawn Guo | 88cde8b | 2012-07-06 20:03:37 +0800 | [diff] [blame] | 300 | #interrupt-cells = <2>; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 301 | }; |
| 302 | |
Liu Ying | 6012555 | 2013-01-03 20:37:33 +0800 | [diff] [blame] | 303 | kpp: kpp@73f94000 { |
| 304 | compatible = "fsl,imx51-kpp", "fsl,imx21-kpp"; |
| 305 | reg = <0x73f94000 0x4000>; |
| 306 | interrupts = <60>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 307 | clocks = <&clks IMX5_CLK_DUMMY>; |
Liu Ying | 6012555 | 2013-01-03 20:37:33 +0800 | [diff] [blame] | 308 | status = "disabled"; |
| 309 | }; |
| 310 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 311 | wdog1: wdog@73f98000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 312 | compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; |
| 313 | reg = <0x73f98000 0x4000>; |
| 314 | interrupts = <58>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 315 | clocks = <&clks IMX5_CLK_DUMMY>; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 316 | }; |
| 317 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 318 | wdog2: wdog@73f9c000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 319 | compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; |
| 320 | reg = <0x73f9c000 0x4000>; |
| 321 | interrupts = <59>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 322 | clocks = <&clks IMX5_CLK_DUMMY>; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 323 | status = "disabled"; |
| 324 | }; |
| 325 | |
Sascha Hauer | ed73c63 | 2013-03-14 13:08:59 +0100 | [diff] [blame] | 326 | gpt: timer@73fa0000 { |
| 327 | compatible = "fsl,imx51-gpt", "fsl,imx31-gpt"; |
| 328 | reg = <0x73fa0000 0x4000>; |
| 329 | interrupts = <39>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 330 | clocks = <&clks IMX5_CLK_GPT_IPG_GATE>, |
| 331 | <&clks IMX5_CLK_GPT_HF_GATE>; |
Sascha Hauer | ed73c63 | 2013-03-14 13:08:59 +0100 | [diff] [blame] | 332 | clock-names = "ipg", "per"; |
| 333 | }; |
| 334 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 335 | iomuxc: iomuxc@73fa8000 { |
Shawn Guo | b72cf10 | 2012-08-13 19:45:19 +0800 | [diff] [blame] | 336 | compatible = "fsl,imx51-iomuxc"; |
| 337 | reg = <0x73fa8000 0x4000>; |
Shawn Guo | b72cf10 | 2012-08-13 19:45:19 +0800 | [diff] [blame] | 338 | }; |
| 339 | |
Sascha Hauer | 82a618d | 2012-11-19 00:57:08 +0100 | [diff] [blame] | 340 | pwm1: pwm@73fb4000 { |
| 341 | #pwm-cells = <2>; |
| 342 | compatible = "fsl,imx51-pwm", "fsl,imx27-pwm"; |
| 343 | reg = <0x73fb4000 0x4000>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 344 | clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>, |
| 345 | <&clks IMX5_CLK_PWM1_HF_GATE>; |
Sascha Hauer | 82a618d | 2012-11-19 00:57:08 +0100 | [diff] [blame] | 346 | clock-names = "ipg", "per"; |
| 347 | interrupts = <61>; |
| 348 | }; |
| 349 | |
| 350 | pwm2: pwm@73fb8000 { |
| 351 | #pwm-cells = <2>; |
| 352 | compatible = "fsl,imx51-pwm", "fsl,imx27-pwm"; |
| 353 | reg = <0x73fb8000 0x4000>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 354 | clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>, |
| 355 | <&clks IMX5_CLK_PWM2_HF_GATE>; |
Sascha Hauer | 82a618d | 2012-11-19 00:57:08 +0100 | [diff] [blame] | 356 | clock-names = "ipg", "per"; |
| 357 | interrupts = <94>; |
| 358 | }; |
| 359 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 360 | uart1: serial@73fbc000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 361 | compatible = "fsl,imx51-uart", "fsl,imx21-uart"; |
| 362 | reg = <0x73fbc000 0x4000>; |
| 363 | interrupts = <31>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 364 | clocks = <&clks IMX5_CLK_UART1_IPG_GATE>, |
| 365 | <&clks IMX5_CLK_UART1_PER_GATE>; |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 366 | clock-names = "ipg", "per"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 367 | status = "disabled"; |
| 368 | }; |
| 369 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 370 | uart2: serial@73fc0000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 371 | compatible = "fsl,imx51-uart", "fsl,imx21-uart"; |
| 372 | reg = <0x73fc0000 0x4000>; |
| 373 | interrupts = <32>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 374 | clocks = <&clks IMX5_CLK_UART2_IPG_GATE>, |
| 375 | <&clks IMX5_CLK_UART2_PER_GATE>; |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 376 | clock-names = "ipg", "per"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 377 | status = "disabled"; |
| 378 | }; |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 379 | |
Philipp Zabel | 8d84c37 | 2013-03-28 17:35:23 +0100 | [diff] [blame] | 380 | src: src@73fd0000 { |
| 381 | compatible = "fsl,imx51-src"; |
| 382 | reg = <0x73fd0000 0x4000>; |
| 383 | #reset-cells = <1>; |
| 384 | }; |
| 385 | |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 386 | clks: ccm@73fd4000{ |
| 387 | compatible = "fsl,imx51-ccm"; |
| 388 | reg = <0x73fd4000 0x4000>; |
| 389 | interrupts = <0 71 0x04 0 72 0x04>; |
| 390 | #clock-cells = <1>; |
| 391 | }; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 392 | }; |
| 393 | |
| 394 | aips@80000000 { /* AIPS2 */ |
| 395 | compatible = "fsl,aips-bus", "simple-bus"; |
| 396 | #address-cells = <1>; |
| 397 | #size-cells = <1>; |
| 398 | reg = <0x80000000 0x10000000>; |
| 399 | ranges; |
| 400 | |
Sascha Hauer | 6510ea25 | 2013-06-25 15:51:51 +0200 | [diff] [blame] | 401 | iim: iim@83f98000 { |
| 402 | compatible = "fsl,imx51-iim", "fsl,imx27-iim"; |
| 403 | reg = <0x83f98000 0x4000>; |
| 404 | interrupts = <69>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 405 | clocks = <&clks IMX5_CLK_IIM_GATE>; |
Sascha Hauer | 6510ea25 | 2013-06-25 15:51:51 +0200 | [diff] [blame] | 406 | }; |
| 407 | |
Alexander Shiyan | ad15f08 | 2013-08-21 11:28:25 +0400 | [diff] [blame] | 408 | owire: owire@83fa4000 { |
| 409 | compatible = "fsl,imx51-owire", "fsl,imx21-owire"; |
| 410 | reg = <0x83fa4000 0x4000>; |
| 411 | interrupts = <88>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 412 | clocks = <&clks IMX5_CLK_OWIRE_GATE>; |
Alexander Shiyan | ad15f08 | 2013-08-21 11:28:25 +0400 | [diff] [blame] | 413 | status = "disabled"; |
| 414 | }; |
| 415 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 416 | ecspi2: ecspi@83fac000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 417 | #address-cells = <1>; |
| 418 | #size-cells = <0>; |
| 419 | compatible = "fsl,imx51-ecspi"; |
| 420 | reg = <0x83fac000 0x4000>; |
| 421 | interrupts = <37>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 422 | clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>, |
| 423 | <&clks IMX5_CLK_ECSPI2_PER_GATE>; |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 424 | clock-names = "ipg", "per"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 425 | status = "disabled"; |
| 426 | }; |
| 427 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 428 | sdma: sdma@83fb0000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 429 | compatible = "fsl,imx51-sdma", "fsl,imx35-sdma"; |
| 430 | reg = <0x83fb0000 0x4000>; |
| 431 | interrupts = <6>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 432 | clocks = <&clks IMX5_CLK_SDMA_GATE>, |
| 433 | <&clks IMX5_CLK_SDMA_GATE>; |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 434 | clock-names = "ipg", "ahb"; |
Huang Shijie | fb72bb2 | 2013-07-02 10:15:29 +0800 | [diff] [blame] | 435 | #dma-cells = <3>; |
Fabio Estevam | 7e4f036 | 2012-08-08 11:28:07 -0300 | [diff] [blame] | 436 | fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 437 | }; |
| 438 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 439 | cspi: cspi@83fc0000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 440 | #address-cells = <1>; |
| 441 | #size-cells = <0>; |
| 442 | compatible = "fsl,imx51-cspi", "fsl,imx35-cspi"; |
| 443 | reg = <0x83fc0000 0x4000>; |
| 444 | interrupts = <38>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 445 | clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>, |
| 446 | <&clks IMX5_CLK_CSPI_IPG_GATE>; |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 447 | clock-names = "ipg", "per"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 448 | status = "disabled"; |
| 449 | }; |
| 450 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 451 | i2c2: i2c@83fc4000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 452 | #address-cells = <1>; |
| 453 | #size-cells = <0>; |
Shawn Guo | 5bdfba2 | 2012-09-14 15:19:00 +0800 | [diff] [blame] | 454 | compatible = "fsl,imx51-i2c", "fsl,imx21-i2c"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 455 | reg = <0x83fc4000 0x4000>; |
| 456 | interrupts = <63>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 457 | clocks = <&clks IMX5_CLK_I2C2_GATE>; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 458 | status = "disabled"; |
| 459 | }; |
| 460 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 461 | i2c1: i2c@83fc8000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 462 | #address-cells = <1>; |
| 463 | #size-cells = <0>; |
Shawn Guo | 5bdfba2 | 2012-09-14 15:19:00 +0800 | [diff] [blame] | 464 | compatible = "fsl,imx51-i2c", "fsl,imx21-i2c"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 465 | reg = <0x83fc8000 0x4000>; |
| 466 | interrupts = <62>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 467 | clocks = <&clks IMX5_CLK_I2C1_GATE>; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 468 | status = "disabled"; |
| 469 | }; |
| 470 | |
Shawn Guo | a15d9f8 | 2012-05-11 13:08:46 +0800 | [diff] [blame] | 471 | ssi1: ssi@83fcc000 { |
| 472 | compatible = "fsl,imx51-ssi", "fsl,imx21-ssi"; |
| 473 | reg = <0x83fcc000 0x4000>; |
| 474 | interrupts = <29>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 475 | clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>; |
Shawn Guo | 5da826a | 2013-07-17 13:50:54 +0800 | [diff] [blame] | 476 | dmas = <&sdma 28 0 0>, |
| 477 | <&sdma 29 0 0>; |
| 478 | dma-names = "rx", "tx"; |
Shawn Guo | a15d9f8 | 2012-05-11 13:08:46 +0800 | [diff] [blame] | 479 | fsl,fifo-depth = <15>; |
| 480 | fsl,ssi-dma-events = <29 28 27 26>; /* TX0 RX0 TX1 RX1 */ |
| 481 | status = "disabled"; |
| 482 | }; |
| 483 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 484 | audmux: audmux@83fd0000 { |
Shawn Guo | a15d9f8 | 2012-05-11 13:08:46 +0800 | [diff] [blame] | 485 | compatible = "fsl,imx51-audmux", "fsl,imx31-audmux"; |
| 486 | reg = <0x83fd0000 0x4000>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 487 | clocks = <&clks IMX5_CLK_DUMMY>; |
Alexander Shiyan | e030df9 | 2013-11-07 12:45:06 +0400 | [diff] [blame] | 488 | clock-names = "audmux"; |
Shawn Guo | a15d9f8 | 2012-05-11 13:08:46 +0800 | [diff] [blame] | 489 | status = "disabled"; |
| 490 | }; |
| 491 | |
Alexander Shiyan | edd0528 | 2013-07-13 08:30:57 +0400 | [diff] [blame] | 492 | weim: weim@83fda000 { |
| 493 | #address-cells = <2>; |
| 494 | #size-cells = <1>; |
| 495 | compatible = "fsl,imx51-weim"; |
| 496 | reg = <0x83fda000 0x1000>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 497 | clocks = <&clks IMX5_CLK_EMI_SLOW_GATE>; |
Alexander Shiyan | edd0528 | 2013-07-13 08:30:57 +0400 | [diff] [blame] | 498 | ranges = < |
| 499 | 0 0 0xb0000000 0x08000000 |
| 500 | 1 0 0xb8000000 0x08000000 |
| 501 | 2 0 0xc0000000 0x08000000 |
| 502 | 3 0 0xc8000000 0x04000000 |
| 503 | 4 0 0xcc000000 0x02000000 |
| 504 | 5 0 0xce000000 0x02000000 |
| 505 | >; |
| 506 | status = "disabled"; |
| 507 | }; |
| 508 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 509 | nfc: nand@83fdb000 { |
Sascha Hauer | 75453a0 | 2012-06-06 12:33:16 +0200 | [diff] [blame] | 510 | compatible = "fsl,imx51-nand"; |
| 511 | reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>; |
| 512 | interrupts = <8>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 513 | clocks = <&clks IMX5_CLK_NFC_GATE>; |
Sascha Hauer | 75453a0 | 2012-06-06 12:33:16 +0200 | [diff] [blame] | 514 | status = "disabled"; |
| 515 | }; |
| 516 | |
Sascha Hauer | 718a3500 | 2013-04-04 11:25:09 +0200 | [diff] [blame] | 517 | pata: pata@83fe0000 { |
| 518 | compatible = "fsl,imx51-pata", "fsl,imx27-pata"; |
| 519 | reg = <0x83fe0000 0x4000>; |
| 520 | interrupts = <70>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 521 | clocks = <&clks IMX5_CLK_PATA_GATE>; |
Sascha Hauer | 718a3500 | 2013-04-04 11:25:09 +0200 | [diff] [blame] | 522 | status = "disabled"; |
| 523 | }; |
| 524 | |
Shawn Guo | a15d9f8 | 2012-05-11 13:08:46 +0800 | [diff] [blame] | 525 | ssi3: ssi@83fe8000 { |
| 526 | compatible = "fsl,imx51-ssi", "fsl,imx21-ssi"; |
| 527 | reg = <0x83fe8000 0x4000>; |
| 528 | interrupts = <96>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 529 | clocks = <&clks IMX5_CLK_SSI3_IPG_GATE>; |
Shawn Guo | 5da826a | 2013-07-17 13:50:54 +0800 | [diff] [blame] | 530 | dmas = <&sdma 46 0 0>, |
| 531 | <&sdma 47 0 0>; |
| 532 | dma-names = "rx", "tx"; |
Shawn Guo | a15d9f8 | 2012-05-11 13:08:46 +0800 | [diff] [blame] | 533 | fsl,fifo-depth = <15>; |
| 534 | fsl,ssi-dma-events = <47 46 37 35>; /* TX0 RX0 TX1 RX1 */ |
| 535 | status = "disabled"; |
| 536 | }; |
| 537 | |
Sascha Hauer | 7b7d672 | 2012-11-15 09:31:52 +0100 | [diff] [blame] | 538 | fec: ethernet@83fec000 { |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 539 | compatible = "fsl,imx51-fec", "fsl,imx27-fec"; |
| 540 | reg = <0x83fec000 0x4000>; |
| 541 | interrupts = <87>; |
Lucas Stach | ff65d4c | 2013-11-14 11:18:59 +0100 | [diff] [blame] | 542 | clocks = <&clks IMX5_CLK_FEC_GATE>, |
| 543 | <&clks IMX5_CLK_FEC_GATE>, |
| 544 | <&clks IMX5_CLK_FEC_GATE>; |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 545 | clock-names = "ipg", "ahb", "ptp"; |
Shawn Guo | 9daaf31 | 2011-10-17 08:42:17 +0800 | [diff] [blame] | 546 | status = "disabled"; |
| 547 | }; |
| 548 | }; |
| 549 | }; |
| 550 | }; |