arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts

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

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts
Extension
.dts
Size
5094 bytes
Lines
250
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) 2022 Theobroma Systems Design und Consulting GmbH
 */

/dts-v1/;
#include "px30-ringneck.dtsi"
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>

/ {
	model = "Theobroma Systems PX30-uQ7 SoM on Haikou devkit";
	compatible = "tsd,px30-ringneck-haikou", "rockchip,px30";

	aliases {
		ethernet0 = &gmac;
		mmc2 = &sdmmc;
	};

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

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

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

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

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

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

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

		sd_card_led: led-1 {
			gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "mmc2";
			function = LED_FUNCTION_SD;
			color = <LED_COLOR_ID_BLUE>;
		};
	};

	i2s0-sound {
		compatible = "simple-audio-card";
		simple-audio-card,format = "i2s";
		simple-audio-card,name = "Haikou,I2S-codec";

Annotation

Implementation Notes