arch/arm64/boot/dts/rockchip/rk3588s-gameforce-ace.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/rockchip/rk3588s-gameforce-ace.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3588s-gameforce-ace.dts
Extension
.dts
Size
32498 bytes
Lines
1530
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)

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/soc/rockchip,vop2.h>
#include <dt-bindings/thermal/thermal.h>
#include <dt-bindings/usb/pd.h>
#include "rk3588s.dtsi"

/ {
	model = "Gameforce Ace";
	chassis-type = "handset";
	compatible = "gameforce,ace", "rockchip,rk3588s";

	aliases {
		mmc0 = &sdhci;
		mmc1 = &sdmmc;
		mmc2 = &sdio;
	};

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

	adc_keys: adc-keys {
		compatible = "adc-keys";
		io-channels = <&saradc 1>;
		io-channel-names = "buttons";
		keyup-threshold-microvolt = <1800000>;
		poll-interval = <60>;

		button-vol-up {
			label = "VOLUMEUP";
			linux,code = <KEY_VOLUMEUP>;
			press-threshold-microvolt = <17000>;
		};

		button-vol-down {
			label = "VOLUMEDOWN";
			linux,code = <KEY_VOLUMEDOWN>;
			press-threshold-microvolt = <417000>;
		};
	};

	/* Joystick range values based on hardware observation. */
	adc_joystick: adc-joystick {
		compatible = "adc-joystick";
		io-channels = <&saradc 2>, <&saradc 3>,
			      <&saradc 4>, <&saradc 5>;
		poll-interval = <60>;
		#address-cells = <1>;
		#size-cells = <0>;

		axis@0 {
			reg = <0>;
			abs-flat = <40>;
			abs-fuzz = <30>;
			abs-range = <4095 0>;
			linux,code = <ABS_RY>;
		};

		axis@1 {
			reg = <1>;
			abs-flat = <40>;
			abs-fuzz = <30>;

Annotation

Implementation Notes