arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts
Extension
.dts
Size
3795 bytes
Lines
191
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) 2019 Fuzhou Rockchip Electronics Co., Ltd
 */

/dts-v1/;
#include "rk3308.dtsi"

/ {
	model = "Firefly ROC-RK3308-CC board";
	compatible = "firefly,roc-rk3308-cc", "rockchip,rk3308";

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

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

	ir-receiver {
		compatible = "gpio-ir-receiver";
		gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>;
		pinctrl-names = "default";
		pinctrl-0 = <&ir_recv_pin>;
	};

	ir_tx {
		compatible = "pwm-ir-tx";
		pwms = <&pwm5 0 25000 0>;
	};

	leds {
		compatible = "gpio-leds";

		power_led: led-0 {
			label = "firefly:red:power";
			linux,default-trigger = "default-on";
			default-state = "on";
			gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
		};

		user_led: led-1 {
			label = "firefly:blue:user";
			linux,default-trigger = "rc-feedback";
			default-state = "off";
			gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_HIGH>;
		};
	};

	typec_vcc5v: regulator-typec-vcc5v {
		compatible = "regulator-fixed";
		regulator-name = "typec_vcc5v";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-always-on;
		regulator-boot-on;
	};

	vcc5v0_sys: regulator-vcc5v0-sys {
		compatible = "regulator-fixed";
		regulator-name = "vcc5v0_sys";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-always-on;
		regulator-boot-on;
		vin-supply = <&typec_vcc5v>;
	};

Annotation

Implementation Notes