Home
last modified time | relevance | path

Searched +full:ast2500 +full:- +full:lpc (Results 1 – 25 of 35) sorted by relevance

12

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/mfd/
Daspeed-lpc.txt2 Device tree bindings for the Aspeed Low Pin Count (LPC) Bus Controller
5 The LPC bus is a means to bridge a host CPU to a number of low-bandwidth
7 primary use case of the Aspeed LPC controller is as a slave on the bus
11 The LPC controller is represented as a multi-function device to account for the
14 "basically compatible with the [LPC registers from the] popular BMC controller
22 * An LPC Host Controller: Manages LPC functions such as host vs slave mode, the
23 physical properties of some LPC pins, configuration of serial IRQs, and
24 APB-to-LPC bridging amonst other functions.
26 * An LPC Host Interface Controller: Manages functions exposed to the host such
27 as LPC firmware hub cycles, configuration of the LPC-to-AHB mapping, UART
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Daspeed-lpc.txt2 Device tree bindings for the Aspeed Low Pin Count (LPC) Bus Controller
5 The LPC bus is a means to bridge a host CPU to a number of low-bandwidth
7 primary use case of the Aspeed LPC controller is as a slave on the bus
11 The LPC controller is represented as a multi-function device to account for the
14 "basically compatible with the [LPC registers from the] popular BMC controller
22 * An LPC Host Controller: Manages LPC functions such as host vs slave mode, the
23 physical properties of some LPC pins, configuration of serial IRQs, and
24 APB-to-LPC bridging amonst other functions.
26 * An LPC Host Interface Controller: Manages functions exposed to the host such
27 as LPC firmware hub cycles, configuration of the LPC-to-AHB mapping, UART
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Daspeed,ast2500-pinctrl.yaml1 # 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/ipmi/
Daspeed-kcs-bmc.txt3 The Aspeed SOCs (AST2400 and AST2500) are commonly used as BMCs
5 used to perform in-band IPMI communication with their host.
9 - compatible : should be one of
10 "aspeed,ast2400-kcs-bmc"
11 "aspeed,ast2500-kcs-bmc"
12 - interrupts : interrupt generated by the controller
13 - kcs_chan : The LPC channel number in the controller
14 - kcs_addr : The host CPU IO map address
18 - compatible : should be one of
19 "aspeed,ast2400-kcs-bmc-v2"
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/pinctrl/
Dpinctrl-aspeed.txt9 - compatible : Should be one of the following:
10 "aspeed,ast2400-pinctrl"
11 "aspeed,g4-pinctrl"
14 - compatible : Should be one of the following:
15 "aspeed,ast2500-pinctrl"
16 "aspeed,g5-pinctrl"
18 - aspeed,external-nodes: A cell of phandles to external controller nodes:
19 0: compatible with "aspeed,ast2500-gfx", "syscon"
20 1: compatible with "aspeed,ast2500-lhc", "syscon"
25 - compatible : Should be one of the following:
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Daspeed-g5.dtsi1 // SPDX-License-Identifier: GPL-2.0+
2 #include <dt-bindings/clock/aspeed-clock.h>
6 compatible = "aspeed,ast2500";
7 #address-cells = <1>;
8 #size-cells = <1>;
9 interrupt-parent = <&vic>;
35 #address-cells = <1>;
36 #size-cells = <0>;
39 compatible = "arm,arm1176jzf-s";
51 compatible = "simple-bus";
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Daspeed-g5.dtsi1 // 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 …]
Daspeed-g6.dtsi1 // 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>;
43 #address-cells = <1>;
44 #size-cells = <0>;
45 enable-method = "aspeed,ast2600-smp";
[all …]
Daspeed-bmc-amd-ethanolx.dts1 // SPDX-License-Identifier: GPL-2.0
4 /dts-v1/;
6 #include "aspeed-g5.dtsi"
7 #include <dt-bindings/gpio/aspeed-gpio.h>
11 compatible = "amd,ethanolx-bmc", "aspeed,ast2500";
21 stdout-path = &uart5;
25 compatible = "gpio-leds";
35 iio-hwmon {
36 compatible = "iio-hwmon";
37 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>;
[all …]
/kernel/linux/linux-5.10/drivers/soc/aspeed/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 tristate "Aspeed ast2400/2500 HOST LPC to BMC bridge control"
12 Control Aspeed ast2400/2500 HOST LPC to BMC mappings through
14 region where the host LPC read/write region can be buffered.
17 tristate "Aspeed ast2500 HOST LPC snoop support"
20 Provides a driver to control the LPC snoop interface which
22 the host to an arbitrary LPC I/O port.
30 a pre-defined region.
Daspeed-lpc-snoop.c1 // 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.
27 #define DEVICE_NAME "aspeed-lpc-snoop"
56 /* The ast2400 has bits 14 and 15 as reserved, whereas the ast2500
77 return container_of(file->private_data, in snoop_file_to_chan()
89 if (kfifo_is_empty(&chan->fifo)) { in snoop_file_read()
90 if (file->f_flags & O_NONBLOCK) in snoop_file_read()
91 return -EAGAIN; in snoop_file_read()
92 ret = wait_event_interruptible(chan->wq, in snoop_file_read()
[all …]
Daspeed-lpc-ctrl.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include <linux/aspeed-lpc-ctrl.h>
18 #define DEVICE_NAME "aspeed-lpc-ctrl"
39 return container_of(file->private_data, struct aspeed_lpc_ctrl, in file_aspeed_lpc_ctrl()
46 unsigned long vsize = vma->vm_end - vma->vm_start; in aspeed_lpc_ctrl_mmap()
47 pgprot_t prot = vma->vm_page_prot; in aspeed_lpc_ctrl_mmap()
49 if (vma->vm_pgoff + vma_pages(vma) > lpc_ctrl->mem_size >> PAGE_SHIFT) in aspeed_lpc_ctrl_mmap()
50 return -EINVAL; in aspeed_lpc_ctrl_mmap()
55 if (remap_pfn_range(vma, vma->vm_start, in aspeed_lpc_ctrl_mmap()
56 (lpc_ctrl->mem_base >> PAGE_SHIFT) + vma->vm_pgoff, in aspeed_lpc_ctrl_mmap()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/ipmi/
Daspeed-kcs-bmc.txt3 The Aspeed SOCs (AST2400 and AST2500) are commonly used as BMCs
5 used to perform in-band IPMI communication with their host.
8 - compatible : should be one of
9 "aspeed,ast2400-kcs-bmc"
10 "aspeed,ast2500-kcs-bmc"
11 - interrupts : interrupt generated by the controller
12 - kcs_chan : The LPC channel number in the controller
13 - kcs_addr : The host CPU IO map address
19 compatible = "aspeed,ast2500-kcs-bmc";
/kernel/linux/linux-4.19/drivers/misc/
Daspeed-lpc-snoop.c9 * Provides a simple driver to control the ASPEED LPC snoop interface which
11 * the host to an arbitrary LPC I/O port.
30 #define DEVICE_NAME "aspeed-lpc-snoop"
59 /* The ast2400 has bits 14 and 15 as reserved, whereas the ast2500
79 return container_of(file->private_data, in snoop_file_to_chan()
91 if (kfifo_is_empty(&chan->fifo)) { in snoop_file_read()
92 if (file->f_flags & O_NONBLOCK) in snoop_file_read()
93 return -EAGAIN; in snoop_file_read()
94 ret = wait_event_interruptible(chan->wq, in snoop_file_read()
95 !kfifo_is_empty(&chan->fifo)); in snoop_file_read()
[all …]
Daspeed-lpc-ctrl.c20 #include <linux/aspeed-lpc-ctrl.h>
22 #define DEVICE_NAME "aspeed-lpc-ctrl"
43 return container_of(file->private_data, struct aspeed_lpc_ctrl, in file_aspeed_lpc_ctrl()
50 unsigned long vsize = vma->vm_end - vma->vm_start; in aspeed_lpc_ctrl_mmap()
51 pgprot_t prot = vma->vm_page_prot; in aspeed_lpc_ctrl_mmap()
53 if (vma->vm_pgoff + vsize > lpc_ctrl->mem_base + lpc_ctrl->mem_size) in aspeed_lpc_ctrl_mmap()
54 return -EINVAL; in aspeed_lpc_ctrl_mmap()
59 if (remap_pfn_range(vma, vma->vm_start, in aspeed_lpc_ctrl_mmap()
60 (lpc_ctrl->mem_base >> PAGE_SHIFT) + vma->vm_pgoff, in aspeed_lpc_ctrl_mmap()
62 return -EAGAIN; in aspeed_lpc_ctrl_mmap()
[all …]
DKconfig28 See Documentation/misc-devices/ad525x_dpot.txt for the
41 module will be called ad525x_dpot-i2c.
52 module will be called ad525x_dpot-spi.
69 are combined to make a single 32-bit timer.
89 ---help---
98 ---help---
99 This option enables device driver support for in-band access to the
112 website <http://www-03.ibm.com/systems/info/x86servers/serverproven/compat/us/>
152 an Intel Atom (non-netbook) mobile device containing a MIPI
158 ---help---
[all …]
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dkcs_bmc_aspeed.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2015-2018, Intel Corporation.
6 #define pr_fmt(fmt) "aspeed-kcs-bmc: " fmt
26 #define DEVICE_NAME "ast-kcs-bmc"
30 /* mapped to lpc-bmc@0 IO space */
56 /* mapped to lpc-host@80 IO space */
76 rc = regmap_read(priv->map, reg, &val); in aspeed_kcs_inb()
87 rc = regmap_write(priv->map, reg, data); in aspeed_kcs_outb()
109 switch (kcs_bmc->channel) { in aspeed_kcs_set_address()
111 regmap_update_bits(priv->map, LPC_HICR4, in aspeed_kcs_set_address()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/
D8250.yaml3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - devicetree@vger.kernel.org
13 - $ref: /schemas/serial.yaml#
14 - if:
16 - aspeed,sirq-polarity-sense
20 const: aspeed,ast2500-vuart
21 - if:
24 const: mrvl,mmp-uart
27 reg-shift:
[all …]
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/controllers/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
8 in the Aspeed AST2500/AST2400 SoCs when attached to SPI NOR chips,
24 Enable support for the NXP LPC SPI Flash Interface controller.
47 will be called intel-spi-pci.
64 will be called intel-spi-platform.
/kernel/linux/linux-5.10/drivers/clk/
Dclk-aspeed.c1 // 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 …]
/kernel/linux/linux-4.19/drivers/reset/
Dreset-simple.c10 * Maxime Ripard <maxime.ripard@free-electrons.com>
24 #include <linux/reset-controller.h>
27 #include "reset-simple.h"
45 spin_lock_irqsave(&data->lock, flags); in reset_simple_update()
47 reg = readl(data->membase + (bank * reg_width)); in reset_simple_update()
48 if (assert ^ data->active_low) in reset_simple_update()
52 writel(reg, data->membase + (bank * reg_width)); in reset_simple_update()
54 spin_unlock_irqrestore(&data->lock, flags); in reset_simple_update()
80 reg = readl(data->membase + (bank * reg_width)); in reset_simple_status()
82 return !(reg & BIT(offset)) ^ !data->status_active_low; in reset_simple_status()
[all …]
/kernel/linux/linux-5.10/drivers/reset/
Dreset-simple.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 * Maxime Ripard <maxime.ripard@free-electrons.com>
21 #include <linux/reset-controller.h>
22 #include <linux/reset/reset-simple.h>
41 spin_lock_irqsave(&data->lock, flags); in reset_simple_update()
43 reg = readl(data->membase + (bank * reg_width)); in reset_simple_update()
44 if (assert ^ data->active_low) in reset_simple_update()
48 writel(reg, data->membase + (bank * reg_width)); in reset_simple_update()
50 spin_unlock_irqrestore(&data->lock, flags); in reset_simple_update()
73 if (!data->reset_us) in reset_simple_reset()
[all …]
/kernel/linux/linux-4.19/drivers/clk/
Dclk-aspeed.c1 // SPDX-License-Identifier: GPL-2.0+
3 #define pr_fmt(fmt) "clk-aspeed: " fmt
5 #include <linux/clk-provider.h>
11 #include <linux/reset-controller.h>
15 #include <dt-bindings/clock/aspeed-clock.h>
46 * struct aspeed_gate_data - Aspeed gated clocks
48 * @reset_idx: bit used to reset this IP in the reset register. -1 if no
63 * struct aspeed_clk_gate - Aspeed specific clk_gate structure
64 * @hw: handle between common and hardware-specific interfaces
67 * @reset_idx: bit used to reset this IP in the reset register. -1 if no
[all …]
/kernel/linux/linux-4.19/drivers/mtd/spi-nor/
DKconfig2 tristate "SPI-NOR device support"
6 device drivers and the SPI-NOR device driver.
38 in the Aspeed AST2500/AST2400 SoCs when attached to SPI NOR chips,
58 Flash over 1/2/4-bit wide bus. Enable this option if you have a
72 tristate "Hisilicon SPI-NOR Flash Controller(SFC)"
76 This enables support for hisilicon SPI-NOR flash controller.
83 Enable support for the NXP LPC SPI Flash Interface controller.
106 will be called intel-spi-pci.
123 will be called intel-spi-platform.
/kernel/linux/linux-4.19/drivers/char/ipmi/
Dkcs_bmc_aspeed.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2015-2018, Intel Corporation.
6 #define pr_fmt(fmt) "aspeed-kcs-bmc: " fmt
25 #define DEVICE_NAME "ast-kcs-bmc"
29 /* mapped to lpc-bmc@0 IO space */
55 /* mapped to lpc-host@80 IO space */
75 rc = regmap_read(priv->map, reg, &val); in aspeed_kcs_inb()
86 rc = regmap_write(priv->map, reg, data); in aspeed_kcs_outb()
108 switch (kcs_bmc->channel) { in aspeed_kcs_set_address()
110 regmap_update_bits(priv->map, LPC_HICR4, in aspeed_kcs_set_address()
[all …]

12