2 * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
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:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
12 #include "imx1-pinfunc.h"
14 #include <dt-bindings/clock/imx1-clock.h>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/interrupt-controller/irq.h>
22 * The decompressor and also some bootloaders rely on a
23 * pre-existing /chosen node to be available to insert the
24 * command line and merge other ATAGS info.
25 * Also for U-Boot there must be a pre-existing /memory node.
28 memory { device_type = "memory"; reg = <0 0>; };
43 aitc: aitc-interrupt-controller@00223000 {
44 compatible = "fsl,imx1-aitc", "fsl,avic";
46 #interrupt-cells = <1>;
47 reg = <0x00223000 0x1000>;
57 compatible = "arm,arm920t";
58 operating-points = <200000 1900000>;
59 clock-latency = <62500>;
60 clocks = <&clks IMX1_CLK_MCU>;
61 voltage-tolerance = <5>;
68 compatible = "simple-bus";
69 interrupt-parent = <&aitc>;
73 compatible = "fsl,aipi-bus", "simple-bus";
76 reg = <0x00200000 0x10000>;
79 gpt1: timer@00202000 {
80 compatible = "fsl,imx1-gpt";
81 reg = <0x00202000 0x1000>;
83 clocks = <&clks IMX1_CLK_HCLK>,
84 <&clks IMX1_CLK_PER1>;
85 clock-names = "ipg", "per";
88 gpt2: timer@00203000 {
89 compatible = "fsl,imx1-gpt";
90 reg = <0x00203000 0x1000>;
92 clocks = <&clks IMX1_CLK_HCLK>,
93 <&clks IMX1_CLK_PER1>;
94 clock-names = "ipg", "per";
98 compatible = "fsl,imx1-fb";
99 reg = <0x00205000 0x1000>;
101 clocks = <&clks IMX1_CLK_DUMMY>,
102 <&clks IMX1_CLK_DUMMY>,
103 <&clks IMX1_CLK_PER2>;
104 clock-names = "ipg", "ahb", "per";
108 uart1: serial@00206000 {
109 compatible = "fsl,imx1-uart";
110 reg = <0x00206000 0x1000>;
111 interrupts = <30 29 26>;
112 clocks = <&clks IMX1_CLK_HCLK>,
113 <&clks IMX1_CLK_PER1>;
114 clock-names = "ipg", "per";
118 uart2: serial@00207000 {
119 compatible = "fsl,imx1-uart";
120 reg = <0x00207000 0x1000>;
121 interrupts = <24 23 20>;
122 clocks = <&clks IMX1_CLK_HCLK>,
123 <&clks IMX1_CLK_PER1>;
124 clock-names = "ipg", "per";
130 compatible = "fsl,imx1-pwm";
131 reg = <0x00208000 0x1000>;
133 clocks = <&clks IMX1_CLK_DUMMY>,
134 <&clks IMX1_CLK_PER1>;
135 clock-names = "ipg", "per";
139 compatible = "fsl,imx1-dma";
140 reg = <0x00209000 0x1000>;
141 interrupts = <61 60>;
142 clocks = <&clks IMX1_CLK_HCLK>,
143 <&clks IMX1_CLK_DMA_GATE>;
144 clock-names = "ipg", "ahb";
148 uart3: serial@0020a000 {
149 compatible = "fsl,imx1-uart";
150 reg = <0x0020a000 0x1000>;
151 interrupts = <54 4 1>;
152 clocks = <&clks IMX1_CLK_UART3_GATE>,
153 <&clks IMX1_CLK_PER1>;
154 clock-names = "ipg", "per";
160 compatible = "fsl,aipi-bus", "simple-bus";
161 #address-cells = <1>;
163 reg = <0x00210000 0x10000>;
166 cspi1: cspi@00213000 {
167 #address-cells = <1>;
169 compatible = "fsl,imx1-cspi";
170 reg = <0x00213000 0x1000>;
172 clocks = <&clks IMX1_CLK_DUMMY>,
173 <&clks IMX1_CLK_PER1>;
174 clock-names = "ipg", "per";
179 #address-cells = <1>;
181 compatible = "fsl,imx1-i2c";
182 reg = <0x00217000 0x1000>;
184 clocks = <&clks IMX1_CLK_HCLK>;
188 cspi2: cspi@00219000 {
189 #address-cells = <1>;
191 compatible = "fsl,imx1-cspi";
192 reg = <0x00219000 0x1000>;
194 clocks = <&clks IMX1_CLK_DUMMY>,
195 <&clks IMX1_CLK_PER1>;
196 clock-names = "ipg", "per";
201 compatible = "fsl,imx1-ccm";
202 reg = <0x0021b000 0x1000>;
206 iomuxc: iomuxc@0021c000 {
207 compatible = "fsl,imx1-iomuxc";
208 reg = <0x0021c000 0x1000>;
209 #address-cells = <1>;
213 gpio1: gpio@0021c000 {
214 compatible = "fsl,imx1-gpio";
215 reg = <0x0021c000 0x100>;
219 interrupt-controller;
220 #interrupt-cells = <2>;
223 gpio2: gpio@0021c100 {
224 compatible = "fsl,imx1-gpio";
225 reg = <0x0021c100 0x100>;
229 interrupt-controller;
230 #interrupt-cells = <2>;
233 gpio3: gpio@0021c200 {
234 compatible = "fsl,imx1-gpio";
235 reg = <0x0021c200 0x100>;
239 interrupt-controller;
240 #interrupt-cells = <2>;
243 gpio4: gpio@0021c300 {
244 compatible = "fsl,imx1-gpio";
245 reg = <0x0021c300 0x100>;
249 interrupt-controller;
250 #interrupt-cells = <2>;
255 weim: weim@00220000 {
256 #address-cells = <2>;
258 compatible = "fsl,imx1-weim";
259 reg = <0x00220000 0x1000>;
260 clocks = <&clks IMX1_CLK_DUMMY>;
262 0 0 0x10000000 0x02000000
263 1 0 0x12000000 0x01000000
264 2 0 0x13000000 0x01000000
265 3 0 0x14000000 0x01000000
266 4 0 0x15000000 0x01000000
267 5 0 0x16000000 0x01000000
272 esram: esram@00300000 {
273 compatible = "mmio-sram";
274 reg = <0x00300000 0x20000>;