arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts
Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts
File Facts
- System
- Linux kernel
- Corpus path
arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts- Extension
.dts- Size
- 15282 bytes
- Lines
- 717
- 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.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
Dependency Surface
dt-bindings/arm/qcom,ids.hdt-bindings/gpio/gpio.hdt-bindings/pinctrl/qcom,pmic-gpio.hdt-bindings/regulator/qcom,rpmh-regulator.hdt-bindings/input/linux-event-codes.hdt-bindings/sound/qcom,q6afe.hdt-bindings/sound/qcom,q6asm.hsdm845.dtsisdm845-wcd9340.dtsipm8998.dtsipmi8998.dtsipm8005.dtsi
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2020, Xilin Wu <strongtz@yeah.net>
* Copyright (c) 2022, Molly Sophia <mollysophia379@gmail.com>
*/
/dts-v1/;
#include <dt-bindings/arm/qcom,ids.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/sound/qcom,q6afe.h>
#include <dt-bindings/sound/qcom,q6asm.h>
#include "sdm845.dtsi"
#include "sdm845-wcd9340.dtsi"
#include "pm8998.dtsi"
#include "pmi8998.dtsi"
#include "pm8005.dtsi"
/*
* Delete following upstream (sdm845.dtsi) reserved
* memory mappings which are different in this device.
*/
/delete-node/ &rmtfs_mem;
/delete-node/ &adsp_mem;
/delete-node/ &wlan_msa_mem;
/delete-node/ &mpss_region;
/delete-node/ &venus_mem;
/delete-node/ &cdsp_mem;
/delete-node/ &mba_region;
/delete-node/ &slpi_mem;
/delete-node/ &spss_mem;
/ {
model = "Xiaomi Mi MIX 2S";
compatible = "xiaomi,polaris", "qcom,sdm845";
chassis-type = "handset";
/* required for bootloader to select correct board */
qcom,msm-id = <QCOM_ID_SDM845 0x20001>;
qcom,board-id = <0x2a 0x0>;
aliases {
serial0 = &uart9;
serial1 = &uart6;
};
gpio-keys {
compatible = "gpio-keys";
autorepeat;
pinctrl-names = "default";
pinctrl-0 = <&volume_up_gpio>;
key-vol-up {
label = "Volume Up";
linux,code = <KEY_VOLUMEUP>;
gpios = <&pm8998_gpios 6 GPIO_ACTIVE_LOW>;
debounce-interval = <15>;
};
};
reserved-memory {
adsp_mem: memory@8c500000 {
reg = <0 0x8c500000 0 0x1e00000>;
no-map;
};
Annotation
- Immediate include surface: `dt-bindings/arm/qcom,ids.h`, `dt-bindings/gpio/gpio.h`, `dt-bindings/pinctrl/qcom,pmic-gpio.h`, `dt-bindings/regulator/qcom,rpmh-regulator.h`, `dt-bindings/input/linux-event-codes.h`, `dt-bindings/sound/qcom,q6afe.h`, `dt-bindings/sound/qcom,q6asm.h`, `sdm845.dtsi`.
- Atlas domain: Architecture Layer / arch/arm64.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.