arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts

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

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
Extension
.dts
Size
22684 bytes
Lines
1097
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 Fuzhou Rockchip Electronics Co., Ltd.
 * Copyright (c) 2018 Akash Gajjar <Akash_Gajjar@mentor.com>
 * Copyright (c) 2020 Tobias Schramm <t.schramm@manjaro.org>
 */

/dts-v1/;
#include <dt-bindings/input/gpio-keys.h>
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/usb/pd.h>
#include <dt-bindings/leds/common.h>
#include "rk3399.dtsi"

/ {
	model = "Pine64 Pinebook Pro";
	compatible = "pine64,pinebook-pro", "rockchip,rk3399";
	chassis-type = "laptop";

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

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

	backlight: edp-backlight {
		compatible = "pwm-backlight";
		power-supply = <&vcc_12v>;
		pwms = <&pwm0 0 125000 0>;
	};

	bat: battery {
		compatible = "simple-battery";
		charge-full-design-microamp-hours = <10000000>;
		voltage-max-design-microvolt = <4350000>;
		voltage-min-design-microvolt = <3000000>;
	};

	edp_panel: edp-panel {
		compatible = "boe,nv140fhmn49";
		backlight = <&backlight>;
		enable-gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
		pinctrl-names = "default";
		pinctrl-0 = <&panel_en_pin>;
		power-supply = <&vcc3v3_panel>;

		port {
			panel_in_edp: endpoint {
				remote-endpoint = <&edp_out_panel>;
			};
		};
	};

	/*
	 * Use separate nodes for gpio-keys to allow for selective deactivation
	 * of wakeup sources via sysfs without disabling the whole key
	 */
	gpio-key-lid {
		compatible = "gpio-keys";
		pinctrl-names = "default";
		pinctrl-0 = <&lidbtn_pin>;

		switch-lid {
			debounce-interval = <20>;
			gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_LOW>;

Annotation

Implementation Notes