arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus.dts
Extension
.dts
Size
2809 bytes
Lines
141
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 "rk3588-rock-5b.dtsi"

/ {
	model = "Radxa ROCK 5B+";
	compatible = "radxa,rock-5b-plus", "rockchip,rk3588";

	rfkill-wwan {
		compatible = "rfkill-gpio";
		label = "rfkill-m2-wwan";
		radio-type = "wwan";
		shutdown-gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;
	};

	vcc3v3_4g: regulator-vcc3v3-4g {
		compatible = "regulator-fixed";
		enable-active-high;
		gpios = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>;
		/* pinctrl for the GPIO is requested by vcc3v3_pcie2x1l0 */
		regulator-name = "vcc3v3_4g";
		regulator-always-on;
		regulator-boot-on;
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		startup-delay-us = <50000>;
		vin-supply = <&vcc5v0_sys>;
	};

	vcc3v3_wwan_pwr: regulator-vcc3v3-wwan {
		compatible = "regulator-fixed";
		enable-active-high;
		gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_HIGH>;
		pinctrl-names = "default";
		pinctrl-0 = <&wwan_power_en>;
		regulator-name = "vcc3v3_wwan_pwr";
		regulator-always-on;
		regulator-boot-on;
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		vin-supply = <&vcc3v3_4g>;
	};
};

&gpio0 {
	wwan-disable2-n-hog {
		gpios = <RK_PB2 GPIO_ACTIVE_LOW>;
		output-low;
		line-name = "M.2 B-key W_DISABLE2#";
		gpio-hog;
	};
};

&gpio2 {
	wwan-reset-n-hog {
		gpios = <RK_PB3 GPIO_ACTIVE_LOW>;
		output-low;
		line-name = "M.2 B-key RESET#";
		gpio-hog;
	};

	wwan-wake-n-hog {
		gpios = <RK_PB2 GPIO_ACTIVE_LOW>;
		input;
		line-name = "M.2 B-key WoWWAN#";
		gpio-hog;
	};
};

Annotation

Implementation Notes