Skip to content

Commit 26cfaee

Browse files
committed
arm64: dts: rockchip: Add TS133 variant of the QNAP NAS series
The TS133 is a one-bay NAS mostly similar to the other devices in the series. The main difference is that it is build around the RK3566 SoC instead of the RK3568 variant. The RK3566/RK3568 are mostly similar with only slight variants in both speed and some specific peripherals - the RK3568 has more. The specific for the NAS series stay the same though. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patch.msgid.link/20260104191448.2693309-6-heiko@sntech.de
1 parent ae2208d commit 26cfaee

2 files changed

Lines changed: 72 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-powkiddy-rgb20sx.dtb
114114
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-powkiddy-rgb30.dtb
115115
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-powkiddy-rk2023.dtb
116116
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-powkiddy-x55.dtb
117+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-qnap-ts133.dtb
117118
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-quartz64-a.dtb
118119
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-quartz64-b.dtb
119120
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-radxa-cm3-io.dtb
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (c) 2021 Rockchip Electronics Co., Ltd.
4+
* Copyright (c) 2024 Heiko Stuebner <heiko@sntech.de>
5+
*/
6+
7+
/dts-v1/;
8+
9+
#include "rk3566.dtsi"
10+
#include "rk3568-qnap-tsx33.dtsi"
11+
12+
/ {
13+
model = "Qnap TS-133-2G NAS System 1-Bay";
14+
compatible = "qnap,ts133", "rockchip,rk3566";
15+
16+
aliases {
17+
ethernet0 = &gmac1;
18+
};
19+
};
20+
21+
&gmac1 {
22+
assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
23+
assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru CLK_MAC1_2TOP>;
24+
assigned-clock-rates = <0>, <125000000>;
25+
clock_in_out = "output";
26+
phy-handle = <&rgmii_phy0>;
27+
phy-mode = "rgmii-id";
28+
pinctrl-names = "default";
29+
pinctrl-0 = <&gmac1m1_miim
30+
&gmac1m1_tx_bus2
31+
&gmac1m1_rx_bus2
32+
&gmac1m1_rgmii_clk
33+
&gmac1m1_rgmii_bus>;
34+
status = "okay";
35+
};
36+
37+
&mcu {
38+
compatible = "qnap,ts133-mcu";
39+
};
40+
41+
&mdio1 {
42+
rgmii_phy0: ethernet-phy@3 {
43+
/* Motorcomm YT8521 phy */
44+
compatible = "ethernet-phy-ieee802.3-c22";
45+
reg = <0x3>;
46+
pinctrl-0 = <&eth_phy0_reset_pin>;
47+
pinctrl-names = "default";
48+
reset-assert-us = <10000>;
49+
reset-gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_LOW>;
50+
};
51+
};
52+
53+
&pinctrl {
54+
gmac1 {
55+
eth_phy0_reset_pin: eth-phy0-reset-pin {
56+
rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>;
57+
};
58+
};
59+
};
60+
61+
/* connected to usb_host1_xhci */
62+
&usb2phy0_host {
63+
phy-supply = <&vcc5v0_otg>;
64+
status = "okay";
65+
};
66+
67+
/* USB3 port on backside */
68+
&usb_host1_xhci {
69+
dr_mode = "host";
70+
status = "okay";
71+
};

0 commit comments

Comments
 (0)