arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts
Extension
.dts
Size
11270 bytes
Lines
539
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
/*
 * Copyright (c) 2022, Collabora Ltd
 * Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
 */

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

/ {
	model = "Sony Xperia M5";
	compatible = "sony,xperia-m5", "mediatek,mt6795";
	chassis-type = "handset";

	aliases {
		mmc0 = &mmc0;
		mmc1 = &mmc1;
		mmc2 = &mmc2;
		serial0 = &uart0;
		serial1 = &uart1;
	};

	backlight_lcd0: backlight {
		compatible = "led-backlight";
		leds = <&disp_led_pwm>, <&pmic_bl_led>;

		default-brightness-level = <300>;
	};

	led-controller-display {
		compatible = "pwm-leds";

		disp_led_pwm: led-0 {
			label = "backlight-pwm";
			pwms = <&pwm0 0 500000>;
			max-brightness = <1024>;
		};
	};

	memory@40000000 {
		device_type = "memory";
		reg = <0 0x40000000 0 0x1e800000>;
	};

	reserved_memory: reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;

		/* 128 KiB reserved for ARM Trusted Firmware (BL31) */
		bl31_secmon_reserved: secmon@43000000 {
			reg = <0 0x43000000 0 0x30000>;
			no-map;
		};

		/* preloader and bootloader regions cannot be touched */
		preloader-region@44800000 {
			reg = <0 0x44800000 0 0x100000>;
			no-map;
		};

		bootloader-region@46000000 {
			reg = <0 0x46000000 0 0x400000>;
			no-map;
		};
	};

	vreg_disp_avdd: regulator-disp-avdd {

Annotation

Implementation Notes