Documentation/devicetree/bindings/soc/aspeed/uart-routing.yaml
Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/soc/aspeed/uart-routing.yaml
File Facts
- System
- Linux kernel
- Corpus path
Documentation/devicetree/bindings/soc/aspeed/uart-routing.yaml- Extension
.yaml- Size
- 1574 bytes
- Lines
- 57
- Domain
- Support Tooling And Documentation
- Bucket
- Documentation
- Inferred role
- Support Tooling And Documentation: configuration, schema, or hardware description
- Status
- atlas-only
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# # Copyright (c) 2018 Google LLC
# # Copyright (c) 2021 Aspeed Technology Inc.
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/aspeed/uart-routing.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Aspeed UART Routing Controller
maintainers:
- Oskar Senft <osk@google.com>
- Chia-Wei Wang <chiawei_wang@aspeedtech.com>
description:
The Aspeed UART routing control allow to dynamically route the inputs for
the built-in UARTS and physical serial I/O ports.
This allows, for example, to connect the output of UART to another UART.
This can be used to enable Host <-> BMC communication via UARTs, e.g. to
allow access to the Host's serial console.
This driver is for the BMC side. The sysfs files allow the BMC userspace
which owns the system configuration policy, to configure how UARTs and
physical serial I/O ports are routed.
properties:
compatible:
items:
- enum:
- aspeed,ast2400-uart-routing
- aspeed,ast2500-uart-routing
- aspeed,ast2600-uart-routing
reg:
maxItems: 1
required:
- compatible
additionalProperties: false
examples:
- |
lpc: lpc@1e789000 {
compatible = "aspeed,ast2600-lpc-v2", "simple-mfd", "syscon";
reg = <0x1e789000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x1e789000 0x1000>;
uart_routing: uart-routing@98 {
compatible = "aspeed,ast2600-uart-routing";
reg = <0x98 0x8>;
};
};
Annotation
- Atlas domain: Support Tooling And Documentation / Documentation.
- 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.