From patchwork Wed Sep 25 07:17:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811724 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6248C369A4 for ; Wed, 25 Sep 2024 07:23:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=B/G6U4dNeBchLENbWDi7+ka7XGG31EAhRde6PGiP6iQ=; b=RIuKrC7Hz3dkErq2YBAsOFe8JA WsSZJPzmI9oCrBEa0sW031gzeghOHMoG6Wvv8wJgjIScdI8uB40NHExIa2FCVLOaghc+YPUYMXbWJ igMgyZePkQPKC4WVIGcrZPi6TJkLGLDPfSt1Qh5OEV7qlcL344qi43fPlcAnP+uALB8n/4EDjaLLf z80B5cr9dDcTEvVcT2m/G2pQuQyzfgKb2dn/OD+pCt3cv+3RuKXAobypUQMFfyhUnfAtN+M0XgYEN h2CsReWeZMyC6K0Dl/5/ctjeFVFeszemTIuVDWuipvSSCOzXvdxly5WRZ3wPYNfXrDLfnFY62sKNj N488X1Ig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMN8-00000004JPU-1abw; Wed, 25 Sep 2024 07:23:38 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMK7-00000004IZ1-2Wk0 for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:20:33 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-2068a7c9286so64074635ad.1 for ; Wed, 25 Sep 2024 00:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248830; x=1727853630; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=B/G6U4dNeBchLENbWDi7+ka7XGG31EAhRde6PGiP6iQ=; b=dfifTmSvi14DYL035AwPjdFNFzKTR1twY9FrxwrdEEDKbmQopNv2XqFLVjO541OnWa O8ipWFWL/H04yWt9581zkmINqLRraTbjh1BDk32zKMysJIf7jFe2Jm+53Y/0GV/G/bAB vKgjSfXLCPLF3bSwghPgtBYLGgWtvJSwuYNk2+Xt4jE4rJ6nZD3sat0Ytt/l/tOW1R2f +PVASeRQKti3ZjsAVXguv/LaRSXpgbDHgAqBnUzvHB2GAzMqM7WYBKsT6+ED68GrVxnX FFfcYyBg07vRvTBtV0lIrIehH+tivLcBeA0M9I1AjSMjfe8ewNK1gSz1t5PHW3XhD6lt 9Cpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248830; x=1727853630; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B/G6U4dNeBchLENbWDi7+ka7XGG31EAhRde6PGiP6iQ=; b=SRV7AgpZwN0DHL/LoPYZuVxCWN26MDv0xSkNXnOTIlAGEcOC8sgUHIJo3d+ldlM/kd DnoBQ8GlV5EdlNZ6I/x4gTHuy5v2zQDXSVne4r/zSlQZw1BgbmMh/dNsU81J/QXAjCxE 6EYfPRAB/BXc3ESMTULGI1IBVSvH76rsI3IUpJGh6c8a1kjt/ZHlBxLX/NtxXxO6yzjV yO/1Y2vDLukxuBgIH5HpjEN0FqOrSbcuNi+cfD98MlgIS6EYqxcfgdezgkOF3L3JhJYg xpeb0+/VrTxr0rQ0tcKHFZPZUXJbGBGeL4BkV6X5Mh/GMMFqt0T1gNK7dbDfRzU6saop TcDA== X-Forwarded-Encrypted: i=1; AJvYcCWHY+Kuw9IScK8YlHYEbJyyFdF/f4c85P4JngM9aEEhrStC2Wba+QC52OwxzhS+sRWgkRo25/2UbgNjjcVenj7V@lists.infradead.org X-Gm-Message-State: AOJu0YxVmgvUto4OEeU7Yvx9jmeXbtbGIoYnebw+fNqUhCrbsZkyMMWC d9ixWucqqbzmy7VbS70wNH+HuHq/Lb38PuqWhKoRvqZHJYPb4h+v X-Google-Smtp-Source: AGHT+IEBz9VxvKTpWTU8dRa4jNNJ7omba+lnmLfBNzwvBOGKgxhGFwlAsnO2HYZwQr63aKE98A1nvg== X-Received: by 2002:a17:902:e5d2:b0:205:6c5f:e3ca with SMTP id d9443c01a7336-20afc606134mr25437695ad.53.1727248830557; Wed, 25 Sep 2024 00:20:30 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.20.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:20:30 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 01/20] dt-bindings: arm: cpus: Add Apple A7-A11 CPU cores Date: Wed, 25 Sep 2024 15:17:59 +0800 Message-ID: <20240925071939.6107-2-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002031_847220_C50D463B X-CRM114-Status: GOOD ( 12.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the following CPU cores: - apple,cyclone: A7 cores - apple,typhoon: A8 cores - apple,twister: A9 cores - apple,hurricane-zephyr: A10 logical cores - apple,monsoon: A11 performance cores - apple,mistral: A11 efficiency cores In the Apple A10, there are physical performance-efficiency cores that forms logical cores to software depending on the current p-state, and only one type of core may be active at one time. Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- Documentation/devicetree/bindings/arm/cpus.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml index f308ff6c3532..f69b75afd258 100644 --- a/Documentation/devicetree/bindings/arm/cpus.yaml +++ b/Documentation/devicetree/bindings/arm/cpus.yaml @@ -87,8 +87,14 @@ properties: enum: - apple,avalanche - apple,blizzard - - apple,icestorm + - apple,cyclone - apple,firestorm + - apple,hurricane-zephyr + - apple,icestorm + - apple,mistral + - apple,monsoon + - apple,twister + - apple,typhoon - arm,arm710t - arm,arm720t - arm,arm740t From patchwork Wed Sep 25 07:18:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811725 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E475CC369A3 for ; Wed, 25 Sep 2024 07:24:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=o9X76GEZCSbbQMLh1zTwBYREf8Y/orIPTUNjYgvpcww=; b=4rrMHyVr+9G+1A8Imjac7AHQHr EcGwFWYdnoSL3Hxoyt7m7N4KjxtJshRVsfVJp6qR7pgbwDT5MmoR15AocH+FkPk9EnK0449AT2Q3b TEe3FrTi2cTxxI0f4hSJasnRC9KZ0zAZJKov3VDSsjFhybG6+xHEIFQ4KdbC09f887a+43VhCriru i+BMx07XePtv+XTn19JIIv0MXpBZfMCc9LicJk9REek5PtkzTyR2TVmUmZkk+dzB7pMNRJSrythKV oqRZTg9CgadkiQcYbW7soNgw+GWjqXRC1EVCbD5D0aSBfamclkcfhzgsv8T+2no0N8A71ISFIaELw 1O+bE+/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMOH-00000004JkD-1zRf; Wed, 25 Sep 2024 07:24:49 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMKD-00000004Ibq-0S7f for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:20:42 +0000 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-7db233cef22so5088592a12.0 for ; Wed, 25 Sep 2024 00:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248836; x=1727853636; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=o9X76GEZCSbbQMLh1zTwBYREf8Y/orIPTUNjYgvpcww=; b=W7CDdDWboTGofHr43itg5EEK30bXMex6HMHv90q3mfVe7CQ12pbYC1ZNgtswUUsi7k 9Nk3NT/QMGtI1urIuIhmfFJQDEk7sXTOCncpodnKDxipgfMGLeYCqduQc1e+Q+aXkpQQ q9/5BOlAYHuFaMqycUlJxcleYujscgKsQ5LsVb/dsyMYqXhuiIK4HPC/gPU6tMkb8D54 YhIhymg0AgUvJmV2hf7FxiS//bfiq+8HNVKc5EgdFbSbYL21FiTLutCyF3QRhJj0mkdX aG98bsdiXhBP102WRk6IH6P0bt4mE2G5QPiCU75NRyYwCcTmf5NCwnoE5R01PkhT/F5x JjEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248836; x=1727853636; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=o9X76GEZCSbbQMLh1zTwBYREf8Y/orIPTUNjYgvpcww=; b=Myk/zHWQvtccjXzrpAidC8XplLne6ZsERMGAijv7SSD8iAFRUMemWjpPTn2nL1ZIdC 01tufOCmt85XBgmlewsJ38aSv78E6/ynvlhmjGrZcOw0Q29rZ0qgS5Nnxy+b8bWO4Jtg oDIsaX52YghyHfy4A6JtFvhkTZU+W/OG6eAcmjwlCd8npwwVsxNp7JBhy0xEDShG1eHu 5Ya+HHZkAj0eQ8YIy7IikZfrpchMb8+9kPN9o0Ldw3fXCPqouGlB9X8H1fjWzVANk85V 1MzZ6xzT1c/DTanjyMrI9NCm324WlqExtCM1vO2ivjaSTgjbgAUNRsuD10xch3Fn6Ay2 Ki0A== X-Forwarded-Encrypted: i=1; AJvYcCW5I+DoH8XlBBJPkEJ+crOMj9EAZuXny+5bYLlVNsAH+QcgKzHytqro2bgmm7OmXVLJ0HsZW0jN5v6ohQj8hBsf@lists.infradead.org X-Gm-Message-State: AOJu0YwBl2LSBj3bCAgTQ3iPz6e5p0EcbaXOJCiYubaweG3xfl+vKudN 5Kw2Td8lqq0SEZMxbSMv0k6COxk87+JfkX+wUrYjlV+Ae1Dw0iVZ X-Google-Smtp-Source: AGHT+IH4ZTOu3iwcMbsOiy8lnH932jmvb7oQHZvCphTqnx77rhJ9L/p07Unj+TBA82B6gWJ7zTsNRQ== X-Received: by 2002:a05:6a20:d049:b0:1d2:e889:1513 with SMTP id adf61e73a8af0-1d4d4aaee41mr2386218637.17.1727248836160; Wed, 25 Sep 2024 00:20:36 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.20.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:20:35 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 02/20] dt-bindings: watchdog: apple,wdt: Add A7-A11 compatibles Date: Wed, 25 Sep 2024 15:18:00 +0800 Message-ID: <20240925071939.6107-3-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002037_204924_436E7DFC X-CRM114-Status: GOOD ( 10.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The blocks on A7-A11 SoCs are compatible with the existing driver so add their per-SoC compatibles. Acked-by: Guenter Roeck Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- Documentation/devicetree/bindings/watchdog/apple,wdt.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml b/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml index 21872e15916c..310832fa8c28 100644 --- a/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml @@ -16,6 +16,11 @@ properties: compatible: items: - enum: + - apple,s5l8960x-wdt + - apple,t7000-wdt + - apple,s8000-wdt + - apple,t8010-wdt + - apple,t8015-wdt - apple,t8103-wdt - apple,t8112-wdt - apple,t6000-wdt From patchwork Wed Sep 25 07:18:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811731 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 27B0CC369A4 for ; Wed, 25 Sep 2024 07:26:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5HVIJX3pW2E00fbuHP3pdXD9AoULDjYazv0lzUVjHz0=; b=Gbfy1UH0o0r94qg2nADZB+b1rR qLBaPmY7NBStJwHE0OoaEQk8bn6968q3N7rpCcpVzd51hItry8Efx+2jo23WNv2+q5rFf4hKDmH6V 7ACNwdMhgATY7MsHrO6v849T75C48hglVaC4KTpqf1tON4ZojZFHqKyvskYvMiXDhsrT1WdIsix2g GFC1u8rM36Ldu6vklOIfBpgZNrTdj7LH+Dvbr3X9O8TJHPa04Rko75TMcmg4OVKoNlmZ/lXeBs2w+ 8X8T4bmFtdkXhcEvqUA9en9CVUXlbpfOwg+seIxFX0lT3RlQxK2dAbEOB5PRSRvN63ZkTZSxcMc3f 12HfpHmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMPQ-00000004K34-05AP; Wed, 25 Sep 2024 07:26:00 +0000 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMKJ-00000004IeB-19hX for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:20:44 +0000 Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-7db233cef22so5088674a12.0 for ; Wed, 25 Sep 2024 00:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248842; x=1727853642; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5HVIJX3pW2E00fbuHP3pdXD9AoULDjYazv0lzUVjHz0=; b=HogH7gU/1VSLcVo/lMcZ62WdhwDx3HXawegnxCitQPS9CDROxfHLY1PVoj0Yi6Y1uZ ZvKCf2dLtmT2NYIefSBZEV+ivXX//QhG8I2o52i/TqFq4rItLMHouLs5LF8NQHrmnj+t xv/FHLr3JNbkfWplGIyeqN5qUGByNL5SUQjkpujLATz09BJ31OdxHAzvM9JhErYAjT3T PwNMztkRiSsRyih7jRJvKFVa6wvi+PC0wqTdlkfNGKPu2NK/URGOfekf97FSkpWnUZGy 0WZuozINmZxHdYB34AuCiLefpNoCTeHHvxnFklJpBazL3FcixnOUUoSm8feGICNhykPN 5RKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248842; x=1727853642; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5HVIJX3pW2E00fbuHP3pdXD9AoULDjYazv0lzUVjHz0=; b=EE2J23jKaV+bvdYTstNmMKfwTqKD/ukyUG88IvLG0volcqCFm3bGTXPh1dcybYizCH qwdTRaswXeeW1qX38r38dgLcWnkr/Pc04ur5oVS4CIRaYpmMlMBWLRrRdBGnpPdgSne3 kkojwqlrg/r1ELUeafBrI8ubH5PJZOrnnj8bropi0sFAsR8hNqZRZiZKA5tYOh9bLG8B jvuCJZsP35uUh7zX6DPDA9/bCxPbiGkgp5KwxeX8WZ9tHcT8pTICCBMdl2bFoPa8zclf 3eE0krKkZ6dB98BS1Fv8QBJMHjQL99o+AkAFqKQ8s6yBopYyVTlHp2OEaecpFxcplp7j BYBA== X-Forwarded-Encrypted: i=1; AJvYcCUM3ulJVJRh/xASTveRpVlRPfm4mhjt7D6cvyccOwCBO/HKynIrBMwCgCbtknBAJnumHWk+93HTU7kPOdDtViKT@lists.infradead.org X-Gm-Message-State: AOJu0Yw6D5GrOU9pL2+kNAqc+KCtYDDQCNqd201JEqzBUf78aS70YHVZ cu/v//fntuKrfhmitv64tlgTbD+pOMbBTmj92vT3mc0oc17y6j68 X-Google-Smtp-Source: AGHT+IEZWtc+tDHEffwL3HGWNtEm0itHoQwT8jLsVdZQ8UR0xy2F0qH64eUPjjjoQkAQI1j8kG+RBA== X-Received: by 2002:a05:6a20:ce4d:b0:1cf:21c7:2aff with SMTP id adf61e73a8af0-1d4d4ac5c81mr2888800637.23.1727248842256; Wed, 25 Sep 2024 00:20:42 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.20.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:20:41 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 03/20] dt-bindings: pinctrl: apple,pinctrl: Add A7-A11 compatibles Date: Wed, 25 Sep 2024 15:18:01 +0800 Message-ID: <20240925071939.6107-4-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002043_382916_B76F5BFA X-CRM114-Status: GOOD ( 10.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The block found on Apple's A7-A11 SoCs are compatible with the existing driver so add their per-SoC compatibles. Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml index 9c07935919ea..63737d858944 100644 --- a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml @@ -18,6 +18,11 @@ properties: compatible: items: - enum: + - apple,s5l8960x-pinctrl + - apple,t7000-pinctrl + - apple,s8000-pinctrl + - apple,t8010-pinctrl + - apple,t8015-pinctrl - apple,t8103-pinctrl - apple,t8112-pinctrl - apple,t6000-pinctrl From patchwork Wed Sep 25 07:18:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811732 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5DB9BC369A4 for ; Wed, 25 Sep 2024 07:27:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1gzlAb6tAbaYqxXPRjbN4tCFBYWmIDA5QUr0hx9IZZE=; b=vUGt4Wxez+SewZyEl/c2yzEDEF cfPUZLdIWzSd1w0JOJiRrJw3FEjbaZLThEOXSQ3jf6PzRfi8XiFjRB/2fVuQVa0nF8WYRyThGkKK/ w1/dyDa+dD9elc+u+o4LIo5PBShTe3Gd1AepKbwvb1l2UjwZsScwsC0u9KxmRATioFDoBnpUFMWRi vQTOwwB5mEA7anlpOr7q08dxHLdiFlBCE/TTos4lfNidgt1gVwGlJxoSWmwzU/9kYuWpeG3GwxTBZ 6C6iEW/m5wWrTQCSNf50u/tJea3VKHJImwxOgyJhLHvQhD4zaRH2zX2kBYuBGoRgUYp+hoPk52DjY MpdvbPYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMQX-00000004KKJ-3LDC; Wed, 25 Sep 2024 07:27:09 +0000 Received: from mail-il1-x133.google.com ([2607:f8b0:4864:20::133]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMKP-00000004IgC-0dEz for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:20:50 +0000 Received: by mail-il1-x133.google.com with SMTP id e9e14a558f8ab-3a08dbc6019so28427605ab.2 for ; Wed, 25 Sep 2024 00:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248848; x=1727853648; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1gzlAb6tAbaYqxXPRjbN4tCFBYWmIDA5QUr0hx9IZZE=; b=Xl7r0KZhWZyy+FFq5l6a283WsQcGVoyFQOz5K6Ynxzden108AF5c8bjtTCJBXNQ/3G qw79Zikv40uf296gPzexIogLKOGNprCuo6349moB8LK6h4kcgOJGArEFtem+/B9kQKtw Gve0lIZ+At32m+DSQom2mtxC3wlsaU/6g7VDOgB4s7TN6u3KsVDbdTN8zn9DIGGPfKP5 rbDMVnx2zXXMwqqiuA7JZTENERYTbDUubnyrkDx69nLDlXB3IlOJFLf4twfLVXkoXr6n YiXHFTxmD0A/YGwdqNDRpmiL9qIZTkIQxVp6/UdrcRL2oztbUEUmV9l69HrkQyCiVie5 tpcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248848; x=1727853648; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1gzlAb6tAbaYqxXPRjbN4tCFBYWmIDA5QUr0hx9IZZE=; b=ENKGlv/NPrcSpDvb9V83oJKisiolaEnokLm1BI8UlCygxjswxb9JRmwZdzPUTK+/8g L834/nrMf51sivvsRWHy2B3kT7TxDzwybUYsEja3uaWiEnRUtj5VdaIy+XsZhbaaJv0N EMDcKK9UNLYuA6KlAYNcP2HUnEkvOvDNDWM4gCfyut6GKeCPhALS9EPjrGrs6GQURk06 InDamA8e1SPDce4X9cxWwzDrvSQq1MTeK+LwRIbHDTihLd7oAtgjR31v2oPBqvAqj/eD OEkV8SMV9+pxykUh3QJmUxxpMmEKB3+W89wbjiHA6J/HcOzLEjh0NBC2AXkxyLzWONwh +Q8g== X-Forwarded-Encrypted: i=1; AJvYcCV4ulQTrxBRoErxJutyzdy53TI+lbOp91pE5G5l60yOUgBltkBFdBOW4Y8Vces/sdw+rG5MjTQEBa275isZDiH9@lists.infradead.org X-Gm-Message-State: AOJu0YwD8J36f3OrivpQnVy+pWGPQu5hggw7vp0hNiJ+IqwRFcd5Ywkb pnZF9Ae0OTXCb0qj/ih1fm3q1cvj+gNOyMTqP3PkQVIvE1Tns+IL X-Google-Smtp-Source: AGHT+IHHRXHmkDoV6cYjtUdS6It/5KruAyPCBuIpMtTf3yOkX3h4v/vIxT0bKREhjmU8Nf1G+8aXwA== X-Received: by 2002:a05:6e02:1d97:b0:3a0:9244:1916 with SMTP id e9e14a558f8ab-3a26d78af3fmr17300025ab.11.1727248848032; Wed, 25 Sep 2024 00:20:48 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.20.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:20:47 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski , Conor Dooley Subject: [PATCH v5 04/20] dt-bindings: arm: apple: Add A7 devices Date: Wed, 25 Sep 2024 15:18:02 +0800 Message-ID: <20240925071939.6107-5-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002049_216674_1EDD6806 X-CRM114-Status: GOOD ( 11.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds the following apple,s5l8960x platforms: - iPhone 5s - iPad Air (1) - iPad Mini 2 - iPad Mini 3 Acked-by: Krzysztof Kozlowski Acked-by: Conor Dooley Signed-off-by: Nick Chan --- .../devicetree/bindings/arm/apple.yaml | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml index 883fd67e3752..89c1e35e404b 100644 --- a/Documentation/devicetree/bindings/arm/apple.yaml +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -12,7 +12,14 @@ maintainers: description: | ARM platforms using SoCs designed by Apple Inc., branded "Apple Silicon". - This currently includes devices based on the "M1" SoC: + This currently includes devices based on the "A7" SoC: + + - iPhone 5s + - iPad Air (1) + - iPad mini 2 + - iPad mini 3 + + Devices based on the "M1" SoC: - Mac mini (M1, 2020) - MacBook Pro (13-inch, M1, 2020) @@ -65,6 +72,23 @@ properties: const: "/" compatible: oneOf: + - description: Apple A7 SoC based platforms + items: + - enum: + - apple,j71 # iPad Air (Wi-Fi) + - apple,j72 # iPad Air (Cellular) + - apple,j73 # iPad Air (Cellular, China) + - apple,j85 # iPad mini 2 (Wi-Fi) + - apple,j85m # iPad mini 3 (Wi-Fi) + - apple,j86 # iPad mini 2 (Cellular) + - apple,j86m # iPad mini 3 (Cellular) + - apple,j87 # iPad mini 2 (Cellular, China) + - apple,j87m # iPad mini 3 (Cellular, China) + - apple,n51 # iPhone 5s (GSM) + - apple,n53 # iPhone 5s (LTE) + - const: apple,s5l8960x + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum: From patchwork Wed Sep 25 07:18:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811733 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1CFD9C369A3 for ; Wed, 25 Sep 2024 07:28:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0BGeqoOyiBBfxko0YQeQCNLaxzumXXb88iTx4M2L8Ds=; b=IOhyHQtPK3+ox9Ozut6jaHkqve 5QfwQ9j3JH+trSx5JK9Xi4AFbfNADHECuAEBBxG/+2oHCLdc83LdeoVn6H/pCYDh1v12hxjeDV34U UJL2WkF9db2Jdz/NWg7fRe8NBY1zoeeCf3tp1WUrfYswcQ+4km0pbyfVN1y5Wi/gtOx1kUml5IYAU jGWV/N6L2Qihq7y4Y66EMUV3m22Cpk4ZKywPNO0WmcxaPRKTI0nAslW3VMMU8SrkD3AIdX0r2M9r2 7UCr3VSfmKhE1TzntBjhPd8lAQ8txsZCuXFmf3U1LZRoJmVhC/G/XQUeOR0JyRXR3rB+A2xL26bFc sWlqhkdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMRf-00000004KcM-29wG; Wed, 25 Sep 2024 07:28:19 +0000 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMKU-00000004IiU-3eU4 for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:20:56 +0000 Received: by mail-ot1-x334.google.com with SMTP id 46e09a7af769-71100987d1cso3802049a34.2 for ; Wed, 25 Sep 2024 00:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248853; x=1727853653; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0BGeqoOyiBBfxko0YQeQCNLaxzumXXb88iTx4M2L8Ds=; b=lg2u/Nb3OmuHs7AIjyyctW6YvTDkK8TvEjJaoNosewSMlfCxVL4AMawpnvnS2eXQ3B PJakEWtA2p4A16H506veOk4qj7rdlnMeAh/nwYKa1ddV/b+639EFd6NOOmlTkYNdq5TM 195lms84XIc/zOnhASm6LZ/FYv6D+kpqXkoeU0GwqgaqY4iHCbP/cejNd9dViO7+wPiR 85T7NPf5TNcqA87BcTBA8bvpfmQuZ4qMyxR78z7Zootxfl+ob2onRJ+WyDMtrBT89oEC CTA6GA5wq7+T1yZHGHZFa9n0izNCdSnluESQLUy5XrBhp5Yyo3/n1Vt/xLSpjdhlaYzd mh5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248853; x=1727853653; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0BGeqoOyiBBfxko0YQeQCNLaxzumXXb88iTx4M2L8Ds=; b=JZmaMuxEwNNjqcLmEt9MLTA1aFYRuWkewC5L8LfX+bjmKi3RwMZ79Q82q3PGyOBPhq nl/PXyFkM0B6+XJVQ0sO4uIbkPNSuXVRP27Y6azdwpq4zCzoRJxbbD4zgojEnitlp15L ANtrJuZBqRxBkLcLfg2SEBnFvwnDxpFyMyY2vLpx1q5RY8D82xiGEuDtazqumDYqk9Vr vY0PvnUpe6200HJuK5DkWGO1RIz2vXYe+AZc8D/eBPLMhnJZDHpUcBk98cU4KS+pBzu3 /Koyvk+WIBcvzuAVdjGpCgPlDaWol/Qxik0qanzKYh+OLBm/5WPBXER6tQLkXIaXoxDc bI8w== X-Forwarded-Encrypted: i=1; AJvYcCUkTJYUPnJt5dp89vIGjbR8D/gLyAnisk9InlgtMgPvSxSbV/nAE3MUDjvR1V6o8sgA6sLcSSSoXyNB1SGKIvCE@lists.infradead.org X-Gm-Message-State: AOJu0YzVP5kssMMLW+QXtUbH2kUnGa+qj/B7YLFsyLdJzR91b8wr66Xe byQrcBAR/ubKnQv6htYRoqvTTa9aSjY87449Olg0Gd+pkbwnUdjjCfkW5g== X-Google-Smtp-Source: AGHT+IHcWwEBIz9J+4OSED5kctf4FrX3jmlo6xLutYP49XS+9Gh0oLHvhiC7/iOTW/EKSGXH2gKnug== X-Received: by 2002:a05:6830:6b07:b0:710:eaf2:9f0c with SMTP id 46e09a7af769-713c7f3484fmr1214023a34.32.1727248853464; Wed, 25 Sep 2024 00:20:53 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.20.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:20:53 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 05/20] dt-bindings: arm: apple: Add A8 devices Date: Wed, 25 Sep 2024 15:18:03 +0800 Message-ID: <20240925071939.6107-6-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002054_952390_0D58A4D2 X-CRM114-Status: GOOD ( 10.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds the following apple,t7000 based platforms: - iPhone 6 - iPhone 6 Plus - iPad mini 4 - iPod touch 6 - Apple TV HD The remaining HomePod is not supported as part of this patch. Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- .../devicetree/bindings/arm/apple.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml index 89c1e35e404b..c05a4414c8b6 100644 --- a/Documentation/devicetree/bindings/arm/apple.yaml +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -19,6 +19,14 @@ description: | - iPad mini 2 - iPad mini 3 + Devices based on the "A8" SoC: + + - iPhone 6 + - iPhone 6 Plus + - iPad mini 4 + - iPod touch 6 + - Apple TV HD + Devices based on the "M1" SoC: - Mac mini (M1, 2020) @@ -89,6 +97,18 @@ properties: - const: apple,s5l8960x - const: apple,arm-platform + - description: Apple A8 SoC based platforms + items: + - enum: + - apple,j42d # Apple TV HD + - apple,j96 # iPad mini 4 (Wi-Fi) + - apple,j97 # iPad mini 4 (Cellular) + - apple,n56 # iPhone 6 Plus + - apple,n61 # iPhone 6 + - apple,n102 # iPod touch 6 + - const: apple,t7000 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum: From patchwork Wed Sep 25 07:18:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811734 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 74559C369A3 for ; Wed, 25 Sep 2024 07:29:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=p/wc2/LABeu7MWNhfG7leQqnAhaWbUPZEJ8Ap5bTOf4=; b=N29lnz48sRGdpQd+pVbu15x3M+ BUSrzTf76K59to/qUJ4oTbrd/0fhUACdwOtjePaeWowImRdP20QdGMbwpB6zzX2s4SyQ3iJBNLUEr n6a9wpL6Sm7Gv1Y+cWekv24xlyovvyY9xp9MVxkm+oNMxywdqZA0Oqg+iimhXRtWEIi/w/oocCg7p 6v3vChnyh0ICxYOtm4sim63l+NFiC2JQm1MH+zJFmoMvlqQ6I1fN2uV++XQBAyGjtpfTu7Iywp1C9 e8DXp9/dEtBbZtDQjvToPyxXjKt65W3/tKcizcfkTNKdUNvodrrmDwloF3bmfcRl7e5WpyyAIKOxD J+3e4ANA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMSm-00000004Kro-3EES; Wed, 25 Sep 2024 07:29:28 +0000 Received: from mail-io1-xd36.google.com ([2607:f8b0:4864:20::d36]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMKa-00000004Ijj-041L for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:21:01 +0000 Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-82ce1cd2026so233370339f.3 for ; Wed, 25 Sep 2024 00:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248859; x=1727853659; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=p/wc2/LABeu7MWNhfG7leQqnAhaWbUPZEJ8Ap5bTOf4=; b=G+2jAMeyIBrGern27DRRuIA/DrzL5g22mQ5q6fN6FJ7617SU/iuNe7rFhECLI9pjoW 19fBEdnSIAhM5ECubUqtibTnL7hJk7Qcl1diPebp91cBJsjyW7tlXhuVp9NdlUmsxNfk LlWaKVpBhJN8nmySlljivqowhLAE1A0FpBybdsurNNmEv6tzARNJJdn+Y7sobulSAiAb UqXmIY0eiNPeu5CzlhOW3qYBG/LNh+EGWXdu1lwytMGGXdVBritWdMjL74BX5guUFEJt EutZ8MKqpVHZeP5/pdFdZBzQAclz6+6jnGBro91TzLYtqh+V5ewJlS7+mU7qUqJByEQ8 KUTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248859; x=1727853659; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=p/wc2/LABeu7MWNhfG7leQqnAhaWbUPZEJ8Ap5bTOf4=; b=PaRc3Lm2LhipJ4dsr7EOAw9dKql6csPxTeyvIYP6M6Zxx0Dx3vhdsV6IKeCD8xHhDl hfJGpnmWV5PoD08sdyZz0X0/ihKPSyCJzk8pQyJcM7URO6omjsfe9CESP/cOa8Pw9EeT P5erb92rU18NkaYJHjcWKgpL+Jppr/JilWsp4aTPMnymf+P9O5/4zy33xIipgpW0af6L n1KFnr4Ko2JejxM+Lzj2YOmumVXXutLst+DWLf9mWvL1F1hXuv8yvtID5dLJlq4eJERN MI5SBQRf/g4NcSMrP5CH4Zp7fkXpAAiLEhEQyKFaaU78Jiwxvnyd9fLZaTMj+5rUbRi1 GJGw== X-Forwarded-Encrypted: i=1; AJvYcCXme3+a8QR9sr/Wf8e/6E+LGiPv7HmTbyuYEIS1v5it9JSN4AcI8BfvLSCXM9QnAgLhy0DeiaEfvl1ccf4D4ySJ@lists.infradead.org X-Gm-Message-State: AOJu0YxOC2CGdbe8SHTycCgWc6GiTJ0yYAccM4zWL7aoDMrDxGpmQT3h Dr+CN5NevxSfegRQ9kc0qVFmI7az+PM5gmqVuvkPGMAAKg8mBihD X-Google-Smtp-Source: AGHT+IE2XjRQV1+SJQyElqLaBdKDjUd5x0NHdSE6OMFzMv1UOcblr+RyfG+A/ww2rG9SzrbrSiuMDg== X-Received: by 2002:a05:6602:2dd2:b0:81f:8f5d:6e19 with SMTP id ca18e2360f4ac-83247ced469mr167161339f.2.1727248858783; Wed, 25 Sep 2024 00:20:58 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.20.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:20:58 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 06/20] dt-bindings: arm: apple: Add A8X devices Date: Wed, 25 Sep 2024 15:18:04 +0800 Message-ID: <20240925071939.6107-7-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002100_075193_3FCED357 X-CRM114-Status: GOOD ( 10.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the only platform based on apple,t7001, the iPad Air 2. Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- Documentation/devicetree/bindings/arm/apple.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml index c05a4414c8b6..fecc4953df33 100644 --- a/Documentation/devicetree/bindings/arm/apple.yaml +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -27,6 +27,10 @@ description: | - iPod touch 6 - Apple TV HD + Device based on the "A8X" SoC: + + - iPad Air 2 + Devices based on the "M1" SoC: - Mac mini (M1, 2020) @@ -109,6 +113,14 @@ properties: - const: apple,t7000 - const: apple,arm-platform + - description: Apple A8X SoC based platforms + items: + - enum: + - apple,j81 # iPad Air 2 (Wi-Fi) + - apple,j82 # iPad Air 2 (Cellular) + - const: apple,t7001 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum: From patchwork Wed Sep 25 07:18:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811737 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 29D07C369A3 for ; Wed, 25 Sep 2024 07:30:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YOjVxN+4UCui/1bGVCeKqXEKHkc9ro0dr055Y8OKSYI=; b=BEW25Vqhee9Jrl6IJflQ5BDIQp 2oUVgiEtMbOHCRDo/qPrwj9f/pmnSpOr0tXASxH3qxts5uSe/hBLGG2+m44vd58Wo8voCCYOqC8Ee LVz7tjwZY5VHVPKdM1DWQq2VLffwua+ySHcMH/05glMpPAPZvqnU6dQ3YlZJbn92Eb1bSqSlk3Uja KQ6sKl6xV3+wm02A6+j943ryUH3OyIJykzjTCqH3+22dCOf0qO6YbxdnWACil3tswVRsoBV5QgunR Tepjpjyb84/t2nkpVkMdkQ6d65z8xaopHVDJt7xgzIC7XesGmBGj8gesFIc8lScYXnn5I2U/5U6pG GaZZz5yw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMTt-00000004Kyo-0cYd; Wed, 25 Sep 2024 07:30:37 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMKg-00000004ImK-0nPW for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:21:07 +0000 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-718e9c8bd83so438634b3a.1 for ; Wed, 25 Sep 2024 00:21:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248865; x=1727853665; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YOjVxN+4UCui/1bGVCeKqXEKHkc9ro0dr055Y8OKSYI=; b=Kl9w/pdGH12vW8kyOT1hpmsi73hHOje6B1vfC8pampSNPlD+7z96nK2/ZQ/w4Jhx8u kYpCVZSrqJ+eWAtePQYl6D7wbyTRS1hTERa5P0XKOrMKevTCCkQhg+RRldVRf6M9Xdxv d9MzM4ZqJag2fi7iin69wW+ZuCBa8QKhpLXHe+6LnwOSkDVw2O0Jd+OFEGdwMC5hMOSS Oj2aty/O+uab+7XqypKWrgieFh2zRsdk8+y3y0CYGewE8UgS+yWXh+mzT2F/09bUPJGh quweJhbnVr6FRBkmzWq0WM5bLvihljbjNEQDTh+MvqwtycOHH7ZRG7e7sVwoDLUNlkUu zl7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248865; x=1727853665; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YOjVxN+4UCui/1bGVCeKqXEKHkc9ro0dr055Y8OKSYI=; b=mFEwEF6iU04nRDMoQPotr1WjGaXJq0htPJp26AgZsWoiJ37Jvqt2SWRiRor5uU14N/ KQMWhCJQ0MO1htzzpiA/DMAvc6vNuWshdyDz3eQ2/MvAL4qnPLN4yOZOVv5fSg7bJsCJ H0TYjPAshxEU8S8ZPjAPEYw7ovxbe9U+VK/FON54oolQDx7C+CLS5ywBG2zJaG/M9yTT lh+VtUQIh/vz+ItLdyZTkKUAD4Cvu9zvB1esjKV8JpgCLv9b+Ey/8nLvOOXk1QkbWdH1 IAGFscfL5Wt2JsFvq21mPeKB2O7m+Ck9Kg58z50v+I/lGamOLpwiGXQc9uwpB/U68m5C ekXw== X-Forwarded-Encrypted: i=1; AJvYcCVw2Ggo7W8Lv6XrDVHw+8oQGtGcTPIUi1Lk7DULZE29os8tGxviz+dRu9OyxYldXSqagDwIW8lM5Ff7Dc1XR3jQ@lists.infradead.org X-Gm-Message-State: AOJu0Yy1MORKtGDF090ghXVvXK0pqmkK8ECagyWq3UIIob7iGDVcCSIM WOrDKtgF+fncIZgdKgReXRL+U3V1/vJ2ER8TM8dF0GUAXy2xiN5u X-Google-Smtp-Source: AGHT+IFkEqW5cQWTnJdHp+oQMG5w7aNEOsa82IG6A8zXmG4k2wmgLgb9XqX+XPEM+tCrK3pJxkSOOg== X-Received: by 2002:a05:6a20:ac43:b0:1d3:1fea:27d8 with SMTP id adf61e73a8af0-1d4bed0b288mr3085067637.5.1727248865133; Wed, 25 Sep 2024 00:21:05 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.20.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:04 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 07/20] dt-bindings: arm: apple: Add A9 devices Date: Wed, 25 Sep 2024 15:18:05 +0800 Message-ID: <20240925071939.6107-8-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002106_247770_848B636B X-CRM114-Status: GOOD ( 10.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Adds the following apple,s8000 and apple,s8003 based platforms: - iPhone 6s - iPhone 6s Plus - iPhone SE (2016) - iPad 5 apple,s8000 is the Samsung A9, while apple,s8003 is the TSMC A9. Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- .../devicetree/bindings/arm/apple.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml index fecc4953df33..01965890b4ef 100644 --- a/Documentation/devicetree/bindings/arm/apple.yaml +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -31,6 +31,13 @@ description: | - iPad Air 2 + Devices based on the "A9" SoC: + + - iPhone 6s + - iPhone 6s Plus + - iPhone SE (2016) + - iPad 5 + Devices based on the "M1" SoC: - Mac mini (M1, 2020) @@ -121,6 +128,28 @@ properties: - const: apple,t7001 - const: apple,arm-platform + - description: Apple Samsung A9 SoC based platforms + items: + - enum: + - apple,j71s # iPad 5 (Wi-Fi) (S8000) + - apple,j72s # iPad 5 (Cellular) (S8000) + - apple,n66 # iPhone 6s Plus (S8000) + - apple,n69u # iPhone SE (S8000) + - apple,n71 # iPhone 6S (S8000) + - const: apple,s8000 + - const: apple,arm-platform + + - description: Apple TSMC A9 SoC based platforms + items: + - enum: + - apple,j71t # iPad 5 (Wi-Fi) (S8003) + - apple,j72t # iPad 5 (Cellular) (S8003) + - apple,n66m # iPhone 6s Plus (S8003) + - apple,n69 # iPhone SE (S8003) + - apple,n71m # iPhone 6S (S8003) + - const: apple,s8003 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum: From patchwork Wed Sep 25 07:18:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811738 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2AF28C369A3 for ; Wed, 25 Sep 2024 07:31:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qL1bUZmlpaNEXcSDtzcduMqg904aKTZZJEvyhQxFwVY=; b=NlBvXpNzwlVaqvxw4U/iWIU+f8 MaCtBXPDKdG+VE4E3W9o0K3qxaovjgMNRcdIIKPTIW0AntbbhlQF9QyOazwlUor3IMJp8C/wjiZir yAmIFzKI2p0hrFfP/bmC3PoIBfxdZ0dW30cnCQp1S5588S24Mk0tdlw9O1VwNJxGzteUf+r4aBWYj e56+1KmxXLr1af3Ef3pjIcrju/tcD2GIJ+LK31Ks61iLJbGdD6AimXwOl/dxFemWcvPJv/nyf5Rr+ w3eC/J7QoA4FVzhOisQmUM5xUmoG0NQgzvXJMJTZ/+y4vRuCxXDf2HeGsTKHcApB8aTF8Nu6qM0Pg phDXzQsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMUz-00000004LAg-1Jqm; Wed, 25 Sep 2024 07:31:45 +0000 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMKn-00000004InV-0IOM for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:21:14 +0000 Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-7ae3d7222d4so5370110a12.3 for ; Wed, 25 Sep 2024 00:21:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248871; x=1727853671; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qL1bUZmlpaNEXcSDtzcduMqg904aKTZZJEvyhQxFwVY=; b=lQ0s2Je1ylnpcdSg7g90TcaS4i+h4G+dSJuu2kXRX6zM0RyNi998DzRJWaTP+14iLQ SL6sPeCi8Ht12sCRjPb8xn8enqxuxGYXRIr1osCWlafv5x823RVxfo/BMvaNaySwmrXo 6O4XxG8RX/RIDbhjjiiJCQ5GW+nVnZhNjnFPj/RB6hLnfVrregFtHWKwok0jPFA+Hph5 P15CjKE43bG7NXFfj6Zxa/OawwR8wRjeAPbJYftcTwtTHQQHm9vGu6bHwUlKs7Xemj6j JGa2rlW/IYYTFlxXG0Nj5PtCFX6SNFS7kKr3kzjSPRx1xiRBsCVvcl3ZI+BqaXSLI1lI 5iYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248871; x=1727853671; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qL1bUZmlpaNEXcSDtzcduMqg904aKTZZJEvyhQxFwVY=; b=g3Yl/f6ldI0+7G9o0TpuphWNWM/GXjH/xOo7/y1RJlSQuKVhYNCmHAFiT+XmaneeQg rjCU3wEHE5wDJcOM1MO2AEKxPlrGR0fwzABapgtcaXrJNLRhSwh1a2VtFzauReL8Teiv vKYBNLhgRHfuyylvfPjMXYLgbFEY3BxfZoaDhixgvhDwO7Fbp0oCMXCpws+zMIqxlqqM 8q1zduyZco235V0FDhBSDN3TfWuC/tRe10kgXCdYf6okeIz28J64xfI2wfQSy1YmjXce VWpQ4oCl9MxjeZlDh42TRLbVSlG679lNN0GirQGsT+aRXunJ35O3FwL7IEIPbkHKSNO7 sYQw== X-Forwarded-Encrypted: i=1; AJvYcCWnBe+BTnIxK5QhOTHNph3i8GrBhJdzJZKfRvIutWIlOlCBFNbhjPt0HuGiWWW2ZR/GAwCYkas+QCELOoZXmuYH@lists.infradead.org X-Gm-Message-State: AOJu0YzmDOJcAiOvhw2H5jeGkpy05mVDMfKwKV05Ixq5thLs7D5+PVbp OZUvhDQFqoNmjywAGLhZSODF7TAknaDJzJA3X6XbsRSs/Fhbj4GD X-Google-Smtp-Source: AGHT+IEGAuegRViCnSuJvwVYQger24wdPcK/JpLkMgsXxyB6wQFokWL4zigD/vmbvh1D7uOFV5xX1g== X-Received: by 2002:a05:6a21:a4c4:b0:1cf:6625:f08 with SMTP id adf61e73a8af0-1d4e0bb0850mr2818860637.45.1727248871511; Wed, 25 Sep 2024 00:21:11 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:11 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 08/20] dt-bindings: arm: apple: Add A9X devices Date: Wed, 25 Sep 2024 15:18:06 +0800 Message-ID: <20240925071939.6107-9-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002113_137229_BD813B0B X-CRM114-Status: GOOD ( 10.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Adds the following apple,s8001 based platforms: - iPad Pro (9.7 Inch) - iPad Pro (12.9 Inch) (1st generation) Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- Documentation/devicetree/bindings/arm/apple.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml index 01965890b4ef..253dae759f10 100644 --- a/Documentation/devicetree/bindings/arm/apple.yaml +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -38,6 +38,11 @@ description: | - iPhone SE (2016) - iPad 5 + Devices based on the "A9X" SoC: + + - iPad Pro (9.7-inch) + - iPad Pro (12.9-inch) + Devices based on the "M1" SoC: - Mac mini (M1, 2020) @@ -150,6 +155,16 @@ properties: - const: apple,s8003 - const: apple,arm-platform + - description: Apple A9X SoC based platforms + items: + - enum: + - apple,j127 # iPad Pro (9.7-inch) (Wi-Fi) + - apple,j128 # iPad Pro (9.7-inch) (Cellular) + - apple,j98a # iPad Pro (12.9-inch) (Wi-Fi) + - apple,j99a # iPad Pro (12.9-inch) (Cellular) + - const: apple,s8001 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum: From patchwork Wed Sep 25 07:18:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811739 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 46088C369A3 for ; Wed, 25 Sep 2024 07:33:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NNGT3yJDofmpc53HtmnunbqePjpMbshwu+vDeo17w6o=; b=aThcinkfEZeYchZRwoCbQcnenN pdDD15FlsvwOA1LMVxu+lphh8O2Ic2UGgky9XkWHMh9mozmmrQUrqYCBAVt/Y9/I7/Ix4EBxNjEZu wKrCgVUwoFyQh50YItRLu2T1SV7b7QvhlY4nOeUUJTmzOWGcyHaPsGHU1N0qVt4GclcAv6icpX/7a aRaZUWvO5hL1h/gv1LdqUFrCZ56spmnVW2QdVWqzY0nuzE2NFVvwX/xcA8wNpw30oEgicfAy65kOF ksdiwmYBoHr2j0EC01re6JcGx40dmYR6YIaQq8+S39RbVtMMlNS8WHQadYEcWFgsGc1sjgMaDalES Gi1CG4pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMW7-00000004LM1-0j3M; Wed, 25 Sep 2024 07:32:55 +0000 Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMKr-00000004IoJ-2f8o for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:21:18 +0000 Received: by mail-oi1-x22b.google.com with SMTP id 5614622812f47-3e03f8ecef8so3718354b6e.1 for ; Wed, 25 Sep 2024 00:21:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248876; x=1727853676; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NNGT3yJDofmpc53HtmnunbqePjpMbshwu+vDeo17w6o=; b=JVqq1NmvACSxlEoNS+7LnOU2vZkyLa8w+qWxNNi12OUaGkB52F5hJuiCxmTtM3QBt5 H/9U/xdal8vgYHyQWl/9L8ufBnGKcjBldEKp7XZJA+9SCqVigLSPaUlfCMi8tGHgkuwP 6Failcc762TvcLaADM7LaslU40TGJMDMYHfFs8lvXUdxSannoSR34ghRjoBHuyDlr2em ej4GCSGahKwGbRHIs3ytnBDoxaT6XVLbnsV/lPtcB27K8+so+eS2xaTYdMZfTnYdvObr 4JtDdoxCiH2HK6NXwvuHpLUsvLSZvA5bIgljykphFaiHJPJLucRN/8DoOub5g6zRuRoX iikw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248876; x=1727853676; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NNGT3yJDofmpc53HtmnunbqePjpMbshwu+vDeo17w6o=; b=XEXK1RShhDqiIQ0aXc0BRU4pbBqiZRRxHlvmlDRuJNABM04lqi7VU1gGIED/rtBkKL AmHUZ4tzwtgIOPMyNF6OJaPpcgbz2wvDEYGZ5cpLutwgx1SqxPNvk1Vb5usTkm1QzKdH 3ZxcgaWbGsDpTucj3V5IqLqvNt47H0Hu5eyCFQ9iJ5H7QV2Egk6cRanYPJptYQ/8n45F KYbZzKbzZR0e//KbkVpkNyP3IaEEiyW6UxfzDiEHiDGwemYb8K1tA43O8GIh3vVfiKLg 6WNS3wN8mAauVc/zjSTTC5qDTNhbNFkwqJHj1ZfxEgFzaHOoYch+fNLF9osBm39+bMg5 NdwA== X-Forwarded-Encrypted: i=1; AJvYcCXHKPI0cBBcEEgG22yefh1R1HwTyuu/TwAaY+b/bbNbV6OkUV/sy1UVcHGEClrSomA47TrD4PQeyFxHAN1gylky@lists.infradead.org X-Gm-Message-State: AOJu0YxQDBpT4oCOJShTW4AQLrkYj/o4/ogwhP2wagfEO9tq5qWPf+98 S04ZBJrqawZhN5CNPd+H4AF8kd+KAoezmg5iyUtTMIhSijhwXZSt X-Google-Smtp-Source: AGHT+IEH+eVIQLfasu9dmEOPukCBYRwG0d+Bh43vyIopQLquRuxM9H7X758qKOFcZWA2TLkwvZ3Jzw== X-Received: by 2002:a05:6808:1902:b0:3e0:7678:f665 with SMTP id 5614622812f47-3e29b76cca1mr1682703b6e.11.1727248876587; Wed, 25 Sep 2024 00:21:16 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:16 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 09/20] dt-bindings: arm: apple: Add A10 devices Date: Wed, 25 Sep 2024 15:18:07 +0800 Message-ID: <20240925071939.6107-10-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002117_693769_DB83C847 X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Adds the following apple,t8010 based platforms: - iPhone 7 - iPhone 7 Plus - iPod touch 7 - iPad 6 - iPad 7 Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- .../devicetree/bindings/arm/apple.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml index 253dae759f10..b6a2916fb0f6 100644 --- a/Documentation/devicetree/bindings/arm/apple.yaml +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -43,6 +43,14 @@ description: | - iPad Pro (9.7-inch) - iPad Pro (12.9-inch) + Devices based on the "A10" SoC: + + - iPhone 7 + - iPhone 7 Plus + - iPod touch 7 + - iPad 6 + - iPad 7 + Devices based on the "M1" SoC: - Mac mini (M1, 2020) @@ -165,6 +173,21 @@ properties: - const: apple,s8001 - const: apple,arm-platform + - description: Apple A10 SoC based platforms + items: + - enum: + - apple,d10 # iPhone 7 (Qualcomm) + - apple,d11 # iPhone 7 (Intel) + - apple,d101 # iPhone 7 Plus (Qualcomm) + - apple,d111 # iPhone 7 Plus (Intel) + - apple,j71b # iPad 6 (Wi-Fi) + - apple,j72b # iPad 6 (Cellular) + - apple,j171 # iPad 7 (Wi-Fi) + - apple,j172 # iPad 7 (Cellular) + - apple,n112 # iPod touch 7 + - const: apple,t8010 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum: From patchwork Wed Sep 25 07:18:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811740 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EC2DCC369A4 for ; Wed, 25 Sep 2024 07:34:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ORCGcbSwKgWFHAVRm/UYQifm4nQpWQfHLfuPNDrl1Eo=; b=YxHtWVZInv2ZPH1bEDh1pW/oD4 kbs+yjb3nVp+SU1Du7poRmJM+/XBEIbM8GHcJ+2/hAU4aYRDAw418KHURrwzEi+0Dr5aFtm895xam RcRZV1NzMfO9ZCui1FRACjuXY/ixTyWJdUd0Bde4KV7ftjR+FPXPp4oLjVuRqUaMzn/iDwrtw7aR0 FxFyNpqiybZu8kKEZcAGcI7Q6TDYCGBw5WYXcDJDIUi3JgCgn98odgBkIUb65RrH/DhBxxK7Ah6kB LjzekAaQsEFBU1AlBeVfS2qaZk3Qfc41vsjF0qAgJVRVBHb0tuVJ32/TuJvLrl5kSqwe+oJ+CBaOF l8H0Sfow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMXE-00000004LYJ-2lZf; Wed, 25 Sep 2024 07:34:04 +0000 Received: from mail-il1-x133.google.com ([2607:f8b0:4864:20::133]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMKx-00000004IpD-0Seu for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:21:24 +0000 Received: by mail-il1-x133.google.com with SMTP id e9e14a558f8ab-3a0c8b81b4eso23254575ab.0 for ; Wed, 25 Sep 2024 00:21:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248882; x=1727853682; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ORCGcbSwKgWFHAVRm/UYQifm4nQpWQfHLfuPNDrl1Eo=; b=MHUnFFwLJfg74O3PLJA16K/TsWgWnOpS7c+qoukkBNv5q8100SfoL1kt2v60NqSNC9 H3TX8BQcTxOrWd8+p2ecJ3jbxdGhEHNwpiyJ1LEoMYli5Tac4Du0pkwbLS9Jk8d57M5V wk0M1YBkGoodXTwmaSi/xggTlboToqEivzOU2Lo8e877+dcD4JmvVEHFhq1orHSXLUMC wtuMww8JmoEQAicX9u6qKiTq8mIG21EbM/VA/Ecguf+YS5KCPtFk6FNhORfs+XsKh5VD DRmg8F1PA02CbmsfuxDv5nX1AeJTziQ2OmE9PfVZ2nJ5wcdCyPTpkZhFADBuCnlD/xqc WNkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248882; x=1727853682; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ORCGcbSwKgWFHAVRm/UYQifm4nQpWQfHLfuPNDrl1Eo=; b=TzslueSmGj8SxgV2XreikyKH5x833TuaC0VH7r0nx1cRJlorcglKdG7rZsY8QjyRwO 2ZvFOPra4clKGxY9OrLZBhuXLNTHHmMtAPzjJkFcjfOjKn5WfAxveP7V+hIKnfBhW0hC FWsgHU1ulgZDzAAJNj2Lh2qvB8ZGEXkxHk0KdWVaEBPvqlV71d7Yh6cdr5YZ/ocgfZuV 5JLy5WXDlSbOaiUvHH58hcl19i1ai+cthx7oQ3rZsHifS5uymUIYWQFWTgjkpQmpwrc0 p6sOWLEu5YeJbpSXOap5i+BhDNnYXyN6qEXbIa6CzeP7HRda83DYcYEKvllEt34p3TSL +NVA== X-Forwarded-Encrypted: i=1; AJvYcCXln3icOtXxjMHzPgu+QUOxbsmo61Kjw0j/9oNFHY8IQP/Q20dRBDUi80GVzONRF1rPo7grnrr0peu4ZtO4WvHH@lists.infradead.org X-Gm-Message-State: AOJu0Yy3n5injGMybTofhfaA90eSyhzMqGW91xucBurhCJFvjKf+P3hg 5lEoR1rwWqujwOTID1pS+zOchns7HxcbliuMMcLMWEpQEgjJKCmr X-Google-Smtp-Source: AGHT+IGz+nBPKU/0ZQZRn4iIi1Zpl8XNNeYysGdEscn0nqTGqEHb35M1Eb0BgRB+lLd63nxO2NUglw== X-Received: by 2002:a92:cd88:0:b0:3a0:8eb3:5154 with SMTP id e9e14a558f8ab-3a26d6ef162mr20639305ab.4.1727248882421; Wed, 25 Sep 2024 00:21:22 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:22 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 10/20] dt-bindings: arm: apple: Add A10X devices Date: Wed, 25 Sep 2024 15:18:08 +0800 Message-ID: <20240925071939.6107-11-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002123_170909_27DAAF37 X-CRM114-Status: UNSURE ( 9.41 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the following apple,t8011 based platforms: - Apple TV 4K - iPad Pro (2nd Generation) (10.5 Inch) - iPad Pro (2nd Generation) (12.9 Inch) Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- .../devicetree/bindings/arm/apple.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml index b6a2916fb0f6..96efadad15a6 100644 --- a/Documentation/devicetree/bindings/arm/apple.yaml +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -51,6 +51,12 @@ description: | - iPad 6 - iPad 7 + Devices based on the "A10X" SoC: + + - Apple TV 4K (1st generation) + - iPad Pro (2nd Generation) (10.5 Inch) + - iPad Pro (2nd Generation) (12.9 Inch) + Devices based on the "M1" SoC: - Mac mini (M1, 2020) @@ -188,6 +194,17 @@ properties: - const: apple,t8010 - const: apple,arm-platform + - description: Apple A10X SoC based platforms + items: + - enum: + - apple,j105a # Apple TV 4K (1st Generation) + - apple,j120 # iPad Pro 2 (12.9-inch) (Wi-Fi) + - apple,j121 # iPad Pro 2 (12.9-inch) (Cellular) + - apple,j207 # iPad Pro 2 (10.5-inch) (Wi-Fi) + - apple,j208 # iPad Pro 2 (10.5-inch) (Cellular) + - const: apple,t8011 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum: From patchwork Wed Sep 25 07:18:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811743 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B915AC369A4 for ; Wed, 25 Sep 2024 07:35:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=LRS99LqtKKHwle8nUek6BghPGrFF+lICOD/F9U0T8Ic=; b=htSVR2NWT2y45Lpl5sPHQU6HUv 37bhLlbgwXi+BNYHdfS6/hwNl7o4a8nAfJmYf4NXsbUdYgElVSR83/8VTehxiyfY5ZhAc1MT295/i RavKq69bJUma9q+dlHPojkgXzYhKCkUoRTOeNryBjXUp/YBWBj0pe8jc9JsJU112fxbn5vBw2jyDR vRBVIRjQop9RY2x7jNblhA+W/7M8hD6/sOhml+MPXkTELMaot1NOdbYvJg5DfQ1kOkk0GtOLPVAT2 rHXUHhqIGomra+nS0+PlAwDjK3EwM8xFOoMOS8ZZ9tH9+XY2jwobxeuQZeBtQCXlSRCG+PWjc/qrU 1jS+fvYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMYK-00000004LhG-3lNb; Wed, 25 Sep 2024 07:35:12 +0000 Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stML3-00000004Iq4-0vWc for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:21:30 +0000 Received: by mail-io1-xd35.google.com with SMTP id ca18e2360f4ac-82ade877fbeso373882039f.0 for ; Wed, 25 Sep 2024 00:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248888; x=1727853688; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LRS99LqtKKHwle8nUek6BghPGrFF+lICOD/F9U0T8Ic=; b=X3/wnzafFz3k6Gc3c/XDjGnA4s/3IfLkm/EvStXZQhD+zdastxOF7rApyTPY5S8L9o UQ4hd7x5f7R+HVebJc89TM9VffMnqRjOwMI8DjdrBJGmmeB1elqLp9FdYT+FH0NUuO+m pGbw2RZNzt5CjRx4Qy8IrJQ5mztItid3jaC3BmvD85I4QjDCuwk0sd4qVBVvlkDDUZ13 O3g2kWsG0b/jDZksEmhMtUp0FXzYo3WJIm2aHh0DJAGUz4wSXoPJnZSAG8fnBuPZuUHs KWY990eHURExDQEAQrredDGF5rD9rNvTysymjPL47u37RjUb+fRHMJBV9ZAcLXesW58j tNFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248888; x=1727853688; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LRS99LqtKKHwle8nUek6BghPGrFF+lICOD/F9U0T8Ic=; b=iQ00fhNaNOPSxrGPFGoH4pWojfo6hS85QkHbYAx5mxHpARbHA0bSHJzIQsG/Qwex0d gUR+YGPnJpSo3orRLlF6zPsiejCi5rVTNKmsUAjgn2fWInrWUVY2rmsiDbB9UbF8eNMT U3Oq8QevoD5PqmPCjc7izSfJcMkpdDr/Q5O7mxKJgyIPoEEiggLwRd+loqRoIeXM6aVj MMlWrTdhLZ/tqqvFO929PdyQ04wODGSFFoniifTZKtn3JE/IoOlw0aJXq6x5Wb8sgv6+ zzPwv9gjqZFh4k7lWqC/tq3yiB7WoRmlPHEOgREffAjKbgT8Cbt2x1b1HoIWjNQGalXR yWLA== X-Forwarded-Encrypted: i=1; AJvYcCUCmAxhqWnY+iM/rD6D6FuOz+o2yX1u4l3xQ3RWNJxK7qbo+a+9mwZm7gM7Q8hrjoTgZXaDQnGoPl0Hfv+V49iS@lists.infradead.org X-Gm-Message-State: AOJu0Yx+rMSWtHTOtYa0UucMSdO8yIUmDpIVCyfw6a+3te74d5AHsOte eYR8PQEvHoDUYH60DuY4QCv7/HZNGMii0aYcDCe83wNV+j9GpZqL X-Google-Smtp-Source: AGHT+IFvpJTqUs5gJ8SSQJcfciyhjfNIffVpvedL4cAQ58ETxwhJEW1uKD70Mfulzgk67MLgTsYtPA== X-Received: by 2002:a05:6e02:1848:b0:3a0:98b2:8f3b with SMTP id e9e14a558f8ab-3a26d7149e3mr19848075ab.7.1727248888368; Wed, 25 Sep 2024 00:21:28 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:28 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 11/20] dt-bindings: arm: apple: Add A11 devices Date: Wed, 25 Sep 2024 15:18:09 +0800 Message-ID: <20240925071939.6107-12-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002129_281784_A800809C X-CRM114-Status: GOOD ( 10.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the follow apple,t8015 based platforms: - iPhone 8 - iPhone 8 Plus - iPhone X Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- .../devicetree/bindings/arm/apple.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml index 96efadad15a6..dc9aab19ff11 100644 --- a/Documentation/devicetree/bindings/arm/apple.yaml +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -57,6 +57,12 @@ description: | - iPad Pro (2nd Generation) (10.5 Inch) - iPad Pro (2nd Generation) (12.9 Inch) + Devices based on the "A11" SoC: + + - iPhone 8 + - iPhone 8 Plus + - iPhone X + Devices based on the "M1" SoC: - Mac mini (M1, 2020) @@ -205,6 +211,18 @@ properties: - const: apple,t8011 - const: apple,arm-platform + - description: Apple A11 SoC based platforms + items: + - enum: + - apple,d20 # iPhone 8 (Global) + - apple,d21 # iPhone 8 Plus (Global) + - apple,d22 # iPhone X (Global) + - apple,d201 # iPhone 8 (GSM) + - apple,d211 # iPhone 8 Plus (GSM) + - apple,d221 # iPhone X (GSM) + - const: apple,t8015 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum: From patchwork Wed Sep 25 07:18:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811744 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 03606C369A4 for ; Wed, 25 Sep 2024 07:36:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2vb8WRK31wfJD7H7PQqPYo5IiaKA/qQU8UnxUl7tv/s=; b=OgA/fz57sTgn+tsXPlyDHsaOar m7WJ7MlYiDlFosXJ2gluk+LcPmcYtZ79LO1D1L1QaHa9YqcxuR0LQLXTx9oXHdbz22LghQcdJEw7o 0j/iVtr0xxNxScPYYguRxRiklHtZogXzBG7H1epx7erl8A0KcWtsrR0m3og9FMTu/uV3bTwrdsbCV wRWIPA548Tqbv8C+1Fp8wZ2MNYfQoPBETnFrE+16+48PMRTFDH+DeMDA+6B2BH7oJdrv7pl6yT9Ks 9UidfolDonyqOBIU6rO+pCdIi1evVx/5a7ePeUQX3RYyPDEE+XbreiKFrbl7MAoXIy78SnCEG1oLC 4QMLUOLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMZU-00000004Lvo-1hOK; Wed, 25 Sep 2024 07:36:24 +0000 Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stML9-00000004IrF-2hlU for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:21:37 +0000 Received: by mail-io1-xd34.google.com with SMTP id ca18e2360f4ac-82aad6c83ecso245861739f.3 for ; Wed, 25 Sep 2024 00:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248894; x=1727853694; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2vb8WRK31wfJD7H7PQqPYo5IiaKA/qQU8UnxUl7tv/s=; b=f0+qgtmB7MwIBc8CGOXOC7FtymRJMZPAJlBj6VLxWowp5S6LeIRGMVzqDr7foFUuaq afYrME7qHLXLqXBbyKg1dvAVTEas3Ewv6r15VrRYZN/ikvn4StKJ7tu1t2aRUUB7aK4S 0vWKqYI5X41tvj5w9Y/kZ+MibY7NXZaNNUOyv2yoXgk8V1w+g5vNCdM74WQbtWhJnawR eNq7a5qk0kpIQ1b534wrmJHnKHUeJK043uK86mj3ST+F+Cqfx3Uq2tZOrPsVRZSNlh53 CRJ/GZfRFzYNtO4jaBMJXAP7PPBGcqZv07t/be6ryU2yMUssi6GvslRvIsg2w/1BMuD7 Lz/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248894; x=1727853694; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2vb8WRK31wfJD7H7PQqPYo5IiaKA/qQU8UnxUl7tv/s=; b=e+WCbKIgBkGtY/MiZh8ir1t97pb0fMOutylSzjG3+enqEb+mZETGFHU1YRxoT77SF8 sbAWsbDaV72t8ky95GOIg6xkwfxNUkt5OPK6uuRsAK3R9n5Njls0JWqIL3of/vkJilAp l2Wgka5U+FxTfhRTm4PMrQUgaB4CljZXQx03NlWEV6Qzsn0JCNqPs7ngV2Z/T+KAObUc osdbLss7RzK6qELPNTlBH1hPsAbwibRCE86ndLvYKoC6gsi5zI9uWAHRnvLozC7pzJWE nnMU+xBsqJFh35OasuG6A8JsBLuMgm/2GHahgsbaWtWurXMPP5jIGAmEMMsUzYvFX2uP /7Ew== X-Forwarded-Encrypted: i=1; AJvYcCVxQggiI8Di1N+HHVM8OsI3SbQTAgdWsw0DxigD2h3y7Hld3SUvYaDBRPqPbpbRvcOB4Ozn4YCLf6b3Pbca+TS3@lists.infradead.org X-Gm-Message-State: AOJu0YyIqlx9Tf9CzxjDDSuMqzaLzERu8/bFrbmyDgb9D4YDNWuNJxFm TIzKHHKksdlwd8BfsDwSJZGkSzqc2lGndLLBTUNmAgJ7N6U633Bu X-Google-Smtp-Source: AGHT+IE6jvpFCpnnvKiMMgH+HkBS9UpipLVsGn4cGjpTlwVa9imHM3yuWX23/VgKoLZA97Ta33PkMg== X-Received: by 2002:a05:6602:4989:b0:832:13ce:1fad with SMTP id ca18e2360f4ac-83247d2611amr211310239f.8.1727248894387; Wed, 25 Sep 2024 00:21:34 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:34 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Konrad Dybcio , Nick Chan Subject: [PATCH v5 12/20] arm64: dts: apple: Add A7 devices Date: Wed, 25 Sep 2024 15:18:10 +0800 Message-ID: <20240925071939.6107-13-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002135_727282_EE760152 X-CRM114-Status: GOOD ( 16.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Konrad Dybcio Add DTS files for the A7 SoC and the following devices based on it: - iPhone 5s - iPad Air (1) - iPad mini 2 - iPad mini 3 Signed-off-by: Konrad Dybcio [Nick: SMP and m1n1 support, gpio-keys additions] Co-developed-by: Nick Chan Signed-off-by: Nick Chan --- arch/arm64/boot/dts/apple/Makefile | 11 ++ arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi | 54 +++++++ arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi | 54 +++++++ arch/arm64/boot/dts/apple/s5l8960x-j71.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j72.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j73.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j85.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j85m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j86.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j86m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j87.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j87m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi | 54 +++++++ arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-n51.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-n53.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x.dtsi | 146 ++++++++++++++++++ 17 files changed, 487 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j71.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j72.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j73.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j85.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j85m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j86.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j86m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j87.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j87m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-n51.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-n53.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x.dtsi diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile index aec5e29cdfb7..e1ee803f72a7 100644 --- a/arch/arm64/boot/dts/apple/Makefile +++ b/arch/arm64/boot/dts/apple/Makefile @@ -1,4 +1,15 @@ # SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j71.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j73.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j85m.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j86m.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j87m.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-n53.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j72.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j85.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j86.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j87.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-n51.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb diff --git a/arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi b/arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi new file mode 100644 index 000000000000..4da68f610747 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi @@ -0,0 +1,54 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 5s common device tree + * Based on A7 (APL0698), up to 1.3GHz + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "s5l8960x.dtsi" +#include + +/ { + chassis-type = "handset"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl 2 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl 3 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl 5 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl 4 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + switch-mute { + label = "Mute Switch"; + gpios = <&pinctrl 16 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi b/arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi new file mode 100644 index 000000000000..9afc1b0600b8 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi @@ -0,0 +1,54 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air common device tree + * Based on A7 (APL5698), up to 1.4GHz + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "s5l8960x.dtsi" +#include + +/ { + chassis-type = "tablet"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl 2 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl 3 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl 4 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl 5 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + switch-mute { + label = "Mute Switch"; + gpios = <&pinctrl 110 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j71.dts b/arch/arm64/boot/dts/apple/s5l8960x-j71.dts new file mode 100644 index 000000000000..e13036dacb45 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j71.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air (Wi-Fi), J71, iPad4,1 (A1474) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-air1.dtsi" + +/ { + compatible = "apple,j71", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad Air (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j72.dts b/arch/arm64/boot/dts/apple/s5l8960x-j72.dts new file mode 100644 index 000000000000..afb71b8885c6 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j72.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air (Cellular), J72, iPad4,2 (A1475) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-air1.dtsi" + +/ { + compatible = "apple,j72", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad Air (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j73.dts b/arch/arm64/boot/dts/apple/s5l8960x-j73.dts new file mode 100644 index 000000000000..c871962df529 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j73.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air (Cellular, China), J73, iPad4,2 (A1476) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-air1.dtsi" + +/ { + compatible = "apple,j73", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad Air (Cellular, China)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j85.dts b/arch/arm64/boot/dts/apple/s5l8960x-j85.dts new file mode 100644 index 000000000000..aefb7b36d7aa --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j85.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 2 (Wi-Fi), J85, iPad4,4 (A1489) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-mini2.dtsi" + +/ { + compatible = "apple,j85", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 2 (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j85m.dts b/arch/arm64/boot/dts/apple/s5l8960x-j85m.dts new file mode 100644 index 000000000000..ec2bcaa6d1d5 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j85m.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 3 (Wi-Fi), J85m, iPad4,7 (A1599) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-mini3.dtsi" + +/ { + compatible = "apple,j85m", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 3 (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j86.dts b/arch/arm64/boot/dts/apple/s5l8960x-j86.dts new file mode 100644 index 000000000000..470f2f825e70 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j86.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 2 (Cellular), J86, iPad4,5 (A1490) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-mini2.dtsi" + +/ { + compatible = "apple,j86", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 2 (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j86m.dts b/arch/arm64/boot/dts/apple/s5l8960x-j86m.dts new file mode 100644 index 000000000000..90311d98aaad --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j86m.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 3 (Cellular), J86m, iPad4,8 (A1600) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-mini3.dtsi" + +/ { + compatible = "apple,j86m", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 3 (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j87.dts b/arch/arm64/boot/dts/apple/s5l8960x-j87.dts new file mode 100644 index 000000000000..3580fd8e3831 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j87.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 2 (Cellular, China), J87, iPad4,6 (A1491) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-mini2.dtsi" + +/ { + compatible = "apple,j87", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 2 (Cellular, China)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-j87m.dts b/arch/arm64/boot/dts/apple/s5l8960x-j87m.dts new file mode 100644 index 000000000000..fa0da4fa6727 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-j87m.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 3 (Cellular, China), J87m, iPad4,9 (A1601) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-mini3.dtsi" + +/ { + compatible = "apple,j87m", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 3 (Cellular, China)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi b/arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi new file mode 100644 index 000000000000..778f470b5fd9 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi @@ -0,0 +1,54 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 2 common device tree + * Based on A7 (APL0698), up to 1.3GHz + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "s5l8960x.dtsi" +#include + +/ { + chassis-type = "tablet"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl 2 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl 3 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl 5 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl 4 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + switch-mute { + label = "Mute Switch"; + gpios = <&pinctrl 6 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi b/arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi new file mode 100644 index 000000000000..4e397b3d7d7a --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 3 common device tree + * Based on A7 (APL0698), up to 1.3GHz + * + * Copyright (c) 2022, Konrad Dybcio + */ + +/* + * The Mini 3 seems to be only an iteration over the Mini 2 with some + * small changes, like the introduction of Touch ID, hence there is little + * to no differentiation between these 2 for now. + */ +#include "s5l8960x-mini2.dtsi" diff --git a/arch/arm64/boot/dts/apple/s5l8960x-n51.dts b/arch/arm64/boot/dts/apple/s5l8960x-n51.dts new file mode 100644 index 000000000000..cd52f814fbf2 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-n51.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 5s (GSM), N51, iPhone6,1 (A1453/A1533) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-5s.dtsi" + +/ { + compatible = "apple,n51", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPhone 5s (GSM)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x-n53.dts b/arch/arm64/boot/dts/apple/s5l8960x-n53.dts new file mode 100644 index 000000000000..4795798a4444 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x-n53.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 5s (LTE), N53, iPhone6,2 (A1457/A1518/A1528/A1530) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s5l8960x-5s.dtsi" + +/ { + compatible = "apple,n53", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPhone 5s (LTE)"; +}; diff --git a/arch/arm64/boot/dts/apple/s5l8960x.dtsi b/arch/arm64/boot/dts/apple/s5l8960x.dtsi new file mode 100644 index 000000000000..b36c06a6d96c --- /dev/null +++ b/arch/arm64/boot/dts/apple/s5l8960x.dtsi @@ -0,0 +1,146 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple S5L8960X "A7" SoC + * + * Copyright (c) 2022, Konrad Dybcio + * Based on Asahi Linux's M1 (t8103.dtsi) and Corellium's A10 efforts. + */ + +#include +#include +#include +#include + +/ { + interrupt-parent = <&aic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &serial0; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "serial0"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; + + clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "clkref"; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "apple,cyclone"; + reg = <0x0 0x0>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu1: cpu@1 { + compatible = "apple,cyclone"; + reg = <0x0 0x1>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + }; + + memory@800000000 { + device_type = "memory"; + reg = <0x8 0 0 0>; /* To be filled by loader */ + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * The bootloader reserves a region for the (varying-address, depending + * on what FW your device runs AND model) framebuffer under this node. + */ + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + nonposted-mmio; + ranges; + + serial0: serial@20a0a0000 { + compatible = "apple,s5l-uart"; + reg = <0x2 0x0a0a0000 0x0 0x4000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + /* Use the bootloader-enabled clocks for now. */ + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + status = "disabled"; + }; + + wdt: watchdog@20e027000 { + compatible = "apple,s5l8960x-wdt", "apple,wdt"; + reg = <0x2 0x0e027000 0x0 0x1000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = ; + }; + + aic: interrupt-controller@20e100000 { + compatible = "apple,s5l8960x-aic", "apple,aic"; + reg = <0x2 0x0e100000 0x0 0x100000>; + #interrupt-cells = <3>; + interrupt-controller; + }; + + pinctrl: pinctrl@20e300000 { + compatible = "apple,s5l8960x-pinctrl", "apple,pinctrl"; + reg = <0x2 0x0e300000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 200>; + apple,npins = <200>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&aic>; + interrupt-names = "phys", "virt"; + /* Note that A7 doesn't actually have a hypervisor (EL2 is not implemented). */ + interrupts = , + ; + }; +}; From patchwork Wed Sep 25 07:18:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811745 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B668EC369A3 for ; Wed, 25 Sep 2024 07:37:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=HYVF4ntPQy41wOJIMHw51TmKoR5cX4rlxXnRY7TMVa0=; b=J5y8eKJ3KuuOlotBwDY3udglDv b/OS4eP9wCZB0gVYTQEs646zLlSoaYoidPig3ypySu/ey3BOUqYYrH/H5ghFy4kpSvSj7ohmhbDB9 vMaX0b9GqCW1aVbQfVQCDZfZfFFTPkOKpAuLN2HSklbMNnu4JUOYIVCL6/FfEAz1/VN0Sm7mQvshr V2gm6RawcbzehGH/dC9JCy1K+sGIQlI/Fa3jix3yh+cmzHAhFH1GAfiCt5chP6AQRu56gMNKeXQ22 1JR3jmhLv3jyxFWVlpbKSC4Jwh9fOYFnrzl8U1V4Ti/wkwjVvQreHizs2xkIVi9Bc0yQTQY2Q0Njf CvVFv1Vg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMaa-00000004M9c-3FNY; Wed, 25 Sep 2024 07:37:32 +0000 Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMLF-00000004Irz-2biX for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:21:43 +0000 Received: by mail-ot1-x333.google.com with SMTP id 46e09a7af769-710e1a48130so1988228a34.1 for ; Wed, 25 Sep 2024 00:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248900; x=1727853700; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HYVF4ntPQy41wOJIMHw51TmKoR5cX4rlxXnRY7TMVa0=; b=GZhwvvlAK91BGRvMXy8QxSSeVK+i+0QQLFmQYk5RkjeMTkwNLLSEqd0h/56N/mutod 0mebQZRsuG9fKO/GSGp/0LhGKYWnslOCyYZTm33JfjhKs4Rt/hhSmXDKzoY2xdta9ry3 Vx9xvKkgtkUzQ2O4HcFK/Phj5SpoFgm21Rewhm7KfCW5VI35WU018tm75VKsPlt5wDE3 eHOsBXVl2tISmHK+KWyP8dj/c9ZXh12iI7pPmFil768ZKOa8lqLho7bfj4v9xy2DZsI5 Ma1/GDigop1RV/yMD9G8JooxolEWe8cFFzYXALQloXPJqjGNz0SwFRCvQQPG9pCFC7LY ADMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248900; x=1727853700; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HYVF4ntPQy41wOJIMHw51TmKoR5cX4rlxXnRY7TMVa0=; b=kBbXzGhbrCeDfpDA+2osaEO4G61Ha67YWPCM/UsqQnMk9s1tM43DC/IiEM//m/uJ/y JXKw6HtvLDsdszrmL4uYYVhHmJh68GHKEejlZwo0NRg7z0qM1yPDYRmlT2BrcVm/tr// ucO3ao1rv3Xh+6Say3raTSvu1UNkgs5+xV6En6TFR8SiEIpFiVQqVpnl4T++MEDd2+oE ClCmolzQ3sOYHoelOolzihmHsA75TiQV6A7e32AKlnSTaWczHmXZE1RWmUnopu13oxA2 BLztmiNSc4TrtdKOvQtkzVzUEYwhpD1BdPC7J5uZtpjYNn7owPD97vPrlV7bsvjl2M8t zcPw== X-Forwarded-Encrypted: i=1; AJvYcCWUWR/sIaWcSv5li4r0/z7luOm7XVjpl2TBS7FcnJd8Iw2xgM4RFkZ/nwPtTjr1KcYiTGV5p5YgvHxUFrbLFoPw@lists.infradead.org X-Gm-Message-State: AOJu0YxarU7Qz3dtoEf7aPy10WHWwGIlr+vJ20vXqFL8LS0KUbCcIXPi 2NZ97ZfigERj5ujvpX2E7F3pztp3zCjcLMEbzph83xCyMDt6/d3Q X-Google-Smtp-Source: AGHT+IFS86PmwhBd8JrIOXDc5BrnEJuXzjmhA980YtNQ8oArnh7KzXivzC8Iv2n+f06EjcePlrX6lg== X-Received: by 2002:a05:6830:6f0c:b0:70f:6c8a:a5e with SMTP id 46e09a7af769-713c7d81029mr1663206a34.5.1727248900472; Wed, 25 Sep 2024 00:21:40 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:40 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Konrad Dybcio , Ivaylo Ivanov , Nick Chan Subject: [PATCH v5 13/20] arm64: dts: apple: Add A8 devices Date: Wed, 25 Sep 2024 15:18:11 +0800 Message-ID: <20240925071939.6107-14-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002141_702250_4D3B6E4C X-CRM114-Status: GOOD ( 19.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Konrad Dybcio Add DTS files for the A8 SoC and the following devices based on it: - iPhone 6 - iPhone 6 Plus - iPad mini 4 - iPod touch 6 - Apple TV HD The remaining HomePod is not supported as part of this patch. Signed-off-by: Konrad Dybcio [Ivalyo: system memory bits, iPhone 6 gpio-keys, pinctrl] Co-developed-by: Ivaylo Ivanov Signed-off-by: Ivaylo Ivanov [Nick: SMP and m1n1 support, gpio-keys additions] Co-developed-by: Nick Chan Signed-off-by: Nick Chan --- arch/arm64/boot/dts/apple/Makefile | 6 + arch/arm64/boot/dts/apple/t7000-6.dtsi | 52 ++++++++ arch/arm64/boot/dts/apple/t7000-j42d.dts | 19 +++ arch/arm64/boot/dts/apple/t7000-j96.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-j97.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-mini4.dtsi | 53 ++++++++ arch/arm64/boot/dts/apple/t7000-n102.dts | 50 +++++++ arch/arm64/boot/dts/apple/t7000-n56.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-n61.dts | 14 ++ arch/arm64/boot/dts/apple/t7000.dtsi | 146 +++++++++++++++++++++ 10 files changed, 382 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/t7000-6.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-j42d.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-j96.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-j97.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-mini4.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-n102.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-n56.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-n61.dts create mode 100644 arch/arm64/boot/dts/apple/t7000.dtsi diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile index e1ee803f72a7..d5dd1e2e4f4c 100644 --- a/arch/arm64/boot/dts/apple/Makefile +++ b/arch/arm64/boot/dts/apple/Makefile @@ -10,6 +10,12 @@ dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j85.dtb dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j86.dtb dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j87.dtb dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-n51.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7000-j42d.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7000-j96.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7000-j97.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7000-n102.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7000-n56.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7000-n61.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb diff --git a/arch/arm64/boot/dts/apple/t7000-6.dtsi b/arch/arm64/boot/dts/apple/t7000-6.dtsi new file mode 100644 index 000000000000..3802e853af42 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7000-6.dtsi @@ -0,0 +1,52 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6 / 6 Plus common device tree + * Copyright (c) 2022, Konrad Dybcio + */ + +#include +#include "t7000.dtsi" + +/ { + chassis-type = "handset"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl 32 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl 33 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl 45 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl 46 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + switch-mute { + label = "Mute Switch"; + gpios = <&pinctrl 131 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t7000-j42d.dts b/arch/arm64/boot/dts/apple/t7000-j42d.dts new file mode 100644 index 000000000000..88bc6ff68f25 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7000-j42d.dts @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple TV HD, J42d, AppleTV5,3 (A1625) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t7000.dtsi" + +/ { + compatible = "apple,j42d", "apple,t7000", "apple,arm-platform"; + model = "Apple TV HD"; + chassis-type = "television"; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t7000-j96.dts b/arch/arm64/boot/dts/apple/t7000-j96.dts new file mode 100644 index 000000000000..8a32a50cc2df --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7000-j96.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 4 (Wi-Fi), J96, iPad5,1 (A1538) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t7000-mini4.dtsi" + +/ { + compatible = "apple,j96", "apple,t7000", "apple,arm-platform"; + model = "Apple iPad mini 4 (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/t7000-j97.dts b/arch/arm64/boot/dts/apple/t7000-j97.dts new file mode 100644 index 000000000000..ac7d501f88d2 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7000-j97.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 4 (Cellular), J97, iPad5,2 (A1550) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t7000-mini4.dtsi" + +/ { + compatible = "apple,j97", "apple,t7000", "apple,arm-platform"; + model = "Apple iPad mini 4 (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/t7000-mini4.dtsi b/arch/arm64/boot/dts/apple/t7000-mini4.dtsi new file mode 100644 index 000000000000..c0fcdc900d01 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7000-mini4.dtsi @@ -0,0 +1,53 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 4 common device tree + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "t7000.dtsi" +#include + +/ { + chassis-type = "tablet"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl 32 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl 33 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl 45 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl 46 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + switch-mute { + label = "Mute Switch"; + gpios = <&pinctrl 36 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t7000-n102.dts b/arch/arm64/boot/dts/apple/t7000-n102.dts new file mode 100644 index 000000000000..81fb62dce5bc --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7000-n102.dts @@ -0,0 +1,50 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPod touch 6, N102, iPod7,1 (A1574) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include +#include "t7000.dtsi" + +/ { + compatible = "apple,n102", "apple,t7000", "apple,arm-platform"; + model = "Apple iPod touch 6"; + chassis-type = "handset"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl 32 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl 33 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl 46 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl 45 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t7000-n56.dts b/arch/arm64/boot/dts/apple/t7000-n56.dts new file mode 100644 index 000000000000..2c358df14458 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7000-n56.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6 Plus, N56, iPhone7,2 (A1549/A1586/A1589) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t7000-6.dtsi" + +/ { + compatible = "apple,n56", "apple,t7000", "apple,arm-platform"; + model = "Apple iPhone 6 Plus"; +}; diff --git a/arch/arm64/boot/dts/apple/t7000-n61.dts b/arch/arm64/boot/dts/apple/t7000-n61.dts new file mode 100644 index 000000000000..10b4ca8babf7 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7000-n61.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6, N61, iPhone7,2 (A1549/A1586/A1589) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t7000-6.dtsi" + +/ { + compatible = "apple,n61", "apple,t7000", "apple,arm-platform"; + model = "Apple iPhone 6"; +}; diff --git a/arch/arm64/boot/dts/apple/t7000.dtsi b/arch/arm64/boot/dts/apple/t7000.dtsi new file mode 100644 index 000000000000..b766129ad472 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7000.dtsi @@ -0,0 +1,146 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple T7000 "A8" SoC + * + * Copyright (c) 2022, Konrad Dybcio + * Based on Asahi Linux's M1 (t8103.dtsi) and Corellium's A10 efforts. + */ + +#include +#include +#include +#include + +/ { + interrupt-parent = <&aic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &serial0; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "serial0"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; + + clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "clkref"; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "apple,typhoon"; + reg = <0x0 0x0>; + cpu-release-addr = <0 0>; /* To be filled in by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu1: cpu@1 { + compatible = "apple,typhoon"; + reg = <0x0 0x1>; + cpu-release-addr = <0 0>; /* To be filled in by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + }; + + memory@800000000 { + device_type = "memory"; + reg = <0x8 0 0 0>; /* To be filled by loader */ + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * The bootloader reserves a region for the (varying-address, depending + * on what FW your device runs AND model) framebuffer under this node. + */ + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + nonposted-mmio; + ranges; + + serial0: serial@20a0c0000 { + compatible = "apple,s5l-uart"; + reg = <0x2 0x0a0c0000 0x0 0x4000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + /* Use the bootloader-enabled clocks for now. */ + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + status = "disabled"; + }; + + wdt: watchdog@20e027000 { + compatible = "apple,t7000-wdt", "apple,wdt"; + reg = <0x2 0x0e027000 0x0 0x1000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = ; + }; + + aic: interrupt-controller@20e100000 { + compatible = "apple,t7000-aic", "apple,aic"; + reg = <0x2 0x0e100000 0x0 0x100000>; + #interrupt-cells = <3>; + interrupt-controller; + }; + + pinctrl: pinctrl@20e300000 { + compatible = "apple,t7000-pinctrl", "apple,pinctrl"; + reg = <0x2 0x0e300000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 208>; + apple,npins = <208>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&aic>; + interrupt-names = "phys", "virt"; + /* Note that A8 doesn't actually have a hypervisor (EL2 is not implemented). */ + interrupts = , + ; + }; +}; From patchwork Wed Sep 25 07:18:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811746 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0F27FC369A4 for ; Wed, 25 Sep 2024 07:38:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kUukXodqKGFf7mDoToB48LouskmdBhSOgZjlCXQ9i70=; b=iHaux8m2eS66qyvWalhrSfHc6f EnDq2kB7RuH9MXFrH+mYPB9LZvBRQnj0CJHx/+ytafx7xLlt7sFjto3aXlOKBh6/b1ih4BcQE9tbx QpUcV7XaJ/e9EwbK+UBoTVQ6yJkjWarnN7Q9Z6YYkeySghYyyK0yccLR8uzbIMFnivRb5kq6DtTqI CthK32dQpVuRmPjG/wJbmCyIhUXIMvoN5ltXUfva/KqyWYMHH4Iypu4VSweqsk0EZZk/ZwEQq5bW1 7HWpCFFGlWodw68cti1rRblcpn8rjiWUig4EIc9G7SF4WU4/fr6K8LJf2BOl03dXLDM+pPbhESOe1 3oFqNkXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMbi-00000004MNV-00yT; Wed, 25 Sep 2024 07:38:42 +0000 Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMLK-00000004ItA-3Cf6 for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:21:48 +0000 Received: by mail-oi1-x231.google.com with SMTP id 5614622812f47-3e0438e81aaso4037144b6e.3 for ; Wed, 25 Sep 2024 00:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248906; x=1727853706; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kUukXodqKGFf7mDoToB48LouskmdBhSOgZjlCXQ9i70=; b=QS9rNgVTVbeiuK2+jUD2ABSQi+RpmbhuZxSVJ1DUZOimInHvJsPPBgijuBHt4P+tYM jGw7VPEImM7IWMtu8jwXHdVcuLxbF2CQmll2DXLIkj7wWlVrNZ6YCirINPJMtd+YAVtl 7OXMSqOMTD/vhViadLjU1IvkCIOCgTrUpeNKX//g0E0c53FKrbzpoSg8bkyzSAxwUIKf sVbibyq+cU2/8kfo+seLUYEbyCM+qPw4IOOsHHr5cS7OlhEMTyAz8HNgsg8oO7JVxNSP lHIW29cGobWKli6yzm3QFH1bNEMVHu9lIIRrWdl5+ZwA1SDW1jphwpVmR7k6uAEUjXb2 8x6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248906; x=1727853706; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kUukXodqKGFf7mDoToB48LouskmdBhSOgZjlCXQ9i70=; b=aAk9NP2oi8q3IBdL8CFXR5Mj4Bl4vWxDjd05gSAmo3uTk1r1GsPDdD8zG9AwV81OiN i5G81/2NkZqXNPe6kiVJgtEe7MokG9/2rzLK5jfWIiz9CsPCRZg/bvPj4Lb0kAMOUFst zZL9zVEmF6/DclHgCufyKCEWVVgqkIa01ht1ky/j5zB9PAkAGWp+k0Dhajt6xy4AEIMP H1Mq8jWCi2LNXzKBRs7sSMXKSwHhJUizQ4e+dMcwFxwSYHk1AxoIltOB3nqPQm7TtgXf WXCnD7aZpCiEG5FCXMVrBru0GSlJq2B2+OcDBdPTyX/FbpmEF3L7hr5yfu0UY2CpQ0WW 8nBg== X-Forwarded-Encrypted: i=1; AJvYcCUtmLEHLhpGrjViXFfS51LOlC2MOv2pJr8/SMbndlylumYCpcNDzDvtwOCxD1X123twRfbn6Yz6C+6Zt70JhhJ8@lists.infradead.org X-Gm-Message-State: AOJu0YwkskTTX7wNq+P9fetCV/4mtf0NX1Eg6v+6lBjFheNEbEEapOoU QPULM0pYQmtMs5v7KJks9E007+MwINfSEqOSGleVfjJcGIbXNhGfEjwHXA== X-Google-Smtp-Source: AGHT+IFrm7e873ny0eszt1p/YVRlB8yq6ci1VZIcwI3KF7C3BnOotWKXHrXnxPpxx5u/wK0i9fXl3g== X-Received: by 2002:a05:6808:202a:b0:3e1:70d5:d00a with SMTP id 5614622812f47-3e29b7a7564mr1437644b6e.27.1727248905867; Wed, 25 Sep 2024 00:21:45 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:45 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Konrad Dybcio , Markuss Broks , Nick Chan Subject: [PATCH v5 14/20] arm64: dts: apple: Add A8X devices Date: Wed, 25 Sep 2024 15:18:12 +0800 Message-ID: <20240925071939.6107-15-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002146_837028_2358A49E X-CRM114-Status: GOOD ( 18.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Konrad Dybcio Add DTS files for the A8X SoC and the only device based on it, the iPad Air 2. Signed-off-by: Konrad Dybcio [Markuss: System memory bits] Co-developed-by: Markuss Broks Signed-off-by: Markuss Broks [Nick: SMP, m1n1 and gpio-keys support, pinctrl fixes] Co-developed-by: Nick Chan Signed-off-by: Nick Chan --- arch/arm64/boot/dts/apple/Makefile | 2 + arch/arm64/boot/dts/apple/t7001-air2.dtsi | 46 +++++++ arch/arm64/boot/dts/apple/t7001-j81.dts | 14 ++ arch/arm64/boot/dts/apple/t7001-j82.dts | 14 ++ arch/arm64/boot/dts/apple/t7001.dtsi | 154 ++++++++++++++++++++++ 5 files changed, 230 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/t7001-air2.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7001-j81.dts create mode 100644 arch/arm64/boot/dts/apple/t7001-j82.dts create mode 100644 arch/arm64/boot/dts/apple/t7001.dtsi diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile index d5dd1e2e4f4c..adda522ea490 100644 --- a/arch/arm64/boot/dts/apple/Makefile +++ b/arch/arm64/boot/dts/apple/Makefile @@ -16,6 +16,8 @@ dtb-$(CONFIG_ARCH_APPLE) += t7000-j97.dtb dtb-$(CONFIG_ARCH_APPLE) += t7000-n102.dtb dtb-$(CONFIG_ARCH_APPLE) += t7000-n56.dtb dtb-$(CONFIG_ARCH_APPLE) += t7000-n61.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7001-j81.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7001-j82.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb diff --git a/arch/arm64/boot/dts/apple/t7001-air2.dtsi b/arch/arm64/boot/dts/apple/t7001-air2.dtsi new file mode 100644 index 000000000000..8ecf2842e8e5 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7001-air2.dtsi @@ -0,0 +1,46 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air 2 common device tree + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "t7001.dtsi" +#include + +/ { + chassis-type = "tablet"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl 0 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl 1 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl 92 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl 93 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t7001-j81.dts b/arch/arm64/boot/dts/apple/t7001-j81.dts new file mode 100644 index 000000000000..ca90dc0c872c --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7001-j81.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air 2 (Wi-Fi), J81, iPad5,3 (A1566) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t7001-air2.dtsi" + +/ { + compatible = "apple,j81", "apple,t7001", "apple,arm-platform"; + model = "Apple iPad Air 2 (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/t7001-j82.dts b/arch/arm64/boot/dts/apple/t7001-j82.dts new file mode 100644 index 000000000000..d9fd16f48db7 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7001-j82.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air 2 (Cellular), J82, iPad5,4 (A1567) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t7001-air2.dtsi" + +/ { + compatible = "apple,j82", "apple,t7001", "apple,arm-platform"; + model = "Apple iPad Air 2 (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/t7001.dtsi b/arch/arm64/boot/dts/apple/t7001.dtsi new file mode 100644 index 000000000000..9a5f0a4bde52 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t7001.dtsi @@ -0,0 +1,154 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple T7001 "A8X" SoC + * + * Copyright (c) 2022, Konrad Dybcio + * Based on Asahi Linux's M1 (t8103.dtsi) and Corellium's A10 efforts. + */ + +#include +#include +#include +#include + +/ { + interrupt-parent = <&aic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &serial0; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "serial0"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; + + clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "clkref"; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "apple,typhoon"; + reg = <0x0 0x0>; + cpu-release-addr = <0 0>; /* To be filled in by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu1: cpu@1 { + compatible = "apple,typhoon"; + reg = <0x0 0x1>; + cpu-release-addr = <0 0>; /* To be filled in by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu2: cpu@2 { + compatible = "apple,typhoon"; + reg = <0x0 0x2>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + }; + + memory@800000000 { + device_type = "memory"; + reg = <0x8 0 0 0>; /* To be filled in by loader */ + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * The bootloader reserves a region for the (varying-address, depending + * on what FW your device runs AND model) framebuffer under this node. + */ + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + nonposted-mmio; + ranges; + + serial0: serial@20a0c0000 { + compatible = "apple,s5l-uart"; + reg = <0x2 0x0a0c0000 0x0 0x4000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + /* Use the bootloader-enabled clocks for now. */ + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + status = "disabled"; + }; + + wdt: watchdog@20e027000 { + compatible = "apple,t7000-wdt", "apple,wdt"; + reg = <0x2 0x0e027000 0x0 0x1000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = ; + }; + + aic: interrupt-controller@20e100000 { + compatible = "apple,t7000-aic", "apple,aic"; + reg = <0x2 0x0e100000 0x0 0x100000>; + #interrupt-cells = <3>; + interrupt-controller; + }; + + pinctrl: pinctrl@20e300000 { + compatible = "apple,t7000-pinctrl", "apple,pinctrl"; + reg = <0x2 0x0e300000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 184>; + apple,npins = <184>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&aic>; + interrupt-names = "phys", "virt"; + /* Note that A8X doesn't actually have a hypervisor (EL2 is not implemented). */ + interrupts = , + ; + }; +}; From patchwork Wed Sep 25 07:18:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811747 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ED594C369A3 for ; Wed, 25 Sep 2024 07:40:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0wlvrz0d4Sg9n0wIu368n1nhmE+F0zH2AADRG128tbs=; b=trcuEV3yQFcsKs29UiIDOALM+y DZtUe0/wRr6JorMbdHuNH6KUFgblcUklLJod7GxwwS8bCZ7trxZjx9kBjvotPFAdRLP0wp0BE/7c5 r+CgbSkwQI4G+IyM9Mdw9zVOnR2RBImw8PLufr8WPYF1hoTHwdYqu9CNNlLO8DtJ3zclIPFDLy/3k TiCyQ5DgmgX5elCuNMHBMCESvU4KwfcZd0TH13Ca7knJGCx8Vn0IhMD0jSlknSj9YEEPBFP1bdCg1 1C/28Imxdf4QTU7ps63jC+CKmWwDO05zDaGidblwQawT5/6wSbb8TKOu3EzUsH7eCL4XT/Ql4ZR7u nYMy5Xxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMcp-00000004MbR-1XXp; Wed, 25 Sep 2024 07:39:51 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMLQ-00000004Ium-0vmm for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:21:54 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-71b00a97734so1354702b3a.1 for ; Wed, 25 Sep 2024 00:21:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248911; x=1727853711; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0wlvrz0d4Sg9n0wIu368n1nhmE+F0zH2AADRG128tbs=; b=Fmm2FsBgutkg9839VXmX603BWqXYXuHd2+w6e90RQ9IH62eEeteu3bVOWK2RxAGVmT EF/wig7X/bOJSKNxHGWz5omX2IDasQda4RQVkpblc9dQ3IGRGfb8tmEYc14AIMxU4msB N64P6gim9rqIj0sYj+t6us8HAWNVqEwpJ8S047g8+oL1Ou4QjjF37Y818xFzNECHnHr0 hAQ2KW7G/C6w2cXnSEhuGZ8jh9iMvaQXGpc7DbecGQSjZbxCL5C2B4eN3rNf/MZJoTMN /bRtnabguPOR2dX7vmox1iaTC1BlkZ0TA+TxGgOVunthLAOVwg9WdI5UouCyrzze4eHM MoYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248911; x=1727853711; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0wlvrz0d4Sg9n0wIu368n1nhmE+F0zH2AADRG128tbs=; b=rVrVVvsW6MygVof5OwV+QmawF/ANP7YRZciKFUPQq2zQagI0M7SI/d1S3iMCXzx2qP b6l6KnDB3Bc9ixY88thg925egEcw1/f+in6s6xbOe3Ew7FkbrXruSfba7gkBKO5aqBb/ GJiFPujhWvrZ0XFx1wJ36ds05xqqtEdk1hchOKODlsrixgRlrEMy8GSbdWg4fyoXh9fJ IgrcAZUu2133atASbWottHK09huWvT2pVXZZM9cQ/XikapcAFRYXELjqf6Xs5aZZNu3f 3/QE8dW/k/X/KU+Rbc4alYPXCicVWQ3NseXgrs6vrZWVr9dfikfYeqxivvPsPKz+jNQO jwEg== X-Forwarded-Encrypted: i=1; AJvYcCWg3oD72jDnBJ16vd3LBRgBvz60GJB4jR0gOncUOhZowNhtkHiNSVz7OQHPRurC8v/RNS9MMaURhkd/GD7jAQ0L@lists.infradead.org X-Gm-Message-State: AOJu0YwXG15lJ85MBtIS2lBKaV13eI60qtjT3p2pYxqdXUGSxkK3g21L /6y9UZQScRjKj1Aj+vQA+EEDjkmcvtkSdv3eT4rp+bLUp5OziZUs X-Google-Smtp-Source: AGHT+IETZJiwRR1mcwNC0mB+NRx/Sl0eVCAS0mXv/Owq8hgbT38AU20vVS6+faUTuGH3a2/2F+7Acg== X-Received: by 2002:a05:6a00:8315:b0:718:d740:b870 with SMTP id d2e1a72fcca58-71b0aa95107mr2108832b3a.2.1727248911114; Wed, 25 Sep 2024 00:21:51 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:50 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Konrad Dybcio , Nick Chan Subject: [PATCH v5 15/20] arm64: dts: apple: Add A9 devices Date: Wed, 25 Sep 2024 15:18:13 +0800 Message-ID: <20240925071939.6107-16-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002152_275514_E2A24DCD X-CRM114-Status: GOOD ( 19.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Konrad Dybcio Add DTS files for the A9 SoC and the following devices based on it: - iPhone 6s - iPhone 6s Plus - iPhone SE (2016) - iPad 5 Signed-off-by: Konrad Dybcio [Nick: SMP, m1n1 and AOP pinctrl support] Co-developed-by: Nick Chan Signed-off-by: Nick Chan --- arch/arm64/boot/dts/apple/Makefile | 10 ++ arch/arm64/boot/dts/apple/s8000-j71s.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-j72s.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n66.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n69u.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n71.dts | 15 ++ arch/arm64/boot/dts/apple/s8000.dtsi | 178 +++++++++++++++++++++ arch/arm64/boot/dts/apple/s8003-j71t.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-j72t.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n66m.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n69.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n71m.dts | 15 ++ arch/arm64/boot/dts/apple/s8003.dtsi | 19 +++ arch/arm64/boot/dts/apple/s800x-6s.dtsi | 52 ++++++ arch/arm64/boot/dts/apple/s800x-ipad5.dtsi | 46 ++++++ arch/arm64/boot/dts/apple/s800x-se.dtsi | 52 ++++++ 16 files changed, 507 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/s8000-j71s.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-j72s.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n66.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n69u.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n71.dts create mode 100644 arch/arm64/boot/dts/apple/s8000.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8003-j71t.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-j72t.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n66m.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n69.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n71m.dts create mode 100644 arch/arm64/boot/dts/apple/s8003.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-6s.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-ipad5.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-se.dtsi diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile index adda522ea490..cbb7e409b7e3 100644 --- a/arch/arm64/boot/dts/apple/Makefile +++ b/arch/arm64/boot/dts/apple/Makefile @@ -18,6 +18,16 @@ dtb-$(CONFIG_ARCH_APPLE) += t7000-n56.dtb dtb-$(CONFIG_ARCH_APPLE) += t7000-n61.dtb dtb-$(CONFIG_ARCH_APPLE) += t7001-j81.dtb dtb-$(CONFIG_ARCH_APPLE) += t7001-j82.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8000-j71s.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8000-j72s.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8000-n66.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8000-n69u.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8000-n71.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8003-j71t.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8003-j72t.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8003-n66m.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8003-n69.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8003-n71m.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb diff --git a/arch/arm64/boot/dts/apple/s8000-j71s.dts b/arch/arm64/boot/dts/apple/s8000-j71s.dts new file mode 100644 index 000000000000..b5a2dfa1121e --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8000-j71s.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 5 (Wi-Fi) (Samsung), J71s, iPad6,11 (A1822) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8000.dtsi" +#include "s800x-ipad5.dtsi" + +/ { + compatible = "apple,j71s", "apple,s8000", "apple,arm-platform"; + model = "Apple iPad 5 (Wi-Fi) (Samsung)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8000-j72s.dts b/arch/arm64/boot/dts/apple/s8000-j72s.dts new file mode 100644 index 000000000000..8f3dea5adb09 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8000-j72s.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 5 (Cellular) (Samsung), J72s, iPad6,12 (A1823) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8000.dtsi" +#include "s800x-ipad5.dtsi" + +/ { + compatible = "apple,j72s", "apple,s8000", "apple,arm-platform"; + model = "Apple iPad 5 (Cellular) (Samsung)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8000-n66.dts b/arch/arm64/boot/dts/apple/s8000-n66.dts new file mode 100644 index 000000000000..30b4b6630b60 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8000-n66.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6s Plus (Samsung), N66, iPhone8,2 (A1634/A1687/A1690/A1699) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8000.dtsi" +#include "s800x-6s.dtsi" + +/ { + compatible = "apple,n66", "apple,s8000", "apple,arm-platform"; + model = "Apple iPhone 6s Plus (Samsung)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8000-n69u.dts b/arch/arm64/boot/dts/apple/s8000-n69u.dts new file mode 100644 index 000000000000..e63bc2e7f7c1 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8000-n69u.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone SE (Samsung), N69u, iPhone8,4 (A1662/A1723/A1724) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8000.dtsi" +#include "s800x-se.dtsi" + +/ { + compatible = "apple,n69u", "apple,s8000", "apple,arm-platform"; + model = "Apple iPhone SE (Samsung)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8000-n71.dts b/arch/arm64/boot/dts/apple/s8000-n71.dts new file mode 100644 index 000000000000..f2964a1fc434 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8000-n71.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6s (Samsung), N71, iPhone8,1 (A1633/A1688/A1691/A1700) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8000.dtsi" +#include "s800x-6s.dtsi" + +/ { + compatible = "apple,n71", "apple,s8000", "apple,arm-platform"; + model = "Apple iPhone 6s (Samsung)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8000.dtsi b/arch/arm64/boot/dts/apple/s8000.dtsi new file mode 100644 index 000000000000..18488f71a5c8 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8000.dtsi @@ -0,0 +1,178 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple S8000 "A9 (Samsung)" SoC + * + * Copyright (c) 2022, Konrad Dybcio + * Based on Asahi Linux's M1 (t8103.dtsi) and Corellium's A10 efforts. + */ + +#include +#include +#include +#include + +/ { + interrupt-parent = <&aic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &serial0; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "serial0"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; + + clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "clkref"; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "apple,twister"; + reg = <0x0 0x0>; + cpu-release-addr = <0 0>; /* To be filled in by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu1: cpu@1 { + compatible = "apple,twister"; + reg = <0x0 0x1>; + cpu-release-addr = <0 0>; /* To be filled in by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + }; + + memory@800000000 { + device_type = "memory"; + reg = <0x8 0 0 0>; /* To be filled by loader */ + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * The bootloader reserves a region for the (varying-address, depending + * on what FW your device runs AND model) framebuffer under this node. + */ + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + nonposted-mmio; + ranges; + + serial0: serial@20a0c0000 { + compatible = "apple,s5l-uart"; + reg = <0x2 0x0a0c0000 0x0 0x4000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + /* Use the bootloader-enabled clocks for now. */ + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + status = "disabled"; + }; + + aic: interrupt-controller@20e100000 { + compatible = "apple,s8000-aic", "apple,aic"; + reg = <0x2 0x0e100000 0x0 0x100000>; + #interrupt-cells = <3>; + interrupt-controller; + }; + + pinctrl_ap: pinctrl@20f100000 { + compatible = "apple,s8000-pinctrl", "apple,pinctrl"; + reg = <0x2 0x0f100000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_ap 0 0 208>; + apple,npins = <208>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + pinctrl_aop: pinctrl@2100f0000 { + compatible = "apple,s8000-pinctrl", "apple,pinctrl"; + reg = <0x2 0x100f0000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_aop 0 0 42>; + apple,npins = <42>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + wdt: watchdog@2102b0000 { + compatible = "apple,s8000-wdt", "apple,wdt"; + reg = <0x2 0x102b0000 0x0 0x4000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = ; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&aic>; + interrupt-names = "phys", "virt"; + /* Note that A9 doesn't actually have a hypervisor (EL2 is not implemented). */ + interrupts = , + ; + }; +}; + +/* + * The A9 was made by two separate fabs on two different process + * nodes: Samsung made the S8000 (APL0898) on 14nm and TSMC made + * the S8003 (APL1022) on 16nm. While they are seemingly the same, + * they do have distinct part numbers and devices using them have + * distinct model names. There are currently no known differences + * between these as far as Linux is concerned, but let's keep things + * structured properly to make it easier to alter the behaviour of + * one of the chips if need be. + */ diff --git a/arch/arm64/boot/dts/apple/s8003-j71t.dts b/arch/arm64/boot/dts/apple/s8003-j71t.dts new file mode 100644 index 000000000000..0d906ae80b07 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8003-j71t.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 5 (Wi-Fi) (TSMC), J71t, iPad6,11 (A1822) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8003.dtsi" +#include "s800x-ipad5.dtsi" + +/ { + compatible = "apple,j71t", "apple,s8003", "apple,arm-platform"; + model = "Apple iPad 5 (Wi-Fi) (TSMC)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8003-j72t.dts b/arch/arm64/boot/dts/apple/s8003-j72t.dts new file mode 100644 index 000000000000..0cd7d88e9dfb --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8003-j72t.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 5 (Cellular) (TSMC), J72t, iPad6,12 (A1823) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8003.dtsi" +#include "s800x-ipad5.dtsi" + +/ { + compatible = "apple,j72t", "apple,s8003", "apple,arm-platform"; + model = "Apple iPad 5 (Cellular) (TSMC)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8003-n66m.dts b/arch/arm64/boot/dts/apple/s8003-n66m.dts new file mode 100644 index 000000000000..4146cd28160d --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8003-n66m.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6s Plus (TSMC), N66m, iPhone8,2 (A1634/A1687/A1690/A1699) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8003.dtsi" +#include "s800x-6s.dtsi" + +/ { + compatible = "apple,n66m", "apple,s8003", "apple,arm-platform"; + model = "Apple iPhone 6s Plus (TSMC)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8003-n69.dts b/arch/arm64/boot/dts/apple/s8003-n69.dts new file mode 100644 index 000000000000..8eed879b155e --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8003-n69.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone SE (TSMC), N69, iPhone8,4 (A1662/A1723/A1724) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8003.dtsi" +#include "s800x-se.dtsi" + +/ { + compatible = "apple,n69", "apple,s8003", "apple,arm-platform"; + model = "Apple iPhone SE (TSMC)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8003-n71m.dts b/arch/arm64/boot/dts/apple/s8003-n71m.dts new file mode 100644 index 000000000000..7ec6d2cda0bf --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8003-n71m.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6s (TSMC), N71m, iPhone8,1 (A1633/A1688/A1691/A1700) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8003.dtsi" +#include "s800x-6s.dtsi" + +/ { + compatible = "apple,n71m", "apple,s8003", "apple,arm-platform"; + model = "Apple iPhone 6s (TSMC)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8003.dtsi b/arch/arm64/boot/dts/apple/s8003.dtsi new file mode 100644 index 000000000000..52094a634678 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8003.dtsi @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple S8003 "A9 (TSMC)" SoC + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "s8000.dtsi" + +/* + * The A9 was made by two separate fabs on two different process + * nodes: Samsung made the S8000 (APL0898) on 14nm and TSMC made + * the S8003 (APL1022) on 16nm. While they are seemingly the same, + * they do have distinct part numbers and devices using them have + * distinct model names. There are currently no known differences + * between these as far as Linux is concerned, but let's keep things + * structured properly to make it easier to alter the behaviour of + * one of the chips if need be. + */ diff --git a/arch/arm64/boot/dts/apple/s800x-6s.dtsi b/arch/arm64/boot/dts/apple/s800x-6s.dtsi new file mode 100644 index 000000000000..b5610258da25 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s800x-6s.dtsi @@ -0,0 +1,52 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6s / 6S Plus common device tree + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include + +/ { + chassis-type = "handset"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl_ap 96 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl_ap 97 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl_ap 67 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl_ap 66 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + switch-mute { + label = "Mute Switch"; + gpios = <&pinctrl_ap 149 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/s800x-ipad5.dtsi b/arch/arm64/boot/dts/apple/s800x-ipad5.dtsi new file mode 100644 index 000000000000..a831131f16f3 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s800x-ipad5.dtsi @@ -0,0 +1,46 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 5 common device tree + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include + +/ { + chassis-type = "tablet"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl_ap 96 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl_ap 97 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl_ap 143 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl_ap 144 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/s800x-se.dtsi b/arch/arm64/boot/dts/apple/s800x-se.dtsi new file mode 100644 index 000000000000..3699114188a8 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s800x-se.dtsi @@ -0,0 +1,52 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone SE common device tree + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include + +/ { + chassis-type = "handset"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl_ap 96 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl_ap 97 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl_ap 67 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl_ap 66 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + switch-mute { + label = "Mute Switch"; + gpios = <&pinctrl_ap 149 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; From patchwork Wed Sep 25 07:18:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811748 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7A17AC369A5 for ; Wed, 25 Sep 2024 07:41:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zyWUpX9SDl0pBa3ZzU7qUw9/ZE6s9qUhKf2MUIrA7EE=; b=Tulw+tCk7Iy1ju1lUti5TBJdaf mKCPfnUPmZz2cPEaKqgmTW0FYOpUwZDMf9g2+LPQqqcBLMXkse1ZrU165dJVc4qGNuu/c5oINb3D7 N+4j2sL9huOBeNJZt7vsHyrFnWhMmItY8ixnKSmJDoJqdg4CLO1VVLtvb8d6rMI3Y1fLhOk8iRij/ gmGrFLCNii8QDcsg0WI16YdcMPzwgrRL/aRCrqDiOebh53JvBfeUIUaVxU2B1RKsEWivGsd4PxnP+ EQTYQmI2R7YZ7lF1E1M+i6V1uUSyJzMjkInDYm+xeJ9W2e9y/1JOHKJJu3gV3u2ZnNzKRYOXyZpIG mZeeVFlw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMdu-00000004MhU-3lqd; Wed, 25 Sep 2024 07:40:58 +0000 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMLW-00000004IwW-2r8Z for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:22:00 +0000 Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-82ce1cd2026so233394539f.3 for ; Wed, 25 Sep 2024 00:21:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248916; x=1727853716; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zyWUpX9SDl0pBa3ZzU7qUw9/ZE6s9qUhKf2MUIrA7EE=; b=NmR+/qjhLkyxU3Uhe/pRX+VX293qCguOSpJLYYb3J6Vf3Ok4MvmeFGGrG9oDeTQgm+ jBGrqYCpBPcRSteNfxgiSYtuurAOatQBgHUWMOt5lw/3aGXCBRsAQVwx50ZO6GzsgN4T YxU8a9bKBi9+ISm+RVOQ7Uqugsc0ZxFBAOqVJKMBCsPuVpf4VJ+ozAhU7UUdERPenJwm KgV3+xDxZwcBwL3PocWu6+Djhh4xzOFz7DAHF0TlpFtud/dCR/fdCda6YhYBhRVHdzpV dORf3AKXye2YCU9ysNOfNRbHF8MvKKcR4Ez6uPnZhV/jONu8Y4zWTVzaFFd3+y+uX962 IR6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248916; x=1727853716; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zyWUpX9SDl0pBa3ZzU7qUw9/ZE6s9qUhKf2MUIrA7EE=; b=H0vixKk47rWfAPBgAZP/4ItFM8U8DflfqyGmYF6EM1YUQBOy7YYzN4caDzS/wNAb/j H94f8LAcAbURpTahkU26iLh7+0CjgoQnsLI462mIzBXW05AfcNTYNWdW1LWHVVZcxfPE CDxuofn5+aqEQHHYX1k2XPr32wYdMsymnJgcPxGAIyD5fLso3+JeeZ3GQWxK5OLMQjle G/Ue+9PassGIUa2s7M7QXj2KmOxMhR9Lgu2InJpLK58X3fjEt0Crx1wIjOnajO35NXGp 3bvQA8emVw4yt9vD1An112O/oNbOlrodvrR/GCsTp3wl0aXy32fyiZumLgS+yzx0h3sk twjw== X-Forwarded-Encrypted: i=1; AJvYcCWyiUbMjSjaAWKMKPN3fDzF6jZCaabpjWYAoH1QHf0aWEzhx0koIOEiNeJhLmvgMEjLJutrEZ0y/yH4Ajn9FuEB@lists.infradead.org X-Gm-Message-State: AOJu0YxmgPvYCREfO2QLXY+3HonCpxtsC7vfDg3G0Q2paoTFlvFk4O13 u+/qrYFzinT6t3TBEVgwIV2jCsJJ0F0OCiwcYzKixUsrSexZBbMNXZa4yQ== X-Google-Smtp-Source: AGHT+IG0Xis3dnR1WQJRbxbbyiwBbbt0nE+54hnHJh9BbqGdY177lLd8N+D1GZSMiAbxxW2c4dsaAQ== X-Received: by 2002:a05:6602:1650:b0:82a:2ad1:d622 with SMTP id ca18e2360f4ac-83247f793c0mr161601939f.16.1727248916510; Wed, 25 Sep 2024 00:21:56 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:21:56 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Konrad Dybcio , Nick Chan Subject: [PATCH v5 16/20] arm64: dts: apple: Add A9X devices Date: Wed, 25 Sep 2024 15:18:14 +0800 Message-ID: <20240925071939.6107-17-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002158_758800_4896320B X-CRM114-Status: GOOD ( 18.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Konrad Dybcio Add the device tree for the A9X SoC and the devices based on it: - iPad Pro (9.7 Inch) - iPad Pro (12.9 Inch) (1st generation) Signed-off-by: Konrad Dybcio [Nick: SMP and m1n1 support, uart interrupt and pinctrl fixes] Co-developed-by: Nick Chan Signed-off-by: Nick Chan --- arch/arm64/boot/dts/apple/Makefile | 4 + arch/arm64/boot/dts/apple/s8001-j127.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j128.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j98a.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j99a.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-pro.dtsi | 47 +++++++ arch/arm64/boot/dts/apple/s8001.dtsi | 167 +++++++++++++++++++++++ 7 files changed, 274 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/s8001-j127.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j128.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j98a.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j99a.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-pro.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001.dtsi diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile index cbb7e409b7e3..f8cd10889d9f 100644 --- a/arch/arm64/boot/dts/apple/Makefile +++ b/arch/arm64/boot/dts/apple/Makefile @@ -28,6 +28,10 @@ dtb-$(CONFIG_ARCH_APPLE) += s8003-j72t.dtb dtb-$(CONFIG_ARCH_APPLE) += s8003-n66m.dtb dtb-$(CONFIG_ARCH_APPLE) += s8003-n69.dtb dtb-$(CONFIG_ARCH_APPLE) += s8003-n71m.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8001-j127.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8001-j128.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8001-j98a.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8001-j99a.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb diff --git a/arch/arm64/boot/dts/apple/s8001-j127.dts b/arch/arm64/boot/dts/apple/s8001-j127.dts new file mode 100644 index 000000000000..8b522085cb3e --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8001-j127.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro (9.7-inch) (Wi-Fi), J127, iPad6,3 (A1673) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8001-pro.dtsi" + +/ { + compatible = "apple,j127", "apple,s8001", "apple,arm-platform"; + model = "Apple iPad Pro (9.7-inch) (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8001-j128.dts b/arch/arm64/boot/dts/apple/s8001-j128.dts new file mode 100644 index 000000000000..cdd3d06dcbf1 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8001-j128.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro (9.7-inch) (Cellular), J128, iPad6,4 (A1674/A1675) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8001-pro.dtsi" + +/ { + compatible = "apple,j128", "apple,s8001", "apple,arm-platform"; + model = "Apple iPad Pro (9.7-inch) (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8001-j98a.dts b/arch/arm64/boot/dts/apple/s8001-j98a.dts new file mode 100644 index 000000000000..6d6b841e7ab0 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8001-j98a.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro (12.9-inch) (Wi-Fi), J98a, iPad6,7 (A1584) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8001-pro.dtsi" + +/ { + compatible = "apple,j98a", "apple,s8001", "apple,arm-platform"; + model = "Apple iPad Pro (12.9-inch) (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8001-j99a.dts b/arch/arm64/boot/dts/apple/s8001-j99a.dts new file mode 100644 index 000000000000..d20194b1cae7 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8001-j99a.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro (12.9-inch) (Cellular), J99a, iPad6,8 (A1652) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "s8001-pro.dtsi" + +/ { + compatible = "apple,j99a", "apple,s8001", "apple,arm-platform"; + model = "Apple iPad Pro (12.9-inch) (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/s8001-pro.dtsi b/arch/arm64/boot/dts/apple/s8001-pro.dtsi new file mode 100644 index 000000000000..214fbbcf66fd --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8001-pro.dtsi @@ -0,0 +1,47 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro (1st generation) common device tree + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "s8001.dtsi" +#include + +/ { + chassis-type = "tablet"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl_ap 122 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl_ap 123 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl_ap 15 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl_ap 12 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/s8001.dtsi b/arch/arm64/boot/dts/apple/s8001.dtsi new file mode 100644 index 000000000000..ab22d7948f62 --- /dev/null +++ b/arch/arm64/boot/dts/apple/s8001.dtsi @@ -0,0 +1,167 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple S8001 "A9X" SoC + * + * Copyright (c) 2022, Konrad Dybcio + * Based on Asahi Linux's M1 (t8103.dtsi) and Corellium's A10 efforts. + */ + +#include +#include +#include +#include + +/ { + interrupt-parent = <&aic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &serial0; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "serial0"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; + + clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "clkref"; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "apple,twister"; + reg = <0x0 0x0>; + cpu-release-addr = <0 0>; /* To be filled in by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu1: cpu@1 { + compatible = "apple,twister"; + reg = <0x0 0x1>; + cpu-release-addr = <0 0>; /* To be filled in by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + }; + + memory@800000000 { + device_type = "memory"; + reg = <0x8 0 0 0>; /* To be filled in by loader */ + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * The bootloader reserves a region for the (varying-address, depending + * on what FW your device runs AND model) framebuffer under this node. + */ + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + nonposted-mmio; + ranges; + + serial0: serial@20a0c0000 { + compatible = "apple,s5l-uart"; + reg = <0x2 0x0a0c0000 0x0 0x4000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + /* Use the bootloader-enabled clocks for now. */ + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + status = "disabled"; + }; + + aic: interrupt-controller@20e100000 { + compatible = "apple,s8000-aic", "apple,aic"; + reg = <0x2 0x0e100000 0x0 0x100000>; + #interrupt-cells = <3>; + interrupt-controller; + }; + + pinctrl_ap: pinctrl@20f100000 { + compatible = "apple,s8000-pinctrl", "apple,pinctrl"; + reg = <0x2 0x0f100000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_ap 0 0 219>; + apple,npins = <219>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + pinctrl_aop: pinctrl@2100f0000 { + compatible = "apple,s8000-pinctrl", "apple,pinctrl"; + reg = <0x2 0x100f0000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_aop 0 0 28>; + apple,npins = <28>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + wdt: watchdog@2102b0000 { + compatible = "apple,s8000-wdt", "apple,wdt"; + reg = <0x2 0x102b0000 0x0 0x4000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = ; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&aic>; + interrupt-names = "phys", "virt"; + /* Note that A9X doesn't actually have a hypervisor (EL2 is not implemented). */ + interrupts = , + ; + }; +}; From patchwork Wed Sep 25 07:18:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811749 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AD8BEC369A5 for ; Wed, 25 Sep 2024 07:42:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4MqKVYDd3OAYElpGefaTGeCPXNFKIMKgJ1r8dkp+EGI=; b=btzefi8EItkGgRzxJjJJhh3ePs oTn9pkfv4q774bXIaMWcesOzsEIgeIjGSe/VVdw+q6PktkBH10p0xOoTVmwBCfGpJHde4qDSCooCH MA9mjue0V4hsZl7wBOobhfwCCl9+gnBoiTsHVU7MGI18Om2BxSAUW5/2k5XBqgeyBSNJdGRARzTNL 7queVrvzlJD+lL+wf147LRgEcFI6luXWw/cZPfxg/vjHNftZryLqvzw05rUpbv7pheujyBgdY6CH7 x/usHaubU7daN+VIw/R8W3ygnjRKqIkFSWgSl5EnO9bJFWBzUWxmsP6mzKz2r3hBBAUT506ETDzue E7LbpZqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMf1-00000004MoE-1IvH; Wed, 25 Sep 2024 07:42:07 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMLa-00000004Ix5-2mtz for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:22:04 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-71b00a97734so1354820b3a.1 for ; Wed, 25 Sep 2024 00:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248922; x=1727853722; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4MqKVYDd3OAYElpGefaTGeCPXNFKIMKgJ1r8dkp+EGI=; b=AR01Nwg4PFBKHgU3bJ9Wk5vWwFwvr7mVhtubtraGm3kg/Qn3CH1kOCswpanRpmKiL8 CA+6x9QX+SPW0TT1OSXiwP5qcIWZo3jbR0CKv4LkR0jE7Vv6wJMDPmAl9vALUCRv2W3f 3v2IKgYPXGp9xUqY2rM1UhP0n7hAVvd8Mzfo6/+N2zxRI1SL8Z66eeuY3/lbn7+LReFE F3fFJJ/7dxLKj48gtke8ZxRuzQtgQzl7qsl5VRnBOydaSVg7adt/ge+c6f4kMcvCauFV 2iGT33zemtIh6EFFQbTVmSGXtfUtqoFb6RKgdRbv6Effew6Pv9xk5e07pCAmPKrBGDkt aFkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248922; x=1727853722; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4MqKVYDd3OAYElpGefaTGeCPXNFKIMKgJ1r8dkp+EGI=; b=knWN0DOpcJmxC/KLzLKxUupoCltVQqW2BmFOhSodpQpKPtptutplBzvg0Y2Z7rL33y /86V2ADF0gRi7q9kWzSjv52nhvBdmPokMbi/XfaDMgxvIJqXTxNLXGbxs1Shb71SZHtQ F1uqBf39y0mes0LBUfX+qGRSgq4eF45O1iWp/hkqyAcrxFYR3wzqU/pwp747VzyHOlbk y2F3m5VM8n/kd16F4Xqfm4QMGpJXbM/Sh7srj8VBUu4aB9wUIACBb0muhXzYDhaFewa2 8WKbywOmU0k3oBrRFsagJdm90G6Dgo3piULi6XFPrF5fq7YjWOAub5fFZgl1p6WI+Lic Ncjg== X-Forwarded-Encrypted: i=1; AJvYcCW0fP+ad+D5r0x4aPaA1j8xKRohQiuN/fv2V93FmNGMN6YGMlsoGZGQ/vGSlaf+++sPV4MN4MEwaElle2aTu69+@lists.infradead.org X-Gm-Message-State: AOJu0YyIbG3kz+SKc2z8HF+EZUfh1rth+0iDFXA1kfBR/bObDnhZ5aL3 NjLDvL1RZsDBktLQS+XjSF+h7RGAlJSJAlv7XWLN/RLR9jfyzOfyuSKcGQ== X-Google-Smtp-Source: AGHT+IFlyQFZS+UfYD+20DHDyei2k23aABbj97DIbeDrNJlDAanRZEcPT/DiA0tbzRNLr8RropWN8Q== X-Received: by 2002:a05:6a20:d501:b0:1cf:9ac1:7b30 with SMTP id adf61e73a8af0-1d4d4b86011mr2672862637.39.1727248921664; Wed, 25 Sep 2024 00:22:01 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.21.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:22:01 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Konrad Dybcio , Nick Chan Subject: [PATCH v5 17/20] arm64: dts: apple: Add A10 devices Date: Wed, 25 Sep 2024 15:18:15 +0800 Message-ID: <20240925071939.6107-18-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002202_716659_D23979D4 X-CRM114-Status: GOOD ( 17.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Konrad Dybcio Add DTS files for the A10 SoC and the following devices based on it: - iPhone 7 - iPhone 7 Plus - iPod touch 7 - iPad 6 - iPad 7 Signed-off-by: Konrad Dybcio [Nick: SMP, m1n1 and AOP pinctrl support] Co-developed-by: Nick Chan Signed-off-by: Nick Chan --- arch/arm64/boot/dts/apple/Makefile | 9 ++ arch/arm64/boot/dts/apple/t8010-7.dtsi | 47 ++++++ arch/arm64/boot/dts/apple/t8010-d10.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-d101.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-d11.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-d111.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-ipad6.dtsi | 47 ++++++ arch/arm64/boot/dts/apple/t8010-ipad7.dtsi | 15 ++ arch/arm64/boot/dts/apple/t8010-j171.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-j172.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-j71b.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-j72b.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-n112.dts | 50 ++++++ arch/arm64/boot/dts/apple/t8010.dtsi | 167 +++++++++++++++++++++ 14 files changed, 447 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/t8010-7.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-d10.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d101.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d11.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d111.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-ipad6.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-ipad7.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-j171.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j172.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j71b.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j72b.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-n112.dts create mode 100644 arch/arm64/boot/dts/apple/t8010.dtsi diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile index f8cd10889d9f..4a7002e289a0 100644 --- a/arch/arm64/boot/dts/apple/Makefile +++ b/arch/arm64/boot/dts/apple/Makefile @@ -32,6 +32,15 @@ dtb-$(CONFIG_ARCH_APPLE) += s8001-j127.dtb dtb-$(CONFIG_ARCH_APPLE) += s8001-j128.dtb dtb-$(CONFIG_ARCH_APPLE) += s8001-j98a.dtb dtb-$(CONFIG_ARCH_APPLE) += s8001-j99a.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-d101.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-d10.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-d111.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-d11.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-j171.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-j172.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-j71b.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-j72b.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-n112.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb diff --git a/arch/arm64/boot/dts/apple/t8010-7.dtsi b/arch/arm64/boot/dts/apple/t8010-7.dtsi new file mode 100644 index 000000000000..2739e2db4be7 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8010-7.dtsi @@ -0,0 +1,47 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 7 / 7 Plus common device tree + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "t8010.dtsi" +#include + +/ { + chassis-type = "handset"; + + gpio-keys { + compatible = "gpio-keys"; + + button-power { + label = "Power Button"; + gpios = <&pinctrl_ap 179 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl_ap 180 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl_ap 23 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + switch-mute { + label = "Mute Switch"; + gpios = <&pinctrl_ap 86 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t8010-d10.dts b/arch/arm64/boot/dts/apple/t8010-d10.dts new file mode 100644 index 000000000000..39cdd12db6bf --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8010-d10.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 7 (Qualcomm), D10, iPhone9,1 (A1660/A1778/A1779/A1780) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8010-7.dtsi" + +/ { + compatible = "apple,d10", "apple,t8010", "apple,arm-platform"; + model = "Apple iPhone 7 (Qualcomm)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8010-d101.dts b/arch/arm64/boot/dts/apple/t8010-d101.dts new file mode 100644 index 000000000000..6a9f0856f930 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8010-d101.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 7 (Intel), D101, iPhone9,3 (A1660/A1778/A1779/A1780) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8010-7.dtsi" + +/ { + compatible = "apple,d101", "apple,t8010", "apple,arm-platform"; + model = "Apple iPhone 7 (Intel)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8010-d11.dts b/arch/arm64/boot/dts/apple/t8010-d11.dts new file mode 100644 index 000000000000..57e41c2cfbe2 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8010-d11.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 7 Plus (Qualcomm), D11, iPhone9,2 (A1661/A1784/A1785/A1786) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8010-7.dtsi" + +/ { + compatible = "apple,d11", "apple,t8010", "apple,arm-platform"; + model = "Apple iPhone 7 Plus (Qualcomm)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8010-d111.dts b/arch/arm64/boot/dts/apple/t8010-d111.dts new file mode 100644 index 000000000000..37e395a48c1d --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8010-d111.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 7 Plus (Intel), D111, iPhone9,4 (A1661/A1784/A1785/A1786) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8010-7.dtsi" + +/ { + compatible = "apple,d111", "apple,t8010", "apple,arm-platform"; + model = "Apple iPhone 7 Plus (Intel)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8010-ipad6.dtsi b/arch/arm64/boot/dts/apple/t8010-ipad6.dtsi new file mode 100644 index 000000000000..7ad3d6373083 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8010-ipad6.dtsi @@ -0,0 +1,47 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 6 common device tree + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "t8010.dtsi" +#include + +/ { + chassis-type = "tablet"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl_ap 180 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl_ap 179 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl_ap 89 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl_ap 90 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t8010-ipad7.dtsi b/arch/arm64/boot/dts/apple/t8010-ipad7.dtsi new file mode 100644 index 000000000000..ea2728bdd47a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8010-ipad7.dtsi @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 7 common device tree + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "t8010.dtsi" + +/* + * The iPad 7 seems to be only an iteration over the iPad 6 with some small changes, like the + * a bigger screen and 1 GiB of RAM more, hence there is little to no differentiation between + * these 2 generations for now. + */ +#include "t8010-ipad6.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8010-j171.dts b/arch/arm64/boot/dts/apple/t8010-j171.dts new file mode 100644 index 000000000000..6751bf3a4afd --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8010-j171.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 7 (Wi-Fi), J171, iPad7,11 (A2197) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8010-ipad7.dtsi" + +/ { + compatible = "apple,j171", "apple,t8010", "apple,arm-platform"; + model = "Apple iPad 7 (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8010-j172.dts b/arch/arm64/boot/dts/apple/t8010-j172.dts new file mode 100644 index 000000000000..51aaa950acd9 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8010-j172.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 7 (Cellular), J172, iPad7,12 (A2198/A2200) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8010-ipad7.dtsi" + +/ { + compatible = "apple,j172", "apple,t8010", "apple,arm-platform"; + model = "Apple iPad 7 (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8010-j71b.dts b/arch/arm64/boot/dts/apple/t8010-j71b.dts new file mode 100644 index 000000000000..534eb8413e08 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8010-j71b.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 6 (Wi-Fi), J71b, iPad7,5 (A1893) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8010-ipad6.dtsi" + +/ { + compatible = "apple,j71b", "apple,t8010", "apple,arm-platform"; + model = "Apple iPad 6 (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8010-j72b.dts b/arch/arm64/boot/dts/apple/t8010-j72b.dts new file mode 100644 index 000000000000..264924e41f42 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8010-j72b.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 6 (Cellular), J72b, iPad7,6 (A1954) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8010-ipad6.dtsi" + +/ { + compatible = "apple,j72b", "apple,t8010", "apple,arm-platform"; + model = "Apple iPad 6 (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8010-n112.dts b/arch/arm64/boot/dts/apple/t8010-n112.dts new file mode 100644 index 000000000000..94b67bf5cf64 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8010-n112.dts @@ -0,0 +1,50 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPod touch 7, N112, iPod9,1 (A2178) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8010.dtsi" +#include + +/ { + compatible = "apple,n112", "apple,t8010", "apple,arm-platform"; + model = "Apple iPod touch 7"; + chassis-type = "handset"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl_ap 86 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl_ap 179 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl_ap 180 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl_ap 23 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t8010.dtsi b/arch/arm64/boot/dts/apple/t8010.dtsi new file mode 100644 index 000000000000..926a0f501477 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8010.dtsi @@ -0,0 +1,167 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Apple T8010 "A10" SoC + * + * Copyright (c) 2022, Konrad Dybcio + * Based on Asahi Linux's M1 (t8103.dtsi) and Corellium's A10 efforts. + */ + +#include +#include +#include +#include + +/ { + interrupt-parent = <&aic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &serial0; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "serial0"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; + + clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "clkref"; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "apple,hurricane-zephyr"; + reg = <0x0 0x0>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu1: cpu@1 { + compatible = "apple,hurricane-zephyr"; + reg = <0x0 0x1>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + }; + + memory@800000000 { + device_type = "memory"; + reg = <0x8 0 0 0>; /* To be filled by loader */ + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * The bootloader reserves a region for the (varying-address, depending + * on what FW your device runs AND model) framebuffer under this node. + */ + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + nonposted-mmio; + ranges; + + serial0: serial@20a0c0000 { + compatible = "apple,s5l-uart"; + reg = <0x2 0x0a0c0000 0x0 0x4000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + /* Use the bootloader-enabled clocks for now. */ + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + status = "disabled"; + }; + + aic: interrupt-controller@20e100000 { + compatible = "apple,t8010-aic", "apple,aic"; + reg = <0x2 0x0e100000 0x0 0x100000>; + #interrupt-cells = <3>; + interrupt-controller; + }; + + pinctrl_ap: pinctrl@20f100000 { + compatible = "apple,t8010-pinctrl", "apple,pinctrl"; + reg = <0x2 0x0f100000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_ap 0 0 208>; + apple,npins = <208>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + pinctrl_aop: pinctrl@2100f0000 { + compatible = "apple,t8010-pinctrl", "apple,pinctrl"; + reg = <0x2 0x100f0000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_aop 0 0 42>; + apple,npins = <42>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + wdt: watchdog@2102b0000 { + compatible = "apple,t8010-wdt", "apple,wdt"; + reg = <0x2 0x102b0000 0x0 0x4000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = ; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&aic>; + interrupt-names = "phys", "virt"; + /* Note that A10 doesn't actually have a hypervisor (EL2 is not implemented). */ + interrupts = , + ; + }; +}; From patchwork Wed Sep 25 07:18:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811750 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D3AB6C369A4 for ; Wed, 25 Sep 2024 07:43:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rfUOSGh3pPERF4l//XzS1dlj9PxGJ9eyoQTy2F1aJ0g=; b=1tZqtpHWAkDfOvdrOmPymLRn/m 1jscO/XxpHd4M77TVVMLrWX+V9TNvb1fx9wPBbV1IwhpiEcP04kyJPs1QxgicG8GSEjn3lA3LIBr7 KrS2Bv3uFMll+rh9RRBWPJ2T4lldLcXb/b4xP2JY2FKZQsNtWenwnvZbKzkOY9BKcQwhyuQFiyKkQ 3+nFzb6z5u4YaJik9KRymH64jiett5/COmjpqcd6cHf8M8uO7pd2Z/594SmV/UxCMiOOXKgjb0wfw 5qn58GWmY11vTtifClTJIQoPzln9yxCu4QhDyNa3qRfl9JAaH/2GPIWkOeHsOL02e7z7EJM4SNp7h +MpKFrIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMg8-00000004Mwu-32KW; Wed, 25 Sep 2024 07:43:16 +0000 Received: from mail-oi1-x235.google.com ([2607:f8b0:4864:20::235]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMLf-00000004Izd-2qh5 for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:22:09 +0000 Received: by mail-oi1-x235.google.com with SMTP id 5614622812f47-3e03b6d99c3so3103957b6e.0 for ; Wed, 25 Sep 2024 00:22:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248926; x=1727853726; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rfUOSGh3pPERF4l//XzS1dlj9PxGJ9eyoQTy2F1aJ0g=; b=bhAlu0XXqZWvLYXYCCkPDfGp8KKFWQWkNcNz7daLQS4KsXyhEos41xJr/oMZCBnp+M 7JYmT1qdFo8uGCxAEJDDG4Sm5rL4eISfGwNzYX3gSOQXXfcjvX+Z80TP8PVnXUQnuHK+ 6sV8lTV7CATnswX1cSmz6mRKvtJD8KHfa4Kw/1u6Ix/k5ilRoFjjXR3XDTf2xOZutGIu M+ZqL7NX6ykU7g/BSMfl//+ukAUtK1eM3+k6FBASXIJG0ymSVFOqR/e9Oy2PCJ4YO/CN NyUOYvXS0E1gDDysun3DqTSGMoIyvsfAFLz0nGo89JsnCsxM81GIKaIBWDrgAHFlY8zC ARVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248926; x=1727853726; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rfUOSGh3pPERF4l//XzS1dlj9PxGJ9eyoQTy2F1aJ0g=; b=Ipu+RZDyGdfmFmDlnjmil4P7gotrOogKn1a6kEMfJ3irgL0CyuFwNyQPwM7mfuUdsW oiDa0LhAJ6QuEdol23MRLRole4a2QAM+rTh7kJPJiMwLHZF96z7rPogkIC5Zf8n/XoCV qUjl+FOSY4ULzUPjiCP+UiYcIeudFM47ehmlwSVUhDdhRDfVKiwxuH3ll6+wWVYk2Isc h1eLq1lL5e6A1nB+rWRMVLuIemEbSDyAjQiJSEyRskWHvIFgHmX0MAiz4janoryxW7jB YtQB0OAqomwp9P8W0i0kqEN2shmSUEXaYFyWGQsUQdUHV6lkgE9FFDu5ugQSwLSeN0fY vB6g== X-Forwarded-Encrypted: i=1; AJvYcCUk7LdsRuYS4kNyyvrzq6hoY/Zw/QcmNbtjO/DYQk4/+rJHjtRj7X62YH7fPKexoPIsrWBomQVFRGBMFZN5egte@lists.infradead.org X-Gm-Message-State: AOJu0YyliTeyP1HhEtobAukVwZZC6jB5ccYrE1VkDKm8neP5SBJ/I2ew J91P5YXuORzL4x6S7qvgZ5HhLDWtmd2Q3+MqSaMpduVrMpK3uWNO X-Google-Smtp-Source: AGHT+IHAUTP35mHXx3RrmMlyv5pHlfkvwj8zWnGr1nClMRcIdKQkEDBbk0wMb4QzM86kwasUHHfRJg== X-Received: by 2002:a05:6808:150f:b0:3db:1b29:f28f with SMTP id 5614622812f47-3e29b790039mr1152700b6e.24.1727248926549; Wed, 25 Sep 2024 00:22:06 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.22.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:22:06 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Konrad Dybcio , Nick Chan Subject: [PATCH v5 18/20] arm64: dts: apple: Add A10X devices Date: Wed, 25 Sep 2024 15:18:16 +0800 Message-ID: <20240925071939.6107-19-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002207_752157_DC11F6B4 X-CRM114-Status: GOOD ( 18.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Konrad Dybcio Add DTS files for the A10X SoC and the following devices based on it: - Apple TV 4K - iPad Pro (2nd Generation) (10.5 Inch) - iPad Pro (2nd Generation) (12.9 Inch) Signed-off-by: Konrad Dybcio [Nick: SMP, m1n1 and Apple TV 4K support, uart interrupt and pinctrl fixes] Co-developed-by: Nick Chan Signed-off-by: Nick Chan --- arch/arm64/boot/dts/apple/Makefile | 5 + arch/arm64/boot/dts/apple/t8011-j105a.dts | 15 ++ arch/arm64/boot/dts/apple/t8011-j120.dts | 14 ++ arch/arm64/boot/dts/apple/t8011-j121.dts | 14 ++ arch/arm64/boot/dts/apple/t8011-j207.dts | 14 ++ arch/arm64/boot/dts/apple/t8011-j208.dts | 14 ++ arch/arm64/boot/dts/apple/t8011-pro2.dtsi | 47 ++++++ arch/arm64/boot/dts/apple/t8011.dtsi | 175 ++++++++++++++++++++++ 8 files changed, 298 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/t8011-j105a.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j120.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j121.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j207.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j208.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-pro2.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8011.dtsi diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile index 4a7002e289a0..a44c14fae7bc 100644 --- a/arch/arm64/boot/dts/apple/Makefile +++ b/arch/arm64/boot/dts/apple/Makefile @@ -41,6 +41,11 @@ dtb-$(CONFIG_ARCH_APPLE) += t8010-j172.dtb dtb-$(CONFIG_ARCH_APPLE) += t8010-j71b.dtb dtb-$(CONFIG_ARCH_APPLE) += t8010-j72b.dtb dtb-$(CONFIG_ARCH_APPLE) += t8010-n112.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j105a.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j120.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j121.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j207.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j208.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb diff --git a/arch/arm64/boot/dts/apple/t8011-j105a.dts b/arch/arm64/boot/dts/apple/t8011-j105a.dts new file mode 100644 index 000000000000..4efd02725963 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8011-j105a.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple TV 4K (1st Generation), J105a, AppleTV6,2 (A1482) + * Copyright (c) 2024, Nick Chan + */ + +/dts-v1/; + +#include "t8011.dtsi" + +/ { + compatible = "apple,j105a", "apple,t8011", "apple,arm-platform"; + model = "Apple TV 4K (1st Generation)"; + chassis-type = "television"; +}; diff --git a/arch/arm64/boot/dts/apple/t8011-j120.dts b/arch/arm64/boot/dts/apple/t8011-j120.dts new file mode 100644 index 000000000000..a620d8aaf468 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8011-j120.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro 2 (12.9-inch) (Wi-Fi), J120, iPad7,1 (A1670) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8011-pro2.dtsi" + +/ { + compatible = "apple,j120", "apple,t8011", "apple,arm-platform"; + model = "Apple iPad Pro 2 (12.9-inch) (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8011-j121.dts b/arch/arm64/boot/dts/apple/t8011-j121.dts new file mode 100644 index 000000000000..dfec25f7d54a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8011-j121.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro 2 (12.9-inch) (Cellular), J121, iPad7,2 (A1671) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8011-pro2.dtsi" + +/ { + compatible = "apple,j121", "apple,t8011", "apple,arm-platform"; + model = "Apple iPad Pro 2 (12.9-inch) (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8011-j207.dts b/arch/arm64/boot/dts/apple/t8011-j207.dts new file mode 100644 index 000000000000..12582bfe7532 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8011-j207.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro 2 (10.5-inch) (Wi-Fi), J207, iPad7,3 (A1701) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8011-pro2.dtsi" + +/ { + compatible = "apple,j207", "apple,t8011", "apple,arm-platform"; + model = "Apple iPad Pro 2 (10.5-inch) (Wi-Fi)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8011-j208.dts b/arch/arm64/boot/dts/apple/t8011-j208.dts new file mode 100644 index 000000000000..c0cd18e0ab18 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8011-j208.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro 2 (10.5-inch) (Cellular), J208, iPad7,4 (A1709) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8011-pro2.dtsi" + +/ { + compatible = "apple,j208", "apple,t8011", "apple,arm-platform"; + model = "Apple iPad Pro 2 (10.5-inch) (Cellular)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8011-pro2.dtsi b/arch/arm64/boot/dts/apple/t8011-pro2.dtsi new file mode 100644 index 000000000000..9f681dd9d463 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8011-pro2.dtsi @@ -0,0 +1,47 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro 2 common device tree + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "t8011.dtsi" +#include + +/ { + chassis-type = "tablet"; + + gpio-keys { + compatible = "gpio-keys"; + + button-home { + label = "Home Button"; + gpios = <&pinctrl_ap 139 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-power { + label = "Power Button"; + gpios = <&pinctrl_ap 138 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + + button-voldown { + label = "Volume Down"; + gpios = <&pinctrl_ap 43 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + button-volup { + label = "Volume Up"; + gpios = <&pinctrl_ap 40 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t8011.dtsi b/arch/arm64/boot/dts/apple/t8011.dtsi new file mode 100644 index 000000000000..e9f7d54893fe --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8011.dtsi @@ -0,0 +1,175 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple T8011 "A10X" SoC + * + * Copyright (c) 2022, Konrad Dybcio + * Based on Asahi Linux's M1 (t8103.dtsi) and Corellium's A10 efforts. + */ + +#include +#include +#include +#include + +/ { + interrupt-parent = <&aic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &serial0; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "serial0"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; + + clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "clkref"; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "apple,hurricane-zephyr"; + reg = <0x0 0x0>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu1: cpu@1 { + compatible = "apple,hurricane-zephyr"; + reg = <0x0 0x1>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu2: cpu@2 { + compatible = "apple,hurricane-zephyr"; + reg = <0x0 0x2>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + }; + + memory@800000000 { + device_type = "memory"; + reg = <0x8 0 0 0>; /* To be filled by loader */ + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * The bootloader reserves a region for the (varying-address, depending + * on what FW your device runs AND model) framebuffer under this node. + */ + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + nonposted-mmio; + ranges; + + serial0: serial@20a0c0000 { + compatible = "apple,s5l-uart"; + reg = <0x2 0x0a0c0000 0x0 0x4000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + /* Use the bootloader-enabled clocks for now. */ + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + status = "disabled"; + }; + + aic: interrupt-controller@20e100000 { + compatible = "apple,t8010-aic", "apple,aic"; + reg = <0x2 0x0e100000 0x0 0x100000>; + #interrupt-cells = <3>; + interrupt-controller; + }; + + pinctrl_ap: pinctrl@20f100000 { + compatible = "apple,t8010-pinctrl", "apple,pinctrl"; + reg = <0x2 0x0f100000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_ap 0 0 219>; + apple,npins = <219>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + pinctrl_aop: pinctrl@2100f0000 { + compatible = "apple,t8010-pinctrl", "apple,pinctrl"; + reg = <0x2 0x100f0000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_aop 0 0 42>; + apple,npins = <42>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + wdt: watchdog@2102b0000 { + compatible = "apple,t8010-wdt", "apple,wdt"; + reg = <0x2 0x102b0000 0x0 0x4000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = ; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&aic>; + interrupt-names = "phys", "virt"; + /* Note that A10X doesn't actually have a hypervisor (EL2 is not implemented). */ + interrupts = , + ; + }; +}; From patchwork Wed Sep 25 07:18:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811751 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A3C98C369A7 for ; Wed, 25 Sep 2024 07:44:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BbBY9aKxwBwO+dv7P65Zv7bGyM0waEH+w3/C1Oh6LY4=; b=zUqpYdvayKKeR79qKUTtmObjqQ lXu5rJOE3KWtm640bfJvA/zxB1oXT3y5ddpVgU/yfI3CqDNNJGc8h0WKZnosm/P/PTWehDZpgX40m LQ0T3PMr3x9ZY4kbP0pq5JQTCPHSJ0hrmCwAyqrAT8gG//uHvSu5fnuZ0xnTFIK0t5jMBWlLTJoUZ y2p8l8fTbCgNVU4a3joPzZgJuF+22sJg5hcALmcmXBp046W7b7+sbHBVD1MwEYkXjgxN7Ipp1frMt jcs3G8iZl2aNbSeBTMn72s/+gSxb18pwhzG1K1wowuvZ5K8cqCI3FXUo8xUWU93PHZ53d45LskL2c KPrZQIbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMhG-00000004NAJ-0GaD; Wed, 25 Sep 2024 07:44:26 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMLm-00000004J1R-0NEL for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:22:15 +0000 Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-7d7a9200947so4069386a12.3 for ; Wed, 25 Sep 2024 00:22:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248933; x=1727853733; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BbBY9aKxwBwO+dv7P65Zv7bGyM0waEH+w3/C1Oh6LY4=; b=klhXwPZC1OTED2V8rH9LB6FxAlbr1oZY3kUMfbnBMRnQlhc3siebUIxm+xjQBsPi9Y 09p1Jyph1Ayy2MG0nVtZ64QnuUDLboiUTrl3aLmWB9xVTYqBljxndjyeg9LQEe9oteu4 ZmSHFkOxwooLRzf4yIkq3tFx4HS6D9EVG07xWHG8mGIdBKTbv5+fI9bqHTtLTvYqzK50 wcF3SK49x4nb5ZXoNkz3UsnGpIyZLUvUdVcXb9UQlDKsWyzQRYM12lmKk6fgU+UAsJ46 L7ckdgyjeoR8auoksflxeF4yOzELoHMDtSLtb5WAy+Ml0ykN1GDt+Q8NHgR7ERVOFfBP ayjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248933; x=1727853733; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BbBY9aKxwBwO+dv7P65Zv7bGyM0waEH+w3/C1Oh6LY4=; b=vv8oYD453AX9by19GhEUCYZO5BGW/kmjcFlm38l6ztYWVSj4arSd3UDfkv0fGuyx+J YL+Tbty6reTWo+wTXSfvxh6+ZpfTWEmRMxPzeJg4Z8DMmoiqNWgH3sxRFvbCUtit7xmI 1vlcE0kKEAoC7XpaWpo4Vn7gQfrqSFf3U7kXrm/V9Dcudg8+X7+8jKeXcvgKqZs9BOqp mvZmSeQ2eeYsVB0KOCUUzwyPZ9lr1bkYD/hwPtsdL4j0j0wKUYWHCLXk2jIR4gXfEjcy w9xNEbBgJnzudWWs+S8SCnacp6ygssN9CDvk0F4YvoQu8UurA0OgV73prckOXgze04Fm mT6A== X-Forwarded-Encrypted: i=1; AJvYcCUCIKpJU1weqwl7j+ebBSgPAPLEelFU+rS237VtgPEZL1r/4A3vWJY4KwJxu+xr8qNt9xyahiAa5lfB3zpiBIfU@lists.infradead.org X-Gm-Message-State: AOJu0Yx3fLNUXA0ykF/vOTiXcqh1ZbKw+JymUpO7ovsZnJRNjX+D7ydQ Lts/nTEPWgF5iraqvICN5mAFCfv6O0sYk2EJ4rMlbW4/MpsEmVc1 X-Google-Smtp-Source: AGHT+IGj8dcr9i4FFRQOzjOMQCT84AVxDs2CE5dMGMg6UtTKya1/K883OnFURNzantI13xg1oyquCQ== X-Received: by 2002:a05:6a20:b40b:b0:1cf:50ce:58cb with SMTP id adf61e73a8af0-1d4e0bad15cmr2354839637.43.1727248933202; Wed, 25 Sep 2024 00:22:13 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.22.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:22:12 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Konrad Dybcio , Nick Chan Subject: [PATCH v5 19/20] arm64: dts: apple: Add A11 devices Date: Wed, 25 Sep 2024 15:18:17 +0800 Message-ID: <20240925071939.6107-20-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002214_142470_D316CDCC X-CRM114-Status: GOOD ( 18.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Konrad Dybcio Add DTS files for the A11 SoC and the following devices based on it: - iPhone 8 - iPhone 8 Plus - iPhone X On A11, Apple has introduced independent performance and efficiency core clusters, so indicate it in the device tree as well. Signed-off-by: Konrad Dybcio [Nick: SMP and m1n1 support, disabled SMC pinctrl] Co-developed-by: Nick Chan Signed-off-by: Nick Chan --- arch/arm64/boot/dts/apple/Makefile | 6 + arch/arm64/boot/dts/apple/t8015-8.dtsi | 16 ++ arch/arm64/boot/dts/apple/t8015-8plus.dtsi | 9 + arch/arm64/boot/dts/apple/t8015-d20.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d201.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d21.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d211.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d22.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d221.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-x.dtsi | 16 ++ arch/arm64/boot/dts/apple/t8015.dtsi | 268 +++++++++++++++++++++ 11 files changed, 399 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/t8015-8.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-8plus.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-d20.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d201.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d21.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d211.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d22.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d221.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-x.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015.dtsi diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile index a44c14fae7bc..ab6ebb53218a 100644 --- a/arch/arm64/boot/dts/apple/Makefile +++ b/arch/arm64/boot/dts/apple/Makefile @@ -46,6 +46,12 @@ dtb-$(CONFIG_ARCH_APPLE) += t8011-j120.dtb dtb-$(CONFIG_ARCH_APPLE) += t8011-j121.dtb dtb-$(CONFIG_ARCH_APPLE) += t8011-j207.dtb dtb-$(CONFIG_ARCH_APPLE) += t8011-j208.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8015-d201.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8015-d20.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8015-d211.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8015-d21.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8015-d221.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8015-d22.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb diff --git a/arch/arm64/boot/dts/apple/t8015-8.dtsi b/arch/arm64/boot/dts/apple/t8015-8.dtsi new file mode 100644 index 000000000000..cac1d47285a1 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8015-8.dtsi @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 8 common device tree + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "t8015.dtsi" + +/ { + chassis-type = "handset"; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t8015-8plus.dtsi b/arch/arm64/boot/dts/apple/t8015-8plus.dtsi new file mode 100644 index 000000000000..ea291a95f028 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8015-8plus.dtsi @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 8 Plus common device tree + * + * Copyright (c) 2022, Konrad Dybcio + */ + +/* The 8 Plus has minor differences like 1 more camera, 1 GiB of RAM more and a bigger display. */ +#include "t8015-8.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8015-d20.dts b/arch/arm64/boot/dts/apple/t8015-d20.dts new file mode 100644 index 000000000000..35d79e2ceebc --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8015-d20.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 8 (Global), D20 iPhone10,1 (A1863/A1906/A1907) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8015-8.dtsi" + +/ { + compatible = "apple,d20", "apple,t8015", "apple,arm-platform"; + model = "Apple iPhone 8 (Global)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8015-d201.dts b/arch/arm64/boot/dts/apple/t8015-d201.dts new file mode 100644 index 000000000000..31e0947fee70 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8015-d201.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 8 (GSM), D20 iPhone10,4 (A1905) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8015-8.dtsi" + +/ { + compatible = "apple,d201", "apple,t8015", "apple,arm-platform"; + model = "Apple iPhone 8 (GSM)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8015-d21.dts b/arch/arm64/boot/dts/apple/t8015-d21.dts new file mode 100644 index 000000000000..a902ba7f1133 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8015-d21.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 8 Plus (Global), D21 iPhone10,2 (A1864/A1897/A1898) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8015-8plus.dtsi" + +/ { + compatible = "apple,d21", "apple,t8015", "apple,arm-platform"; + model = "Apple iPhone 8 Plus (Global)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8015-d211.dts b/arch/arm64/boot/dts/apple/t8015-d211.dts new file mode 100644 index 000000000000..3b3f886c0c09 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8015-d211.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 8 Plus (GSM), D211 iPhone10,5 (A1899) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8015-8plus.dtsi" + +/ { + compatible = "apple,d211", "apple,t8015", "apple,arm-platform"; + model = "Apple iPhone 8 Plus (GSM)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8015-d22.dts b/arch/arm64/boot/dts/apple/t8015-d22.dts new file mode 100644 index 000000000000..5a7a6092c2d0 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8015-d22.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone X (Global), D22, iPhone10,3 (A1865) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8015-x.dtsi" + +/ { + compatible = "apple,d22", "apple,t8015", "apple,arm-platform"; + model = "Apple iPhone X (Global)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8015-d221.dts b/arch/arm64/boot/dts/apple/t8015-d221.dts new file mode 100644 index 000000000000..dd920c945bd6 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8015-d221.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone X (GSM), D221, iPhone10,6 (A1901) + * Copyright (c) 2022, Konrad Dybcio + */ + +/dts-v1/; + +#include "t8015-x.dtsi" + +/ { + compatible = "apple,d221", "apple,t8015", "apple,arm-platform"; + model = "Apple iPhone X (GSM)"; +}; diff --git a/arch/arm64/boot/dts/apple/t8015-x.dtsi b/arch/arm64/boot/dts/apple/t8015-x.dtsi new file mode 100644 index 000000000000..afba4944656b --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8015-x.dtsi @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone X common device tree + * + * Copyright (c) 2022, Konrad Dybcio + */ + +#include "t8015.dtsi" + +/ { + chassis-type = "handset"; +}; + +&serial0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t8015.dtsi b/arch/arm64/boot/dts/apple/t8015.dtsi new file mode 100644 index 000000000000..ceb245e270b3 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8015.dtsi @@ -0,0 +1,268 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple T8015 "A11" SoC + * + * Copyright (c) 2022, Konrad Dybcio + * Based on Asahi Linux's M1 (t8103.dtsi) and Corellium's A10 efforts. + */ + +#include +#include +#include +#include + +/ { + interrupt-parent = <&aic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &serial0; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "serial0"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; + + clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "clkref"; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu-map { + cluster0 { + core0 { + cpu = <&cpu_e0>; + }; + core1 { + cpu = <&cpu_e1>; + }; + core2 { + cpu = <&cpu_e2>; + }; + core3 { + cpu = <&cpu_e3>; + }; + }; + + cluster1 { + core0 { + cpu = <&cpu_p0>; + }; + core1 { + cpu = <&cpu_p1>; + }; + }; + }; + + cpu_e0: cpu@0 { + compatible = "apple,mistral"; + reg = <0x0 0x0>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu_e1: cpu@1 { + compatible = "apple,mistral"; + reg = <0x0 0x1>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu_e2: cpu@2 { + compatible = "apple,mistral"; + reg = <0x0 0x2>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu_e3: cpu@3 { + compatible = "apple,mistral"; + reg = <0x0 0x3>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu_p0: cpu@10004 { + compatible = "apple,monsoon"; + reg = <0x0 0x10004>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + + cpu_p1: cpu@10005 { + compatible = "apple,monsoon"; + reg = <0x0 0x10005>; + cpu-release-addr = <0 0>; /* To be filled by loader */ + enable-method = "spin-table"; + device_type = "cpu"; + }; + }; + + memory@800000000 { + device_type = "memory"; + reg = <0x8 0 0 0>; /* To be filled by loader */ + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * The bootloader reserves a region for the (varying-address, depending + * on what FW your device runs AND model) framebuffer under this node. + */ + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + nonposted-mmio; + ranges; + + serial0: serial@22e600000 { + compatible = "apple,s5l-uart"; + reg = <0x2 0x2e600000 0x0 0x4000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + /* Use the bootloader-enabled clocks for now. */ + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + status = "disabled"; + }; + + aic: interrupt-controller@232100000 { + compatible = "apple,t8015-aic", "apple,aic"; + reg = <0x2 0x32100000 0x0 0x8000>; + #interrupt-cells = <3>; + interrupt-controller; + }; + + pinctrl_ap: pinctrl@233100000 { + compatible = "apple,t8015-pinctrl", "apple,pinctrl"; + reg = <0x2 0x33100000 0x0 0x1000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_ap 0 0 223>; + apple,npins = <223>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + pinctrl_aop: pinctrl@2340f0000 { + compatible = "apple,t8015-pinctrl", "apple,pinctrl"; + reg = <0x2 0x340f0000 0x0 0x4000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_aop 0 0 49>; + apple,npins = <49>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + pinctrl_nub: pinctrl@2351f0000 { + compatible = "apple,t8015-pinctrl", "apple,pinctrl"; + reg = <0x2 0x351f0000 0x0 0x4000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_nub 0 0 8>; + apple,npins = <8>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + ; + }; + + wdt: watchdog@2352b0000 { + compatible = "apple,t8015-wdt", "apple,wdt"; + reg = <0x2 0x352b0000 0x0 0x4000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = ; + }; + + pinctrl_smc: pinctrl@236024000 { + compatible = "apple,t8015-pinctrl", "apple,pinctrl"; + reg = <0x2 0x36024000 0x0 0x4000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_smc 0 0 6>; + apple,npins = <6>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + /* + * SMC is not yet supported and accessing this pinctrl while SMC is + * suspended results in a hang. + */ + status = "disabled"; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&aic>; + interrupt-names = "phys", "virt"; + /* Note that A11 doesn't actually have a hypervisor (EL2 is not implemented). */ + interrupts = , + ; + }; +}; From patchwork Wed Sep 25 07:18:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13811756 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5BAD8C369A7 for ; Wed, 25 Sep 2024 07:45:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RRLCqNetYnYWyPf9J2UWD3fLwnbXhpstWw/tgUw9xEY=; b=4Mu6lXLS+h5voP3sVOcSmWviRB eHL6fF3mSQMl2thSSxKigaishu+OmiliXoHJoyVeZ4xCmaQutDAeQcMFVxWShgHx//G8ENgm0+o5k iunB2l+CgW+HIdmtHAle8KSfIt2MPDsLKT6IcZJmvyOZ39Lno4VKfd/wCQmPuBfdOsnQTldW5o5f4 p+QlRMoYTy40SHOgOmq40qnDgbBr0TOkcte4307TBUHf29hLn3mWP5LSppnMmQd4MiZlOMbUmfRVx qshoV1CTXfeg4esdxCUdjI2e/uxBGsi4PPooIR9cEdbSTJqJ7hEcxbHQug376FII0rPo4jAOLvoTu v8IiXjGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stMiN-00000004NK4-2995; Wed, 25 Sep 2024 07:45:35 +0000 Received: from mail-il1-x134.google.com ([2607:f8b0:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stMLr-00000004J2M-1iiB for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 07:22:20 +0000 Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-3a1a90bd015so4254245ab.1 for ; Wed, 25 Sep 2024 00:22:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727248938; x=1727853738; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RRLCqNetYnYWyPf9J2UWD3fLwnbXhpstWw/tgUw9xEY=; b=F793n9vg6orCBj/SGk7angNkMer1KCCZ+1LzS9tnFCTfxFbp72+xgrGK9HK/zCkQI+ vtxRL0I+jWUAXsENeA6w/wV0X2FKT3CUfhzZjWUm1zSjgtkNXyOU7ty7F57wYSwfgeN9 364Vr+Q3dsudwaSMjPlt3PiWmjDGWJCvaLIR79PIl0bN4Vsxw2WiPkIkYQ3ZWUPXlxga 17x9WHN3At4WFSpn320X535/B0VvLpA5WH9DKJDfnZZ0ODN5q7R8r8CaPiI45hPwaFPW e5DKbyAVDt6D+Bmehz0Q8lSsc2GyIAHhyai/Sl7JiN8aLmuYmk5U/5MUBD81ZRbO9/LJ 8dSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727248938; x=1727853738; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RRLCqNetYnYWyPf9J2UWD3fLwnbXhpstWw/tgUw9xEY=; b=BJ3Kutog6K6Zp39CcCKa7PScPj4BHkfWaY0eXHz0Z77C/pGcohQzhtAJB14K8vh846 RqXJpjrz70l8sIkk/lYn/9Lj8z8zsRobcJQcfZIu779M3pQfLLYj3YqpniKdtqG2X0dt n9r/P6UnwGjUiTexiQZ0Ot1zy8h91UObjF01QeII6YtQObdeZIZnesbUC6ELvZLhBE39 yBubHrcqlslICAZcjl0YlqKQ1Zerwcj/l/TZqxVGRXTLYLRrfLSvy+BAgLlQkK0wrRvN BSReYDsyYbsyleypXO41LJaoP/u3f6yuJGYqEVyikSpFcZbDuHjxzAQvPBObjvJJ0Rt5 lBbQ== X-Forwarded-Encrypted: i=1; AJvYcCWNzHOy695Q+ff5ZybRTaypiGqJqWHpfYFSeJVxSGfi5v5Ln8LiCxis07zieFpeqXot/cwz6572U14xh580K+pm@lists.infradead.org X-Gm-Message-State: AOJu0Yyye3ZwOONPKdyJWzCWTk3sO3eutPT91BtbbrxTiEHnZUdvMicX EgqcENVl2SJAX0PbQegJ9cbx9gJ0ru+Rpz10daSlKRA9YDr3zXbg X-Google-Smtp-Source: AGHT+IETX8CWefdc0Nvnm8SysF1BFeNutZGW8jfx8k39aP+OdRQ7xmONHsOel/oUKonVTdqxPqZEGA== X-Received: by 2002:a92:c546:0:b0:3a0:ab86:928f with SMTP id e9e14a558f8ab-3a26d7f49b7mr18789925ab.26.1727248938543; Wed, 25 Sep 2024 00:22:18 -0700 (PDT) Received: from localhost.localdomain ([49.130.52.78]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c732bdsm2155662a12.63.2024.09.25.00.22.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 00:22:18 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Nick Chan , Krzysztof Kozlowski Subject: [PATCH v5 20/20] arm64: Kconfig: Update help text for CONFIG_ARCH_APPLE Date: Wed, 25 Sep 2024 15:18:18 +0800 Message-ID: <20240925071939.6107-21-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240925071939.6107-1-towinchenmi@gmail.com> References: <20240925071939.6107-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_002219_467844_AF02DA8C X-CRM114-Status: GOOD ( 12.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Apple's A7-A11 SoC is now supported, so the original help text is no longer accurate. Acked-by: Krzysztof Kozlowski Signed-off-by: Nick Chan --- arch/arm64/Kconfig.platforms | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 6c6d11536b42..370a9d2b6919 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -37,8 +37,8 @@ config ARCH_APPLE bool "Apple Silicon SoC family" select APPLE_AIC help - This enables support for Apple's in-house ARM SoC family, starting - with the Apple M1. + This enables support for Apple's in-house ARM SoC family, such + as the Apple M1. menuconfig ARCH_BCM bool "Broadcom SoC Support"