arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
Extension
.dts
Size
8791 bytes
Lines
384
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-only OR MIT)
// Copyright (C) 2025 Arm Ltd.

/dts-v1/;

#include "sun55i-a523.dtsi"

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

/ {
	model = "Radxa Cubie A5E";
	compatible = "radxa,cubie-a5e", "allwinner,sun55i-a527";

	aliases {
		ethernet0 = &gmac0;
		ethernet1 = &gmac1;
		serial0 = &uart0;
	};

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

	leds {
		compatible = "gpio-leds";

		power-led {
			function = LED_FUNCTION_POWER;
			color = <LED_COLOR_ID_GREEN>;
			gpios = <&r_pio 0 4 GPIO_ACTIVE_LOW>; /* PL4 */
			default-state = "on";
			linux,default-trigger = "heartbeat";
		};

		use-led {
			function = LED_FUNCTION_ACTIVITY;
			color = <LED_COLOR_ID_BLUE>;
			gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL5 */
		};
	};

	iio-hwmon {
		compatible = "iio-hwmon";
		io-channels = <&axp717_adc 3>, /* vsys_v */
			      <&axp717_adc 4>; /* pmic_temp */
	};

	reg_vcc5v: vcc5v {
		/* board wide 5V supply from the USB-C connector */
		compatible = "regulator-fixed";
		regulator-name = "vcc-5v";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-always-on;
	};

	reg_usb_vbus: vbus {
		compatible = "regulator-fixed";
		regulator-name = "usb-vbus";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		vin-supply = <&reg_vcc5v>;
		gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>;	/* PL8 */
		enable-active-high;
	};
};

&ehci0 {
	status = "okay";

Annotation

Implementation Notes