ARM: Kirkwood: Make use of the QNAP Power off driver.
[linux-2.6-microblaze.git] / arch / arm / boot / dts / kirkwood-ts219.dtsi
1 /include/ "kirkwood.dtsi"
2
3 / {
4         model = "QNAP TS219 family";
5         compatible = "qnap,ts219", "marvell,kirkwood";
6
7         memory {
8                 device_type = "memory";
9                 reg = <0x00000000 0x20000000>;
10         };
11
12         chosen {
13                 bootargs = "console=ttyS0,115200n8";
14         };
15
16         ocp@f1000000 {
17                 i2c@11000 {
18                         status = "okay";
19                         clock-frequency = <400000>;
20
21                         s35390a: s35390a@30 {
22                                 compatible = "s35390a";
23                                 reg = <0x30>;
24                         };
25                 };
26                 serial@12000 {
27                         clock-frequency = <200000000>;
28                         status = "okay";
29                 };
30                 serial@12100 {
31                         clock-frequency = <200000000>;
32                         status = "okay";
33                 };
34                 poweroff@12100 {
35                         compatible = "qnap,power-off";
36                         reg = <0x12000 0x100>;
37                         clocks = <&gate_clk 7>;
38                 };
39                 spi@10600 {
40                         status = "okay";
41
42                         m25p128@0 {
43                                 #address-cells = <1>;
44                                 #size-cells = <1>;
45                                 compatible = "m25p128";
46                                 reg = <0>;
47                                 spi-max-frequency = <20000000>;
48                                 mode = <0>;
49
50                                 partition@0000000 {
51                                         reg = <0x00000000 0x00080000>;
52                                         label = "U-Boot";
53                                 };
54
55                                 partition@00200000 {
56                                         reg = <0x00200000 0x00200000>;
57                                         label = "Kernel";
58                                 };
59
60                                 partition@00400000 {
61                                         reg = <0x00400000 0x00900000>;
62                                         label = "RootFS1";
63                                 };
64                                 partition@00d00000 {
65                                         reg = <0x00d00000 0x00300000>;
66                                         label = "RootFS2";
67                                 };
68                                 partition@00040000 {
69                                         reg = <0x00080000 0x00040000>;
70                                         label = "U-Boot Config";
71                                 };
72                                 partition@000c0000 {
73                                         reg = <0x000c0000 0x00140000>;
74                                         label = "NAS Config";
75                                 };
76                         };
77                 };
78                 sata@80000 {
79                         status = "okay";
80                         nr-ports = <2>;
81                 };
82         };
83 };