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