/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | aspeed-lpc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/mfd/aspeed-lpc.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Aspeed Low Pin Count (LPC) Bus Controller 11 - Andrew Jeffery <andrew@aj.id.au> 12 - Chia-Wei Wang <chiawei_wang@aspeedtech.com> 15 The LPC bus is a means to bridge a host CPU to a number of low-bandwidth 17 primary use case of the Aspeed LPC controller is as a slave on the bus 21 The LPC controller is represented as a multi-function device to account for the [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/serial/ |
H A D | 8250.yaml | 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - devicetree@vger.kernel.org 13 - $ref: serial.yaml# 14 - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# 15 - if: 17 - required: 18 - aspeed,lpc-io-reg 19 - required: 20 - aspeed,lpc-interrupts [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/ipmi/ |
H A D | aspeed,ast2400-kcs-bmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ipmi/aspeed,ast2400-kcs-bmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrew Jeffery <andrew@aj.id.au> 13 The Aspeed BMC SoCs typically use the Keyboard-Controller-Style (KCS) 14 interfaces on the LPC bus for in-band IPMI communication with their host. 19 - description: Channel ID derived from reg 22 - aspeed,ast2400-kcs-bmc-v2 23 - aspeed,ast2500-kcs-bmc-v2 [all …]
|
/openbmc/u-boot/arch/arm/mach-aspeed/ |
H A D | Kconfig | 21 The Aspeed AST2400 is a ARM-based SoC with arm926ejs CPU. 23 which is enabled by support of LPC and eSPI peripherals. 26 bool "Support Aspeed AST2500 SoC" 30 The Aspeed AST2500 is a ARM-based SoC with arm1176 CPU. 32 which is enabled by support of LPC and eSPI peripherals. 43 The Aspeed AST2600 is a ARM-based SoC with Cortex-A7 CPU. 45 which is enabled by support of LPC and eSPI peripherals. 60 bool "Enable built-in AST2x00 Super I/O hardware" 63 The Aspeed AST2400 and AST2500 include a built-in Super I/O 72 bool "Enable AST2500 hardware debug UART" [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | ast2500.dtsi | 3 * https://raw.githubusercontent.com/torvalds/linux/34ea5c9d/arch/arm/boot/dts/aspeed-g5.dtsi 9 compatible = "aspeed,ast2500"; 10 #address-cells = <1>; 11 #size-cells = <1>; 12 interrupt-parent = <&vic>; 38 #address-cells = <1>; 39 #size-cells = <0>; 42 compatible = "arm,arm1176jzf-s"; 54 compatible = "simple-bus"; 55 #address-cells = <1>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-g5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 2 #include <dt-bindings/clock/aspeed-clock.h> 3 #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h> 7 compatible = "aspeed,ast2500"; 8 #address-cells = <1>; 9 #size-cells = <1>; 10 interrupt-parent = <&vic>; 36 #address-cells = <1>; 37 #size-cells = <0>; 40 compatible = "arm,arm1176jzf-s"; [all …]
|
H A D | aspeed-g6.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h> 6 #include <dt-bindings/clock/ast2600-clock.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 13 interrupt-parent = <&gic>; 47 #address-cells = <1>; 48 #size-cells = <0>; 49 enable-method = "aspeed,ast2600-smp"; [all …]
|
H A D | aspeed-bmc-amd-ethanolx.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 /dts-v1/; 6 #include "aspeed-g5.dtsi" 7 #include <dt-bindings/gpio/aspeed-gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 12 compatible = "amd,ethanolx-bmc", "aspeed,ast2500"; 18 reserved-memory { 19 #address-cells = <1>; 20 #size-cells = <1>; 26 compatible = "shared-dma-pool"; [all …]
|
H A D | aspeed-bmc-asrock-e3c246d4i.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 4 #include "aspeed-g5.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 6 #include <dt-bindings/i2c/i2c.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 11 compatible = "asrock,e3c246d4i-bmc", "aspeed,ast2500"; 18 stdout-path = &uart5; 27 compatible = "gpio-leds"; 32 linux,default-trigger = "timer"; [all …]
|
H A D | aspeed-bmc-asrock-romed8hm3.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 4 #include "aspeed-g5.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 10 compatible = "asrock,romed8hm3-bmc", "aspeed,ast2500"; 17 stdout-path = &uart5; 26 compatible = "gpio-leds"; 30 linux,default-trigger = "timer"; 33 system-fault { [all …]
|
H A D | aspeed-bmc-amd-daytonax.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "aspeed-g5.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 10 compatible = "amd,daytonax-bmc", "aspeed,ast2500"; 16 reserved-memory { 17 #address-cells = <1>; 18 #size-cells = <1>; 24 compatible = "shared-dma-pool"; [all …]
|
H A D | aspeed-bmc-asrock-spc621d8hm3.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 4 #include "aspeed-g5.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 6 #include <dt-bindings/i2c/i2c.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 11 compatible = "asrock,spc621d8hm3-bmc", "aspeed,ast2500"; 21 stdout-path = &uart5; 30 compatible = "gpio-leds"; 34 linux,default-trigger = "timer"; [all …]
|
/openbmc/linux/drivers/soc/aspeed/ |
H A D | aspeed-lpc-snoop.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Provides a simple driver to control the ASPEED LPC snoop interface which 7 * the host to an arbitrary LPC I/O port. 26 #define DEVICE_NAME "aspeed-lpc-snoop" 54 /* The ast2400 has bits 14 and 15 as reserved, whereas the ast2500 75 return container_of(file->private_data, in snoop_file_to_chan() 87 if (kfifo_is_empty(&chan->fifo)) { in snoop_file_read() 88 if (file->f_flags & O_NONBLOCK) in snoop_file_read() 89 return -EAGAIN; in snoop_file_read() 90 ret = wait_event_interruptible(chan->wq, in snoop_file_read() [all …]
|
H A D | aspeed-lpc-ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include <linux/aspeed-lpc-ctrl.h> 19 #define DEVICE_NAME "aspeed-lpc-ctrl" 45 return container_of(file->private_data, struct aspeed_lpc_ctrl, in file_aspeed_lpc_ctrl() 52 unsigned long vsize = vma->vm_end - vma->vm_start; in aspeed_lpc_ctrl_mmap() 53 pgprot_t prot = vma->vm_page_prot; in aspeed_lpc_ctrl_mmap() 55 if (vma->vm_pgoff + vma_pages(vma) > lpc_ctrl->mem_size >> PAGE_SHIFT) in aspeed_lpc_ctrl_mmap() 56 return -EINVAL; in aspeed_lpc_ctrl_mmap() 61 if (remap_pfn_range(vma, vma->vm_start, in aspeed_lpc_ctrl_mmap() 62 (lpc_ctrl->mem_base >> PAGE_SHIFT) + vma->vm_pgoff, in aspeed_lpc_ctrl_mmap() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | aspeed,ast2500-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-or-later 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/aspeed,ast2500-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ASPEED AST2500 Pin Controller 10 - Andrew Jeffery <andrew@aj.id.au> 16 - compatible: Should be one of the following: 17 "aspeed,ast2500-scu", "syscon", "simple-mfd" 18 "aspeed,g5-scu", "syscon", "simple-mfd" 25 const: aspeed,ast2500-pinctrl [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/soc/aspeed/ |
H A D | uart-routing.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id: http://devicetree.org/schemas/soc/aspeed/uart-routing.yaml# 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Oskar Senft <osk@google.com> 13 - Chia-Wei Wang <chiawei_wang@aspeedtech.com> 17 the built-in UARTS and physical serial I/O ports. 20 This can be used to enable Host <-> BMC communication via UARTs, e.g. to 30 - enum: 31 - aspeed,ast2400-uart-routing [all …]
|
/openbmc/qemu/include/hw/misc/ |
H A D | aspeed_scu.h | 9 * the COPYING file in the top-level directory. 19 #define TYPE_ASPEED_2400_SCU TYPE_ASPEED_SCU "-ast2400" 20 #define TYPE_ASPEED_2500_SCU TYPE_ASPEED_SCU "-ast2500" 21 #define TYPE_ASPEED_2600_SCU TYPE_ASPEED_SCU "-ast2600" 22 #define TYPE_ASPEED_2700_SCU TYPE_ASPEED_SCU "-ast2700" 23 #define TYPE_ASPEED_2700_SCUIO TYPE_ASPEED_SCU "io" "-ast2700" 24 #define TYPE_ASPEED_1030_SCU TYPE_ASPEED_SCU "-ast1030" 84 * arch/arm/mach-aspeed/include/mach/regs-scu.h 86 * Copyright (C) 2012-2020 ASPEED Technology Inc. 104 * 22:20 LPC Host LHCLK divider selection [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | aspeed_ast2400.c | 10 * the COPYING file in the top-level directory. 18 #include "hw/char/serial-mm.h" 20 #include "qemu/error-report.h" 24 #include "target/arm/cpu-qom.h" 148 return qdev_get_gpio_in(DEVICE(&a->vic), sc->irqmap[dev]); in aspeed_soc_ast2400_get_irq() 160 if (sscanf(sc->name, "%7s", socname) != 1) { in aspeed_ast2400_soc_init() 164 for (i = 0; i < sc->num_cpus; i++) { in aspeed_ast2400_soc_init() 165 object_initialize_child(obj, "cpu[*]", &a->cpu[i], in aspeed_ast2400_soc_init() 169 snprintf(typename, sizeof(typename), "aspeed.scu-%s", socname); in aspeed_ast2400_soc_init() 170 object_initialize_child(obj, "scu", &s->scu, typename); in aspeed_ast2400_soc_init() [all …]
|
/openbmc/qemu/docs/system/arm/ |
H A D | aspeed.rst | 1 …ast2500-evb``, ``ast2600-evb``, ``ast2700-evb``, ``bletchley-bmc``, ``fuji-bmc``, ``fby35-bmc``, `… 6 Aspeed SoC : the AST2400 integrating an ARM926EJ-S CPU (400MHz), the 7 AST2500 with an ARM1176JZS CPU (800MHz), the AST2600 8 with dual cores ARM Cortex-A7 CPUs (1.2GHz) and more recently the AST2700 9 with quad cores ARM Cortex-A35 64 bits CPUs (1.6GHz) 16 - ``palmetto-bmc`` OpenPOWER Palmetto POWER8 BMC 17 - ``quanta-q71l-bmc`` OpenBMC Quanta BMC 18 - ``supermicrox11-bmc`` Supermicro X11 BMC (ARM926EJ-S) 19 - ``supermicrox11spi-bmc`` Supermicro X11 SPI BMC (ARM1176) 21 AST2500 SoC based machines : [all …]
|
/openbmc/libmctp/docs/bindings/ |
H A D | vendor-ibm-astlpc.md | 1 # Management Component Transport Protocol (MCTP) LPC Transport Binding Specification for ASPEED BMC… 6 host and BMC over the LPC bus on ASPEED BMC platforms. 17 2. Intel (R) Low Pin Count (LPC) Interface Specification 1.1, 18 …<https://www.intel.com/content/dam/www/program/design/us/en/documents/low-pin-count-interface-spec… 29 MCTP-compliant endpoints must accept. 33 A hardware-defined flag bit in a KCS device's Status Register (STR). The IBF 42 ### KCS: Keyboard-Controller-Style 48 systems. This interface is available built-in to several commercially available 49 microcontrollers. Data is transferred across the KCS interface using a per-byte 52 ### LPC Bus: Low Pin Count Bus [all …]
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | kcs_bmc_aspeed.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2015-2018, Intel Corporation. 6 #define pr_fmt(fmt) "aspeed-kcs-bmc: " fmt 27 #define DEVICE_NAME "ast-kcs-bmc" 34 * LPCyE Enable LPC channel y 35 * IBFIEy Input Buffer Full IRQ Enable for LPC channel y 36 * IRQxEy Assert SerIRQ x for LPC channel y (Deprecated, use IDyIRQX, IRQXEy) 37 * IDyIRQX Use the specified 4-bit SerIRQ for LPC channel y 38 * SELyIRQX SerIRQ polarity for LPC channel y (low: 0, high: 1) 39 * IRQXEy Assert the SerIRQ specified in IDyIRQX for LPC channel y [all …]
|
/openbmc/linux/drivers/reset/ |
H A D | reset-simple.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * Maxime Ripard <maxime.ripard@free-electrons.com> 20 #include <linux/reset-controller.h> 21 #include <linux/reset/reset-simple.h> 40 spin_lock_irqsave(&data->lock, flags); in reset_simple_update() 42 reg = readl(data->membase + (bank * reg_width)); in reset_simple_update() 43 if (assert ^ data->active_low) in reset_simple_update() 47 writel(reg, data->membase + (bank * reg_width)); in reset_simple_update() 49 spin_unlock_irqrestore(&data->lock, flags); in reset_simple_update() 72 if (!data->reset_us) in reset_simple_reset() [all …]
|
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/ |
H A D | scu_info.c | 1 // SPDX-License-Identifier: GPL-2.0+ 22 SOC_ID("AST1100/AST2050-A0", 0x00000200), 23 SOC_ID("AST1100/AST2050-A1", 0x00000201), 24 SOC_ID("AST1100/AST2050-A2,3/AST2150-A0,1", 0x00000202), 25 SOC_ID("AST1510/AST2100-A0", 0x00000300), 26 SOC_ID("AST1510/AST2100-A1", 0x00000301), 27 SOC_ID("AST1510/AST2100-A2,3", 0x00000302), 28 SOC_ID("AST2200-A0,1", 0x00000102), 29 SOC_ID("AST2300-A0", 0x01000003), 30 SOC_ID("AST2300-A1", 0x01010303), [all …]
|
/openbmc/docs/ |
H A D | kernel-development.md | 6 case-by-case basis. If in doubt, start a discussion on the mailing list. 27 …`git format-patch --subject-prefix="PATCH linux dev-4.7" --to=openbmc@lists.ozlabs.org --to=joel@j… 34 hardware you wish to support. Check the OpenBMC `-dev` tree, check upstream, and 41 process)[https://www.kernel.org/doc/Documentation/process/submitting-patches.rst]. 43 In the past patches underwent 'pre-review' on the OpenBMC mailing list. While 55 There are cases where waiting for upstream acceptance will delay the bring-up of 63 `arch/arm/mach-aspeed/aspeed.c`, and the device tree source files `dts`. The 65 functionality; for now it contains some hacks relating to LPC and early init. 67 If you find yourself adding to `arch/arm/mach-aspeed/aspeed.c`, first send an 82 - Palmetto, an OpenPower Power8 box containing an ast2400 with NCSI networking [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-aspeed.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 #define pr_fmt(fmt) "clk-aspeed: " fmt 13 #include <dt-bindings/clock/aspeed-clock.h> 15 #include "clk-aspeed.h" 49 [ASPEED_CLK_GATE_ECLK] = { 0, 6, "eclk-gate", "eclk", 0 }, /* Video Engine */ 50 [ASPEED_CLK_GATE_GCLK] = { 1, 7, "gclk-gate", NULL, 0 }, /* 2D engine */ 51 [ASPEED_CLK_GATE_MCLK] = { 2, -1, "mclk-gate", "mpll", CLK_IS_CRITICAL }, /* SDRAM */ 52 [ASPEED_CLK_GATE_VCLK] = { 3, -1, "vclk-gate", NULL, 0 }, /* Video Capture */ 53 [ASPEED_CLK_GATE_BCLK] = { 4, 8, "bclk-gate", "bclk", CLK_IS_CRITICAL }, /* PCIe/PCI */ 54 [ASPEED_CLK_GATE_DCLK] = { 5, -1, "dclk-gate", NULL, CLK_IS_CRITICAL }, /* DAC */ [all …]
|