1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # # Copyright (c) 2018 Google LLC 2 # # Copyright (c) 2018 Google LLC 3 # # Copyright (c) 2021 Aspeed Technology Inc. 3 # # Copyright (c) 2021 Aspeed Technology Inc. 4 %YAML 1.2 4 %YAML 1.2 5 --- 5 --- 6 $id: http://devicetree.org/schemas/soc/aspeed/ !! 6 $id: "http://devicetree.org/schemas/soc/aspeed/uart-routing.yaml#" 7 $schema: http://devicetree.org/meta-schemas/co !! 7 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 8 9 title: Aspeed UART Routing Controller 9 title: Aspeed UART Routing Controller 10 10 11 maintainers: 11 maintainers: 12 - Oskar Senft <osk@google.com> 12 - Oskar Senft <osk@google.com> 13 - Chia-Wei Wang <chiawei_wang@aspeedtech.com> 13 - Chia-Wei Wang <chiawei_wang@aspeedtech.com> 14 14 15 description: 15 description: 16 The Aspeed UART routing control allow to dyn 16 The Aspeed UART routing control allow to dynamically route the inputs for 17 the built-in UARTS and physical serial I/O p 17 the built-in UARTS and physical serial I/O ports. 18 18 19 This allows, for example, to connect the out 19 This allows, for example, to connect the output of UART to another UART. 20 This can be used to enable Host <-> BMC comm 20 This can be used to enable Host <-> BMC communication via UARTs, e.g. to 21 allow access to the Host's serial console. 21 allow access to the Host's serial console. 22 22 23 This driver is for the BMC side. The sysfs f 23 This driver is for the BMC side. The sysfs files allow the BMC userspace 24 which owns the system configuration policy, 24 which owns the system configuration policy, to configure how UARTs and 25 physical serial I/O ports are routed. 25 physical serial I/O ports are routed. 26 26 27 properties: 27 properties: 28 compatible: 28 compatible: 29 items: 29 items: 30 - enum: 30 - enum: 31 - aspeed,ast2400-uart-routing 31 - aspeed,ast2400-uart-routing 32 - aspeed,ast2500-uart-routing 32 - aspeed,ast2500-uart-routing 33 - aspeed,ast2600-uart-routing 33 - aspeed,ast2600-uart-routing 34 reg: 34 reg: 35 maxItems: 1 35 maxItems: 1 36 36 37 required: 37 required: 38 - compatible 38 - compatible 39 39 40 additionalProperties: false 40 additionalProperties: false 41 41 42 examples: 42 examples: 43 - | 43 - | 44 lpc: lpc@1e789000 { 44 lpc: lpc@1e789000 { 45 compatible = "aspeed,ast2600-lpc-v2", 45 compatible = "aspeed,ast2600-lpc-v2", "simple-mfd", "syscon"; 46 reg = <0x1e789000 0x1000>; 46 reg = <0x1e789000 0x1000>; 47 47 48 #address-cells = <1>; 48 #address-cells = <1>; 49 #size-cells = <1>; 49 #size-cells = <1>; 50 ranges = <0x0 0x1e789000 0x1000>; 50 ranges = <0x0 0x1e789000 0x1000>; 51 51 52 uart_routing: uart-routing@98 { 52 uart_routing: uart-routing@98 { 53 compatible = "aspeed,ast2600-uart- 53 compatible = "aspeed,ast2600-uart-routing"; 54 reg = <0x98 0x8>; 54 reg = <0x98 0x8>; 55 }; 55 }; 56 }; 56 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.