arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
Extension
.dtsi
Size
6944 bytes
Lines
318
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 (c) 2019 BayLibre, SAS
 * Author: Neil Armstrong <narmstrong@baylibre.com>
 */

#include "meson-g12b-odroid.dtsi"

/ {
	aliases {
		rtc0 = &rtc;
	};

	dio2133: audio-amplifier-0 {
		compatible = "simple-audio-amplifier";
		enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
		VCC-supply = <&vcc_5v>;
		sound-name-prefix = "U19";
		status = "okay";
	};

	hub_5v: regulator-hub-5v {
		compatible = "regulator-fixed";
		regulator-name = "HUB_5V";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		vin-supply = <&vcc_5v>;

		/* Connected to the Hub CHIPENABLE, LOW sets low power state */
		gpio = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
		enable-active-high;
	};

	/* USB hub supports both USB 2.0 and USB 3.0 root hub */
	usb-hub {
		dr_mode = "host";
		#address-cells = <1>;
		#size-cells = <0>;

		/* 2.0 hub on port 1 */
		hub_2_0: hub@1 {
			compatible = "usb5e3,610";
			reg = <1>;
			peer-hub = <&hub_3_0>;
			vdd-supply = <&usb_pwr_en>;
		};

		/* 3.0 hub on port 4 */
		hub_3_0: hub@2 {
			compatible = "usb5e3,620";
			reg = <2>;
			peer-hub = <&hub_2_0>;
			reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>;
			vdd-supply = <&vcc_5v>;
		};
	};

	sound {
		compatible = "amlogic,axg-sound-card";
		model = "ODROID-N2";
		audio-widgets = "Line", "Lineout";
		audio-aux-devs = <&tdmout_b>, <&tdmout_c>, <&tdmin_a>,
				 <&tdmin_b>, <&tdmin_c>, <&tdmin_lb>,
				 <&dio2133>;
		audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
				"TDMOUT_B IN 1", "FRDDR_B OUT 1",
				"TDMOUT_B IN 2", "FRDDR_C OUT 1",
				"TDM_B Playback", "TDMOUT_B OUT",
				"TDMOUT_C IN 0", "FRDDR_A OUT 2",
				"TDMOUT_C IN 1", "FRDDR_B OUT 2",

Annotation

Implementation Notes