ARM: Kirkwood: Make use of mvebu pincltl and gpio drivers
[pandora-kernel.git] / arch / arm / boot / dts / kirkwood.dtsi
1 /include/ "skeleton.dtsi"
2
3 / {
4         compatible = "marvell,kirkwood";
5         interrupt-parent = <&intc>;
6
7         aliases {
8                gpio0 = &gpio0;
9                gpio1 = &gpio1;
10         };
11         intc: interrupt-controller {
12                 compatible = "marvell,orion-intc", "marvell,intc";
13                 interrupt-controller;
14                 #interrupt-cells = <1>;
15                 reg = <0xf1020204 0x04>,
16                       <0xf1020214 0x04>;
17         };
18
19         ocp@f1000000 {
20                 compatible = "simple-bus";
21                 ranges = <0x00000000 0xf1000000 0x4000000
22                           0xf5000000 0xf5000000 0x0000400>;
23                 #address-cells = <1>;
24                 #size-cells = <1>;
25
26                 gpio0: gpio@10100 {
27                         compatible = "marvell,orion-gpio";
28                         #gpio-cells = <2>;
29                         gpio-controller;
30                         reg = <0x10100 0x40>;
31                         ngpios = <32>;
32                         interrupt-controller;
33                         interrupts = <35>, <36>, <37>, <38>;
34                 };
35
36                 gpio1: gpio@10140 {
37                         compatible = "marvell,orion-gpio";
38                         #gpio-cells = <2>;
39                         gpio-controller;
40                         reg = <0x10140 0x40>;
41                         ngpios = <18>;
42                         interrupt-controller;
43                         interrupts = <39>, <40>, <41>;
44                 };
45
46                 serial@12000 {
47                         compatible = "ns16550a";
48                         reg = <0x12000 0x100>;
49                         reg-shift = <2>;
50                         interrupts = <33>;
51                         /* set clock-frequency in board dts */
52                         status = "disabled";
53                 };
54
55                 serial@12100 {
56                         compatible = "ns16550a";
57                         reg = <0x12100 0x100>;
58                         reg-shift = <2>;
59                         interrupts = <34>;
60                         /* set clock-frequency in board dts */
61                         status = "disabled";
62                 };
63
64                 rtc@10300 {
65                         compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
66                         reg = <0x10300 0x20>;
67                         interrupts = <53>;
68                 };
69
70                 spi@10600 {
71                         compatible = "marvell,orion-spi";
72                         #address-cells = <1>;
73                         #size-cells = <0>;
74                         cell-index = <0>;
75                         interrupts = <23>;
76                         reg = <0x10600 0x28>;
77                         status = "disabled";
78                 };
79
80                 wdt@20300 {
81                         compatible = "marvell,orion-wdt";
82                         reg = <0x20300 0x28>;
83                         status = "okay";
84                 };
85
86                 ehci@50000 {
87                         compatible = "marvell,orion-ehci";
88                         reg = <0x50000 0x1000>;
89                         interrupts = <19>;
90                         status = "okay";
91                 };
92
93                 sata@80000 {
94                         compatible = "marvell,orion-sata";
95                         reg = <0x80000 0x5000>;
96                         interrupts = <21>;
97                         status = "disabled";
98                 };
99
100                 nand@3000000 {
101                         #address-cells = <1>;
102                         #size-cells = <1>;
103                         cle = <0>;
104                         ale = <1>;
105                         bank-width = <1>;
106                         compatible = "marvell,orion-nand";
107                         reg = <0x3000000 0x400>;
108                         chip-delay = <25>;
109                         /* set partition map and/or chip-delay in board dts */
110                         status = "disabled";
111                 };
112
113                 i2c@11000 {
114                         compatible = "marvell,mv64xxx-i2c";
115                         reg = <0x11000 0x20>;
116                         #address-cells = <1>;
117                         #size-cells = <0>;
118                         interrupts = <29>;
119                         clock-frequency = <100000>;
120                         status = "disabled";
121                 };
122
123                 crypto@30000 {
124                         compatible = "marvell,orion-crypto";
125                         reg = <0x30000 0x10000>,
126                               <0xf5000000 0x800>;
127                         reg-names = "regs", "sram";
128                         interrupts = <22>;
129                         status = "okay";
130                 };
131         };
132 };