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