arch/arm/boot/dts/allwinner/sun6i-a31s-sinovoip-bpi-m2.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/allwinner/sun6i-a31s-sinovoip-bpi-m2.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/allwinner/sun6i-a31s-sinovoip-bpi-m2.dts
Extension
.dts
Size
8535 bytes
Lines
335
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

/dts-v1/;
#include "sun6i-a31s.dtsi"
#include <dt-bindings/gpio/gpio.h>

/ {
	model = "Sinovoip BPI-M2";
	compatible = "sinovoip,bpi-m2", "allwinner,sun6i-a31s";

	aliases {
		serial0 = &uart0;
	};

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

	leds {
		compatible = "gpio-leds";

		led-0 {
			label = "bpi-m2:blue:usr";
			gpios = <&pio 6 11 GPIO_ACTIVE_HIGH>; /* PG11 */
		};

		led-1 {
			label = "bpi-m2:green:usr";
			gpios = <&pio 6 10 GPIO_ACTIVE_HIGH>; /* PG10 */
		};

		led-2 {
			label = "bpi-m2:red:usr";
			gpios = <&pio 6 5 GPIO_ACTIVE_HIGH>; /* PG5 */
		};
	};

	mmc2_pwrseq: pwrseq {
		compatible = "mmc-pwrseq-simple";
		reset-gpios = <&r_pio 0 8 GPIO_ACTIVE_LOW>; /* PL8 WIFI_EN */
	};
};

&cpu0 {
	cpu-supply = <&reg_dcdc3>;
};

&ehci0 {
	status = "okay";
};

&gmac {
	pinctrl-names = "default";
	pinctrl-0 = <&gmac_rgmii_pins>;
	phy-handle = <&phy1>;
	phy-mode = "rgmii";
	phy-supply = <&reg_dldo1>;
	status = "okay";
};

&ir {
	pinctrl-names = "default";
	pinctrl-0 = <&s_ir_rx_pin>;
	status = "okay";
};

&mdio {
	phy1: ethernet-phy@1 {
		reg = <1>;
		reset-gpios = <&pio 0 21 GPIO_ACTIVE_LOW>; /* PA21 */
		reset-assert-us = <10000>;
		reset-deassert-us = <30000>;

Annotation

Implementation Notes