]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/kirkwood-ts219.dtsi
Merge tag 'renesas-dt2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.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                         pinctrl-0 = <&pmx_twsi0>;
21                         pinctrl-names = "default";
22
23                         s35390a: s35390a@30 {
24                                 compatible = "s35390a";
25                                 reg = <0x30>;
26                         };
27                 };
28                 serial@12000 {
29                         clock-frequency = <200000000>;
30                         status = "okay";
31                         pinctrl-0 = <&pmx_uart0>;
32                         pinctrl-names = "default";
33                 };
34                 serial@12100 {
35                         clock-frequency = <200000000>;
36                         status = "okay";
37                         pinctrl-0 = <&pmx_uart1>;
38                         pinctrl-names = "default";
39                 };
40                 spi@10600 {
41                         status = "okay";
42                         pinctrl-0 = <&pmx_spi>;
43                         pinctrl-names = "default";
44
45                         m25p128@0 {
46                                 #address-cells = <1>;
47                                 #size-cells = <1>;
48                                 compatible = "m25p128";
49                                 reg = <0>;
50                                 spi-max-frequency = <20000000>;
51                                 mode = <0>;
52
53                                 partition@0000000 {
54                                         reg = <0x00000000 0x00080000>;
55                                         label = "U-Boot";
56                                 };
57
58                                 partition@00200000 {
59                                         reg = <0x00200000 0x00200000>;
60                                         label = "Kernel";
61                                 };
62
63                                 partition@00400000 {
64                                         reg = <0x00400000 0x00900000>;
65                                         label = "RootFS1";
66                                 };
67                                 partition@00d00000 {
68                                         reg = <0x00d00000 0x00300000>;
69                                         label = "RootFS2";
70                                 };
71                                 partition@00040000 {
72                                         reg = <0x00080000 0x00040000>;
73                                         label = "U-Boot Config";
74                                 };
75                                 partition@000c0000 {
76                                         reg = <0x000c0000 0x00140000>;
77                                         label = "NAS Config";
78                                 };
79                         };
80                 };
81                 sata@80000 {
82                         pinctrl-0 = <&pmx_sata0 &pmx_sata1>;
83                         pinctrl-names = "default";
84                         status = "okay";
85                         nr-ports = <2>;
86                 };
87         };
88 };