--- zzzz-none-000/linux-3.10.107/arch/arm/boot/dts/kirkwood-ts219.dtsi 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arm/boot/dts/kirkwood-ts219.dtsi 2021-02-04 17:41:59.000000000 +0000 @@ -1,5 +1,3 @@ -/include/ "kirkwood.dtsi" - / { model = "QNAP TS219 family"; compatible = "qnap,ts219", "marvell,kirkwood"; @@ -11,6 +9,17 @@ chosen { bootargs = "console=ttyS0,115200n8"; + stdout-path = &uart0; + }; + + mbus { + pcie-controller { + status = "okay"; + + pcie@1,0 { + status = "okay"; + }; + }; }; ocp@f1000000 { @@ -24,20 +33,23 @@ }; }; serial@12000 { - clock-frequency = <200000000>; status = "okay"; }; serial@12100 { - clock-frequency = <200000000>; status = "okay"; }; + poweroff@12100 { + compatible = "qnap,power-off"; + reg = <0x12100 0x100>; + clocks = <&gate_clk 7>; + }; spi@10600 { status = "okay"; m25p128@0 { #address-cells = <1>; #size-cells = <1>; - compatible = "m25p128"; + compatible = "m25p128", "jedec,spi-nor"; reg = <0>; spi-max-frequency = <20000000>; mode = <0>; @@ -71,8 +83,25 @@ }; }; sata@80000 { + pinctrl-0 = <&pmx_sata0 &pmx_sata1>; + pinctrl-names = "default"; status = "okay"; nr-ports = <2>; }; }; }; + +&mdio { + status = "okay"; + + ethphy0: ethernet-phy { + /* overwrite reg property in board file */ + }; +}; + +ð0 { + status = "okay"; + ethernet0-port@0 { + phy-handle = <ðphy0>; + }; +};