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