arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts
Extension
.dts
Size
4818 bytes
Lines
221
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) 2017 T-Chip Intelligent Technology Co., Ltd
 */

/dts-v1/;
#include "rk3399-roc-pc.dtsi"

/*
 * Notice:
 * 1. rk3399-roc-pc-plus is powered by dc_12v directly.
 * 2. rk3399-roc-pc-plus has only vcc_bus_typec0 in schematic, which is coresponding
 *    to vcc_vbus_typec1 in rk3399-roc-pc.
 *    For simplicity, reserve the node name of vcc_vbus_typec1.
 * 3. vcc5v0_host is actually 2 regulators (host0, 1) controlled by the same gpio.
 */

/delete-node/ &fusb1;
/delete-node/ &hub_rst;
/delete-node/ &mp8859;
/delete-node/ &vcc_sys_en;
/delete-node/ &vcc_vbus_typec0;
/delete-node/ &yellow_led;

/ {
	model = "Firefly ROC-RK3399-PC-PLUS Board";
	compatible = "firefly,roc-rk3399-pc-plus", "rockchip,rk3399";

	dc_12v: regulator-dc-12v {
		compatible = "regulator-fixed";
		regulator-name = "dc_12v";
		regulator-always-on;
		regulator-boot-on;
		regulator-min-microvolt = <12000000>;
		regulator-max-microvolt = <12000000>;
	};

	es8388-sound {
		compatible = "simple-audio-card";
		pinctrl-names = "default";
		pinctrl-0 = <&hp_det_pin>;
		simple-audio-card,name = "rockchip,es8388-codec";
		simple-audio-card,format = "i2s";
		simple-audio-card,mclk-fs = <256>;
		simple-audio-card,widgets =
			"Microphone", "Mic Jack",
			"Headphone", "Headphones";
		simple-audio-card,routing =
			"LINPUT1", "Mic Jack",
			"Headphone Amp INL", "LOUT2",
			"Headphone Amp INR", "ROUT2",
			"Headphones", "Headphone Amp OUTL",
			"Headphones", "Headphone Amp OUTR";
		simple-audio-card,hp-det-gpios = <&gpio2 RK_PA6 GPIO_ACTIVE_HIGH>;
		simple-audio-card,aux-devs = <&headphones_amp>;
		simple-audio-card,pin-switches = "Headphones";

		simple-audio-card,codec {
			sound-dai = <&es8388>;
		};

		simple-audio-card,cpu {
			sound-dai = <&i2s1>;
		};
	};

	gpio-fan {
		#cooling-cells = <2>;
		compatible = "gpio-fan";
		gpio-fan,speed-map = <0 0 3000 1>;

Annotation

Implementation Notes