arch/arm64/boot/dts/marvell/cn9132-clearfog.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/marvell/cn9132-clearfog.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/marvell/cn9132-clearfog.dts
Extension
.dts
Size
12312 bytes
Lines
672
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)
/*
 * Copyright (C) 2024 Josua Mayer <josua@solid-run.com>
 *
 * DTS for SolidRun CN9132 Clearfog.
 *
 */

/dts-v1/;

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

#include "cn9130.dtsi"
#include "cn9132-sr-cex7.dtsi"

/ {
	model = "SolidRun CN9132 Clearfog";
	compatible = "solidrun,cn9132-clearfog",
		     "solidrun,cn9132-sr-cex7", "marvell,cn9130";

	aliases {
		ethernet1 = &cp0_eth2;
		ethernet2 = &cp0_eth0;
		ethernet3 = &cp2_eth0;
		ethernet4 = &cp1_eth0;
		i2c7 = &carrier_mpcie_i2c;
		i2c8 = &carrier_ptp_i2c;
		mmc1 = &cp0_sdhci0;
	};

	gpio-keys {
		compatible = "gpio-keys";
		pinctrl-names = "default";
		pinctrl-0 = <&cp1_wake0_pins>;

		button-0 {
			label = "SW2";
			gpios = <&cp1_gpio2 8 GPIO_ACTIVE_LOW>;
			linux,can-disable;
			linux,code = <BTN_2>;
		};
	};

	leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&cp1_batlow_pins &cp2_rsvd4_pins>;

		/* LED11 */
		led-io-0 {
			color = <LED_COLOR_ID_GREEN>;
			function = LED_FUNCTION_DISK;
			function-enumerator = <0>;
			default-state = "off";
			gpios = <&cp1_gpio1 11 GPIO_ACTIVE_HIGH>;
		};

		/* LED12 */
		led-io-1 {
			color = <LED_COLOR_ID_GREEN>;
			function = LED_FUNCTION_DISK;
			function-enumerator = <1>;
			default-state = "off";
			gpios = <&cp2_gpio1 4 GPIO_ACTIVE_HIGH>;
		};
	};

	/* CON4 W_DISABLE1/W_DISABLE2 */
	rfkill-m2-wlan {

Annotation

Implementation Notes