arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dtsi

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dtsi
Extension
.dtsi
Size
6842 bytes
Lines
357
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)
/*
 * Based on rk3328-nanopi-r2s.dts, which is:
 *   Copyright (c) 2020 David Bauer <mail@david-bauer.net>
 */

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/leds/common.h>
#include "rk3328.dtsi"

/ {
	aliases {
		ethernet0 = &gmac2io;
		ethernet1 = &rtl8153;
		mmc0 = &sdmmc;
	};

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

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

	leds {
		compatible = "gpio-leds";
		pinctrl-0 = <&lan_led_pin>, <&sys_led_pin>, <&wan_led_pin>;
		pinctrl-names = "default";

		led-0 {
			function = LED_FUNCTION_LAN;
			color = <LED_COLOR_ID_GREEN>;
			gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
		};

		led-1 {
			function = LED_FUNCTION_STATUS;
			color = <LED_COLOR_ID_RED>;
			gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
		};

		led-2 {
			function = LED_FUNCTION_WAN;
			color = <LED_COLOR_ID_GREEN>;
			gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_HIGH>;
		};
	};

	vcc_sd: regulator-sdmmc {
		compatible = "regulator-fixed";
		gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>;
		pinctrl-0 = <&sdmmc0m1_pin>;
		pinctrl-names = "default";
		regulator-name = "vcc_sd";
		regulator-boot-on;
		vin-supply = <&vcc_io>;
	};

	vcc_sys: regulator-vcc-sys {
		compatible = "regulator-fixed";
		regulator-name = "vcc_sys";
		regulator-always-on;
		regulator-boot-on;

Annotation

Implementation Notes