mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
611a28ce27
The System Control Unit (SCU) controller of Aspeed SoCs provides the reset control for each peripheral. This patch refactors the reset method to leverage the SCU reset control. Thus the driver dependency on watchdog including dedicated WDT API and reset flag encoding can be eliminated. The Kconfig description is also updated accordingly. Signed-off-by: Chia-Wei, Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Ryan Chen <ryan_chen@aspeedtech.com>
49 lines
1.5 KiB
C
49 lines
1.5 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2017 Google, Inc
|
|
* Copyright 2020 ASPEED Technology Inc.
|
|
*/
|
|
|
|
#ifndef _ABI_MACH_ASPEED_AST2500_RESET_H_
|
|
#define _ABI_MACH_ASPEED_AST2500_RESET_H_
|
|
|
|
#define ASPEED_RESET_CRT1 (37)
|
|
#define ASPEED_RESET_RESERVED36 (36)
|
|
#define ASPEED_RESET_RESERVED35 (35)
|
|
#define ASPEED_RESET_RESERVED34 (34)
|
|
#define ASPEED_RESET_RESERVED33 (33)
|
|
#define ASPEED_RESET_RESERVED32 (32)
|
|
#define ASPEED_RESET_RESERVED31 (31)
|
|
#define ASPEED_RESET_RESERVED30 (30)
|
|
#define ASPEED_RESET_RESERVED29 (29)
|
|
#define ASPEED_RESET_RESERVED28 (28)
|
|
#define ASPEED_RESET_RESERVED27 (27)
|
|
#define ASPEED_RESET_RESERVED26 (26)
|
|
#define ASPEED_RESET_XDMA (25)
|
|
#define ASPEED_RESET_MCTP (24)
|
|
#define ASPEED_RESET_ADC (23)
|
|
#define ASPEED_RESET_JTAG_MASTER (22)
|
|
#define ASPEED_RESET_RESERVED21 (21)
|
|
#define ASPEED_RESET_RESERVED20 (20)
|
|
#define ASPEED_RESET_RESERVED19 (19)
|
|
#define ASPEED_RESET_MIC (18)
|
|
#define ASPEED_RESET_RESERVED17 (17)
|
|
#define ASPEED_RESET_SDIO (16)
|
|
#define ASPEED_RESET_UHCI (15)
|
|
#define ASPEED_RESET_EHCI_P1 (14)
|
|
#define ASPEED_RESET_CRT (13)
|
|
#define ASPEED_RESET_MAC2 (12)
|
|
#define ASPEED_RESET_MAC1 (11)
|
|
#define ASPEED_RESET_PECI (10)
|
|
#define ASPEED_RESET_PWM (9)
|
|
#define ASPEED_RESET_PCI_VGA (8)
|
|
#define ASPEED_RESET_2D (7)
|
|
#define ASPEED_RESET_VIDEO (6)
|
|
#define ASPEED_RESET_LPC_ESPI (5)
|
|
#define ASPEED_RESET_HACE (4)
|
|
#define ASPEED_RESET_EHCI_P2 (3)
|
|
#define ASPEED_RESET_I2C (2)
|
|
#define ASPEED_RESET_AHB (1)
|
|
#define ASPEED_RESET_SDRAM (0)
|
|
|
|
#endif /* _ABI_MACH_ASPEED_AST2500_RESET_H_ */
|