arch/arm/boot/dts/allwinner/sun8i-h3-mapleboard-mp130.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/allwinner/sun8i-h3-mapleboard-mp130.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/allwinner/sun8i-h3-mapleboard-mp130.dts
Extension
.dts
Size
2321 bytes
Lines
153
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) 2017 Centrum Embedded Systems, Jia-Bin Huang <jb@ces.com.tw>
 * Copyright (C) 2018 Jonathan McDowell <noodles@earth.li>
 */

/dts-v1/;
#include "sun8i-h3.dtsi"
#include "sunxi-common-regulators.dtsi"

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

/ {
	model = "MapleBoard MP130";
	compatible = "mapleboard,mp130", "allwinner,sun8i-h3";

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

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

	leds {
		compatible = "gpio-leds";

		pwr_led {
			label = "mp130:orange:pwr";
			gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
			default-state = "on";
		};

		status_led {
			label = "mp130:orange:status";
			gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>;
		};
	};

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

		key-power {
			label = "power";
			linux,code = <KEY_POWER>;
			gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>; /* PL3 */
		};

		key-user {
			label = "user";
			linux,code = <BTN_0>;
			gpios = <&r_pio 0 4 GPIO_ACTIVE_LOW>;
		};
	};
};

&codec {
	allwinner,audio-routing =
		"Line Out", "LINEOUT",
		"LINEIN", "Line In";
	status = "okay";
};

&ehci1 {
	status = "okay";
};

&ehci2 {

Annotation

Implementation Notes