arch/arm64/boot/dts/rockchip/rk3568-qnap-ts233.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts233.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3568-qnap-ts233.dts
Extension
.dts
Size
2626 bytes
Lines
144
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2021 Rockchip Electronics Co., Ltd.
 * Copyright (c) 2024 Heiko Stuebner <heiko@sntech.de>
 */

/dts-v1/;

#include "rk3568.dtsi"
#include "rk3568-qnap-tsx33.dtsi"

/ {
	model = "Qnap TS-233-2G NAS System 2-Bay";
	compatible = "qnap,ts233", "rockchip,rk3568";

	aliases {
		ethernet0 = &gmac0;
	};
};

/* Connected to usb_host0_xhci */
&combphy0 {
	status = "okay";
};

&gmac0 {
	assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
	assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>, <&cru CLK_MAC0_2TOP>;
	assigned-clock-rates = <0>, <125000000>;
	clock_in_out = "output";
	phy-handle = <&rgmii_phy0>;
	phy-mode = "rgmii-id";
	pinctrl-names = "default";
	pinctrl-0 = <&gmac0_miim
		     &gmac0_tx_bus2
		     &gmac0_rx_bus2
		     &gmac0_rgmii_clk
		     &gmac0_rgmii_bus>;
	status = "okay";
};

&i2c1 {
	/* eeprom for vital-product-data on the backplane */
	eeprom@56 {
		compatible = "giantec,gt24c04a", "atmel,24c04";
		reg = <0x56>;
		label = "VPD_BP";
		num-addresses = <2>;
		pagesize = <16>;
		read-only;
	};
};

&keys {
		pinctrl-names = "default";
		pinctrl-0 = <&copy_button_pin>, <&reset_button_pin>;

		key-copy {
			label = "copy";
			gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_COPY>;
		};
};

&leds {
	led-1 {
		color = <LED_COLOR_ID_GREEN>;
		function = LED_FUNCTION_DISK;
		gpios = <&gpio1 RK_PD6 GPIO_ACTIVE_LOW>;
		label = "hdd2:green:disk";

Annotation

Implementation Notes