arch/arm/boot/dts/allwinner/sun7i-a20-olimex-som204-evb.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/allwinner/sun7i-a20-olimex-som204-evb.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/allwinner/sun7i-a20-olimex-som204-evb.dts
Extension
.dts
Size
5237 bytes
Lines
327
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)
/*
 * Device Tree Source for A20-SOM204-EVB Board
 *
 * Copyright (C) 2018 Olimex Ltd.
 *   Author: Stefan Mavrodiev <stefan@olimex.com>
 */

/dts-v1/;
#include "sun7i-a20.dtsi"
#include "sunxi-common-regulators.dtsi"


#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pwm/pwm.h>

/ {
	model = "Olimex A20-SOM204-EVB";
	compatible = "olimex,a20-olimex-som204-evb", "allwinner,sun7i-a20";

	aliases {
		serial0 = &uart0;
		serial1 = &uart4;
		serial2 = &uart7;
		spi0 = &spi1;
		spi1 = &spi2;
		ethernet1 = &rtl8723bs;
	};

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

	hdmi-connector {
		compatible = "hdmi-connector";
		type = "a";

		port {
			hdmi_con_in: endpoint {
				remote-endpoint = <&hdmi_out_con>;
			};
		};
	};

	leds {
		compatible = "gpio-leds";

		led-0 {
			label = "a20-som204-evb:green:stat";
			gpios = <&pio 8 0 GPIO_ACTIVE_HIGH>;
			default-state = "on";
		};

		led-1 {
			label = "a20-som204-evb:green:led1";
			gpios = <&pio 8 10 GPIO_ACTIVE_HIGH>;
			default-state = "on";
		};

		led-2 {
			label = "a20-som204-evb:yellow:led2";
			gpios = <&pio 8 11 GPIO_ACTIVE_HIGH>;
			default-state = "on";
		};
	};

	rtl_pwrseq: pwrseq-0 {
		compatible = "mmc-pwrseq-simple";
		reset-gpios = <&pio 6 9 GPIO_ACTIVE_LOW>;

Annotation

Implementation Notes