arch/arm64/boot/dts/rockchip/px30-cobra.dtsi

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

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/px30-cobra.dtsi
Extension
.dtsi
Size
10932 bytes
Lines
567
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) 2025 Cherry Embedded Solutions GmbH
 */

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

/ {
	aliases {
		ethernet0 = &gmac;
		mmc0 = &emmc;
	};

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

	backlight: backlight {
		compatible = "pwm-backlight";
		power-supply = <&vcc5v0_sys>;
		pwms = <&pwm0 0 25000 0>;
	};

	beeper {
		compatible = "pwm-beeper";
		pwms = <&pwm1 0 1000 0>;
	};

	emmc_pwrseq: emmc-pwrseq {
		compatible = "mmc-pwrseq-emmc";
		pinctrl-0 = <&emmc_reset>;
		pinctrl-names = "default";
		reset-gpios = <&gpio1 RK_PB3 GPIO_ACTIVE_HIGH>;
	};

	gpio-leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&heartbeat_led_pin>;

		/*
		 * LED14 on the PCB. Typically NOT populated.
		 */
		led-0 {
			color = <LED_COLOR_ID_BLUE>;
			gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
			label = "heartbeat";
			linux,default-trigger = "heartbeat";
		};
	};

	pwm-leds {
		compatible = "pwm-leds";

		ring_red: led-0 {
			color = <LED_COLOR_ID_RED>;
			default-state = "off";
			label = "ring_red";
			pwms = <&pwm5 0 1000000 0>;
			max-brightness = <255>;
		};

		ring_green: led-1 {
			color = <LED_COLOR_ID_GREEN>;
			default-state = "off";

Annotation

Implementation Notes