blob: 4642c8169a65ba490a68e466b1e6e8a046719a58 [file] [log] [blame]
Fabio Estevam241f76b2018-05-07 15:23:40 -03001// SPDX-License-Identifier: GPL-2.0+
2//
3// Copyright 2012 Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +02004
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +02005/ {
Fabio Estevam7f107882016-11-12 13:30:35 -02006 #address-cells = <1>;
7 #size-cells = <1>;
Fabio Estevama971c552017-01-23 14:54:10 -02008 /*
9 * The decompressor and also some bootloaders rely on a
10 * pre-existing /chosen node to be available to insert the
11 * command line and merge other ATAGS info.
12 * Also for U-Boot there must be a pre-existing /memory node.
13 */
14 chosen {};
Marco Franchi7f08e6a2018-01-24 11:22:13 -020015 memory { device_type = "memory"; };
Fabio Estevam7f107882016-11-12 13:30:35 -020016
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020017 aliases {
18 serial0 = &uart1;
19 serial1 = &uart2;
20 serial2 = &uart3;
21 serial3 = &uart4;
22 serial4 = &uart5;
23 };
24
Fabio Estevam070bd7e2013-07-07 10:12:30 -030025 cpus {
Fabio Estevamd447dd82016-11-16 13:15:38 -020026 #address-cells = <1>;
Fabio Estevam070bd7e2013-07-07 10:12:30 -030027 #size-cells = <0>;
28
Fabio Estevamd447dd82016-11-16 13:15:38 -020029 cpu@0 {
Vladimir Zapolskiybc6cde32015-09-25 20:35:30 +030030 compatible = "arm,arm1136jf-s";
Fabio Estevam070bd7e2013-07-07 10:12:30 -030031 device_type = "cpu";
Fabio Estevamd447dd82016-11-16 13:15:38 -020032 reg = <0>;
Fabio Estevam070bd7e2013-07-07 10:12:30 -030033 };
34 };
35
Vladimir Zapolskiyaf923052016-11-17 03:30:51 +020036 avic: interrupt-controller@68000000 {
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020037 compatible = "fsl,imx31-avic", "fsl,avic";
38 interrupt-controller;
39 #interrupt-cells = <1>;
Vladimir Zapolskiyaf923052016-11-17 03:30:51 +020040 reg = <0x68000000 0x100000>;
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020041 };
42
43 soc {
44 #address-cells = <1>;
45 #size-cells = <1>;
46 compatible = "simple-bus";
47 interrupt-parent = <&avic>;
48 ranges;
49
50 aips@43f00000 { /* AIPS1 */
51 compatible = "fsl,aips-bus", "simple-bus";
52 #address-cells = <1>;
53 #size-cells = <1>;
54 reg = <0x43f00000 0x100000>;
55 ranges;
56
57 uart1: serial@43f90000 {
58 compatible = "fsl,imx31-uart", "fsl,imx21-uart";
59 reg = <0x43f90000 0x4000>;
60 interrupts = <45>;
Fabio Estevamef0e4a62012-11-22 17:10:46 -020061 clocks = <&clks 10>, <&clks 30>;
62 clock-names = "ipg", "per";
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020063 status = "disabled";
64 };
65
66 uart2: serial@43f94000 {
67 compatible = "fsl,imx31-uart", "fsl,imx21-uart";
68 reg = <0x43f94000 0x4000>;
69 interrupts = <32>;
Fabio Estevamef0e4a62012-11-22 17:10:46 -020070 clocks = <&clks 10>, <&clks 31>;
71 clock-names = "ipg", "per";
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020072 status = "disabled";
73 };
74
Alexander Kurzd8c8c702016-04-15 09:54:20 +020075 kpp: kpp@43fa8000 {
76 compatible = "fsl,imx31-kpp", "fsl,imx21-kpp";
77 reg = <0x43fa8000 0x4000>;
78 interrupts = <24>;
79 clocks = <&clks 46>;
80 status = "disabled";
81 };
82
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020083 uart4: serial@43fb0000 {
84 compatible = "fsl,imx31-uart", "fsl,imx21-uart";
85 reg = <0x43fb0000 0x4000>;
Fabio Estevamef0e4a62012-11-22 17:10:46 -020086 clocks = <&clks 10>, <&clks 49>;
87 clock-names = "ipg", "per";
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020088 interrupts = <46>;
89 status = "disabled";
90 };
91
92 uart5: serial@43fb4000 {
93 compatible = "fsl,imx31-uart", "fsl,imx21-uart";
94 reg = <0x43fb4000 0x4000>;
95 interrupts = <47>;
Fabio Estevamef0e4a62012-11-22 17:10:46 -020096 clocks = <&clks 10>, <&clks 50>;
97 clock-names = "ipg", "per";
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +020098 status = "disabled";
99 };
100 };
101
102 spba@50000000 {
103 compatible = "fsl,spba-bus", "simple-bus";
104 #address-cells = <1>;
105 #size-cells = <1>;
106 reg = <0x50000000 0x100000>;
107 ranges;
108
109 uart3: serial@5000c000 {
110 compatible = "fsl,imx31-uart", "fsl,imx21-uart";
111 reg = <0x5000c000 0x4000>;
112 interrupts = <18>;
Fabio Estevamef0e4a62012-11-22 17:10:46 -0200113 clocks = <&clks 10>, <&clks 48>;
114 clock-names = "ipg", "per";
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200115 status = "disabled";
116 };
Fabio Estevamef0e4a62012-11-22 17:10:46 -0200117
Sascha Hauer9c5d5902013-06-25 15:51:49 +0200118 iim: iim@5001c000 {
119 compatible = "fsl,imx31-iim", "fsl,imx27-iim";
120 reg = <0x5001c000 0x1000>;
121 interrupts = <19>;
122 clocks = <&clks 25>;
123 };
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200124 };
Sascha Hauera44eed92013-03-14 13:08:58 +0100125
126 aips@53f00000 { /* AIPS2 */
127 compatible = "fsl,aips-bus", "simple-bus";
128 #address-cells = <1>;
129 #size-cells = <1>;
130 reg = <0x53f00000 0x100000>;
131 ranges;
132
Vladimir Zapolskiy1f87aee2016-09-26 03:03:41 +0300133 clks: ccm@53f80000{
134 compatible = "fsl,imx31-ccm";
135 reg = <0x53f80000 0x4000>;
136 interrupts = <31>, <53>;
137 #clock-cells = <1>;
138 };
139
Sascha Hauera44eed92013-03-14 13:08:58 +0100140 gpt: timer@53f90000 {
141 compatible = "fsl,imx31-gpt";
142 reg = <0x53f90000 0x4000>;
143 interrupts = <29>;
144 clocks = <&clks 10>, <&clks 22>;
145 clock-names = "ipg", "per";
146 };
147 };
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200148 };
149};