Commit | Line | Data |
---|---|---|
1bffb4a8 TP |
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 | intc: interrupt-controller { | |
17 | compatible = "marvell,orion-intc", "marvell,intc"; | |
18 | interrupt-controller; | |
19 | #interrupt-cells = <1>; | |
20 | reg = <0xf1020204 0x04>; | |
21 | }; | |
22 | ||
23 | ocp@f1000000 { | |
24 | compatible = "simple-bus"; | |
25 | ranges = <0x00000000 0xf1000000 0x4000000 | |
26 | 0xf2200000 0xf2200000 0x0000800>; | |
27 | #address-cells = <1>; | |
28 | #size-cells = <1>; | |
29 | ||
30 | gpio0: gpio@10100 { | |
31 | compatible = "marvell,orion-gpio"; | |
32 | #gpio-cells = <2>; | |
33 | gpio-controller; | |
34 | reg = <0x10100 0x40>; | |
35 | ngpio = <32>; | |
36 | interrupts = <6>, <7>, <8>, <9>; | |
37 | }; | |
38 | ||
39 | serial@12000 { | |
40 | compatible = "ns16550a"; | |
41 | reg = <0x12000 0x100>; | |
42 | reg-shift = <2>; | |
43 | interrupts = <3>; | |
44 | /* set clock-frequency in board dts */ | |
45 | status = "disabled"; | |
46 | }; | |
47 | ||
48 | serial@12100 { | |
49 | compatible = "ns16550a"; | |
50 | reg = <0x12100 0x100>; | |
51 | reg-shift = <2>; | |
52 | interrupts = <4>; | |
53 | /* set clock-frequency in board dts */ | |
54 | status = "disabled"; | |
55 | }; | |
56 | ||
57 | spi@10600 { | |
58 | compatible = "marvell,orion-spi"; | |
59 | #address-cells = <1>; | |
60 | #size-cells = <0>; | |
61 | cell-index = <0>; | |
62 | reg = <0x10600 0x28>; | |
63 | status = "disabled"; | |
64 | }; | |
65 | ||
66 | wdt@20300 { | |
67 | compatible = "marvell,orion-wdt"; | |
68 | reg = <0x20300 0x28>; | |
69 | status = "okay"; | |
70 | }; | |
71 | ||
72 | sata@80000 { | |
73 | compatible = "marvell,orion-sata"; | |
74 | reg = <0x80000 0x5000>; | |
75 | interrupts = <29>; | |
76 | status = "disabled"; | |
77 | }; | |
78 | ||
79 | i2c@11000 { | |
80 | compatible = "marvell,mv64xxx-i2c"; | |
81 | reg = <0x11000 0x20>; | |
82 | #address-cells = <1>; | |
83 | #size-cells = <0>; | |
84 | interrupts = <5>; | |
85 | clock-frequency = <100000>; | |
86 | status = "disabled"; | |
87 | }; | |
88 | ||
89 | crypto@90000 { | |
90 | compatible = "marvell,orion-crypto"; | |
91 | reg = <0x90000 0x10000>, | |
92 | <0xf2200000 0x800>; | |
93 | reg-names = "regs", "sram"; | |
94 | interrupts = <22>; | |
95 | status = "okay"; | |
96 | }; | |
97 | }; | |
98 | }; |