arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
Extension
.dts
Size
15562 bytes
Lines
735
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/input/input.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/pwm/pwm.h>
#include "rk3588s.dtsi"

/ {
	model = "Radxa E52C";
	compatible = "radxa,e52c", "rockchip,rk3582", "rockchip,rk3588s";

	aliases {
		mmc0 = &sdhci;
		mmc1 = &sdmmc;
	};

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

	keys-0 {
		compatible = "adc-keys";
		io-channels = <&saradc 0>;
		io-channel-names = "buttons";
		keyup-threshold-microvolt = <18000>;
		poll-interval = <100>;

		button-0 {
			label = "Maskrom";
			linux,code = <KEY_VENDOR>;
			press-threshold-microvolt = <0>;
		};
	};

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

		button-1 {
			label = "User";
			gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>;
			linux,code = <BTN_0>;
			wakeup-source;
		};
	};

	leds-0 {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&power_led>;

		led-0 {
			color = <LED_COLOR_ID_GREEN>;
			default-state = "on";
			function = LED_FUNCTION_STATUS;
			gpios = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
		};
	};

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

Annotation

Implementation Notes