arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts
Extension
.dts
Size
6677 bytes
Lines
381
Domain
Architecture Layer
Bucket
arch/arm64
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 MIT)
//
// Device Tree file for LX2162A Clearfog
//
// Copyright 2023 Josua Mayer <josua@solid-run.com>

/dts-v1/;

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

#include "fsl-lx2160a-rev2.dtsi"
#include "fsl-lx2162a-sr-som.dtsi"

/ {
	model = "SolidRun LX2162A Clearfog";
	compatible = "solidrun,lx2162a-clearfog", "solidrun,lx2162a-som", "fsl,lx2160a";

	aliases {
		i2c0 = &i2c0;
		i2c1 = &i2c2;
		i2c2 = &i2c4;
		i2c3 = &sfp_i2c0;
		i2c4 = &sfp_i2c1;
		i2c5 = &sfp_i2c2;
		i2c6 = &sfp_i2c3;
		i2c7 = &mpcie1_i2c;
		i2c8 = &mpcie0_i2c;
		i2c9 = &pcieclk_i2c;
		i2c10 = &i2c5;
		mmc0 = &esdhc0;
		mmc1 = &esdhc1;
		serial0 = &uart0;
	};

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

	leds {
		compatible = "gpio-leds";

		led_sfp_at: led-sfp-at {
			color = <LED_COLOR_ID_GREEN>;
			function = LED_FUNCTION_LAN;
			function-enumerator = <1>;
			gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* PROC_IRQ5 */
			default-state = "off";
			linux,default-trigger = "netdev";
			trigger-sources = <&dpmac3>;
		};

		led_sfp_ab: led-sfp-ab {
			color = <LED_COLOR_ID_GREEN>;
			function = LED_FUNCTION_LAN;
			function-enumerator = <2>;
			gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>; /* PROC_IRQ11 */
			default-state = "off";
			linux,default-trigger = "netdev";
			trigger-sources = <&dpmac4>;
		};

		led_sfp_bt: led-sfp-bt {
			color = <LED_COLOR_ID_GREEN>;
			function = LED_FUNCTION_LAN;
			function-enumerator = <3>;
			gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>; /* EVT1_B */
			default-state = "off";
			linux,default-trigger = "netdev";
			trigger-sources = <&dpmac5>;
		};

Annotation

Implementation Notes