arch/arm/boot/dts/st/stm32mp157c-lxa-tac-gen2.dts

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

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/st/stm32mp157c-lxa-tac-gen2.dts
Extension
.dts
Size
5201 bytes
Lines
257
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
 */

/dts-v1/;

#include "stm32mp157.dtsi"
#include "stm32mp15xc-lxa-tac.dtsi"

/ {
	model = "Linux Automation Test Automation Controller (TAC) Gen 2";
	compatible = "lxa,stm32mp157c-tac-gen2", "oct,stm32mp15xx-osd32", "st,stm32mp157";

	backlight: backlight {
		compatible = "pwm-backlight";
		power-supply = <&v3v3>;

		brightness-levels = <0 31 63 95 127 159 191 223 255>;
		default-brightness-level = <7>;
		pwms = <&led_pwm 3 1000000 0>;
	};

	reg_iobus_12v: regulator-iobus-12v {
		compatible = "regulator-fixed";
		vin-supply = <&reg_12v>;
		gpio = <&gpioh 13 GPIO_ACTIVE_LOW>;
		regulator-max-microvolt = <12000000>;
		regulator-min-microvolt = <12000000>;
		regulator-name = "12V_IOBUS";
	};

	led-controller-1 {
		compatible = "pwm-leds-multicolor";

		multi-led {
			color = <LED_COLOR_ID_RGB>;
			function = LED_FUNCTION_STATUS;
			max-brightness = <65535>;

			led-red {
				active-low;
				color = <LED_COLOR_ID_RED>;
				pwms = <&led_pwm 0 1000000 0>;
			};

			led-green {
				active-low;
				color = <LED_COLOR_ID_GREEN>;
				pwms = <&led_pwm 2 1000000 0>;
			};

			led-blue {
				active-low;
				color = <LED_COLOR_ID_BLUE>;
				pwms = <&led_pwm 1 1000000 0>;
			};
		};
	};

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

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

Annotation

Implementation Notes