0001 // SPDX-License-Identifier: GPL-2.0
0002 / {
0003 model = "QNAP TS219 family";
0004 compatible = "qnap,ts219", "marvell,kirkwood";
0005
0006 memory {
0007 device_type = "memory";
0008 reg = <0x00000000 0x20000000>;
0009 };
0010
0011 chosen {
0012 bootargs = "console=ttyS0,115200n8";
0013 stdout-path = &uart0;
0014 };
0015
0016 ocp@f1000000 {
0017 i2c@11000 {
0018 status = "okay";
0019 clock-frequency = <400000>;
0020
0021 s35390a: s35390a@30 {
0022 compatible = "s35390a";
0023 reg = <0x30>;
0024 };
0025 };
0026 serial@12000 {
0027 status = "okay";
0028 };
0029 serial@12100 {
0030 status = "okay";
0031 };
0032 poweroff@12100 {
0033 compatible = "qnap,power-off";
0034 reg = <0x12100 0x100>;
0035 clocks = <&gate_clk 7>;
0036 };
0037 spi@10600 {
0038 status = "okay";
0039
0040 m25p128@0 {
0041 #address-cells = <1>;
0042 #size-cells = <1>;
0043 compatible = "m25p128", "jedec,spi-nor";
0044 reg = <0>;
0045 spi-max-frequency = <20000000>;
0046 mode = <0>;
0047
0048 partition@0 {
0049 reg = <0x00000000 0x00080000>;
0050 label = "U-Boot";
0051 };
0052
0053 partition@200000 {
0054 reg = <0x00200000 0x00200000>;
0055 label = "Kernel";
0056 };
0057
0058 partition@400000 {
0059 reg = <0x00400000 0x00900000>;
0060 label = "RootFS1";
0061 };
0062 partition@d00000 {
0063 reg = <0x00d00000 0x00300000>;
0064 label = "RootFS2";
0065 };
0066 partition@40000 {
0067 reg = <0x00080000 0x00040000>;
0068 label = "U-Boot Config";
0069 };
0070 partition@c0000 {
0071 reg = <0x000c0000 0x00140000>;
0072 label = "NAS Config";
0073 };
0074 };
0075 };
0076 sata@80000 {
0077 pinctrl-0 = <&pmx_sata0 &pmx_sata1>;
0078 pinctrl-names = "default";
0079 status = "okay";
0080 nr-ports = <2>;
0081 };
0082 };
0083 };
0084
0085 &mdio {
0086 status = "okay";
0087
0088 ethphy0: ethernet-phy@X {
0089 /* overwrite reg property in board file */
0090 };
0091 };
0092
0093 ð0 {
0094 status = "okay";
0095 ethernet0-port@0 {
0096 phy-handle = <ðphy0>;
0097 };
0098 };
0099
0100 &pciec {
0101 status = "okay";
0102 };
0103
0104 &pcie0 {
0105 status = "okay";
0106 };
0107
0108 &rtc {
0109 /*
0110 * There is a s35390a available on the i2c bus, the internal rtc isn't
0111 * working (probably no crystal assembled).
0112 */
0113 status = "disabled";
0114 };