arch/arm/boot/dts/st/stm32746g-eval.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/st/stm32746g-eval.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/st/stm32746g-eval.dts
Extension
.dts
Size
5904 bytes
Lines
237
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

/dts-v1/;
#include "stm32f746.dtsi"
#include "stm32f746-pinctrl.dtsi"
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/leds/common.h>

/ {
	model = "STMicroelectronics STM32746g-EVAL board";
	compatible = "st,stm32746g-eval", "st,stm32f746";

	chosen {
		bootargs = "root=/dev/ram";
		stdout-path = "serial0:115200n8";
	};

	memory@c0000000 {
		device_type = "memory";
		reg = <0xc0000000 0x2000000>;
	};

	aliases {
		serial0 = &usart1;
	};

	leds {
		compatible = "gpio-leds";
		led_green: led-green {
			function = LED_FUNCTION_HEARTBEAT;
			color = <LED_COLOR_ID_GREEN>;
			gpios = <&gpiof 10 1>;
			linux,default-trigger = "heartbeat";
		};
		led-orange {
			color = <LED_COLOR_ID_ORANGE>;
			gpios = <&stmfx_pinctrl 17 1>;
		};
		led-red {
			color = <LED_COLOR_ID_RED>;
			gpios = <&gpiob 7 1>;
		};
		led-blue {
			color = <LED_COLOR_ID_BLUE>;
			gpios = <&stmfx_pinctrl 19 1>;
		};
	};

	gpio-keys {
		compatible = "gpio-keys";
		autorepeat;
		button-0 {
			label = "Wake up";
			linux,code = <KEY_WAKEUP>;
			gpios = <&gpioc 13 0>;
		};
	};

	joystick {
		compatible = "gpio-keys";
		pinctrl-0 = <&joystick_pins>;
		pinctrl-names = "default";
		button-0 {
			label = "JoySel";
			linux,code = <KEY_ENTER>;
			interrupt-parent = <&stmfx_pinctrl>;
			interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
		};
		button-1 {
			label = "JoyDown";
			linux,code = <KEY_DOWN>;

Annotation

Implementation Notes