arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb20sx.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb20sx.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb20sx.dts
Extension
.dts
Size
1832 bytes
Lines
90
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/pinctrl/rockchip.h>
#include "rk3566-powkiddy-rk2023.dtsi"

/ {
	model = "Powkiddy RGB20SX";
	compatible = "powkiddy,rgb20sx", "rockchip,rk3566";

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

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

		/*
		 * Button is labelled as FN, but according to input
		 * guidelines it should be mode.
		 */
		button-mode {
			label = "MODE";
			linux,code = <BTN_MODE>;
			press-threshold-microvolt = <1750>;
		};
	};
};

&battery {
	charge-full-design-microamp-hours = <5000000>;
};

&bluetooth {
	compatible = "realtek,rtl8723ds-bt";
};

&cru {
	assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
			  <&pmucru PLL_PPLL>, <&cru PLL_VPLL>;
	assigned-clock-rates = <32768>, <1200000000>,
			       <200000000>, <292500000>;
};

&dsi0 {
	panel: panel@0 {
		compatible = "powkiddy,rgb30-panel";
		reg = <0>;
		backlight = <&backlight>;
		pinctrl-names = "default";
		pinctrl-0 = <&lcd_rst>;
		reset-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_LOW>;
		vcc-supply = <&vcc3v3_lcd0_n>;
		iovcc-supply = <&vcc3v3_lcd0_n>;

		port {
			mipi_in_panel: endpoint {
				remote-endpoint = <&mipi_out_panel>;
			};
		};
	};
};

Annotation

Implementation Notes