arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts
Extension
.dts
Size
18811 bytes
Lines
872
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) 2024 Radxa Computer (Shenzhen) Co., Ltd.
 */

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/soc/rockchip,vop2.h>
#include <dt-bindings/usb/pd.h>
#include "rk3576.dtsi"

/ {
	model = "Radxa ROCK 4D";
	compatible = "radxa,rock-4d", "rockchip,rk3576";

	aliases {
		ethernet0 = &gmac0;
		mmc0 = &sdmmc;
	};

	chosen {
		stdout-path = "serial0:1500000n8";
	};

	hdmi-con {
		compatible = "hdmi-connector";
		type = "a";

		port {
			hdmi_con_in: endpoint {
				remote-endpoint = <&hdmi_out_con>;
			};
		};
	};

	rfkill {
		compatible = "rfkill-gpio";
		pinctrl-names = "default";
		pinctrl-0 = <&wifi_en_h>;
		radio-type = "wlan";
		shutdown-gpios = <&gpio2 RK_PD1 GPIO_ACTIVE_HIGH>;
	};

	leds: leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&led_rgb_g &led_rgb_r>;

		power-led {
			color = <LED_COLOR_ID_GREEN>;
			default-state = "on";
			function = LED_FUNCTION_STATUS;
			gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
		};

		user-led {
			color = <LED_COLOR_ID_BLUE>;
			function = LED_FUNCTION_HEARTBEAT;
			gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "heartbeat";
		};
	};

	vcc_5v0_dcin: regulator-vcc-5v0-dcin {
		compatible = "regulator-fixed";
		regulator-always-on;

Annotation

Implementation Notes