Linux-libre 3.10.48-gnu
[librecmc/linux-libre.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                 spi@10600 {
35                         status = "okay";
36
37                         m25p128@0 {
38                                 #address-cells = <1>;
39                                 #size-cells = <1>;
40                                 compatible = "m25p128";
41                                 reg = <0>;
42                                 spi-max-frequency = <20000000>;
43                                 mode = <0>;
44
45                                 partition@0000000 {
46                                         reg = <0x00000000 0x00080000>;
47                                         label = "U-Boot";
48                                 };
49
50                                 partition@00200000 {
51                                         reg = <0x00200000 0x00200000>;
52                                         label = "Kernel";
53                                 };
54
55                                 partition@00400000 {
56                                         reg = <0x00400000 0x00900000>;
57                                         label = "RootFS1";
58                                 };
59                                 partition@00d00000 {
60                                         reg = <0x00d00000 0x00300000>;
61                                         label = "RootFS2";
62                                 };
63                                 partition@00040000 {
64                                         reg = <0x00080000 0x00040000>;
65                                         label = "U-Boot Config";
66                                 };
67                                 partition@000c0000 {
68                                         reg = <0x000c0000 0x00140000>;
69                                         label = "NAS Config";
70                                 };
71                         };
72                 };
73                 sata@80000 {
74                         status = "okay";
75                         nr-ports = <2>;
76                 };
77         };
78 };