arch/arm/boot/dts/st/stm32mp13xx-dhcor-dhsbc-overlay-rb-tft32-v2.dtso

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/st/stm32mp13xx-dhcor-dhsbc-overlay-rb-tft32-v2.dtso

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/st/stm32mp13xx-dhcor-dhsbc-overlay-rb-tft32-v2.dtso
Extension
.dtso
Size
1641 bytes
Lines
86
Domain
Architecture Layer
Bucket
arch/arm
Inferred role
Architecture Layer: arch/arm
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 BSD-3-Clause)
/*
 * Copyright (C) 2024 Marek Vasut
 */

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/input/linux-event-codes.h>

/dts-v1/;
/plugin/;

&{/} {
	gpio-keys {
		compatible = "gpio-keys";

		button-1 {
			label = "KEY2";
			linux,code = <KEY_2>;
			gpios = <&gpiog 10 GPIO_ACTIVE_LOW>;
			wakeup-source;
		};
	};

	gpio-keys-polled {
		compatible = "gpio-keys-polled";
		poll-interval = <20>;

		button-0 {
			label = "KEY1";
			linux,code = <KEY_1>;
			/* IRQ bank A shared with PA1 touch controller */
			gpios = <&gpioa 4 GPIO_ACTIVE_LOW>;
		};

		button-2 {
			label = "KEY3";
			linux,code = <KEY_3>;
			/* IRQ line 0 taken by PI0 / SoM RTC IRQ */
			gpios = <&gpiod 0 GPIO_ACTIVE_LOW>;
		};
	};
};

&m_can1 {
	/* Collides with KEY2/PG10 KEY3/PD0 */
	status = "disabled";
};

&m_can2 {
	/* Collides with TP_CS/PE6 */
	status = "disabled";
};

&usart2 {
	/* Collides with TP_IRQ/PA1 */
	status = "disabled";
};

&spi3 {
	#address-cells = <1>;
	#size-cells = <0>;
	cs-gpios = <&gpiof 3 0>, <&gpioe 0 0>;
	status = "okay";

	lcd@0 {
		compatible = "adafruit,yx240qv29", "ilitek,ili9341";
		reg = <0>;
		spi-max-frequency = <10000000>;
		dc-gpios = <&gpioe 4 GPIO_ACTIVE_HIGH>;

Annotation

Implementation Notes