arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-sanmiguel.dts

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

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-sanmiguel.dts
Extension
.dts
Size
14242 bytes
Lines
673
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+
// Copyright (c) 2025 Facebook Inc.

/dts-v1/;
#include "aspeed-g6.dtsi"
#include <dt-bindings/gpio/aspeed-gpio.h>
#include <dt-bindings/i2c/i2c.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/leds/leds-pca955x.h>
#include <dt-bindings/usb/pd.h>

/ {
	model = "Facebook SanMiguel BMC";
	compatible = "facebook,sanmiguel-bmc", "aspeed,ast2600";

	aliases {
		serial0 = &uart1;
		serial1 = &uart2;
		serial2 = &uart3;
		serial3 = &uart4;
		serial4 = &uart5;
		i2c16	= &imux16;
		i2c17	= &imux17;
		i2c18	= &imux18;
		i2c19	= &imux19;
	};

	chosen {
		stdout-path = "serial4:57600n8";
	};

	iio-hwmon {
		compatible = "iio-hwmon";
		io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
			      <&adc0 4>, <&adc0 5>, <&adc0 6>;
	};

	leds-fio {
		compatible = "gpio-leds";
		led-0 {
			label = "power_blue";
			gpios = <&fio_ioexp 4 GPIO_ACTIVE_HIGH>;
		};
		led-1 {
			label = "power_amber";
			gpios = <&fio_ioexp 5 GPIO_ACTIVE_LOW>;
		};
		led-2 {
			label = "id_blue";
			gpios = <&fio_ioexp 6 GPIO_ACTIVE_HIGH>;
		};
		led-3 {
			label = "id_amber";
			gpios = <&fio_ioexp 7 GPIO_ACTIVE_LOW>;
		};
	};

	leds-smm {
		compatible = "gpio-leds";
		led-0 {
			label = "bmc_heartbeat_amber";
			gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
			linux,default-trigger = "heartbeat";
		};
	};

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

Annotation

Implementation Notes