/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/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" 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() 91 !kfifo_is_empty(&chan->fifo)); in snoop_file_read() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 tristate "ASPEED LPC firmware cycle control" 13 Control LPC firmware cycle mappings through ioctl()s. The driver 15 host LPC read/write region can be buffered. 18 tristate "ASPEED LPC snoop support" 23 Provides a driver to control the LPC snoop interface which 25 the host to an arbitrary LPC I/O port. 45 pre-defined region.
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 2 obj-$(CONFIG_ASPEED_LPC_CTRL) += aspeed-lpc-ctrl.o 3 obj-$(CONFIG_ASPEED_LPC_SNOOP) += aspeed-lpc-snoop.o 4 obj-$(CONFIG_ASPEED_UART_ROUTING) += aspeed-uart-routing.o 5 obj-$(CONFIG_ASPEED_P2A_CTRL) += aspeed-p2a-ctrl.o 6 obj-$(CONFIG_ASPEED_SOCINFO) += aspeed-socinfo.o 7 obj-$(CONFIG_ASPEED_SBC) += aspeed-sbc.o 8 obj-$(CONFIG_ASPEED_XDMA) += aspeed-xdma.o
|
/openbmc/u-boot/board/aspeed/evb_ast2600/ |
H A D | evb_ast2600.c | 1 // SPDX-License-Identifier: GPL-2.0+ 27 #define HICR6_STR_SNP0W (1 << 0) /* Interrupt Status Snoop address 0 */ 28 #define HICR6_STR_SNP1W (1 << 1) /* Interrupt Status Snoop address 1 */ 36 /* enable port80h snoop and sgpio */ in port80h_snoop_init() 37 /* set lpc snoop #0 to port 0x80 */ in port80h_snoop_init() 46 /* enable lpc snoop #0 and SIOGIO */ in port80h_snoop_init() 51 /* enable port80h snoop on SGPIO */ in port80h_snoop_init() 62 #define SCU_414 0x414 /* Multi-function Pin Control #5 */ in sgpio_init() 77 /* skip eSPI init if LPC mode is selected */ in espi_init()
|
/openbmc/phosphor-host-postd/ |
H A D | README.md | 1 # LPC Snoop Broadcast Daemon 3 This is a simple daemon which reads a file interface from an lpc-snoop driver
|
H A D | lpcsnoop.service.in | 2 Description=LPC Snoop Daemon 3 After=systemd-modules-load.service
|
H A D | main.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 20 #include "lpcsnoop/snoop.hpp" 26 #include <systemd/sd-event.h> 54 " -h, --host <host instances> Default is '0'\n" in usage() 56 " -d, --device <DEVICE> use <DEVICE> file.\n" in usage() 57 " -r, --rate-limit=<N> Only process N POST codes from the " in usage() 59 " -b, --bytes <SIZE> set POST code length to <SIZE> bytes. " in usage() 62 " -v, --verbose Prints verbose information while running\n\n", in usage() 68 * the configured rate limit, this function will disable the snoop device IO 69 * source until the end of the 1 second interval, then re-enable it. [all …]
|
/openbmc/u-boot/board/aspeed/ast2600_dcscm/ |
H A D | ast2600_dcscm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 27 #define HICR6_STR_SNP0W BIT(0) /* Interrupt Status Snoop address 0 */ 28 #define HICR6_STR_SNP1W BIT(1) /* Interrupt Status Snoop address 1 */ 36 /* enable port80h snoop and sgpio */ in port80h_snoop_init() 37 /* set lpc snoop #0 to port 0x80 */ in port80h_snoop_init() 46 /* enable lpc snoop #0 and SIOGIO */ in port80h_snoop_init() 51 /* enable port80h snoop on SGPIO */ in port80h_snoop_init() 62 #define SCU_414 0x414 /* Multi-function Pin Control #5 */ in sgpio_init() 77 /* skip eSPI init if LPC mode is selected */ in espi_init() 153 debug("AST2600-DCSCM A2 card reset phy\n"); in reset_eth_phy_dcscm_card_a2()
|
/openbmc/u-boot/board/aspeed/ast2600_intel/ |
H A D | intel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 33 /* LPC registers */ 76 /* set lpc snoop #0 to port 0x80 */ in snoop_init() 88 /* enable lpc snoop #0 and SIOGIO */ in snoop_init() 94 /* enable port80h snoop on SGPIO */ in snoop_init() 163 /* GPIO G6 is also an open-drain output so set it as an input. */ in gpio_init()
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
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-vegman.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 4 #include "aspeed-g5.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 13 stdout-path = &uart5; 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; 29 compatible = "shared-dma-pool"; 36 record-size = <0x2000>; 37 console-size = <0x2000>; [all …]
|
H A D | aspeed-bmc-asus-x4tf.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 /dts-v1/; 6 #include "aspeed-g6.dtsi" 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/gpio/aspeed-gpio.h> 11 model = "ASUS-X4TF"; 12 compatible = "asus,x4tf-bmc", "aspeed,ast2600"; 19 stdout-path = "serial4:115200n8"; 27 reserved-memory { 28 #address-cells = <1>; [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 …]
|
H A D | aspeed-bmc-tyan-s8036.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 = "tyan,s8036-bmc", "aspeed,ast2500"; 13 stdout-path = &uart5; 22 reserved-memory { 23 #address-cells = <1>; 24 #size-cells = <1>; [all …]
|
H A D | aspeed-g4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 2 #include <dt-bindings/clock/aspeed-clock.h> 7 #address-cells = <1>; 8 #size-cells = <1>; 9 interrupt-parent = <&vic>; 35 #address-cells = <1>; 36 #size-cells = <0>; 39 compatible = "arm,arm926ej-s"; 51 compatible = "simple-bus"; 52 #address-cells = <1>; [all …]
|
H A D | aspeed-bmc-facebook-tiogapass.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/i2c/i2c.h> 12 compatible = "facebook,tiogapass-bmc", "aspeed,ast2500"; 39 stdout-path = &uart5; 47 iio-hwmon { 48 compatible = "iio-hwmon"; 49 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, [all …]
|
H A D | aspeed-bmc-tyan-s7106.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 = "tyan,s7106-bmc", "aspeed,ast2500"; 13 stdout-path = &uart5; 22 reserved-memory { 23 #address-cells = <1>; 24 #size-cells = <1>; [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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | ast2400.dtsi | 3 * https://raw.githubusercontent.com/torvalds/linux/34ea5c9d/arch/arm/boot/dts/aspeed-g4.dtsi 10 #address-cells = <1>; 11 #size-cells = <1>; 12 interrupt-parent = <&vic>; 38 #address-cells = <1>; 39 #size-cells = <0>; 42 compatible = "arm,arm926ej-s"; 54 compatible = "simple-bus"; 55 #address-cells = <1>; 56 #size-cells = <1>; [all …]
|
H A D | ast2500.dtsi | 3 * https://raw.githubusercontent.com/torvalds/linux/34ea5c9d/arch/arm/boot/dts/aspeed-g5.dtsi 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>; 56 #size-cells = <1>; [all …]
|
H A D | ast2600.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 2 #include <dt-bindings/interrupt-controller/arm-gic.h> 3 #include <dt-bindings/gpio/aspeed-gpio.h> 9 #address-cells = <1>; 10 #size-cells = <1>; 11 interrupt-parent = <&gic>; 46 #address-cells = <1>; 47 #size-cells = <0>; 48 enable-method = "aspeed,ast2600-smp"; 51 compatible = "arm,cortex-a7"; [all …]
|