Merge git://1984.lsi.us.es/nf-next
[cascardo/linux.git] / arch / arm / boot / dts / kirkwood.dtsi
1 /include/ "skeleton.dtsi"
2
3 / {
4         compatible = "marvell,kirkwood";
5         interrupt-parent = <&intc>;
6
7         intc: interrupt-controller {
8                 compatible = "marvell,orion-intc", "marvell,intc";
9                 interrupt-controller;
10                 #interrupt-cells = <1>;
11                 reg = <0xf1020204 0x04>,
12                       <0xf1020214 0x04>;
13         };
14
15         ocp@f1000000 {
16                 compatible = "simple-bus";
17                 ranges = <0 0xf1000000 0x4000000>;
18                 #address-cells = <1>;
19                 #size-cells = <1>;
20
21                 gpio0: gpio@10100 {
22                         compatible = "marvell,orion-gpio";
23                         #gpio-cells = <2>;
24                         gpio-controller;
25                         reg = <0x10100 0x40>;
26                         ngpio = <32>;
27                         interrupts = <35>, <36>, <37>, <38>;
28                 };
29
30                 gpio1: gpio@10140 {
31                         compatible = "marvell,orion-gpio";
32                         #gpio-cells = <2>;
33                         gpio-controller;
34                         reg = <0x10140 0x40>;
35                         ngpio = <18>;
36                         interrupts = <39>, <40>, <41>;
37                 };
38
39                 serial@12000 {
40                         compatible = "ns16550a";
41                         reg = <0x12000 0x100>;
42                         reg-shift = <2>;
43                         interrupts = <33>;
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 = <34>;
53                         /* set clock-frequency in board dts */
54                         status = "disabled";
55                 };
56
57                 rtc@10300 {
58                         compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
59                         reg = <0x10300 0x20>;
60                         interrupts = <53>;
61                 };
62
63                 spi@10600 {
64                         compatible = "marvell,orion-spi";
65                         #address-cells = <1>;
66                         #size-cells = <0>;
67                         cell-index = <0>;
68                         interrupts = <23>;
69                         reg = <0x10600 0x28>;
70                         status = "disabled";
71                 };
72
73                 wdt@20300 {
74                         compatible = "marvell,orion-wdt";
75                         reg = <0x20300 0x28>;
76                         status = "okay";
77                 };
78
79                 sata@80000 {
80                         compatible = "marvell,orion-sata";
81                         reg = <0x80000 0x5000>;
82                         interrupts = <21>;
83                         status = "disabled";
84                 };
85
86                 nand@3000000 {
87                         #address-cells = <1>;
88                         #size-cells = <1>;
89                         cle = <0>;
90                         ale = <1>;
91                         bank-width = <1>;
92                         compatible = "marvell,orion-nand";
93                         reg = <0x3000000 0x400>;
94                         chip-delay = <25>;
95                         /* set partition map and/or chip-delay in board dts */
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 = <29>;
105                         clock-frequency = <100000>;
106                         status = "disabled";
107                 };
108         };
109 };