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"; |
Sebastian Hesselbarth | ab83361 | 2014-04-30 14:56:30 +0200 | [diff] [blame] | 12 | stdout-path = &uart0; |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 13 | }; |
| 14 | |
Ezequiel Garcia | 54397d8 | 2013-07-26 10:18:05 -0300 | [diff] [blame] | 15 | mbus { |
| 16 | pcie-controller { |
| 17 | status = "okay"; |
| 18 | |
| 19 | pcie@1,0 { |
| 20 | status = "okay"; |
| 21 | }; |
| 22 | }; |
| 23 | }; |
| 24 | |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 25 | ocp@f1000000 { |
| 26 | i2c@11000 { |
| 27 | status = "okay"; |
| 28 | clock-frequency = <400000>; |
| 29 | |
| 30 | s35390a: s35390a@30 { |
| 31 | compatible = "s35390a"; |
| 32 | reg = <0x30>; |
| 33 | }; |
| 34 | }; |
| 35 | serial@12000 { |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 36 | status = "okay"; |
| 37 | }; |
| 38 | serial@12100 { |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 39 | status = "okay"; |
| 40 | }; |
Andrew Lunn | 4350a47 | 2012-12-28 13:25:10 +0100 | [diff] [blame] | 41 | poweroff@12100 { |
| 42 | compatible = "qnap,power-off"; |
Helmut Klein | 5442f0e | 2015-11-11 15:03:04 +0100 | [diff] [blame] | 43 | reg = <0x12100 0x100>; |
Andrew Lunn | 4350a47 | 2012-12-28 13:25:10 +0100 | [diff] [blame] | 44 | clocks = <&gate_clk 7>; |
| 45 | }; |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 46 | spi@10600 { |
| 47 | status = "okay"; |
| 48 | |
| 49 | m25p128@0 { |
| 50 | #address-cells = <1>; |
| 51 | #size-cells = <1>; |
Rafał Miłecki | 943d45a | 2015-05-19 13:40:16 +0200 | [diff] [blame] | 52 | compatible = "m25p128", "jedec,spi-nor"; |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 53 | reg = <0>; |
| 54 | spi-max-frequency = <20000000>; |
| 55 | mode = <0>; |
| 56 | |
| 57 | partition@0000000 { |
| 58 | reg = <0x00000000 0x00080000>; |
| 59 | label = "U-Boot"; |
| 60 | }; |
| 61 | |
| 62 | partition@00200000 { |
| 63 | reg = <0x00200000 0x00200000>; |
| 64 | label = "Kernel"; |
| 65 | }; |
| 66 | |
| 67 | partition@00400000 { |
| 68 | reg = <0x00400000 0x00900000>; |
| 69 | label = "RootFS1"; |
| 70 | }; |
| 71 | partition@00d00000 { |
| 72 | reg = <0x00d00000 0x00300000>; |
| 73 | label = "RootFS2"; |
| 74 | }; |
| 75 | partition@00040000 { |
| 76 | reg = <0x00080000 0x00040000>; |
| 77 | label = "U-Boot Config"; |
| 78 | }; |
| 79 | partition@000c0000 { |
| 80 | reg = <0x000c0000 0x00140000>; |
| 81 | label = "NAS Config"; |
| 82 | }; |
| 83 | }; |
| 84 | }; |
Andrew Lunn | 2cef1a2 | 2012-06-10 16:58:11 +0200 | [diff] [blame] | 85 | sata@80000 { |
Thomas Petazzoni | a4936cf | 2013-05-24 11:44:56 +0200 | [diff] [blame] | 86 | pinctrl-0 = <&pmx_sata0 &pmx_sata1>; |
| 87 | pinctrl-names = "default"; |
Andrew Lunn | 2cef1a2 | 2012-06-10 16:58:11 +0200 | [diff] [blame] | 88 | status = "okay"; |
| 89 | nr-ports = <2>; |
| 90 | }; |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 91 | }; |
| 92 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 93 | |
| 94 | &mdio { |
| 95 | status = "okay"; |
| 96 | |
| 97 | ethphy0: ethernet-phy { |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 98 | /* overwrite reg property in board file */ |
| 99 | }; |
| 100 | }; |
| 101 | |
| 102 | ð0 { |
| 103 | status = "okay"; |
| 104 | ethernet0-port@0 { |
| 105 | phy-handle = <ðphy0>; |
| 106 | }; |
| 107 | }; |