-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: interrupt-controller: Add Aspeed SCU interrupt controller
Document the Aspeed SCU interrupt controller and add an include file for the interrupts it provides. Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Andrew Jeffery <andrew@aj.id.au> Link: https://lore.kernel.org/r/1579123790-6894-2-git-send-email-eajames@linux.ibm.com
- Loading branch information
Eddie James
authored and
Marc Zyngier
committed
Jan 20, 2020
1 parent
96868dc
commit 5350a23
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Aspeed AST25XX and AST26XX SCU Interrupt Controller | ||
|
||
Required Properties: | ||
- #interrupt-cells : must be 1 | ||
- compatible : must be "aspeed,ast2500-scu-ic", | ||
"aspeed,ast2600-scu-ic0" or | ||
"aspeed,ast2600-scu-ic1" | ||
- interrupts : interrupt from the parent controller | ||
- interrupt-controller : indicates that the controller receives and | ||
fires new interrupts for child busses | ||
|
||
Example: | ||
|
||
syscon@1e6e2000 { | ||
ranges = <0 0x1e6e2000 0x1a8>; | ||
|
||
scu_ic: interrupt-controller@18 { | ||
#interrupt-cells = <1>; | ||
compatible = "aspeed,ast2500-scu-ic"; | ||
interrupts = <21>; | ||
interrupt-controller; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* SPDX-License-Identifier: GPL-2.0+ */ | ||
|
||
#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_ASPEED_SCU_IC_H_ | ||
#define _DT_BINDINGS_INTERRUPT_CONTROLLER_ASPEED_SCU_IC_H_ | ||
|
||
#define ASPEED_SCU_IC_VGA_CURSOR_CHANGE 0 | ||
#define ASPEED_SCU_IC_VGA_SCRATCH_REG_CHANGE 1 | ||
|
||
#define ASPEED_AST2500_SCU_IC_PCIE_RESET_LO_TO_HI 2 | ||
#define ASPEED_AST2500_SCU_IC_PCIE_RESET_HI_TO_LO 3 | ||
#define ASPEED_AST2500_SCU_IC_LPC_RESET_LO_TO_HI 4 | ||
#define ASPEED_AST2500_SCU_IC_LPC_RESET_HI_TO_LO 5 | ||
#define ASPEED_AST2500_SCU_IC_ISSUE_MSI 6 | ||
|
||
#define ASPEED_AST2600_SCU_IC0_PCIE_PERST_LO_TO_HI 2 | ||
#define ASPEED_AST2600_SCU_IC0_PCIE_PERST_HI_TO_LO 3 | ||
#define ASPEED_AST2600_SCU_IC0_PCIE_RCRST_LO_TO_HI 4 | ||
#define ASPEED_AST2600_SCU_IC0_PCIE_RCRST_HI_TO_LO 5 | ||
|
||
#define ASPEED_AST2600_SCU_IC1_LPC_RESET_LO_TO_HI 0 | ||
#define ASPEED_AST2600_SCU_IC1_LPC_RESET_HI_TO_LO 1 | ||
|
||
#endif /* _DT_BINDINGS_INTERRUPT_CONTROLLER_ASPEED_SCU_IC_H_ */ |