arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi
Extension
.dtsi
Size
10457 bytes
Lines
516
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) 2020 STMicroelectronics - All Rights Reserved
 * Copyright (C) 2021 Rouven Czerwinski, Pengutronix
 * Copyright (C) 2023 Leonard Göhrs, Pengutronix
 */

#include "stm32mp15xc.dtsi"
#include "stm32mp15xx-osd32.dtsi"
#include "stm32mp15xxac-pinctrl.dtsi"

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pwm/pwm.h>

/ {
	aliases {
		can0 = &m_can1;
		can1 = &m_can2;
		ethernet0 = &ethernet0;
		ethernet1 = &port_uplink;
		ethernet2 = &port_dut;
		i2c0 = &i2c1;
		i2c1 = &i2c4;
		i2c2 = &i2c5;
		mmc1 = &sdmmc2;
		serial0 = &uart4;
		serial1 = &usart3;
		spi0 = &spi2;
		spi1 = &spi4;
		spi2 = &spi5;
	};

	chosen {
		stdout-path = &uart4;
	};

	led-controller-0 {
		compatible = "gpio-leds";

		led-0 {
			label = "tac:green:user1";
			gpios = <&gpiof 10 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
		};

		led-1 {
			label = "tac:green:user2";
			gpios = <&gpiog 7 GPIO_ACTIVE_HIGH>;
		};

		led-2 {
			label = "tac:green:statusdut";
			gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
		};

		/* led-3 and led-4 are internally connected antiparallel to one
		 * another inside the ethernet jack like this:
		 * GPIOA14 ---+---|led-3|>--+--- GPIOD15
		 *            +--<|led-4|---+
		 * E.g. only one of the LEDs can be illuminated at a time while
		 * the other output must be driven low.
		 * This should likely be implemented using a multi color LED
		 * driver for antiparallel LEDs.
		 */
		led-3 {
			label = "tac:green:statuslab";
			gpios = <&gpioa 14 GPIO_ACTIVE_HIGH>;
		};

Annotation

Implementation Notes