arch/arm64/boot/dts/st/stm32mp235f-dk.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/st/stm32mp235f-dk.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/st/stm32mp235f-dk.dts
Extension
.dts
Size
5830 bytes
Lines
284
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-only OR BSD-3-Clause)
/*
 * Copyright (C) STMicroelectronics 2025 - All Rights Reserved
 * Author: Amelie Delaunay <amelie.delaunay@foss.st.com> for STMicroelectronics.
 */

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
#include "stm32mp235.dtsi"
#include "stm32mp23xf.dtsi"
#include "stm32mp25-pinctrl.dtsi"
#include "stm32mp25xxak-pinctrl.dtsi"

/ {
	model = "STMicroelectronics STM32MP235F-DK Discovery Board";
	compatible = "st,stm32mp235f-dk", "st,stm32mp235";

	aliases {
		ethernet0 = &ethernet1;
		serial0 = &usart2;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

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

		button-user-1 {
			label = "User-1";
			linux,code = <BTN_1>;
			gpios = <&gpioc 5 GPIO_ACTIVE_HIGH>;
		};

		button-user-2 {
			label = "User-2";
			linux,code = <BTN_2>;
			gpios = <&gpioc 11 GPIO_ACTIVE_HIGH>;
		};
	};

	gpio-leds {
		compatible = "gpio-leds";

		led_blue: led-blue {
			function = LED_FUNCTION_HEARTBEAT;
			color = <LED_COLOR_ID_BLUE>;
			gpios = <&gpioh 7 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
			default-state = "off";
		};

		led-green {
			color = <LED_COLOR_ID_GREEN>;
			gpios = <&gpioh 5 GPIO_ACTIVE_HIGH>;
		};

		led-orange {
			color = <LED_COLOR_ID_ORANGE>;
			gpios = <&gpioh 6 GPIO_ACTIVE_HIGH>;
		};
	};

	memory@80000000 {
		device_type = "memory";
		reg = <0x0 0x80000000 0x0 0x80000000>;

Annotation

Implementation Notes