arch/arm64/boot/dts/rockchip/rk3308-bpi-p2-pro.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/rockchip/rk3308-bpi-p2-pro.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3308-bpi-p2-pro.dts
Extension
.dts
Size
7073 bytes
Lines
363
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/input/input.h>
#include <dt-bindings/leds/common.h>
#include "rk3308.dtsi"

/ {
	model = "Banana Pi P2 Pro (RK3308) Board";
	compatible = "sinovoip,rk3308-bpi-p2pro", "rockchip,rk3308";

	aliases {
		ethernet0 = &gmac;
		mmc0 = &emmc;
		mmc1 = &sdmmc;
		mmc2 = &sdio;
	};

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

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

		button-recovery {
			label = "Recovery";
			linux,code = <KEY_VENDOR>;
			press-threshold-microvolt = <10000>;
		};
	};

	analog-sound {
		compatible = "audio-graph-card";
		label = "rockchip,rk3308";

		dais = <&i2s_8ch_2_p0>;
		pinctrl-names = "default";
		pinctrl-0 = <&phone_ctl>;
	};

	leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&led_en0>, <&led_en1>;

		blue-led {
			color = <LED_COLOR_ID_BLUE>;
			default-state = "on";
			function = LED_FUNCTION_POWER;
			gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
			label = "blue:power";
			linux,default-trigger = "default-on";
		};

		green-led {
			color = <LED_COLOR_ID_GREEN>;
			default-state = "on";
			function = LED_FUNCTION_HEARTBEAT;
			gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
			label = "green:heartbeat";
			linux,default-trigger = "heartbeat";
		};
	};

Annotation

Implementation Notes