arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri.dtsi

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri.dtsi
Extension
.dtsi
Size
5333 bytes
Lines
317
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 OR MIT)
/*
 * Copyright 2023 Google LLC
 */
/dts-v1/;
#include "mt8188-geralt.dtsi"

&aud_etdm_hp_on {
	pins-mclk {
		pinmux = <PINMUX_GPIO114__FUNC_O_I2SO2_MCK>;
	};
};

&aud_etdm_hp_off {
	pins-mclk {
		pinmux = <PINMUX_GPIO114__FUNC_B_GPIO114>;
		bias-pull-down;
		input-enable;
	};
};

&i2c0 {
	rt5682s: audio-codec@1a {
		compatible = "realtek,rt5682s";
		reg = <0x1a>;
		interrupts-extended = <&pio 108 IRQ_TYPE_EDGE_BOTH>;
		pinctrl-names = "default";
		pinctrl-0 = <&audio_codec_pins>;
		#sound-dai-cells = <1>;

		AVDD-supply = <&mt6359_vio18_ldo_reg>;
		DBVDD-supply = <&mt6359_vio18_ldo_reg>;
		LDO1-IN-supply = <&mt6359_vio18_ldo_reg>;
		MICVDD-supply = <&pp3300_s3>;
		realtek,jd-src = <1>;
	};

	max98390_38: amplifier@38 {
		compatible = "maxim,max98390";
		reg = <0x38>;
		sound-name-prefix = "Front Right";
		reset-gpios = <&pio 118 GPIO_ACTIVE_LOW>;
		pinctrl-names = "default";
		pinctrl-0 = <&speaker_en>;
		#sound-dai-cells = <0>;
	};

	max98390_39: amplifier@39 {
		compatible = "maxim,max98390";
		reg = <0x39>;
		sound-name-prefix = "Front Left";
		#sound-dai-cells = <0>;
	};
};

&i2c_tunnel {
	/*
	 * The virtual battery I2C addr is 0xf on Ciri, so we describe it
	 * manually instead of including 'arm/cros-ec-sbs.dtsi'.
	 **/
	battery: sbs-battery@f {
		compatible = "sbs,sbs-battery";
		reg = <0xf>;
		sbs,i2c-retry-count = <2>;
		sbs,poll-retry-count = <1>;
	};
};

&mipi_tx_config0 {
	drive-strength-microamp = <5200>;

Annotation

Implementation Notes