arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
Extension
.dts
Size
3950 bytes
Lines
202
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) 2017 Antony Antony <antony@phenome.org>
// Copyright (C) 2016 ARM Ltd.

/dts-v1/;
#include "sun50i-h5.dtsi"

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/pinctrl/sun4i-a10.h>

/ {
	model = "FriendlyARM NanoPi NEO Plus2";
	compatible = "friendlyarm,nanopi-neo-plus2", "allwinner,sun50i-h5";

	aliases {
		ethernet0 = &emac;
		serial0 = &uart0;
	};

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

	leds {
		compatible = "gpio-leds";

		led-0 {
			label = "nanopi:green:pwr";
			gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
			default-state = "on";
		};

		led-1 {
			label = "nanopi:red:status";
			gpios = <&pio 0 20 GPIO_ACTIVE_HIGH>;
		};
	};

	reg_gmac_3v3: gmac-3v3 {
		compatible = "regulator-fixed";
		regulator-name = "gmac-3v3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		startup-delay-us = <100000>;
		enable-active-high;
		gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>;
		vin-supply = <&reg_vcc3v3>;
	};

	reg_gmac_2v5: gmac-2v5 {
		/* 2V5 supply for GMAC PHY IO */
		compatible = "regulator-fixed";
		regulator-name = "gmac-2v5";
		regulator-min-microvolt = <2500000>;
		regulator-max-microvolt = <2500000>;
		regulator-always-on;
		vin-supply = <&reg_vcc3v3>;
	};

	reg_vcc5v: regulator-vcc5v {
		/* board 5V supply from micro USB or pin headers */
		compatible = "regulator-fixed";
		regulator-name = "vcc-5v";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-always-on;
	};

	reg_vcc3v3: vcc3v3 {

Annotation

Implementation Notes