From patchwork Tue Jan 30 23:32:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Corona, Ernesto" X-Patchwork-Id: 194394 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1561561dyb; Tue, 30 Jan 2024 15:33:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDQDwk51SjuJumSebcbwfW5+PbrIsMoEsuidN3WVjqh247wMjqNdNP2ahzo/ozgN3zZ3ah X-Received: by 2002:a17:903:8d0:b0:1d9:19ae:c5b9 with SMTP id lk16-20020a17090308d000b001d919aec5b9mr90363plb.67.1706657590161; Tue, 30 Jan 2024 15:33:10 -0800 (PST) Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id x19-20020a170902e05300b001d8d1bd5a0asi4938425plx.435.2024.01.30.15.33.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 15:33:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45485-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nomPD4H3; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-45485-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45485-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0C8E1B22DE4 for ; Tue, 30 Jan 2024 23:33:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D4E17995A; Tue, 30 Jan 2024 23:32:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="nomPD4H3" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 16B7E7EEFD; Tue, 30 Jan 2024 23:32:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=192.198.163.8 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706657574; cv=fail; b=N/7JDwA8FQDoWN7tHzEHpjTsnxAbhDxXdAQusDc0UYq6lc7aY0YZr3Ok4jZygeAhMH/ogk6hCrVb0BkpntRVMPGanCGeeAEuYBe/y9LKkQgx1aTH4dfWyCGvlQ13QQ9EfhJ1ObzOeuH8bPk2ASfzo6vuFpsGmhO+M14ww4HOzn0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706657574; c=relaxed/simple; bh=ydvGfSvv6N7tRJkw22F37uu0C51pRaPo0aZFseKuUEU=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version; b=T6wPaVqQQdaPMdUpr5a/MirwyDvi5rXCL20R0NgCLgIIq2PBqzyiqu++0BXbvppZQisYE6TPbAdfaLOKZXf4kUwvesTh/rL5bSiyWePhon3650/Jn6BYuRdHA7i3oOGFnuDEmfk7BqJRg6X4wKvUN7w0vcc45hAUP0nCH0D+DSA= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=nomPD4H3; arc=fail smtp.client-ip=192.198.163.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706657573; x=1738193573; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=ydvGfSvv6N7tRJkw22F37uu0C51pRaPo0aZFseKuUEU=; b=nomPD4H3a+3FKeRjKqCpaG3wioqPuAxgmt0MJuQ6+K5UvoCoj3I6kcRd s7Mx96B5W04A2+6xyaXDzWbPZHvRUYSfW6gFP4uLUwGp1E91M6jdbIQoB VzrUTUgjFamTieVckBCDaBht2R/28CUcWxm5cUCycdcRtwb+kUNf+RgLd P9WHhDc1+1+C9yQCLxJF+vtwJgP0FbpiaQbdbFoMDoynNbQRy7KRfLLHR nJLliqQF4j1GqZCmqnqKtLR5YWZ4nFR6eCaokZlIN+Tmu232uNHlV12Qt lSENtdqN9kgBuQeM/tNBxJHw0zG2NF/8DJm8lv2edsZG0cBKKVYRTHH4L Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="16965154" X-IronPort-AV: E=Sophos;i="6.05,230,1701158400"; d="scan'208";a="16965154" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jan 2024 15:32:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,230,1701158400"; d="scan'208";a="3953382" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa004.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 30 Jan 2024 15:32:52 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 30 Jan 2024 15:32:51 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 30 Jan 2024 15:32:50 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Tue, 30 Jan 2024 15:32:50 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 30 Jan 2024 15:32:50 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HUsnw2ePXwIApw3rGNozoq4VhhlGs+Z8Gl1xBu/3ICJ5LmXhS+uiXTP+NrZA8pC3UyhP5skRCLnwNctlX7eRX1EzOWMEbb+rUOBjHYAsFlHdqZzRcYeTyLeYRPq3WzmXnjss9PAQ7WylvNa0xa0BWKlctqTa2vgVa/1NZtA5vWgHypgRDBOUzTqTXVEOEF8zPmJdzFP8/XZi3qQQLk+El+tQVGAABfAdZnqfpBjAcQqC9OnRusq/pdJdHY6FyvHIvLC0g7nVDZKfxAOxqNIa41ekaMiBHqYQJSyPDyAgJyoKyz1ks2oTaAqAejq82aKvVioiAlbY2J1CH2W9Mtrxow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7YDEtnsVWE12rgv+wabHelj+I9WE5WPuKtKPEzMyMCA=; b=DLOJ1g6kascwwKB/OQHoNksBf2JdB9t+PEd5/ce47Qz1SIAlccPCXAQVCVIbvvx8GnYZpk5r9vS7AcTu4whubc8zfTj2CD16IeoctqbtMHoGw+XEtU5IeTo8QcZNJ+smgn6doy5mou2ejjzALZP5U6phanq1lfPc/36y4i/zqxwei/1MJMAFkKAgqdptsXal9bDRu6LhLDUjy1IYPvYWJGGCXDrHdWf2ovpAcRGo9FJkitR3lM8lKPyOcXMn4XrIMHoNyBGi3GyA1O2NKsprUnBeWNZt5Z+xd8yeKAz8aJXitqEvD8A+KAriN5AblOIOTXlzmhcEQdXkEYgPNaPqTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from LV8PR11MB8463.namprd11.prod.outlook.com (2603:10b6:408:1ed::6) by IA0PR11MB7744.namprd11.prod.outlook.com (2603:10b6:208:409::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.33; Tue, 30 Jan 2024 23:32:48 +0000 Received: from LV8PR11MB8463.namprd11.prod.outlook.com ([fe80::5262:6eb1:2787:8cb9]) by LV8PR11MB8463.namprd11.prod.outlook.com ([fe80::5262:6eb1:2787:8cb9%3]) with mapi id 15.20.7228.029; Tue, 30 Jan 2024 23:32:48 +0000 From: "Corona, Ernesto" To: "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-aspeed@lists.ozlabs.org" CC: "Corona, Ernesto" , "Castro, Omar Eduardo" , "'omar.eduardo.castro@linux.intel.com'" , "'arnd@arndb.de'" , "'jiri@nvidia.com'" , "'vadimp@mellanox.com'" , "'mchehab+samsung@kernel.org'" , "'gregkh@linuxfoundation.org'" , "'davem@davemloft.net'" , "'nicolas.ferre@microchip.com'" , "'robh@kernel.org'" , "'andriy.shevchenko@linux.intel.com'" , "'lukas.bulwahn@gmail.com'" , "Filary, Steven A" , "'amithash@fb.com'" , "'patrickw3@fb.com'" , "Chen, Luke" , Billy Tsai Subject: [PATCH 30 7/7] Add AST2500 and AST2600 JTAG device in DTS Thread-Topic: [PATCH 30 7/7] Add AST2500 and AST2600 JTAG device in DTS Thread-Index: AdpTycGjGT5ZMGOAQi+KQEUwxl6cwA== Date: Tue, 30 Jan 2024 23:32:48 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: LV8PR11MB8463:EE_|IA0PR11MB7744:EE_ x-ms-office365-filtering-correlation-id: 81c12e89-1073-4bd7-09ab-08dc21ebc4e2 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wTT8fctxKr2zW7uKj9PEZ61UgxdJpWK3OVJOQyiR4i+8xSp9azmHb6x59dDCHXekzZO5fLVFXXvqLqj6j43YWJKTyBDF1cRUdhVCTGYIfDLOfj9CC0U3Gzrtm5QVzmH9ovBlDsqc7pvW+rKb6n8mI434pqXSFAXXhQP3MXHZp5Kw92Eidof4IWvJea1+tdEFRuKyXskCdFnOgQzhLeY+nQGS9Te1IoYdfo0OvgCZmvG2bj4ftnIYoIl7TVztBueLQkgguE7q5xrCUwh2/Uh1I5kXjAZDXG2u3+/jrdSLXS6ZPQllhm45hki708qHxt4Y3GUgKfxZOn/c24G8qSW5EPA3eA1CNCRdRQ+IFj0Iy6/eeWxWIj1yEytiFtlf7igcr9Ur0vcT3yK+0qMIEf8xn+U6DtMt2u93vKjWa76dhbwk0LONrazPJrgi0bf1L0ozKRlrCN4wT9x6rtxoPbcdbbuW1CW/g2TjapD7t3T4zqcyWzg4ylH8Mal/E8d8oSp18a2ZVayKD2JyuRDouno/ECLX7dECQ8D6dM0D2gHSP9cV8OO/iNHcjHVYXILthIqcg/hraFfLcRyadOSUo6olm1YhSuIuXlB+dxZuVmlIcfrQQqrmwc6u+mnohMVKrJAD x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LV8PR11MB8463.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(376002)(346002)(366004)(39860400002)(136003)(230922051799003)(186009)(64100799003)(451199024)(1800799012)(41300700001)(52536014)(478600001)(6506007)(7696005)(55016003)(9686003)(83380400001)(5660300002)(8676002)(8936002)(4326008)(71200400001)(66556008)(316002)(66476007)(54906003)(7416002)(86362001)(66446008)(66946007)(64756008)(76116006)(122000001)(110136005)(82960400001)(38100700002)(26005)(33656002)(38070700009)(2906002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: eIkbvKcyCDRWV1qyO0jO1hbtbYa17kApCwIR2RwSnEXzbKLBlwtFmaIQsjKfSEY5yfazyT5bPrqHi5ybDlIITUcUupG9mqwP9ef5a8m8FsA/L5loNaRPqvi2DnPuy6lZWd0moW2+fcl5ujwEXO9y5Bm0L3Y4Cf9lx5WlSfteLNi7asJ9Cm2Xk6i089+WQEsujCwISFSdj2fXbzBy/CRN8QyuQfOiLIx1fbLmFSL4pzNnKdbU9YzLSNe9RLvQaZadRn4VvuCBrPGX4rmLR9Vdzd1b38i7DaJAl3OsAND6MLeQvkJ6XT39VYQPwEeCRIqu4Vpi6L9k5imx8R5VIWCHU0eU2N/trRiJXb49ogKfj2YvKzD2XFGvd5seg6bDHiQIIm0uosMkwHCtvrHZ72zgURowT2xkXg93Rsq5nm0O3i/aUWRoEcDe+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TMhcMBcGKfkEyb207XMnN0NCuEkpv10xMjIF9YigUiSyHRJ6tkqNfwfvdgfXaZZdGJsoRwP3/FHgvcxxo4MKChEn+vTj9RbJ Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: LV8PR11MB8463.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 81c12e89-1073-4bd7-09ab-08dc21ebc4e2 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2024 23:32:48.3567 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: XvGKuZe/1tQfUHdWlqsKzqPd5FStD5F2PxAWFCpuqtMkw/Od+18zzYKCl4BMwRLSlcm6YQiiNspRJ0m/1imej8/hr1gGJIuIhjATQVN4f4A= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR11MB7744 X-OriginatorOrg: intel.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789560189163029063 X-GMAIL-MSGID: 1789560189163029063 Adding aspeed jtag device to device tree Signed-off-by: Ernesto Corona Signed-off-by: Omar Castro Acked-by: Arnd Bergmann Cc: Jiri Pirko Cc: Vadim Pasternak Cc: Mauro Carvalho Chehab Cc: Greg Kroah-Hartman Cc: David S. Miller Cc: Nicolas Ferre Cc: Rob Herring Cc: Andy Shevchenko Cc: Lukas Bulwahn Cc: Steven Filary Cc: Amithash Prasad Cc: Patrick Williams Cc: Luke Chen Cc: Billy Tsai --- 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@1e787000 { status = "disabled"; }; + jtag: jtag@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@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@1e6e7000 { status = "disabled"; }; + jtag0: jtag@1e6e4000 { + compatible = "aspeed,ast2600-jtag"; + reg = <0x1e6e4000 0x40>; + clocks = <&syscon ASPEED_CLK_APB1>; + resets = <&syscon ASPEED_RESET_JTAG_MASTER>; + interrupts = ; + status = "disabled"; + }; + + jtag1: jtag@1e6e4100 { + compatible = "aspeed,ast2600-jtag"; + reg = <0x1e6e4100 0x40>; + clocks = <&syscon ASPEED_CLK_APB1>; + resets = <&syscon ASPEED_RESET_JTAG_MASTER2>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_jtagm_default>; + status = "disabled"; + }; + adc0: adc@1e6e9000 { compatible = "aspeed,ast2600-adc0"; reg = <0x1e6e9000 0x100>;