blob: 62e5e2d5c348c864fb57fa7a1bcec712f7a1093a [file] [log] [blame]
Andrew Lunn9eb61f42012-05-12 14:57:59 +02001/ {
2 model = "QNAP TS219 family";
Andrew Lunnf39c1102012-07-18 19:22:54 +02003 compatible = "qnap,ts219", "marvell,kirkwood";
Andrew Lunn9eb61f42012-05-12 14:57:59 +02004
5 memory {
6 device_type = "memory";
7 reg = <0x00000000 0x20000000>;
8 };
9
10 chosen {
11 bootargs = "console=ttyS0,115200n8";
Sebastian Hesselbarthab833612014-04-30 14:56:30 +020012 stdout-path = &uart0;
Andrew Lunn9eb61f42012-05-12 14:57:59 +020013 };
14
15 ocp@f1000000 {
16 i2c@11000 {
17 status = "okay";
18 clock-frequency = <400000>;
19
20 s35390a: s35390a@30 {
21 compatible = "s35390a";
22 reg = <0x30>;
23 };
24 };
25 serial@12000 {
Andrew Lunn9eb61f42012-05-12 14:57:59 +020026 status = "okay";
27 };
28 serial@12100 {
Andrew Lunn9eb61f42012-05-12 14:57:59 +020029 status = "okay";
30 };
Andrew Lunn4350a472012-12-28 13:25:10 +010031 poweroff@12100 {
32 compatible = "qnap,power-off";
Helmut Klein5442f0e2015-11-11 15:03:04 +010033 reg = <0x12100 0x100>;
Andrew Lunn4350a472012-12-28 13:25:10 +010034 clocks = <&gate_clk 7>;
35 };
Andrew Lunn9eb61f42012-05-12 14:57:59 +020036 spi@10600 {
37 status = "okay";
38
39 m25p128@0 {
40 #address-cells = <1>;
41 #size-cells = <1>;
Rafał Miłecki943d45a2015-05-19 13:40:16 +020042 compatible = "m25p128", "jedec,spi-nor";
Andrew Lunn9eb61f42012-05-12 14:57:59 +020043 reg = <0>;
44 spi-max-frequency = <20000000>;
45 mode = <0>;
46
47 partition@0000000 {
48 reg = <0x00000000 0x00080000>;
49 label = "U-Boot";
50 };
51
52 partition@00200000 {
53 reg = <0x00200000 0x00200000>;
54 label = "Kernel";
55 };
56
57 partition@00400000 {
58 reg = <0x00400000 0x00900000>;
59 label = "RootFS1";
60 };
61 partition@00d00000 {
62 reg = <0x00d00000 0x00300000>;
63 label = "RootFS2";
64 };
65 partition@00040000 {
66 reg = <0x00080000 0x00040000>;
67 label = "U-Boot Config";
68 };
69 partition@000c0000 {
70 reg = <0x000c0000 0x00140000>;
71 label = "NAS Config";
72 };
73 };
74 };
Andrew Lunn2cef1a22012-06-10 16:58:11 +020075 sata@80000 {
Thomas Petazzonia4936cf2013-05-24 11:44:56 +020076 pinctrl-0 = <&pmx_sata0 &pmx_sata1>;
77 pinctrl-names = "default";
Andrew Lunn2cef1a22012-06-10 16:58:11 +020078 status = "okay";
79 nr-ports = <2>;
80 };
Andrew Lunn9eb61f42012-05-12 14:57:59 +020081 };
82};
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020083
84&mdio {
85 status = "okay";
86
Andrew Lunn8b1750d2016-04-03 04:03:46 +020087 ethphy0: ethernet-phy@X {
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020088 /* overwrite reg property in board file */
89 };
90};
91
92&eth0 {
93 status = "okay";
94 ethernet0-port@0 {
95 phy-handle = <&ethphy0>;
96 };
97};
Andrew Lunneb13cf82016-04-03 04:03:47 +020098
99&pciec {
100 status = "okay";
101};
102
103&pcie0 {
104 status = "okay";
105};