arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts
Extension
.dts
Size
9193 bytes
Lines
451
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)
/*
 * (C) Copyright 2020 Chen-Yu Tsai <wens@csie.org>
 *
 * Based on ./rk3328-rock64.dts, which is
 *
 * Copyright (c) 2017 PINE64
 */

/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 "rk3328.dtsi"

/ {
	model = "Radxa ROCK Pi E";
	compatible = "radxa,rockpi-e", "rockchip,rk3328";

	aliases {
		ethernet0 = &gmac2io;
		ethernet1 = &gmac2phy;
		mmc0 = &sdmmc;
		mmc1 = &emmc;
	};

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

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

		/* This button is unpopulated out of the factory. */
		button-recovery {
			label = "Recovery";
			linux,code = <KEY_VENDOR>;
			press-threshold-microvolt = <10000>;
		};
	};

	gmac_clkin: external-gmac-clock {
		compatible = "fixed-clock";
		clock-frequency = <125000000>;
		clock-output-names = "gmac_clkin";
		#clock-cells = <0>;
	};

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

		led-0 {
			color = <LED_COLOR_ID_BLUE>;
			gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "heartbeat";
		};
	};

	vcc_sd: regulator-sdmmc {
		compatible = "regulator-fixed";
		gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>;
		pinctrl-names = "default";

Annotation

Implementation Notes