]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/orion5x.dtsi
arm: imx6: defconfig: update tx6 defconfigs
[karo-tx-linux.git] / arch / arm / boot / dts / orion5x.dtsi
1 /*
2  * Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3  *
4  * This file is licensed under the terms of the GNU General Public
5  * License version 2. This program is licensed "as is" without any
6  * warranty of any kind, whether express or implied.
7  */
8
9 /include/ "skeleton.dtsi"
10
11 / {
12         model = "Marvell Orion5x SoC";
13         compatible = "marvell,orion5x";
14         interrupt-parent = <&intc>;
15
16         aliases {
17                 gpio0 = &gpio0;
18         };
19
20         intc: interrupt-controller {
21                 compatible = "marvell,orion-intc";
22                 interrupt-controller;
23                 #interrupt-cells = <1>;
24                 reg = <0xf1020200 0x08>;
25         };
26
27         ocp@f1000000 {
28                 compatible = "simple-bus";
29                 ranges = <0x00000000 0xf1000000 0x4000000
30                           0xf2200000 0xf2200000 0x0000800>;
31                 #address-cells = <1>;
32                 #size-cells = <1>;
33
34                 gpio0: gpio@10100 {
35                         compatible = "marvell,orion-gpio";
36                         #gpio-cells = <2>;
37                         gpio-controller;
38                         reg = <0x10100 0x40>;
39                         ngpios = <32>;
40                         interrupt-controller;
41                         #interrupt-cells = <2>;
42                         interrupts = <6>, <7>, <8>, <9>;
43                 };
44
45                 serial@12000 {
46                         compatible = "ns16550a";
47                         reg = <0x12000 0x100>;
48                         reg-shift = <2>;
49                         interrupts = <3>;
50                         /* set clock-frequency in board dts */
51                         status = "disabled";
52                 };
53
54                 serial@12100 {
55                         compatible = "ns16550a";
56                         reg = <0x12100 0x100>;
57                         reg-shift = <2>;
58                         interrupts = <4>;
59                         /* set clock-frequency in board dts */
60                         status = "disabled";
61                 };
62
63                 spi@10600 {
64                         compatible = "marvell,orion-spi";
65                         #address-cells = <1>;
66                         #size-cells = <0>;
67                         cell-index = <0>;
68                         reg = <0x10600 0x28>;
69                         status = "disabled";
70                 };
71
72                 wdt@20300 {
73                         compatible = "marvell,orion-wdt";
74                         reg = <0x20300 0x28>;
75                         status = "okay";
76                 };
77
78                 ehci@50000 {
79                         compatible = "marvell,orion-ehci";
80                         reg = <0x50000 0x1000>;
81                         interrupts = <17>;
82                         status = "disabled";
83                 };
84
85                 ehci@a0000 {
86                         compatible = "marvell,orion-ehci";
87                         reg = <0xa0000 0x1000>;
88                         interrupts = <12>;
89                         status = "disabled";
90                 };
91
92                 sata@80000 {
93                         compatible = "marvell,orion-sata";
94                         reg = <0x80000 0x5000>;
95                         interrupts = <29>;
96                         status = "disabled";
97                 };
98
99                 i2c@11000 {
100                         compatible = "marvell,mv64xxx-i2c";
101                         reg = <0x11000 0x20>;
102                         #address-cells = <1>;
103                         #size-cells = <0>;
104                         interrupts = <5>;
105                         clock-frequency = <100000>;
106                         status = "disabled";
107                 };
108
109                 xor@60900 {
110                         compatible = "marvell,orion-xor";
111                         reg = <0x60900 0x100
112                                0x60b00 0x100>;
113                         status = "okay";
114
115                         xor00 {
116                               interrupts = <30>;
117                               dmacap,memcpy;
118                               dmacap,xor;
119                         };
120                         xor01 {
121                               interrupts = <31>;
122                               dmacap,memcpy;
123                               dmacap,xor;
124                               dmacap,memset;
125                         };
126                 };
127
128                 crypto@90000 {
129                         compatible = "marvell,orion-crypto";
130                         reg = <0x90000 0x10000>,
131                               <0xf2200000 0x800>;
132                         reg-names = "regs", "sram";
133                         interrupts = <28>;
134                         status = "okay";
135                 };
136
137                 mdio: mdio-bus@72004 {
138                         compatible = "marvell,orion-mdio";
139                         #address-cells = <1>;
140                         #size-cells = <0>;
141                         reg = <0x72004 0x84>;
142                         interrupts = <22>;
143                         status = "disabled";
144
145                         /* add phy nodes in board file */
146                 };
147
148                 eth: ethernet-controller@72000 {
149                         compatible = "marvell,orion-eth";
150                         #address-cells = <1>;
151                         #size-cells = <0>;
152                         reg = <0x72000 0x4000>;
153                         marvell,tx-checksum-limit = <1600>;
154                         status = "disabled";
155
156                         ethernet-port@0 {
157                                 device_type = "network";
158                                 compatible = "marvell,orion-eth-port";
159                                 reg = <0>;
160                                 /* overwrite MAC address in bootloader */
161                                 local-mac-address = [00 00 00 00 00 00];
162                                 /* set phy-handle property in board file */
163                         };
164                 };
165         };
166 };