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