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