arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx-usbotg.dtso

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx-usbotg.dtso

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx-usbotg.dtso
Extension
.dtso
Size
1669 bytes
Lines
90
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: arch/arm64
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-later OR MIT)
/*
 * Copyright (c) 2022-2024 TQ-Systems GmbH <linux@ew.tq-group.com>,
 * D-82229 Seefeld, Germany.
 * Author: Alexander Stein
 */

/dts-v1/;
/plugin/;

#include <dt-bindings/gpio/gpio.h>

#include "imx8mn-pinfunc.h"

&{/} {
	connector {
		compatible = "gpio-usb-b-connector", "usb-b-connector";
		type = "micro";
		label = "X19";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_usb1_connector>;
		id-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;

		port {
			usb_dr_connector: endpoint {
				remote-endpoint = <&usb1_drd_sw>;
			};
		};
	};
};

/*
 * rst_usb_hub_hog and sel_usb_hub_hog have property 'output-high',
 * dt overlay don't support /delete-property/. Both 'output-low' and
 * 'output-high' will be exist under hog nodes if overlay file set
 * 'output-low'. Workaround is disable these hog and create new hog with
 * 'output-low'.
 */

&rst_usb_hub_hog {
	status = "disabled";
};

&expander0 {
	rst-usb-low-hub-hog {
		gpio-hog;
		gpios = <13 0>;
		output-low;
		line-name = "RST_USB_HUB#";
	};
};

&sel_usb_hub_hog {
	status = "disabled";
};

&gpio2 {
	sel-usb-low-hub-hog {
		gpio-hog;
		gpios = <1 GPIO_ACTIVE_HIGH>;
		output-low;
	};
};

&usbotg1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_usbotg>;
	dr_mode = "otg";
	srp-disable;
	hnp-disable;

Annotation

Implementation Notes