arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts
Extension
.dts
Size
5968 bytes
Lines
330
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 Theobroma Systems Design und Consulting GmbH
 */

/dts-v1/;
#include "rk3399-puma.dtsi"
#include <dt-bindings/input/input.h>

/ {
	model = "Theobroma Systems RK3399-Q7 SoM";
	compatible = "tsd,rk3399-puma-haikou", "rockchip,rk3399";

	aliases {
		mmc1 = &sdmmc;
	};

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

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

		button-batlow-n {
			gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
			label = "BATLOW#";
			linux,code = <KEY_BATTERY>;
		};

		button-pwrbtn-n {
			gpios = <&gpio0 RK_PA1 GPIO_ACTIVE_LOW>;
			label = "PWRBTN#";
			linux,code = <KEY_POWER>;
		};

		button-slp-btn-n {
			gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_LOW>;
			label = "SLP_BTN#";
			linux,code = <KEY_SLEEP>;
		};

		button-wake-n {
			gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_LOW>;
			label = "WAKE#";
			linux,code = <KEY_WAKEUP>;
			wakeup-source;
		};

		switch-lid-btn-n {
			gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
			label = "LID_BTN#";
			linux,code = <SW_LID>;
			linux,input-type = <EV_SW>;
		};
	};

	leds {
		pinctrl-0 = <&module_led_pin>, <&sd_card_led_pin>;

		sd_card_led: led-1 {
			label = "sd_card_led";
			gpios = <&gpio1 RK_PA2 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "mmc0";
		};
	};

	i2s0-sound {

Annotation

Implementation Notes