arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts

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

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts
Extension
.dts
Size
7642 bytes
Lines
383
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+
/*
 * Copyright (c) 2020 Rockchip Electronics Co., Ltd
 * Copyright (c) 2024 Radxa Limited
 * Copyright (c) 2024 Yao Zi <ziyao@disroot.org>
 */

/dts-v1/;

#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pwm/pwm.h>
#include "rk3528.dtsi"

/ {
	model = "Radxa E20C";
	compatible = "radxa,e20c", "rockchip,rk3528";

	aliases {
		ethernet0 = &gmac1;
		i2c1 = &i2c1;
		mmc0 = &sdhci;
		mmc1 = &sdmmc;
		serial0 = &uart0;
	};

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

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

		button-maskrom {
			label = "MASKROM";
			linux,code = <KEY_SETUP>;
			press-threshold-microvolt = <0>;
		};
	};

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

		button-user {
			gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_LOW>;
			label = "USER";
			linux,code = <BTN_1>;
			wakeup-source;
		};
	};

	leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&lan_led_g>, <&sys_led_g>, <&wan_led_g>;

		led-lan {
			color = <LED_COLOR_ID_GREEN>;
			default-state = "off";
			function = LED_FUNCTION_LAN;
			gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "netdev";
		};

Annotation

Implementation Notes