blob: a72031407ebdb52519229af5bac9e448dd66ce4f [file] [log] [blame]
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +02001/*
2 * Copyright 2012 Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
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
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020012/ {
Fabio Estevam7f107882016-11-12 13:30:35 -020013 #address-cells = <1>;
14 #size-cells = <1>;
Fabio Estevama971c552017-01-23 14:54:10 -020015 /*
16 * The decompressor and also some bootloaders rely on a
17 * pre-existing /chosen node to be available to insert the
18 * command line and merge other ATAGS info.
19 * Also for U-Boot there must be a pre-existing /memory node.
20 */
21 chosen {};
22 memory { device_type = "memory"; reg = <0 0>; };
Fabio Estevam7f107882016-11-12 13:30:35 -020023
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020024 aliases {
25 serial0 = &uart1;
26 serial1 = &uart2;
27 serial2 = &uart3;
28 serial3 = &uart4;
29 serial4 = &uart5;
30 };
31
Fabio Estevam070bd7e2013-07-07 10:12:30 -030032 cpus {
Fabio Estevamd447dd82016-11-16 13:15:38 -020033 #address-cells = <1>;
Fabio Estevam070bd7e2013-07-07 10:12:30 -030034 #size-cells = <0>;
35
Fabio Estevamd447dd82016-11-16 13:15:38 -020036 cpu@0 {
Vladimir Zapolskiybc6cde32015-09-25 20:35:30 +030037 compatible = "arm,arm1136jf-s";
Fabio Estevam070bd7e2013-07-07 10:12:30 -030038 device_type = "cpu";
Fabio Estevamd447dd82016-11-16 13:15:38 -020039 reg = <0>;
Fabio Estevam070bd7e2013-07-07 10:12:30 -030040 };
41 };
42
Vladimir Zapolskiyaf923052016-11-17 03:30:51 +020043 avic: interrupt-controller@68000000 {
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020044 compatible = "fsl,imx31-avic", "fsl,avic";
45 interrupt-controller;
46 #interrupt-cells = <1>;
Vladimir Zapolskiyaf923052016-11-17 03:30:51 +020047 reg = <0x68000000 0x100000>;
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020048 };
49
50 soc {
51 #address-cells = <1>;
52 #size-cells = <1>;
53 compatible = "simple-bus";
54 interrupt-parent = <&avic>;
55 ranges;
56
57 aips@43f00000 { /* AIPS1 */
58 compatible = "fsl,aips-bus", "simple-bus";
59 #address-cells = <1>;
60 #size-cells = <1>;
61 reg = <0x43f00000 0x100000>;
62 ranges;
63
64 uart1: serial@43f90000 {
65 compatible = "fsl,imx31-uart", "fsl,imx21-uart";
66 reg = <0x43f90000 0x4000>;
67 interrupts = <45>;
Fabio Estevamef0e4a62012-11-22 17:10:46 -020068 clocks = <&clks 10>, <&clks 30>;
69 clock-names = "ipg", "per";
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020070 status = "disabled";
71 };
72
73 uart2: serial@43f94000 {
74 compatible = "fsl,imx31-uart", "fsl,imx21-uart";
75 reg = <0x43f94000 0x4000>;
76 interrupts = <32>;
Fabio Estevamef0e4a62012-11-22 17:10:46 -020077 clocks = <&clks 10>, <&clks 31>;
78 clock-names = "ipg", "per";
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020079 status = "disabled";
80 };
81
Alexander Kurzd8c8c702016-04-15 09:54:20 +020082 kpp: kpp@43fa8000 {
83 compatible = "fsl,imx31-kpp", "fsl,imx21-kpp";
84 reg = <0x43fa8000 0x4000>;
85 interrupts = <24>;
86 clocks = <&clks 46>;
87 status = "disabled";
88 };
89
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020090 uart4: serial@43fb0000 {
91 compatible = "fsl,imx31-uart", "fsl,imx21-uart";
92 reg = <0x43fb0000 0x4000>;
Fabio Estevamef0e4a62012-11-22 17:10:46 -020093 clocks = <&clks 10>, <&clks 49>;
94 clock-names = "ipg", "per";
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020095 interrupts = <46>;
96 status = "disabled";
97 };
98
99 uart5: serial@43fb4000 {
100 compatible = "fsl,imx31-uart", "fsl,imx21-uart";
101 reg = <0x43fb4000 0x4000>;
102 interrupts = <47>;
Fabio Estevamef0e4a62012-11-22 17:10:46 -0200103 clocks = <&clks 10>, <&clks 50>;
104 clock-names = "ipg", "per";
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200105 status = "disabled";
106 };
107 };
108
109 spba@50000000 {
110 compatible = "fsl,spba-bus", "simple-bus";
111 #address-cells = <1>;
112 #size-cells = <1>;
113 reg = <0x50000000 0x100000>;
114 ranges;
115
116 uart3: serial@5000c000 {
117 compatible = "fsl,imx31-uart", "fsl,imx21-uart";
118 reg = <0x5000c000 0x4000>;
119 interrupts = <18>;
Fabio Estevamef0e4a62012-11-22 17:10:46 -0200120 clocks = <&clks 10>, <&clks 48>;
121 clock-names = "ipg", "per";
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200122 status = "disabled";
123 };
Fabio Estevamef0e4a62012-11-22 17:10:46 -0200124
Sascha Hauer9c5d5902013-06-25 15:51:49 +0200125 iim: iim@5001c000 {
126 compatible = "fsl,imx31-iim", "fsl,imx27-iim";
127 reg = <0x5001c000 0x1000>;
128 interrupts = <19>;
129 clocks = <&clks 25>;
130 };
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200131 };
Sascha Hauera44eed92013-03-14 13:08:58 +0100132
133 aips@53f00000 { /* AIPS2 */
134 compatible = "fsl,aips-bus", "simple-bus";
135 #address-cells = <1>;
136 #size-cells = <1>;
137 reg = <0x53f00000 0x100000>;
138 ranges;
139
Vladimir Zapolskiy1f87aee2016-09-26 03:03:41 +0300140 clks: ccm@53f80000{
141 compatible = "fsl,imx31-ccm";
142 reg = <0x53f80000 0x4000>;
143 interrupts = <31>, <53>;
144 #clock-cells = <1>;
145 };
146
Sascha Hauera44eed92013-03-14 13:08:58 +0100147 gpt: timer@53f90000 {
148 compatible = "fsl,imx31-gpt";
149 reg = <0x53f90000 0x4000>;
150 interrupts = <29>;
151 clocks = <&clks 10>, <&clks 22>;
152 clock-names = "ipg", "per";
153 };
154 };
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200155 };
156};