1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 / { 2 / { 3 model = "QNAP TS219 family"; 3 model = "QNAP TS219 family"; 4 compatible = "qnap,ts219", "marvell,ki 4 compatible = "qnap,ts219", "marvell,kirkwood"; 5 5 6 memory { 6 memory { 7 device_type = "memory"; 7 device_type = "memory"; 8 reg = <0x00000000 0x20000000>; 8 reg = <0x00000000 0x20000000>; 9 }; 9 }; 10 10 11 chosen { 11 chosen { 12 bootargs = "console=ttyS0,1152 12 bootargs = "console=ttyS0,115200n8"; 13 stdout-path = &uart0; 13 stdout-path = &uart0; 14 }; 14 }; 15 15 16 ocp@f1000000 { 16 ocp@f1000000 { 17 i2c@11000 { 17 i2c@11000 { 18 status = "okay"; 18 status = "okay"; 19 clock-frequency = <400 19 clock-frequency = <400000>; 20 20 21 s35390a: s35390a@30 { 21 s35390a: s35390a@30 { 22 compatible = " 22 compatible = "s35390a"; 23 reg = <0x30>; 23 reg = <0x30>; 24 }; 24 }; 25 }; 25 }; 26 serial@12000 { 26 serial@12000 { 27 status = "okay"; 27 status = "okay"; 28 }; 28 }; 29 serial@12100 { 29 serial@12100 { 30 status = "okay"; 30 status = "okay"; 31 }; 31 }; 32 poweroff@12100 { 32 poweroff@12100 { 33 compatible = "qnap,pow 33 compatible = "qnap,power-off"; 34 reg = <0x12100 0x100>; 34 reg = <0x12100 0x100>; 35 clocks = <&gate_clk 7> 35 clocks = <&gate_clk 7>; 36 }; 36 }; 37 spi@10600 { 37 spi@10600 { 38 status = "okay"; 38 status = "okay"; 39 39 40 m25p128@0 { 40 m25p128@0 { 41 #address-cells 41 #address-cells = <1>; 42 #size-cells = 42 #size-cells = <1>; 43 compatible = " 43 compatible = "m25p128", "jedec,spi-nor"; 44 reg = <0>; 44 reg = <0>; 45 spi-max-freque 45 spi-max-frequency = <20000000>; 46 mode = <0>; 46 mode = <0>; 47 47 48 partition@0 { 48 partition@0 { 49 reg = 49 reg = <0x00000000 0x00080000>; 50 label 50 label = "U-Boot"; 51 }; 51 }; 52 52 53 partition@2000 53 partition@200000 { 54 reg = 54 reg = <0x00200000 0x00200000>; 55 label 55 label = "Kernel"; 56 }; 56 }; 57 57 58 partition@4000 58 partition@400000 { 59 reg = 59 reg = <0x00400000 0x00900000>; 60 label 60 label = "RootFS1"; 61 }; 61 }; 62 partition@d000 62 partition@d00000 { 63 reg = 63 reg = <0x00d00000 0x00300000>; 64 label 64 label = "RootFS2"; 65 }; 65 }; 66 partition@4000 66 partition@40000 { 67 reg = 67 reg = <0x00080000 0x00040000>; 68 label 68 label = "U-Boot Config"; 69 }; 69 }; 70 partition@c000 70 partition@c0000 { 71 reg = 71 reg = <0x000c0000 0x00140000>; 72 label 72 label = "NAS Config"; 73 }; 73 }; 74 }; 74 }; 75 }; 75 }; 76 sata@80000 { 76 sata@80000 { 77 pinctrl-0 = <&pmx_sata 77 pinctrl-0 = <&pmx_sata0 &pmx_sata1>; 78 pinctrl-names = "defau 78 pinctrl-names = "default"; 79 status = "okay"; 79 status = "okay"; 80 nr-ports = <2>; 80 nr-ports = <2>; 81 }; 81 }; 82 }; 82 }; 83 }; 83 }; 84 84 85 &mdio { 85 &mdio { 86 status = "okay"; 86 status = "okay"; 87 87 88 ethphy0: ethernet-phy@X { 88 ethphy0: ethernet-phy@X { 89 /* overwrite reg property in b 89 /* overwrite reg property in board file */ 90 }; 90 }; 91 }; 91 }; 92 92 93 ð0 { 93 ð0 { 94 status = "okay"; 94 status = "okay"; 95 ethernet0-port@0 { 95 ethernet0-port@0 { 96 phy-handle = <ðphy0>; 96 phy-handle = <ðphy0>; 97 }; 97 }; 98 }; 98 }; 99 99 100 &pciec { 100 &pciec { 101 status = "okay"; 101 status = "okay"; 102 }; 102 }; 103 103 104 &pcie0 { 104 &pcie0 { 105 status = "okay"; 105 status = "okay"; 106 }; 106 }; 107 107 108 &rtc { 108 &rtc { 109 /* 109 /* 110 * There is a s35390a available on the 110 * There is a s35390a available on the i2c bus, the internal rtc isn't 111 * working (probably no crystal assemb 111 * working (probably no crystal assembled). 112 */ 112 */ 113 status = "disabled"; 113 status = "disabled"; 114 }; 114 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.