Skip to content

Commit ed72404

Browse files
aspeedtechKAGA-KOKO
authored andcommitted
dt-bindings: interrupt-controller: aspeed: Add AST2700 SCU IC compatibles
Add compatible strings for the four SCU interrupt controller instances on the AST2700 SoC (scu-ic0 to 3), following the multi-instance model used on AST2600. Also define interrupt indices in the binding header. Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/all/20250908011812.1033858-4-ryan_chen@aspeedtech.com
1 parent 23fc2a4 commit ed72404

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2500-scu-ic.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
$id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2500-scu-ic.yaml#
66
$schema: http://devicetree.org/meta-schemas/core.yaml#
77

8-
title: Aspeed AST25XX and AST26XX SCU Interrupt Controller
8+
title: Aspeed AST25XX, AST26XX, AST27XX SCU Interrupt Controller
99

1010
maintainers:
1111
- Eddie James <eajames@linux.ibm.com>
@@ -16,6 +16,10 @@ properties:
1616
- aspeed,ast2500-scu-ic
1717
- aspeed,ast2600-scu-ic0
1818
- aspeed,ast2600-scu-ic1
19+
- aspeed,ast2700-scu-ic0
20+
- aspeed,ast2700-scu-ic1
21+
- aspeed,ast2700-scu-ic2
22+
- aspeed,ast2700-scu-ic3
1923

2024
reg:
2125
maxItems: 1

include/dt-bindings/interrupt-controller/aspeed-scu-ic.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,18 @@
2020
#define ASPEED_AST2600_SCU_IC1_LPC_RESET_LO_TO_HI 0
2121
#define ASPEED_AST2600_SCU_IC1_LPC_RESET_HI_TO_LO 1
2222

23+
#define ASPEED_AST2700_SCU_IC0_PCIE_PERST_LO_TO_HI 3
24+
#define ASPEED_AST2700_SCU_IC0_PCIE_PERST_HI_TO_LO 2
25+
26+
#define ASPEED_AST2700_SCU_IC1_PCIE_RCRST_LO_TO_HI 3
27+
#define ASPEED_AST2700_SCU_IC1_PCIE_RCRST_HI_TO_LO 2
28+
29+
#define ASPEED_AST2700_SCU_IC2_PCIE_PERST_LO_TO_HI 3
30+
#define ASPEED_AST2700_SCU_IC2_PCIE_PERST_HI_TO_LO 2
31+
#define ASPEED_AST2700_SCU_IC2_LPC_RESET_LO_TO_HI 1
32+
#define ASPEED_AST2700_SCU_IC2_LPC_RESET_HI_TO_LO 0
33+
34+
#define ASPEED_AST2700_SCU_IC3_LPC_RESET_LO_TO_HI 1
35+
#define ASPEED_AST2700_SCU_IC3_LPC_RESET_HI_TO_LO 0
36+
2337
#endif /* _DT_BINDINGS_INTERRUPT_CONTROLLER_ASPEED_SCU_IC_H_ */

0 commit comments

Comments
 (0)