Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 1 | / { |
| 2 | model = "QNAP TS219 family"; |
Andrew Lunn | f39c110 | 2012-07-18 19:22:54 +0200 | [diff] [blame] | 3 | compatible = "qnap,ts219", "marvell,kirkwood"; |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 4 | |
| 5 | memory { |
| 6 | device_type = "memory"; |
| 7 | reg = <0x00000000 0x20000000>; |
| 8 | }; |
| 9 | |
| 10 | chosen { |
| 11 | bootargs = "console=ttyS0,115200n8"; |
| 12 | }; |
| 13 | |
Ezequiel Garcia | 54397d8 | 2013-07-26 10:18:05 -0300 | [diff] [blame] | 14 | mbus { |
| 15 | pcie-controller { |
| 16 | status = "okay"; |
| 17 | |
| 18 | pcie@1,0 { |
| 19 | status = "okay"; |
| 20 | }; |
| 21 | }; |
| 22 | }; |
| 23 | |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 24 | ocp@f1000000 { |
| 25 | i2c@11000 { |
| 26 | status = "okay"; |
| 27 | clock-frequency = <400000>; |
Thomas Petazzoni | a4936cf | 2013-05-24 11:44:56 +0200 | [diff] [blame] | 28 | pinctrl-0 = <&pmx_twsi0>; |
| 29 | pinctrl-names = "default"; |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 30 | |
| 31 | s35390a: s35390a@30 { |
| 32 | compatible = "s35390a"; |
| 33 | reg = <0x30>; |
| 34 | }; |
| 35 | }; |
| 36 | serial@12000 { |
| 37 | clock-frequency = <200000000>; |
| 38 | status = "okay"; |
Thomas Petazzoni | a4936cf | 2013-05-24 11:44:56 +0200 | [diff] [blame] | 39 | pinctrl-0 = <&pmx_uart0>; |
| 40 | pinctrl-names = "default"; |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 41 | }; |
| 42 | serial@12100 { |
| 43 | clock-frequency = <200000000>; |
| 44 | status = "okay"; |
Thomas Petazzoni | a4936cf | 2013-05-24 11:44:56 +0200 | [diff] [blame] | 45 | pinctrl-0 = <&pmx_uart1>; |
| 46 | pinctrl-names = "default"; |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 47 | }; |
Andrew Lunn | 4350a47 | 2012-12-28 13:25:10 +0100 | [diff] [blame] | 48 | poweroff@12100 { |
| 49 | compatible = "qnap,power-off"; |
| 50 | reg = <0x12000 0x100>; |
| 51 | clocks = <&gate_clk 7>; |
| 52 | }; |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 53 | spi@10600 { |
| 54 | status = "okay"; |
Thomas Petazzoni | a4936cf | 2013-05-24 11:44:56 +0200 | [diff] [blame] | 55 | pinctrl-0 = <&pmx_spi>; |
| 56 | pinctrl-names = "default"; |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 57 | |
| 58 | m25p128@0 { |
| 59 | #address-cells = <1>; |
| 60 | #size-cells = <1>; |
| 61 | compatible = "m25p128"; |
| 62 | reg = <0>; |
| 63 | spi-max-frequency = <20000000>; |
| 64 | mode = <0>; |
| 65 | |
| 66 | partition@0000000 { |
| 67 | reg = <0x00000000 0x00080000>; |
| 68 | label = "U-Boot"; |
| 69 | }; |
| 70 | |
| 71 | partition@00200000 { |
| 72 | reg = <0x00200000 0x00200000>; |
| 73 | label = "Kernel"; |
| 74 | }; |
| 75 | |
| 76 | partition@00400000 { |
| 77 | reg = <0x00400000 0x00900000>; |
| 78 | label = "RootFS1"; |
| 79 | }; |
| 80 | partition@00d00000 { |
| 81 | reg = <0x00d00000 0x00300000>; |
| 82 | label = "RootFS2"; |
| 83 | }; |
| 84 | partition@00040000 { |
| 85 | reg = <0x00080000 0x00040000>; |
| 86 | label = "U-Boot Config"; |
| 87 | }; |
| 88 | partition@000c0000 { |
| 89 | reg = <0x000c0000 0x00140000>; |
| 90 | label = "NAS Config"; |
| 91 | }; |
| 92 | }; |
| 93 | }; |
Andrew Lunn | 2cef1a2 | 2012-06-10 16:58:11 +0200 | [diff] [blame] | 94 | sata@80000 { |
Thomas Petazzoni | a4936cf | 2013-05-24 11:44:56 +0200 | [diff] [blame] | 95 | pinctrl-0 = <&pmx_sata0 &pmx_sata1>; |
| 96 | pinctrl-names = "default"; |
Andrew Lunn | 2cef1a2 | 2012-06-10 16:58:11 +0200 | [diff] [blame] | 97 | status = "okay"; |
| 98 | nr-ports = <2>; |
| 99 | }; |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 100 | }; |
| 101 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 102 | |
| 103 | &mdio { |
| 104 | status = "okay"; |
| 105 | |
| 106 | ethphy0: ethernet-phy { |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 107 | /* overwrite reg property in board file */ |
| 108 | }; |
| 109 | }; |
| 110 | |
| 111 | ð0 { |
| 112 | status = "okay"; |
| 113 | ethernet0-port@0 { |
| 114 | phy-handle = <ðphy0>; |
| 115 | }; |
| 116 | }; |