arch/arm/boot/dts/st/stm32mp153c-lxa-fairytux2-gen2.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/st/stm32mp153c-lxa-fairytux2-gen2.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/st/stm32mp153c-lxa-fairytux2-gen2.dts
Extension
.dts
Size
3063 bytes
Lines
148
Domain
Architecture Layer
Bucket
arch/arm
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-later OR BSD-3-Clause)
/*
 * Copyright (C) 2024 Leonard Göhrs, Pengutronix
 */

/dts-v1/;

#include "stm32mp153c-lxa-fairytux2.dtsi"

/ {
	model = "Linux Automation GmbH FairyTux 2 Gen 2";
	compatible = "lxa,stm32mp153c-fairytux2-gen2", "oct,stm32mp153x-osd32", "st,stm32mp153";

	gpio-keys {
		compatible = "gpio-keys";

		button-left {
			label = "USER_BTN1";
			linux,code = <KEY_ESC>;
			gpios = <&gpioi 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
		};

		button-right {
			label = "USER_BTN2";
			linux,code = <KEY_HOME>;
			gpios = <&gpioe 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
		};
	};
};

&gpiof {
	gpio-line-names = "", "", "", "", "",				/*  0 */
			  "", "", "", "", "",				/*  5 */
			  "", "", "", "", "",				/* 10 */
			  "";						/* 15 */
};

&gpioh {
	gpio-line-names = "", "", "", "", "LCD_RESET",			/*  0 */
			  "", "", "", "", "",				/*  5 */
			  "", "", "GPIO1", "GPIO_INT", "",		/* 10 */
			  "";						/* 15 */
};

&gpioi {
	gpio-line-names = "GPIO2", "", "", "", "",			/*  0 */
			  "", "", "", "ETH_", "",			/*  5 */
			  "", "USER_BTN1";				/* 10 */
};

&i2c1 {
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&i2c1_pins_b>;
	pinctrl-1 = <&i2c1_sleep_pins_b>;
	status = "okay";

	io_board_gpio: gpio@20 {
		compatible = "ti,tca6408";
		reg = <0x20>;
		gpio-controller;
		#gpio-cells = <2>;
		interrupt-parent = <&gpioh>;
		interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
		interrupt-controller;
		pinctrl-names = "default";
		pinctrl-0 = <&board_tca6408_pins>;
		#interrupt-cells = <2>;
		vcc-supply = <&v3v3_hdmi>;
		gpio-line-names = "LED1_GA_YK", "LED2_GA_YK", "LED1_GK_YA", "USB_CC_ALERT",
				  "RS485_EN", "RS485_120R", "USB_CC_RESET", "CAN_120R";

Annotation

Implementation Notes