arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
Extension
.dts
Size
9152 bytes
Lines
460
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 MIT)
/*
 *  at91-sama7d65_curiosity.dts - Device Tree file for SAMA7D65 Curiosity board
 *
 *  Copyright (c) 2024 Microchip Technology Inc. and its subsidiaries
 *
 *  Author: Romain Sioen <romain.sioen@microchip.com>
 *
 */
/dts-v1/;
#include "sama7d65-pinfunc.h"
#include "sama7d65.dtsi"
#include <dt-bindings/mfd/atmel-flexcom.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pinctrl/at91.h>

/ {
	model = "Microchip SAMA7D65 Curiosity";
	compatible = "microchip,sama7d65-curiosity", "microchip,sama7d65",
		     "microchip,sama7d6", "microchip,sama7";

	aliases {
		serial0 = &uart6;
	};

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

	gpio-keys {
		compatible = "gpio-keys";

		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_key_gpio_default>;

		button {
			label = "PB_USER";
			gpios = <&pioa PIN_PC10 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_PROG1>;
			wakeup-source;
		};
	};

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

		led0: led-red {
			color = <LED_COLOR_ID_RED>;
			gpios = <&pioa PIN_PB17 GPIO_ACTIVE_HIGH>; /* Conflict with pwm. */
		};

		led1: led-green {
			color = <LED_COLOR_ID_GREEN>;
			gpios = <&pioa PIN_PB15 GPIO_ACTIVE_HIGH>; /* Conflict with pwm. */
		};

		led2: led-blue {
			color = <LED_COLOR_ID_BLUE>;
			function = LED_FUNCTION_HEARTBEAT;
			gpios = <&pioa PIN_PA21 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
		};
	};

	memory@60000000 {
		device_type = "memory";
		reg = <0x60000000 0x40000000>;

Annotation

Implementation Notes