From patchwork Wed Aug 21 05:55:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 171914 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp521001ily; Tue, 20 Aug 2019 22:55:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3oIPCL22xyegVGsuRREciCZhjqGGbNghTOjURICEdqr/pyJ9AQhgckohyoSrXanTkkiSx X-Received: by 2002:a62:7d93:: with SMTP id y141mr33910010pfc.164.1566366958140; Tue, 20 Aug 2019 22:55:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566366958; cv=none; d=google.com; s=arc-20160816; b=hZIHvF0vrobjkexOCBE5qWLPwva41KFPh3/ZSpuohWY85xY1RqFX2s8qeWr1IY/D9E 26yLa5mmbg0kyPzBlAkgs63hq/5xdb5zAEqnNG3Eu/xDx1KVS6NdKmiZDoXQ9qy65hOv 1vmiWBnudfL0wHGpawkSCh+MX0DfmylIS893ZC6rk57ASkZBomP3aYgmH/LWqXaaf2Nt 0Q8rnbji9H3q/DUpAhgVsCYADvgRIu9gSyhpcE4E+DlQzeFtJBQHzKzcICG7nUOcpZbM 23T3rlmq7hOQQLIOO7UMUwh/ierszWcJQSg42B0uTD3njhjz3TmeNAx/FK9O8umVW2n0 O//g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GU/N4Wt9Jhh2lg0lHSh02Sw8UrK6gO1IosLXs9dwpEE=; b=JWCoKdXDDLbHt1cmoJ2OqlMyZLFKu99uL+TtRDw3VdQQ9Sm6kyN/XoYd0DyaCbKGbw VZzeqr1CpW+Mkt0QHIvw330NfMYgeVNqWg1e6C6kMNJVNMSwQQB42ARNXG4FfDb6QtQA J9t4zp11CEAoZ0fjcaI20Q87Mh7GDddKTvEa6t/j3zgpSTJ5y1I7hSMHh9o8zofnfGZg PZCdA4C9A9+P9yPEm2AfQ7YOAwS9j90zl5RxkNR6CiAPD5p8HV+kZgXsJmoYLXrsPpkq 3Ztrlu9ZRQ8EgCBGtHvTQVNpKi9HgI0Jo0/9fmMR1gbQE5qwsVAWFqYLcp8BeYdQMyI3 C0yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=hoz2qoe3; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u17si13353469pgg.204.2019.08.20.22.55.57; Tue, 20 Aug 2019 22:55:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=hoz2qoe3; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727348AbfHUFz5 (ORCPT + 8 others); Wed, 21 Aug 2019 01:55:57 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:43292 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725385AbfHUFz5 (ORCPT ); Wed, 21 Aug 2019 01:55:57 -0400 Received: by mail-pl1-f193.google.com with SMTP id 4so710137pld.10 for ; Tue, 20 Aug 2019 22:55:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GU/N4Wt9Jhh2lg0lHSh02Sw8UrK6gO1IosLXs9dwpEE=; b=hoz2qoe3untu7b0I0pmk4wsv6BKU3ONXOAHIsaHWTD9rlV/P6qVSgSH6ykOljr5Ok2 5/33JRU9j+tIizRAndWPCv5eJJSg7a0/NjSjtnrreaG/wf5YiePdJdKJJLcc8jDv96Iv joWkTQrxYsJEfPr8O8zDzdvO7Pyt7qexU9fkUDvjOrLphRVV6LXVi1FXR0rQCO8YWV5z 3TEV9k+I6RIcfTj5vfjAvXcM9Ogl6ihYzXvutvBPnDFnOFEdVsbEqJzcX0kCbNqpto48 nl/EG3gmFE13h4UpL2USBr0aUnM5SvwI7ttsD5YBJOzFfteDkax42w9dgHqipYzdNkW/ rPag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=GU/N4Wt9Jhh2lg0lHSh02Sw8UrK6gO1IosLXs9dwpEE=; b=V2cdpz6AHzpOrAHZHDlTVWtm4Cr59J2CVjKNAYnaLZXw9aeNrLwXSRZhajZPW4/CN0 YN7bNxpn/hcZBG7BVUw1iFELO8WIsKWMCm+Smt7oiqKukCC/E4zfTiqivaDK9S8TkCNw vazAvB5Jn+RwfZN3QouQQ/wn8xHJMBb12hIh3wPPdg9B9qVIEwzyWOnTs/ore+a0SuPF AjUesIFQb/fbQnDtSEjE1PpEolp6mf9UdMy0fR/u5WavURUNdrzGbhooTIXsEC9RpFKS B/boxedR5ZpFIM1ECwMqOMsG1WcaOaQ3obVeaacl3gF8oG+vzJAwjwzTVFQpRd+dHmAW RjdQ== X-Gm-Message-State: APjAAAXU2aeSoaiJ4IEr55MBv+BHgTqVN/QBvk/VVNw/qEWMWU4F976Q pjXRjI7d2bRI+tD+GYSkKRz4UAl5sIA= X-Received: by 2002:a17:902:2ac7:: with SMTP id j65mr32562068plb.242.1566366956589; Tue, 20 Aug 2019 22:55:56 -0700 (PDT) Received: from voyager.ibm.com ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id m9sm26568254pfh.84.2019.08.20.22.55.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 22:55:56 -0700 (PDT) From: Joel Stanley To: Rob Herring , Arnd Bergmann , Olof Johansson Cc: Ryan Chen , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Mark Rutland , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH 1/7] dt-bindings: arm: cpus: Add ASPEED SMP Date: Wed, 21 Aug 2019 15:25:24 +0930 Message-Id: <20190821055530.8720-2-joel@jms.id.au> X-Mailer: git-send-email 2.23.0.rc1 In-Reply-To: <20190821055530.8720-1-joel@jms.id.au> References: <20190821055530.8720-1-joel@jms.id.au> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The AST2600 SoC contains two CPUs and requires the operating system to bring the second one out of firmware. Signed-off-by: Joel Stanley --- Documentation/devicetree/bindings/arm/cpus.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.23.0.rc1 Acked-by: Rob Herring Reviewed-by: Andrew Jeffery diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml index aa40b074b864..727e0ffc702b 100644 --- a/Documentation/devicetree/bindings/arm/cpus.yaml +++ b/Documentation/devicetree/bindings/arm/cpus.yaml @@ -175,6 +175,7 @@ properties: - amlogic,meson8-smp - amlogic,meson8b-smp - arm,realview-smp + - aspeed,ast2600-smp - brcm,bcm11351-cpu-method - brcm,bcm23550 - brcm,bcm2836-smp From patchwork Wed Aug 21 05:55:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 171915 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp521089ily; Tue, 20 Aug 2019 22:56:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqybsXmXcdq1Xy61RxIoo8biMmfpaAzEJa89dr3iiI+CEG5W7/AsRhX6H/KzoTO5m5ppBlWq X-Received: by 2002:a63:1749:: with SMTP id 9mr28426386pgx.0.1566366963475; Tue, 20 Aug 2019 22:56:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566366963; cv=none; d=google.com; s=arc-20160816; b=L9xx+3wFGRUAa9PG5vIlGuzpT2DR+5ZZkwOX8qVEdGsKXhKGuWyG0GM2II3klVLkuP YT6Ouj7NGL4iWDLH+Z0IM2etrkKsKBjBQH5VC+Lje9ul7TZalt/aIOR09sNPiL/B/2WY K9wi84IVitmjeUCfIGoq63D5ggn6axi3UG7k0fQljGRe77uFogjwvlhYIfWSw66B5O4x T15ldLDAH91KT7Ik6S6F3YftQyi7O1xv41ynhI8fVN4R9Od/NOo2ZCIsRu5MMjMM660L P1pIJfApzhQghDJV7mNn6STJzg8X1p8B66DpEhoqdBmiJyT++G4yIXTSzfV2VMKzvtbS 0Wpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LRbutwMNPGCcUP4XySCkZI7pdAkUQ3GbmpQv+hp9+4c=; b=etTU0ySVlOWWmCgGMIPCVO6jjtzNKqStAhFco10z5JdmacTTY85JndlYCpVIg+8d7W +ADqhcHkgKbSBGBhVPyhu/VWCmXfSUxTUDa/lVjcFSVaCmmSc8nrt9AqJ7qCzC/Ul7mB +uXp7KmQihm8YQuh8YzZlzhB6MObW9bZw+MF4Wl0fmnTDtFnW7oFCrTc6cwSSeZIWMQ9 cY1eVAMCKp+MOHNigy2lu1tOpW0jDBWx0xPuHiBDGGc8uJvsaOSwpyrU4oDe7oQajkch GmWaqs+IApZSfV1VgexLx+RkMZnzoqv8YgXFVbBUgeRsOFedduSpTeuO/v2w0XY9CecW 8gJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="N+G/+Kd4"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f23si13630908pga.449.2019.08.20.22.56.03; Tue, 20 Aug 2019 22:56:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="N+G/+Kd4"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727659AbfHUF4C (ORCPT + 8 others); Wed, 21 Aug 2019 01:56:02 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:37451 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725385AbfHUF4B (ORCPT ); Wed, 21 Aug 2019 01:56:01 -0400 Received: by mail-pg1-f193.google.com with SMTP id d1so673903pgp.4 for ; Tue, 20 Aug 2019 22:56:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LRbutwMNPGCcUP4XySCkZI7pdAkUQ3GbmpQv+hp9+4c=; b=N+G/+Kd48L+jZ6o/fh73xp/mvKfke7JJ7JPGZJsuzEWn3YO92SpGNDtMZtXQd1yk7t /TcD60fht7i0+XwrmcNWyPf8WjO/Lv9z9BIzsTbucr5CKKzgIhEgylC2A2JYU/Su6VWi POYuMnJIX+9gfsnoyO5Pdw+hqhI9GTSybTlMGSH4kPlTPUvztTFE/BgZavxTmEjTYoR5 cQpolg/xXw8hm79XwpuSMp435mSrUQoqLq4lYD5Fpitd8fLzl/QdtZp+huD4s+QHoBbU br0eaXacICeU2eSRhyj6TvMghpemugnptuEla8w9XZ2jqeeDp2m4AkV0bHBqxUVxbMZs sKLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=LRbutwMNPGCcUP4XySCkZI7pdAkUQ3GbmpQv+hp9+4c=; b=kY4NxThG/Z36qdkn84rfnSIZff8A+xqK19O1nsXS11rqBiwxKYc6Gk4TXrLolMbwHo cwT8EJx5CcMd0nBboXsQPM0zcZO6VtlXBWHHgAsR05TvFiMCimXwi/34zxavJtCShf/Y r5fTJWkTxLw/R548kdvD6HcX3bCviVA93GLXJCO8MbS5zf9iCgtdjpa9ikVfv3p6MHiv aZM+OIpP3fWLFdmN8clmLTwauatO1coMFjjWRrHCxE7qsjpkhblKVbuO29+9e0hcIPPj vp9KzibyjCv4gXjdPjsjQdGWdNVbDHOm8zqvjXO79z3zfxKrF4NPjM8GCVl440fIDLMu wQvA== X-Gm-Message-State: APjAAAVnSO0H24LV2UTV5RFHo3hDx53NVtYsWgOj1oBbCcwEAVMBZjtJ gjS906Az6RMUIKEvZxSBmz4= X-Received: by 2002:a17:90a:342d:: with SMTP id o42mr3727142pjb.27.1566366960863; Tue, 20 Aug 2019 22:56:00 -0700 (PDT) Received: from voyager.ibm.com ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id m9sm26568254pfh.84.2019.08.20.22.55.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 22:56:00 -0700 (PDT) From: Joel Stanley To: Rob Herring , Arnd Bergmann , Olof Johansson Cc: Ryan Chen , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Mark Rutland , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH 2/7] ARM: aspeed: Select timer in each SoC Date: Wed, 21 Aug 2019 15:25:25 +0930 Message-Id: <20190821055530.8720-3-joel@jms.id.au> X-Mailer: git-send-email 2.23.0.rc1 In-Reply-To: <20190821055530.8720-1-joel@jms.id.au> References: <20190821055530.8720-1-joel@jms.id.au> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org In preparation for adding the ast2600 which does not use this timer. Signed-off-by: Joel Stanley --- arch/arm/mach-aspeed/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.23.0.rc1 Reviewed-by: Andrew Jeffery diff --git a/arch/arm/mach-aspeed/Kconfig b/arch/arm/mach-aspeed/Kconfig index a15c3a291386..2979aa4daeea 100644 --- a/arch/arm/mach-aspeed/Kconfig +++ b/arch/arm/mach-aspeed/Kconfig @@ -5,7 +5,6 @@ menuconfig ARCH_ASPEED select SRAM select WATCHDOG select ASPEED_WATCHDOG - select FTTMR010_TIMER select MFD_SYSCON select PINCTRL help @@ -18,6 +17,7 @@ config MACH_ASPEED_G4 depends on ARCH_MULTI_V5 select CPU_ARM926T select PINCTRL_ASPEED_G4 + select FTTMR010_TIMER help Say yes if you intend to run on an Aspeed ast2400 or similar fourth generation BMCs, such as those used by OpenPower Power8 @@ -28,6 +28,7 @@ config MACH_ASPEED_G5 depends on ARCH_MULTI_V6 select CPU_V6 select PINCTRL_ASPEED_G5 + select FTTMR010_TIMER help Say yes if you intend to run on an Aspeed ast2500 or similar fifth generation Aspeed BMCs. From patchwork Wed Aug 21 05:55:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 171916 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp521158ily; Tue, 20 Aug 2019 22:56:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqy35cvZ9ZnL52Jca0tdwpnjDlSnU2lKPtjQHw6rjSoCepyKDvHRZEk2904WxEl3X1q1czoS X-Received: by 2002:a17:902:246:: with SMTP id 64mr29647077plc.99.1566366967043; Tue, 20 Aug 2019 22:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566366967; cv=none; d=google.com; s=arc-20160816; b=K9ob9EASP7eNLpNP+pIWariSbNL3/3p2HUuDT9fiv/MkgQiUrj34zEeDIjbL0BPfz/ mbJhrgWEqZTLFEysaof/kgalLcoY+unY6fLR0BNyk4bFp/6uUBDBGrTDSoHMmjtMooxf a9LotOoDjJ+6HzOd+AT7ETLAhvYn29s/kokjq3Ezt2xQ6OO8uIVE12jo1NBRS1pN32sC bcp8EJgIntU3jMfN7cLSsYVR4gSUzju2Lg9I9TfnF0dovmKIJdJWQ+WMcK0qk6btA03G /269JdzLgt6EQIBhi9OuTM86fmqUM1wN7miX8yyg5K72h5CcHOMNw9ZHHDDCU8kDjjWD A99w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CGzXZK4zikEN4TxWRvQDpen5CEPMtDK0toXHnI7EWGQ=; b=KUBxL2yXN1dFzqKbbWpKzVq3BffjbI6HcSsaCFMfDxjvwUvxVjstJATyCypWJLKVj7 1EJN6UTa8ZlxZMSs7dyheZjeMuOFfEqHIx2QQGRCT7fuDwywKfL9rIHcJPeIlW7PK52V nj7l8jj1ww6XXTVnCGMPB91JtK1oKUI6teYkGWMD7FjxR2qpZXHtSvk0fdbMiF3O55b/ Rbm3hwIjol3iKFSGCqD2I/dL9YcVO/8MR/kOOtVEENG3v3Q0J97HAeduQPEdvIFAIv49 rPD+LqRTg5So2dDXcEWOEtwBg758Jk3fX+d0j4kbgYgdJD69dhQ6nXXEP9FbAc5QTF7K 0OUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=lIuoBZCR; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v63si13408321pgd.111.2019.08.20.22.56.06; Tue, 20 Aug 2019 22:56:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=lIuoBZCR; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727661AbfHUF4G (ORCPT + 8 others); Wed, 21 Aug 2019 01:56:06 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:45468 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725385AbfHUF4G (ORCPT ); Wed, 21 Aug 2019 01:56:06 -0400 Received: by mail-pg1-f193.google.com with SMTP id o13so654172pgp.12 for ; Tue, 20 Aug 2019 22:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CGzXZK4zikEN4TxWRvQDpen5CEPMtDK0toXHnI7EWGQ=; b=lIuoBZCRnm33wF3mp82iFhcZCsLLsq4fMk40MMbfdJnsjqOLDVP53jXHSSyq3ZQazA bno688xMHYc2s1CVzoPSqMvi8sKN9g/hjFLuFeuHOAuJnQVwhBWMTkaQObYOc36G77ud 4zd/yF+VIX3F5ZZbihbJ+dGFnlmLxYCqdTSyK/JyM8j1afqJKBfSycymSCMCB8cgl1yj qxorMRS5duqLnExx9vo9Tjnxm4dO4qKF3zj+9dRnCcdvLfeBMN4b7GlufLafuSAwRoQf SDdMNdAqObcuEA7qC6yXGz1ueGzZNtEmYfFXLbMyxkhXBVyx8jHl5G25dAohLOgL2V9t V67w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=CGzXZK4zikEN4TxWRvQDpen5CEPMtDK0toXHnI7EWGQ=; b=j5lv9yYIeraBuHSihpbkr+ZLSBob2uWOsdp4aCzLlPWR1ujx1UhvJuyU472XTvL3UJ /+4y3BuRo5F8uMWwked6I51altlGII0IYOMv3Kss7+n7xL9w3wZk1GJJC47jvCbqDIR+ ieVTgbRE4+PXDkgTXw5BlTvY6BLvaWVO3nxpytgUSAqWEVOircKECJTFipYhRH0+AzSR viDx+VM3HZZIXH/P7L31A6bp2aAHFBoHtDnzcBsr5zb3yznH1FBPnWMUDmCBRY4DnXkn E2nlfi/4fPsaXKdAC+KQy6WyH+7hbwgykzlfXyA/FGa0IvUE5D+S1THN9Ybxyg1G/P/s 0KUg== X-Gm-Message-State: APjAAAUyAeYAPSeH2nERkQu7c+Elyybu2fy2Uyvb991pjjvtWYN0eN5V kcpdreCqibphK9Qe6tq1bUc= X-Received: by 2002:a63:5945:: with SMTP id j5mr27559844pgm.452.1566366965125; Tue, 20 Aug 2019 22:56:05 -0700 (PDT) Received: from voyager.ibm.com ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id m9sm26568254pfh.84.2019.08.20.22.56.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 22:56:04 -0700 (PDT) From: Joel Stanley To: Rob Herring , Arnd Bergmann , Olof Johansson Cc: Ryan Chen , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Mark Rutland , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH 3/7] ARM: aspeed: Add ASPEED AST2600 architecture Date: Wed, 21 Aug 2019 15:25:26 +0930 Message-Id: <20190821055530.8720-4-joel@jms.id.au> X-Mailer: git-send-email 2.23.0.rc1 In-Reply-To: <20190821055530.8720-1-joel@jms.id.au> References: <20190821055530.8720-1-joel@jms.id.au> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The AST2600 is a Cortex A7 dual core CPU that uses the ARM GIC for interrupts and ARM timer as a clocksource. Signed-off-by: Joel Stanley --- arch/arm/mach-aspeed/Kconfig | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) -- 2.23.0.rc1 Reviewed-by: Andrew Jeffery diff --git a/arch/arm/mach-aspeed/Kconfig b/arch/arm/mach-aspeed/Kconfig index 2979aa4daeea..56007b0b6120 100644 --- a/arch/arm/mach-aspeed/Kconfig +++ b/arch/arm/mach-aspeed/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only menuconfig ARCH_ASPEED bool "Aspeed BMC architectures" - depends on ARCH_MULTI_V5 || ARCH_MULTI_V6 + depends on ARCH_MULTI_V5 || ARCH_MULTI_V6 || ARCH_MULTI_V7 select SRAM select WATCHDOG select ASPEED_WATCHDOG @@ -33,4 +33,16 @@ config MACH_ASPEED_G5 Say yes if you intend to run on an Aspeed ast2500 or similar fifth generation Aspeed BMCs. +config MACH_ASPEED_G6 + bool "Aspeed SoC 6th Generation" + depends on ARCH_MULTI_V7 + select CPU_V7 + select PINCTRL_ASPEED_G6 + select ARM_GIC + select HAVE_ARM_ARCH_TIMER + select HAVE_SMP + help + Say yes if you intend to run on an Aspeed ast2600 or similar + sixth generation Aspeed BMCs. + endif From patchwork Wed Aug 21 05:55:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 171917 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp521212ily; Tue, 20 Aug 2019 22:56:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwwPhA9hNardahzFeigdegE70dZLDgBxqtUFUrdMtrNw9O9V5jH0+nK1pX31dmo8md5rkmL X-Received: by 2002:a62:e515:: with SMTP id n21mr34372041pff.186.1566366971418; Tue, 20 Aug 2019 22:56:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566366971; cv=none; d=google.com; s=arc-20160816; b=ilEYDwcTJmcN2zIYj+hXA4DoB4y330wt3i4f8Uu1JLHj/DlP15rZ7Rw1JY23daw1cD pfHhuky+Iu2H3iIFC3CaR4IS5KklqU+fi5litS2R2TKnqPXfbUt8Lft98BcOfbCGrvM+ Ur1dYdlPbxIBSzcgnCmd4sdB35e3y0kQzs2qIdYkpavKNQcpN+HlUDIXEao6yIUH7GYO cSplCqSyX3lDuV+Tfms0YlaRVcHdNzBbw5mozJfEa+JGp4I6+QMEKk2FkGJitVPQ2zkB 8aXAUyHuDixy3jG5z4V2saHwGR6W+JXxAROqOayqxUdrR62dE4hYEDoIbxXiiZhJBDSI w4MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lLwP3mTOJnfDSrV2MSql/pLg1RylIFBDj+4cxU85JLA=; b=YzrZl/6mD572Af2ETvUd7MSBRpigo62lK1kGmZFwejZaiugzSC2IbR+J62RNKYcfCb wg6w9x9R4gT+N+J53tGJnL04ZfY7RkV7c9vUIBZ90o6mb+OgHd9iOUm+ZqjTftib42Lv v80l2LuZyJU++9JHtjxJUdCN3XKHAEvBPRbLF7U44x8e/3v3JL/ek7fnjOb++gB1zFAS X+DHgJlcS9e58ZC82VVerOGZ2+7/ggsoWe6AfKcSh44fdb3kl/MEEf1qkrK3beJKjiLM 2fySKj/g7UNm7e9CJsW3jypaJWlAtD4qFp7vTQDNX7xs7IO4svNT8uAmr9ygacYM821o r7LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=pgfPMqAY; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v63si13408321pgd.111.2019.08.20.22.56.11; Tue, 20 Aug 2019 22:56:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=pgfPMqAY; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727674AbfHUF4K (ORCPT + 8 others); Wed, 21 Aug 2019 01:56:10 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:38119 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725385AbfHUF4K (ORCPT ); Wed, 21 Aug 2019 01:56:10 -0400 Received: by mail-pl1-f196.google.com with SMTP id w11so240010plp.5 for ; Tue, 20 Aug 2019 22:56:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lLwP3mTOJnfDSrV2MSql/pLg1RylIFBDj+4cxU85JLA=; b=pgfPMqAYF1GB9XdOwifBr9+txHI4Bvok60GT3VptbvsIKyyrpsDxznr48oNqWFPy0Z obk2AWdFDOJO0+HbeoUQsDLJlQ+6on9XrOFpnBktqGSAIDyZhQ0jBxBenpFZhF1PWadB B4kmu3+tV2X7lHFWqrBnCKQt/5dFxdRN7K1pn7xw7EzubDJKQkPsfeH0tAc5rxJJrw6Z LVK31Gulp/iQI6J2K/jicOEpE0ozIdVTu0dE1S6nXFUfy6EC/27Y1474FiMtF8fxNxka thf7+ZFwgxhFGCkkR8yG0CtCoZqcqUhcZxE8QGa9TVHf1/c/Aj0lT6oLDgbItlauMYlx EhoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=lLwP3mTOJnfDSrV2MSql/pLg1RylIFBDj+4cxU85JLA=; b=oC4KP3dUlFqkzaAhT28gymUsvbQz6oqmB8RO8Y0XANlpMIV1ylhCwyeyXCKfRq+jbk jquqYQow0vQmzzc6QnT3lHjNTt47uyva55bsgLLD2R9ZNXFZlNoCziou2H8A548KrDUk H9bsuuY1dprWJ7DC0H9ODVsuIdxXps6DWNJxSiNdJaWzyGrBN27QWhZDEa9rjaaD5WJa r5waxB00a6Xd52GQLkDvYDU57knI1ww6HEMlWSje4Y/OZfSK3Gfb6yQNivGEqHmHjUhY eEsonG2yvPe/lo2wrzA4Phh4c6Ac2HJySEUxLrzsYjD9z5Zc5JZtVnb5i5RnTDWyLDFb 5qBg== X-Gm-Message-State: APjAAAX0UpJYTKCpHJs0iUw1NIBxuHWZFw6H4ozRN3r2Hyx8wDg6CO48 8Q1LGr7GgK1EhVriL+K4VzY= X-Received: by 2002:a17:902:e9:: with SMTP id a96mr16619138pla.169.1566366969567; Tue, 20 Aug 2019 22:56:09 -0700 (PDT) Received: from voyager.ibm.com ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id m9sm26568254pfh.84.2019.08.20.22.56.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 22:56:08 -0700 (PDT) From: Joel Stanley To: Rob Herring , Arnd Bergmann , Olof Johansson Cc: Ryan Chen , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Mark Rutland , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH 4/7] ARM: aspeed: Enable SMP boot Date: Wed, 21 Aug 2019 15:25:27 +0930 Message-Id: <20190821055530.8720-5-joel@jms.id.au> X-Mailer: git-send-email 2.23.0.rc1 In-Reply-To: <20190821055530.8720-1-joel@jms.id.au> References: <20190821055530.8720-1-joel@jms.id.au> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This brings the secondary CPU into Linux. It depends on the setup performed by ASPEED's u-boot. Signed-off-by: Joel Stanley --- arch/arm/Makefile | 1 + arch/arm/mach-aspeed/Makefile | 5 +++ arch/arm/mach-aspeed/platsmp.c | 61 ++++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 arch/arm/mach-aspeed/Makefile create mode 100644 arch/arm/mach-aspeed/platsmp.c -- 2.23.0.rc1 diff --git a/arch/arm/Makefile b/arch/arm/Makefile index f96419135d35..be2fc3e79434 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -155,6 +155,7 @@ textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000 machine-$(CONFIG_ARCH_ACTIONS) += actions machine-$(CONFIG_ARCH_ALPINE) += alpine machine-$(CONFIG_ARCH_ARTPEC) += artpec +machine-$(CONFIG_ARCH_ASPEED) += aspeed machine-$(CONFIG_ARCH_AT91) += at91 machine-$(CONFIG_ARCH_AXXIA) += axxia machine-$(CONFIG_ARCH_BCM) += bcm diff --git a/arch/arm/mach-aspeed/Makefile b/arch/arm/mach-aspeed/Makefile new file mode 100644 index 000000000000..1951b3317a76 --- /dev/null +++ b/arch/arm/mach-aspeed/Makefile @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) ASPEED Technology Inc. +# Copyright IBM Corp. + +obj-$(CONFIG_SMP) += platsmp.o diff --git a/arch/arm/mach-aspeed/platsmp.c b/arch/arm/mach-aspeed/platsmp.c new file mode 100644 index 000000000000..2324becf7991 --- /dev/null +++ b/arch/arm/mach-aspeed/platsmp.c @@ -0,0 +1,61 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// Copyright (C) ASPEED Technology Inc. +// Copyright IBM Corp. + +#include +#include +#include +#include + +#define BOOT_ADDR 0x00 +#define BOOT_SIG 0x04 + +static struct device_node *secboot_node; + +static int aspeed_g6_boot_secondary(unsigned int cpu, struct task_struct *idle) +{ + void __iomem *base; + + base = of_iomap(secboot_node, 0); + if (!base) { + pr_err("could not map the secondary boot base!"); + return -ENODEV; + } + + writel_relaxed(0, base + BOOT_ADDR); + writel_relaxed(__pa_symbol(secondary_startup_arm), base + BOOT_ADDR); + writel_relaxed((0xABBAAB00 | (cpu & 0xff)), base + BOOT_SIG); + + dsb_sev(); + + iounmap(base); + + return 0; +} + +static void __init aspeed_g6_smp_prepare_cpus(unsigned int max_cpus) +{ + void __iomem *base; + + secboot_node = of_find_compatible_node(NULL, NULL, "aspeed,ast2600-smpmem"); + if (!secboot_node) { + pr_err("secboot device node found!!\n"); + return; + } + + base = of_iomap(secboot_node, 0); + if (!base) { + pr_err("could not map the secondary boot base!"); + return; + } + __raw_writel(0xBADABABA, base + BOOT_SIG); + + iounmap(base); +} + +static const struct smp_operations aspeed_smp_ops __initconst = { + .smp_prepare_cpus = aspeed_g6_smp_prepare_cpus, + .smp_boot_secondary = aspeed_g6_boot_secondary, +}; + +CPU_METHOD_OF_DECLARE(aspeed_smp, "aspeed,ast2600-smp", &aspeed_smp_ops); From patchwork Wed Aug 21 05:55:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 171918 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp521304ily; Tue, 20 Aug 2019 22:56:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJWBa4IqiFxh0uB8VLYephBhmVrAPVq+0arLuVTu4gtG6rYTV95BICbfskj2j7Gz4YsJcV X-Received: by 2002:a63:204b:: with SMTP id r11mr27801322pgm.121.1566366975610; Tue, 20 Aug 2019 22:56:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566366975; cv=none; d=google.com; s=arc-20160816; b=gceJ/k/Bc30w/gBVzslYbbixH98TpEI9VEFwLd2Gg0joL3kxNaDAt3obqT4dGNCc7Y LytDocLcqTv7D2xpsLFkJcVWlc337AwRajCeN3F/ZvhDerwxDn1x4MrwLYpKwIY0I4C+ lC6PaVTyEO0qQKzqR2e0NTusqvj/SZIjFFf729blAtl+xvHFXmNmbACeetNLG8W8qkkN 8KMtSa6lRh7ziitMVKodSg4KdlXV22L5T3k2IESVh3DLgBnQyaEdNmTj6xJtRQPumvle wSMEWgAq1fNFOzcYavSvG29Tk1aeiQEcR7SybsZCiwp9mANRbfDNHzPJf81ZSDi3jXYC AYQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kBuMdl3ouzT5F6CQ56x8UxMBUnjULwPlonuZLKRPfuA=; b=QgANTUrcz4TPpScGygKg3psGPa8SASrMmrI8bT8AJcABwadCzNeK+YS2IVzYldQ69x cbHr8n/YbZ0Fk1l3dRMjgEEiKQLtcJdsHSq7NNYWjSDQ11yf597oss5e+s7+e0CEQ8u7 YrnZoPKqm1zacQu941+HsgEH2sdoFmSP0lb/ShqW0Y4o5vfzehcNuzOgQDgq3+Ec+gog 6q7C30f9UIMnH2eJcS5UsMFLvxGtHm1kFcVLn9XBFHSmebguSBOsZg0HSwZarx2VyT7Y fhK/X5HkCkPCRRfo/AA9yk55ynDYYYJeA/0Dz8Sd0uyrbuZaAi6x/m3SmSsspyDsc9K9 zDuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=L8CgZh8S; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v63si13408321pgd.111.2019.08.20.22.56.15; Tue, 20 Aug 2019 22:56:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=L8CgZh8S; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727678AbfHUF4P (ORCPT + 8 others); Wed, 21 Aug 2019 01:56:15 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:40627 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725385AbfHUF4O (ORCPT ); Wed, 21 Aug 2019 01:56:14 -0400 Received: by mail-pl1-f193.google.com with SMTP id h3so719051pls.7 for ; Tue, 20 Aug 2019 22:56:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kBuMdl3ouzT5F6CQ56x8UxMBUnjULwPlonuZLKRPfuA=; b=L8CgZh8S7a8Bmk+crzkNrRbob8X/xUp3A440SkxVzNrVA4E9P3fToLi4QSqfB9Ypc8 rFf/IwcUWpGAHlnviG8HsEfBFBmmB54eFyrYZ1ce0s/XbBT1YbCEBv9oqxbs63070HmP 2wfOAQpcIiEQfaeWLj9LbLK/iHRGbipWEvfOP3sJ7fJ29c9keQl1kiwioaoOV4x4WwkV tbxVkY3pKcR9m4tiTH/zgY70f4WDaoHhI2giPk1y2OAM2w9ro5Z92K7ezi3f/yE34EK1 q9txJKFtKu1l7nPU4x9uOeZpZIxeYtcM6EdFKqB20+g06z3M3XOqAjVzorTzFdoFsjaR HjLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=kBuMdl3ouzT5F6CQ56x8UxMBUnjULwPlonuZLKRPfuA=; b=ag6KqAfzjWJ7/sUpS93DbYaW94frB2gPN8tYU8MQMIdlqdvIZbp8UF9DgcgvYXNBXn pNXnxiQ/GVBDAMcLRBvKQSQfMW4iZuZK2fLuiSHhOR4MbZuNl+5I7cJYITdnHueDmd1q RH9E52KriVcXHhlaV67jeGFbmehX2y2IArgS/RSpVV6Bjzee54iyN6SjWJsRvsBkGe2L 0xQN7PSl8CVCOulfWRwOGBMRGtztBlTDDy7Lpk/fbbqZE+PqSvAinaIyoQq/E5B0W6MK +2FpvyJmn6KXJfC8nLuTlF05gDQF+nAIK3qCDaeIn5iVOFFB4i0jE34Zqy48wK6Wyqo5 r3fQ== X-Gm-Message-State: APjAAAVmvDNRPiIHyLhkrwKfQpUBhHpURn/wOzS3XSBkUOB15z6VGg2X ukLW74ekz6pAsL9DcqRZLv8= X-Received: by 2002:a17:902:4201:: with SMTP id g1mr32294164pld.300.1566366973859; Tue, 20 Aug 2019 22:56:13 -0700 (PDT) Received: from voyager.ibm.com ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id m9sm26568254pfh.84.2019.08.20.22.56.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 22:56:13 -0700 (PDT) From: Joel Stanley To: Rob Herring , Arnd Bergmann , Olof Johansson Cc: Ryan Chen , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Mark Rutland , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH 5/7] ARM: dts: aspeed: Add AST2600 and EVB Date: Wed, 21 Aug 2019 15:25:28 +0930 Message-Id: <20190821055530.8720-6-joel@jms.id.au> X-Mailer: git-send-email 2.23.0.rc1 In-Reply-To: <20190821055530.8720-1-joel@jms.id.au> References: <20190821055530.8720-1-joel@jms.id.au> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The AST2600 is a new SoC by ASPEED. It contains a dual core Cortex A7 CPU and shares many periperhals with the existing AST2400 and AST2500. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/aspeed-ast2600-evb.dts | 44 ++++ arch/arm/boot/dts/aspeed-g6.dtsi | 266 +++++++++++++++++++++++ 3 files changed, 311 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed-ast2600-evb.dts create mode 100644 arch/arm/boot/dts/aspeed-g6.dtsi -- 2.23.0.rc1 Reviewed-by: Andrew Jeffery diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 247e556de48e..2d8d29e5686d 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1276,6 +1276,7 @@ dtb-$(CONFIG_ARCH_MILBEAUT) += milbeaut-m10v-evb.dtb dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-ast2500-evb.dtb \ + aspeed-ast2600-evb.dtb \ aspeed-bmc-arm-centriq2400-rep.dtb \ aspeed-bmc-arm-stardragon4800-rep2.dtb \ aspeed-bmc-facebook-cmm.dtb \ diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts b/arch/arm/boot/dts/aspeed-ast2600-evb.dts new file mode 100644 index 000000000000..7f2528e084b5 --- /dev/null +++ b/arch/arm/boot/dts/aspeed-ast2600-evb.dts @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: GPL-2.0+ +// Copyright 2019 IBM Corp. + +/dts-v1/; + +#include "aspeed-g6.dtsi" + +/ { + model = "AST2600 EVB"; + compatible = "aspeed,ast2600"; + + aliases { + serial4 = &uart5; + }; + + chosen { + bootargs = "console=ttyS4,115200n8"; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x80000000>; + }; +}; + +&mdio1 { + status = "okay"; + + ethphy1: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; +}; + +&mac1 { + status = "okay"; + + phy-mode = "rgmii"; + phy-handle = <ðphy1>; +}; + +&emmc { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi new file mode 100644 index 000000000000..9f9931541060 --- /dev/null +++ b/arch/arm/boot/dts/aspeed-g6.dtsi @@ -0,0 +1,266 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// Copyright 2019 IBM Corp. + +#include +#include + +/ { + model = "Aspeed BMC"; + compatible = "aspeed,ast2600"; + #address-cells = <1>; + #size-cells = <1>; + interrupt-parent = <&gic>; + + aliases { + serial4 = &uart5; + }; + + + cpus { + #address-cells = <1>; + #size-cells = <0>; + enable-method = "aspeed,ast2600-smp"; + + cpu@f00 { + compatible = "arm,cortex-a7"; + device_type = "cpu"; + reg = <0xf00>; + }; + + cpu@f01 { + compatible = "arm,cortex-a7"; + device_type = "cpu"; + reg = <0xf01>; + }; + }; + + timer { + compatible = "arm,armv7-timer"; + interrupt-parent = <&gic>; + interrupts = , + , + , + ; + clocks = <&syscon ASPEED_CLK_HPLL>; + arm,cpu-registers-not-fw-configured; + }; + + ahb { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + device_type = "soc"; + ranges; + + gic: interrupt-controller@40461000 { + compatible = "arm,cortex-a7-gic"; + interrupts = ; + #interrupt-cells = <3>; + interrupt-controller; + interrupt-parent = <&gic>; + reg = <0x40461000 0x1000>, + <0x40462000 0x1000>, + <0x40464000 0x2000>, + <0x40466000 0x2000>; + }; + + mdio0: mdio@1e650000 { + compatible = "aspeed,ast2600-mdio"; + reg = <0x1e650000 0x8>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + mdio1: mdio@1e650008 { + compatible = "aspeed,ast2600-mdio"; + reg = <0x1e650008 0x8>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + mdio2: mdio@1e650010 { + compatible = "aspeed,ast2600-mdio"; + reg = <0x1e650010 0x8>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + mdio3: mdio@1e650018 { + compatible = "aspeed,ast2600-mdio"; + reg = <0x1e650018 0x8>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + mac0: ftgmac@1e660000 { + compatible = "aspeed,ast2600-mac", "faraday,ftgmac100"; + reg = <0x1e660000 0x180>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>; + status = "disabled"; + }; + + mac1: ftgmac@1e680000 { + compatible = "aspeed,ast2600-mac", "faraday,ftgmac100"; + reg = <0x1e680000 0x180>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>; + status = "disabled"; + }; + + mac2: ftgmac@1e670000 { + compatible = "aspeed,ast2600-mac", "faraday,ftgmac100"; + reg = <0x1e670000 0x180>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>; + status = "disabled"; + }; + + mac3: ftgmac@1e690000 { + compatible = "aspeed,ast2600-mac", "faraday,ftgmac100"; + reg = <0x1e690000 0x180>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>; + status = "disabled"; + }; + + apb { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + syscon: syscon@1e6e2000 { + compatible = "aspeed,ast2600-scu", "syscon", "simple-mfd"; + reg = <0x1e6e2000 0x1000>; + ranges = <0 0x1e6e2000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + #clock-cells = <1>; + #reset-cells = <1>; + + pinctrl: pinctrl { + compatible = "aspeed,ast2600-pinctrl"; + }; + + smp-memram@180 { + compatible = "aspeed,ast2600-smpmem"; + reg = <0x180 0x40>; + }; + }; + + rng: hwrng@1e6e2524 { + compatible = "timeriomem_rng"; + reg = <0x1e6e2524 0x4>; + period = <1>; + quality = <100>; + }; + + rtc: rtc@1e781000 { + compatible = "aspeed,ast2600-rtc"; + reg = <0x1e781000 0x18>; + interrupts = ; + status = "disabled"; + }; + + uart5: serial@1e784000 { + compatible = "ns16550a"; + reg = <0x1e784000 0x1000>; + reg-shift = <2>; + interrupts = ; + clocks = <&syscon ASPEED_CLK_GATE_UART5CLK>; + no-loopback-test; + }; + + wdt1: watchdog@1e785000 { + compatible = "aspeed,ast2600-wdt"; + reg = <0x1e785000 0x40>; + }; + + wdt2: watchdog@1e785040 { + compatible = "aspeed,ast2600-wdt"; + reg = <0x1e785040 0x40>; + status = "disabled"; + }; + + wdt3: watchdog@1e785080 { + compatible = "aspeed,ast2600-wdt"; + reg = <0x1e785080 0x40>; + status = "disabled"; + }; + + wdt4: watchdog@1e7850C0 { + compatible = "aspeed,ast2600-wdt"; + reg = <0x1e7850C0 0x40>; + status = "disabled"; + }; + + sdc: sdc@1e740000 { + compatible = "aspeed,ast2600-sd-controller"; + reg = <0x1e740000 0x100>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x1e740000 0x10000>; + clocks = <&syscon ASPEED_CLK_GATE_SDCLK>; + status = "disabled"; + + sdhci0: sdhci@1e740100 { + compatible = "aspeed,ast2600-sdhci", "sdhci"; + reg = <0x100 0x100>; + interrupts = ; + sdhci,auto-cmd12; + clocks = <&syscon ASPEED_CLK_SDIO>; + status = "disabled"; + }; + + sdhci1: sdhci@1e740200 { + compatible = "aspeed,ast2600-sdhci", "sdhci"; + reg = <0x200 0x100>; + interrupts = ; + sdhci,auto-cmd12; + clocks = <&syscon ASPEED_CLK_SDIO>; + status = "disabled"; + }; + }; + + emmc: sdc@1e750000 { + compatible = "aspeed,ast2600-sd-controller"; + reg = <0x1e750000 0x100>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x1e750000 0x10000>; + clocks = <&syscon ASPEED_CLK_GATE_EMMCCLK>; + status = "disabled"; + + sdhci@1e750100 { + compatible = "aspeed,ast2600-sdhci"; + reg = <0x100 0x100>; + sdhci,auto-cmd12; + interrupts = ; + clocks = <&syscon ASPEED_CLK_EMMC>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_emmc_default>; + }; + }; + }; + }; +}; + +&pinctrl { + pinctrl_emmc_default: emmc_default { + function = "SD3"; + groups = "SD3"; + }; +}; From patchwork Wed Aug 21 05:55:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 171919 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp521366ily; Tue, 20 Aug 2019 22:56:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmR6tD4TZh8ShiZoq3cOKEk2tsCS4cOZ2pBHP5MmrwGXsvqifU4Zx2OkSI1/5vk9DPVOsC X-Received: by 2002:a63:2b0c:: with SMTP id r12mr27731913pgr.206.1566366979731; Tue, 20 Aug 2019 22:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566366979; cv=none; d=google.com; s=arc-20160816; b=QiDFSuJKo7lYCkiJT4myXg5k/WnqHjyLAKmu0g9OvnFsTA4rXrXcSnkpbNbp+VCmkO qR+xF2QbbIGHXm9fW7ym9pgBNsFFBfKt20EldEsBhOh81PWRyWqJuJgf3Ij0MgK3kmZ1 FSe8tXB4r9rQe4ly0dR+pQlR6D4DPRE22hV6RaE7ulITAIcGEM0f8KSHKMDI/RROTxbx KbR5W3GeEXeFtGMhPfoDCL+an/QWjOd+s44ApKkdnrrL0Bi0Rg9T2/Imcb1CVsBdfjDZ +wmAm2yAdXw3BisFmzRET/ktoRzH8UuEZsXE1SAZ9G8xjWVjSUeYm7ZnRRyG/6JdSHY2 HVDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kVMeqsg/mfUvkErCbhFnFtOVad83MIZWTR0g/QLKhHg=; b=MwYuAhW1qQHYeiPo3npc4Rfufm2pe7oFsaxscbGBQCR67j3usX8qXklddFwXvpwuZi At32Ten1eUqSJSsnmxjW1/7kHDR0BYLI+N6EV+3ZLDHQo93w41/CC4sbvFG+6HWsSOFD lfIIzd1AUmMrg4WL5IkmZeZfd6WIb/Dv+EvtdaCQfQTnEeM+odLBVrO44hy7QqlKYHyl sKmTM09ybTrbJZXvSI3eGdLMfJefESIaNyvtf4Szhzsbo1t+jSMZwuj7IximJwI2FwZ0 r9PHfUKoAER4MXEnw+zTtOlRNfGsQNJ9zx7lGqwForE26ekO3ZlN5+g6pswgO2wFjggv h5Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=gRuFZtDY; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v63si13408321pgd.111.2019.08.20.22.56.19; Tue, 20 Aug 2019 22:56:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=gRuFZtDY; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727345AbfHUF4T (ORCPT + 8 others); Wed, 21 Aug 2019 01:56:19 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:42663 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725385AbfHUF4S (ORCPT ); Wed, 21 Aug 2019 01:56:18 -0400 Received: by mail-pl1-f196.google.com with SMTP id y1so711481plp.9 for ; Tue, 20 Aug 2019 22:56:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kVMeqsg/mfUvkErCbhFnFtOVad83MIZWTR0g/QLKhHg=; b=gRuFZtDYE6HaBYpsqgwODQ5NYhb1E049C4CJPD6ptRyASE/L1glTUH7bxw+GO/6EEg LgJYH1de4KJdYzTlcW3231lYYamXUxjEsP+/agV/DShX+MaHAoOdTiMvxP8GD5mzsPtQ 4VllDrbGELoCByPwRR/auQv+UwUSB0QT5xQfBFsKikylin/F0djpNzmzSZitfGPN7ZCZ YC/aObf4medqKPVSPfR9B+pNujvRW1z3NYykHXwajvpohzUBMbqaF1NVcoR8c/LqoIiq k45t4zHmxKCh58MfySNql6iervFLLVNFoNV5PkYKQ6Ntgp6DeYwhNAjYhw1ZupTib+mx 98bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=kVMeqsg/mfUvkErCbhFnFtOVad83MIZWTR0g/QLKhHg=; b=GbzVe4ylIT7ZWRUrom3cTJcaIvLsXLaNeLtbNFmu4lQ3fe/n5bvO59WrUyGUGUvDIt yaLn3ce/lRnJREIeW+TSkntHzvBj6PbPW7eJMddDZQgRn156KcMaKDMQUYi7cRBRHp4c CXWq1LShgh73x4Ff6ZwRVM5rmhe2dFYTY4NbC6LiJsFqQCtb4hnl+e1yWOeWX3x5PrhP dJFmdW5Eu9ZtYgSbWno8Ty3c/8C3BROmz4IUjbnBJEBL1XmJSRrQJGvbee3ffw3390zm /CtFvtNTY9K7y20p78hpVwsjxaR42taL9NHjk4th92h6cnc70IcBBcfkxETU6WiE/cOG etDw== X-Gm-Message-State: APjAAAX18GcMO0XwtXkGwgb3gAd0S9x0vRQCRE8AVRdf6luyPbp7Kugc YHP83m4FvGE5Sjiv8y8lGCQ= X-Received: by 2002:a17:902:bb85:: with SMTP id m5mr8924448pls.322.1566366978155; Tue, 20 Aug 2019 22:56:18 -0700 (PDT) Received: from voyager.ibm.com ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id m9sm26568254pfh.84.2019.08.20.22.56.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 22:56:17 -0700 (PDT) From: Joel Stanley To: Rob Herring , Arnd Bergmann , Olof Johansson Cc: Ryan Chen , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Mark Rutland , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH 6/7] ARM: configs: multi_v7: Add ASPEED G6 Date: Wed, 21 Aug 2019 15:25:29 +0930 Message-Id: <20190821055530.8720-7-joel@jms.id.au> X-Mailer: git-send-email 2.23.0.rc1 In-Reply-To: <20190821055530.8720-1-joel@jms.id.au> References: <20190821055530.8720-1-joel@jms.id.au> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds the ASPEED AST2600 system and associated ASPEED devices so we get build coverage. The changes to the UART configuration to ensure the default console (UART5) works. Signed-off-by: Joel Stanley --- arch/arm/configs/multi_v7_defconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -- 2.23.0.rc1 Acked-by: Andrew Jeffery diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 3dc02a5e7672..ebb00321b1eb 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -9,6 +9,8 @@ CONFIG_ARCH_VIRT=y CONFIG_ARCH_ALPINE=y CONFIG_ARCH_ARTPEC=y CONFIG_MACH_ARTPEC6=y +CONFIG_ARCH_ASPEED=y +CONFIG_MACH_ASPEED_G6=y CONFIG_ARCH_AT91=y CONFIG_SOC_SAMA5D2=y CONFIG_SOC_SAMA5D3=y @@ -200,6 +202,7 @@ CONFIG_MTD_NAND_VF610_NFC=y CONFIG_MTD_NAND_DAVINCI=y CONFIG_MTD_NAND_STM32_FMC2=y CONFIG_MTD_SPI_NOR=y +CONFIG_SPI_ASPEED_SMC=m CONFIG_MTD_UBI=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y @@ -306,7 +309,11 @@ CONFIG_INPUT_STPMIC1_ONKEY=y CONFIG_SERIO_AMBAKMI=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_NR_UARTS=5 +CONFIG_SERIAL_8250_RUNTIME_UARTS=5 CONFIG_SERIAL_8250_EXTENDED=y +CONFIG_SERIAL_8250_MANY_PORTS=y +CONFIG_SERIAL_8250_ASPEED_VUART=m CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_BCM2835AUX=y CONFIG_SERIAL_8250_DW=y @@ -351,6 +358,8 @@ CONFIG_SERIAL_STM32=y CONFIG_SERIAL_STM32_CONSOLE=y CONFIG_SERIAL_DEV_BUS=y CONFIG_VIRTIO_CONSOLE=y +CONFIG_ASPEED_KCS_IPMI_BMC=m +CONFIG_ASPEED_BT_IPMI_BMC=m CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_ST=y CONFIG_TCG_TPM=m @@ -360,6 +369,7 @@ CONFIG_I2C_ARB_GPIO_CHALLENGE=m CONFIG_I2C_MUX_PCA954x=y CONFIG_I2C_MUX_PINCTRL=y CONFIG_I2C_DEMUX_PINCTRL=y +CONFIG_I2C_ASPEED=m CONFIG_I2C_AT91=m CONFIG_I2C_BCM2835=y CONFIG_I2C_CADENCE=y @@ -464,6 +474,7 @@ CONFIG_CHARGER_MAX77693=m CONFIG_CHARGER_MAX8997=m CONFIG_CHARGER_MAX8998=m CONFIG_CHARGER_TPS65090=y +CONFIG_SENSORS_ASPEED=m CONFIG_SENSORS_IIO_HWMON=y CONFIG_SENSORS_LM90=y CONFIG_SENSORS_LM95245=y @@ -594,6 +605,7 @@ CONFIG_VIDEO_V4L2_SUBDEV_API=y CONFIG_MEDIA_USB_SUPPORT=y CONFIG_USB_VIDEO_CLASS=m CONFIG_V4L_PLATFORM_DRIVERS=y +CONFIG_VIDEO_ASPEED=m CONFIG_VIDEO_STM32_DCMI=m CONFIG_VIDEO_SAMSUNG_EXYNOS4_IS=m CONFIG_VIDEO_S5P_FIMC=m @@ -663,6 +675,7 @@ CONFIG_DRM_MXSFB=m CONFIG_DRM_PL111=m CONFIG_DRM_LIMA=m CONFIG_DRM_PANFROST=m +CONFIG_DRM_ASPEED_GFX=m CONFIG_FB_EFI=y CONFIG_FB_WM8505=y CONFIG_FB_SH_MOBILE_LCDC=y @@ -762,6 +775,7 @@ CONFIG_USB_MXS_PHY=y CONFIG_USB_GADGET=y CONFIG_USB_FSL_USB2=y CONFIG_USB_RENESAS_USBHS_UDC=m +CONFIG_USB_ASPEED_VHUB=m CONFIG_USB_CONFIGFS=m CONFIG_USB_CONFIGFS_SERIAL=y CONFIG_USB_CONFIGFS_ACM=y @@ -870,6 +884,7 @@ CONFIG_RTC_DRV_TEGRA=y CONFIG_RTC_DRV_ST_LPC=y CONFIG_RTC_DRV_STM32=y CONFIG_RTC_DRV_CPCAP=m +CONFIG_RTC_DRV_ASPEED=m CONFIG_DMADEVICES=y CONFIG_AT_HDMAC=y CONFIG_AT_XDMAC=y @@ -920,6 +935,9 @@ CONFIG_TEGRA_IOMMU_SMMU=y CONFIG_REMOTEPROC=m CONFIG_ST_REMOTEPROC=m CONFIG_RPMSG_VIRTIO=m +CONFIG_ASPEED_LPC_CTRL=m +CONFIG_ASPEED_LPC_SNOOP=m +CONFIG_ASPEED_P2A_CTRL=m CONFIG_RASPBERRYPI_POWER=y CONFIG_QCOM_GSBI=y CONFIG_QCOM_PM=y @@ -952,6 +970,7 @@ CONFIG_ARM_TEGRA_DEVFREQ=m CONFIG_TI_AEMIF=y CONFIG_IIO=y CONFIG_IIO_SW_TRIGGER=y +CONFIG_ASPEED_ADC=m CONFIG_AT91_ADC=m CONFIG_AT91_SAMA5D2_ADC=m CONFIG_BERLIN2_ADC=m From patchwork Wed Aug 21 05:55:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 171920 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp521419ily; Tue, 20 Aug 2019 22:56:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgYgPOrU89VAP6CIWFzPN9hXWvklItbkt1+u1HLcux1eOpOhACA2dDpA9AlzbdnDRop9tq X-Received: by 2002:a17:902:d210:: with SMTP id t16mr8734397ply.11.1566366983964; Tue, 20 Aug 2019 22:56:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566366983; cv=none; d=google.com; s=arc-20160816; b=HsSvK+zCcLSIxHZFneSJ/vegUR6nOQUlbUFGDLExLBFtDHOYZGhQQcFWYCj88HHtbU 9fSgGNGANMkI28CvOLtgeSD7skw354u1DNJxY6gnwcTch8McFkiIi5r5Io91gKKiPJAL Oau+BFiz4l2y+LGGCSaSJOcnVuzaVo0OeM06xWjPGLpLBOoS8V+qVDuYU3IOflttNfSX vrhMSZsZ17SG887NSiU0o222WIAnrMuap8Anjc+JcfUhcqa8PJx2G3nyhX8j50/b23tj pilPHx7BRGRKM0GV3HtzqQweiyKx9ITD0rBAoLg4Tm4HcD44Wob1rhVbRjELOeyMh1yf gwJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Cl+8p7IjwOmu/57vcjZR8WI0fB01MFPdHX/I9mopYKM=; b=BwfbNFSt88qGCK5jhrg1gLdfG+YxdTVa2OkpQ1cfp+MXcG0B+2L+9M/etUl7DiESG9 Zs5b71ynkl95ysFcVy/57DZEiJK6ju/KttHLGTyha1mxY/IIQUokjHkkq6vS8luasr+q x0SXNXNY/l6r7wryjXcSAiycYKbDskknQJx3+QwUIzjBGTWreAsVk+ifOSRma01sSxKS 4aYYAWIPV0YfpdnOf1Eq9OUf8SVpkil5piXYd8ADZ//zdubcTsYqCVC13FYbQrtzrx/n 6Vznb2G00CdN2/SuZ5zKeAEgK7S4xIAfImOGVNpj5tLzIEGbEIyB9oSd5U5CNm7TbEXn vYcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=nLUkfdAc; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v63si13408321pgd.111.2019.08.20.22.56.23; Tue, 20 Aug 2019 22:56:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=nLUkfdAc; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726869AbfHUF4X (ORCPT + 8 others); Wed, 21 Aug 2019 01:56:23 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:41445 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725385AbfHUF4X (ORCPT ); Wed, 21 Aug 2019 01:56:23 -0400 Received: by mail-pl1-f193.google.com with SMTP id m9so714021pls.8 for ; Tue, 20 Aug 2019 22:56:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Cl+8p7IjwOmu/57vcjZR8WI0fB01MFPdHX/I9mopYKM=; b=nLUkfdAcnMwMhCbckNJld74SrWq6OJpEZghk3AlLw3YrLeLkd64vM9dz4WPn0GSpUd sx2GEozETcKoqjFCb8CTrGGLggcZbhN33h+Zbv+wtoBllPojJGO6ktF6HfynDuVRJU/0 MF13E62ssTk4bpVK+K9jjvpXJWpOmtTlgK7Vm3bsIaWD0tNZ4liKtl46D7Z363KldTzk G75OzMmWg9rvAQFlBzW/acDAxTz8A+7TXDElu7W7pYlKWED403UpAfhlsNl4NWMDqzS1 TCntO4Jbxl8iTEVeO1TW0TteJqF14AEI86GZNB5VYi+xSRIlwWpMQqCaHTlrCj0q4Ezj qLqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=Cl+8p7IjwOmu/57vcjZR8WI0fB01MFPdHX/I9mopYKM=; b=VwJISC0Xu1+oLE0+ba8s0U51zlRjhd6dn3GjQJd+KsHI31WKxHmjEueLex/CWfagXz i5xMaEmEixZ9kMFQXnwKfoyFFp5Nhat++aNew7GE9SnULtXHqRHAbyR9lWJP44xXnuBv pdtGOh7PaWJvsHlbuiExWAy8mV8/44HG0cAZkLvu5ffeY8I88MNubsO2M76B2uk0tjTo 8Gv7Pflb0uvaqbOUKhIBpqu/8l7RJTIc1GikYh079QebpbuAoufb7YFCBKrPvC1ZRNb2 j3oxWc7ZL8VwwYKcMwzq0Op/g2B3q4wPXQsnPqdcNzfjs4cdtjZIrx+mMaAzucIhELAn s0zg== X-Gm-Message-State: APjAAAVNQQu1azpegItRarpMNJqut7/3x5TeQaNSrWZGdOrA895tpijA GWYDfURdnT6iq+tscZvun7A= X-Received: by 2002:a17:902:9b94:: with SMTP id y20mr32176648plp.260.1566366982431; Tue, 20 Aug 2019 22:56:22 -0700 (PDT) Received: from voyager.ibm.com ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id m9sm26568254pfh.84.2019.08.20.22.56.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 22:56:21 -0700 (PDT) From: Joel Stanley To: Rob Herring , Arnd Bergmann , Olof Johansson Cc: Ryan Chen , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Mark Rutland , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH 7/7] ARM: configs: aspeed_g5: Enable AST2600 Date: Wed, 21 Aug 2019 15:25:30 +0930 Message-Id: <20190821055530.8720-8-joel@jms.id.au> X-Mailer: git-send-email 2.23.0.rc1 In-Reply-To: <20190821055530.8720-1-joel@jms.id.au> References: <20190821055530.8720-1-joel@jms.id.au> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org CONFIG_STRICT_KERNEL_RWX is enabled by default with ARMv7. Turn on HIGHMEM as the EVB has 2GB of RAM, and not all is usable without hihgmem. The SoC contains Cortex A7 supporting VFP and has two CPUs. Signed-off-by: Joel Stanley --- arch/arm/configs/aspeed_g5_defconfig | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) -- 2.23.0.rc1 Acked-by: Andrew Jeffery diff --git a/arch/arm/configs/aspeed_g5_defconfig b/arch/arm/configs/aspeed_g5_defconfig index 426d8e0c9890..597536cc9573 100644 --- a/arch/arm/configs/aspeed_g5_defconfig +++ b/arch/arm/configs/aspeed_g5_defconfig @@ -21,21 +21,26 @@ CONFIG_PERF_EVENTS=y CONFIG_SLAB=y CONFIG_SLAB_FREELIST_RANDOM=y CONFIG_ARCH_MULTI_V6=y -# CONFIG_ARCH_MULTI_V7 is not set CONFIG_ARCH_ASPEED=y CONFIG_MACH_ASPEED_G5=y +CONFIG_MACH_ASPEED_G6=y # CONFIG_CACHE_L2X0 is not set +CONFIG_SMP=y +# CONFIG_ARM_CPU_TOPOLOGY is not set CONFIG_VMSPLIT_2G=y +CONFIG_NR_CPUS=2 +CONFIG_HIGHMEM=y CONFIG_UACCESS_WITH_MEMCPY=y CONFIG_SECCOMP=y # CONFIG_ATAGS is not set CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_BSS=0x0 CONFIG_KEXEC=y -# CONFIG_SUSPEND is not set +CONFIG_VFP=y +CONFIG_NEON=y +CONFIG_KERNEL_MODE_NEON=y CONFIG_FIRMWARE_MEMMAP=y CONFIG_JUMP_LABEL=y -CONFIG_STRICT_KERNEL_RWX=y # CONFIG_BLK_DEV_BSG is not set # CONFIG_BLK_DEBUG_FS is not set # CONFIG_MQ_IOSCHED_DEADLINE is not set @@ -140,10 +145,12 @@ CONFIG_ASPEED_BT_IPMI_BMC=y CONFIG_HW_RANDOM_TIMERIOMEM=y # CONFIG_I2C_COMPAT is not set CONFIG_I2C_CHARDEV=y +CONFIG_I2C_MUX=y CONFIG_I2C_MUX_PCA9541=y CONFIG_I2C_MUX_PCA954x=y CONFIG_I2C_ASPEED=y CONFIG_I2C_FSI=y +CONFIG_SPI=y CONFIG_GPIOLIB=y CONFIG_GPIO_SYSFS=y CONFIG_GPIO_ASPEED=y @@ -194,6 +201,10 @@ CONFIG_USB_CONFIGFS_F_LB_SS=y CONFIG_USB_CONFIGFS_F_FS=y CONFIG_USB_CONFIGFS_F_HID=y CONFIG_USB_CONFIGFS_F_PRINTER=y +CONFIG_MMC=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_SDHCI_OF_ASPEED=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_CLASS_FLASH=y