[PATCH 30 7/7] Add AST2500 and AST2600 JTAG device in DTS
Corona, Ernesto
ernesto.corona at intel.com
Wed Jan 31 10:32:48 AEDT 2024
Adding aspeed jtag device to device tree
Signed-off-by: Ernesto Corona <ernesto.corona at intel.com>
Signed-off-by: Omar Castro <omar.eduardo.castro at linux.intel.com>
Acked-by: Arnd Bergmann <arnd at arndb.de>
Cc: Jiri Pirko <jiri at nvidia.com>
Cc: Vadim Pasternak <vadimp at mellanox.com>
Cc: Mauro Carvalho Chehab <mchehab+samsung at kernel.org>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Cc: David S. Miller <davem at davemloft.net>
Cc: Nicolas Ferre <nicolas.ferre at microchip.com>
Cc: Rob Herring <robh at kernel.org>
Cc: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Cc: Lukas Bulwahn <lukas.bulwahn at gmail.com>
Cc: Steven Filary <steven.a.filary at intel.com>
Cc: Amithash Prasad <amithash at fb.com>
Cc: Patrick Williams <patrickw3 at fb.com>
Cc: Luke Chen <luke_chen at aspeedtech.com>
Cc: Billy Tsai <billy_tsai at aspeedtech.com>
---
arch/arm/boot/dts/aspeed/aspeed-g5.dtsi | 9 +++++++++
arch/arm/boot/dts/aspeed/aspeed-g6.dtsi | 20 ++++++++++++++++++++
2 files changed, 29 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed/aspeed-g5.dtsi
index 04f98d1dbb97..3610aa758702 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed/aspeed-g5.dtsi
@@ -445,6 +445,15 @@ vuart: serial at 1e787000 {
status = "disabled";
};
+ jtag: jtag at 1e6e4000 {
+ compatible = "aspeed,ast2500-jtag";
+ reg = <0x1e6e4000 0x1c>;
+ clocks = <&syscon ASPEED_CLK_APB>;
+ resets = <&syscon ASPEED_RESET_JTAG_MASTER>;
+ interrupts = <43>;
+ status = "disabled";
+ };
+
lpc: lpc at 1e789000 {
compatible = "aspeed,ast2500-lpc-v2", "simple-mfd", "syscon";
reg = <0x1e789000 0x1000>;
diff --git a/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi
index c4d1faade8be..d5353f728689 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi
+++ b/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi
@@ -411,6 +411,26 @@ xdma: xdma at 1e6e7000 {
status = "disabled";
};
+ jtag0: jtag at 1e6e4000 {
+ compatible = "aspeed,ast2600-jtag";
+ reg = <0x1e6e4000 0x40>;
+ clocks = <&syscon ASPEED_CLK_APB1>;
+ resets = <&syscon ASPEED_RESET_JTAG_MASTER>;
+ interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
+ jtag1: jtag at 1e6e4100 {
+ compatible = "aspeed,ast2600-jtag";
+ reg = <0x1e6e4100 0x40>;
+ clocks = <&syscon ASPEED_CLK_APB1>;
+ resets = <&syscon ASPEED_RESET_JTAG_MASTER2>;
+ interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_jtagm_default>;
+ status = "disabled";
+ };
+
adc0: adc at 1e6e9000 {
compatible = "aspeed,ast2600-adc0";
reg = <0x1e6e9000 0x100>;
--
2.25.1
More information about the Linux-aspeed
mailing list