1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
5 #include "imx1-pinfunc.h"
7 #include <dt-bindings/clock/imx1-clock.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
15 * The decompressor and also some bootloaders rely on a
16 * pre-existing /chosen node to be available to insert the
17 * command line and merge other ATAGS info.
34 aitc: aitc-interrupt-controller@223000 {
35 compatible = "fsl,imx1-aitc", "fsl,avic";
37 #interrupt-cells = <1>;
38 reg = <0x00223000 0x1000>;
48 compatible = "arm,arm920t";
49 operating-points = <200000 1900000>;
50 clock-latency = <62500>;
51 clocks = <&clks IMX1_CLK_MCU>;
52 voltage-tolerance = <5>;
58 compatible = "fsl,imx-clk32", "fixed-clock";
60 clock-frequency = <32000>;
67 compatible = "simple-bus";
68 interrupt-parent = <&aitc>;
72 compatible = "fsl,aipi-bus", "simple-bus";
75 reg = <0x00200000 0x10000>;
79 compatible = "fsl,imx1-gpt";
80 reg = <0x00202000 0x1000>;
82 clocks = <&clks IMX1_CLK_HCLK>,
83 <&clks IMX1_CLK_PER1>;
84 clock-names = "ipg", "per";
88 compatible = "fsl,imx1-gpt";
89 reg = <0x00203000 0x1000>;
91 clocks = <&clks IMX1_CLK_HCLK>,
92 <&clks IMX1_CLK_PER1>;
93 clock-names = "ipg", "per";
97 compatible = "fsl,imx1-fb";
98 reg = <0x00205000 0x1000>;
100 clocks = <&clks IMX1_CLK_DUMMY>,
101 <&clks IMX1_CLK_DUMMY>,
102 <&clks IMX1_CLK_PER2>;
103 clock-names = "ipg", "ahb", "per";
107 uart1: serial@206000 {
108 compatible = "fsl,imx1-uart";
109 reg = <0x00206000 0x1000>;
110 interrupts = <30 29 26>;
111 clocks = <&clks IMX1_CLK_HCLK>,
112 <&clks IMX1_CLK_PER1>;
113 clock-names = "ipg", "per";
117 uart2: serial@207000 {
118 compatible = "fsl,imx1-uart";
119 reg = <0x00207000 0x1000>;
120 interrupts = <24 23 20>;
121 clocks = <&clks IMX1_CLK_HCLK>,
122 <&clks IMX1_CLK_PER1>;
123 clock-names = "ipg", "per";
129 compatible = "fsl,imx1-pwm";
130 reg = <0x00208000 0x1000>;
132 clocks = <&clks IMX1_CLK_DUMMY>,
133 <&clks IMX1_CLK_PER1>;
134 clock-names = "ipg", "per";
138 compatible = "fsl,imx1-dma";
139 reg = <0x00209000 0x1000>;
140 interrupts = <61 60>;
141 clocks = <&clks IMX1_CLK_HCLK>,
142 <&clks IMX1_CLK_DMA_GATE>;
143 clock-names = "ipg", "ahb";
147 uart3: serial@20a000 {
148 compatible = "fsl,imx1-uart";
149 reg = <0x0020a000 0x1000>;
150 interrupts = <54 4 1>;
151 clocks = <&clks IMX1_CLK_UART3_GATE>,
152 <&clks IMX1_CLK_PER1>;
153 clock-names = "ipg", "per";
159 compatible = "fsl,aipi-bus", "simple-bus";
160 #address-cells = <1>;
162 reg = <0x00210000 0x10000>;
166 #address-cells = <1>;
168 compatible = "fsl,imx1-cspi";
169 reg = <0x00213000 0x1000>;
171 clocks = <&clks IMX1_CLK_DUMMY>,
172 <&clks IMX1_CLK_PER1>;
173 clock-names = "ipg", "per";
178 #address-cells = <1>;
180 compatible = "fsl,imx1-i2c";
181 reg = <0x00217000 0x1000>;
183 clocks = <&clks IMX1_CLK_HCLK>;
188 #address-cells = <1>;
190 compatible = "fsl,imx1-cspi";
191 reg = <0x00219000 0x1000>;
193 clocks = <&clks IMX1_CLK_DUMMY>,
194 <&clks IMX1_CLK_PER1>;
195 clock-names = "ipg", "per";
200 compatible = "fsl,imx1-ccm";
201 reg = <0x0021b000 0x1000>;
205 iomuxc: iomuxc@21c000 {
206 compatible = "fsl,imx1-iomuxc";
207 reg = <0x0021c000 0x1000>;
208 #address-cells = <1>;
213 compatible = "fsl,imx1-gpio";
214 reg = <0x0021c000 0x100>;
218 interrupt-controller;
219 #interrupt-cells = <2>;
223 compatible = "fsl,imx1-gpio";
224 reg = <0x0021c100 0x100>;
228 interrupt-controller;
229 #interrupt-cells = <2>;
233 compatible = "fsl,imx1-gpio";
234 reg = <0x0021c200 0x100>;
238 interrupt-controller;
239 #interrupt-cells = <2>;
243 compatible = "fsl,imx1-gpio";
244 reg = <0x0021c300 0x100>;
248 interrupt-controller;
249 #interrupt-cells = <2>;
255 #address-cells = <2>;
257 compatible = "fsl,imx1-weim";
258 reg = <0x00220000 0x1000>;
259 clocks = <&clks IMX1_CLK_DUMMY>;
261 0 0 0x10000000 0x02000000
262 1 0 0x12000000 0x01000000
263 2 0 0x13000000 0x01000000
264 3 0 0x14000000 0x01000000
265 4 0 0x15000000 0x01000000
266 5 0 0x16000000 0x01000000
271 esram: esram@300000 {
272 compatible = "mmio-sram";
273 reg = <0x00300000 0x20000>;