arch/arm64/boot/dts/rockchip/rk3588s-orangepi-cm5-base.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-cm5-base.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-cm5-base.dts
Extension
.dts
Size
6554 bytes
Lines
360
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)

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.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 "rk3588s-orangepi-cm5.dtsi"

/ {
	model = "Xunlong Orange Pi CM5 Base";
	compatible = "xunlong,orangepi-cm5-base", "xunlong,orangepi-cm5", "rockchip,rk3588s";

	aliases {
		ethernet0 = &gmac1;
		mmc1 = &sdmmc;
	};

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

	gpio-keys {
		compatible = "gpio-keys";
		pinctrl-names = "default";
		pinctrl-0 = <&key1_pin>;

		button {
			debounce-interval = <50>;
			gpios = <&gpio3 RK_PC6 GPIO_ACTIVE_LOW>;
			label = "USERKEY";
			linux,code = <BTN_MISC>;
			wakeup-source;
		};
	};

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

		port {
			hdmi0_con_in: endpoint {
				remote-endpoint = <&hdmi0_out_con>;
			};
		};
	};

	pwm-leds {
		compatible = "pwm-leds";

		led-1 {
			color = <LED_COLOR_ID_RED>;
			function = LED_FUNCTION_STATUS;
			linux,default-trigger = "heartbeat";
			max-brightness = <255>;
			pwms = <&pwm2 0 25000 0>;
		};

		led-2 {
			color = <LED_COLOR_ID_GREEN>;
			function = LED_FUNCTION_WAN;
			max-brightness = <255>;
			pwms = <&pwm4 0 25000 PWM_POLARITY_INVERTED>;
		};

Annotation

Implementation Notes