arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-altrad8.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-altrad8.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-altrad8.dts
Extension
.dts
Size
11613 bytes
Lines
638
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+
/dts-v1/;

#include "aspeed-g5.dtsi"
#include <dt-bindings/gpio/aspeed-gpio.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/i2c/i2c.h>

/ {
	model = "ASRock ALTRAD8 BMC";
	compatible = "asrock,altrad8-bmc", "aspeed,ast2500";

	aliases {
		serial4 = &uart5;
		i2c50 = &nvme1;
		i2c51 = &pcie4;
		i2c52 = &pcie5;
		i2c53 = &pcie6;
		i2c54 = &pcie7;
		i2c55 = &nvme3;
		i2c56 = &nvme2;
		i2c57 = &nvme0;
		i2c58 = &nvme4;
		i2c59 = &nvme5;
		i2c60 = &nvme6;
		i2c61 = &nvme7;
		i2c62 = &nvme8;
		i2c63 = &nvme9;
		i2c64 = &nvme10;
		i2c65 = &nvme11;
	};

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

	iio-hwmon {
		compatible = "iio-hwmon";
		io-channels =	<&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
				<&adc 4> ,<&adc 5>, <&adc 6>, <&adc 7>,
				<&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
				<&adc 12>, <&adc 13>, <&adc 14>, <&adc 15>;
	};

	leds {
		compatible = "gpio-leds";

		led-system-fault {
			gpios = <&gpio ASPEED_GPIO(G,3) GPIO_ACTIVE_LOW>;
			label = "platform:red:fault";
			color = <LED_COLOR_ID_RED>;
			function = LED_FUNCTION_FAULT;
		};

		led-heartbeat {
			gpios = <&gpio ASPEED_GPIO(G,0) GPIO_ACTIVE_LOW>;
			label = "platform:green:heartbeat";
			color = <LED_COLOR_ID_GREEN>;
			function = LED_FUNCTION_INDICATOR;
			linux,default-trigger = "timer";
		};

		led-fan1-fault {
			retain-state-shutdown;
			default-state = "off";
			gpios = <&io_expander0 0 GPIO_ACTIVE_LOW>;
			label = "fan1:red:fault";
			color = <LED_COLOR_ID_RED>;
			function = LED_FUNCTION_FAULT;
		};

Annotation

Implementation Notes