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: 11105445 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7DFB014DB for ; Wed, 21 Aug 2019 05:56:25 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 5B80F20644 for ; Wed, 21 Aug 2019 05:56:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uiz6uNe5"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hoz2qoe3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B80F20644 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ixLWuEQRZ/DwwwtdIDa0z+QznwHXkcO1pgJy/dAMw5M=; b=uiz6uNe5zfp7Xh x0bIAKQGRmynxqxkg3RHCs/yhAQcRkep4ersPxE/Oqw4szPJL+AxXt1CrtkN14bs26OLFAYz08GV2 NFBQgr56pqJWYWfPDrD74Nibo0DXs5iRUxlzT3mMeu8oq5nynzVlaFFT96atvR1yoRyvxzywi2/Du k0AmI1YAYwAg3yZwKStAsUY/ob946qTQAnr4woGM5RRFnJzyucAu9NJkjRoDsEQsXhvd3mbgzited JaAvMy/xoSodzaHo7HEzhh0d9jRXIuVpnkZSndILc7TSo9CFzkf1QJ7vUP2F2IZFDrQLXhA6zo+95 BIJywLCYTQiA4ghyo54Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i0Jbb-0007d1-G1; Wed, 21 Aug 2019 05:56:23 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i0JbE-0007Ib-14 for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2019 05:56:01 +0000 Received: by mail-pl1-x644.google.com with SMTP id t14so708123plr.11 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=WtXL/2syCk/y2bwUJeC1JckS42c/09RM1H5Eqs3E3Ww6YHMHwuGG20EdcUBDVUc5Jc r/yA71ANUyGZr2JISki5KMtu/QSz+n9dWqd5W/OXwosEni3BvW8U13NBz5TrJP+KJ8OQ P8diRG8c9ctvtJ5uWQfL/N4Xn3hvrSIlJON17+zRZvNkwrc3V9/Yx2hZg3fgxiV15J1c th+oGWwMoQUov5Bf406UrD0iyEoixLmtEtEjmN0DSuCKnsX8iLEjv46gCByZc18kS8uK qoFfVBUpMlRx6/MDloO4ZmKsdUcKR1m7HKzUIBflv+9l0KI+yUDeSZPlnkb/A/v1LdSM 3G0w== X-Gm-Message-State: APjAAAVUUoOqTHjSHSaoufWgTiZMZItMPhsA4wUHMo22NfpYA+js0Uar 4DC6nXw/qmP1f61DVppGexg= X-Google-Smtp-Source: APXvYqx/+74Ju52rJensxsSB8gavDnVTt9rl9lckMS8tlYydaxstjCH33nxjcMKNuuqbQIFLJXTY0Q== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190820_225600_328215_4CA55E2B X-CRM114-Status: GOOD ( 10.16 ) X-Spam-Score: 0.4 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:644 listed in] [list.dnswl.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (joel.stan[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Ryan Chen , linux-aspeed@lists.ozlabs.org, Andrew Jeffery , =?utf-8?q?C=C3=A9dric_Le_Goater?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 Acked-by: Rob Herring Reviewed-by: Andrew Jeffery --- Documentation/devicetree/bindings/arm/cpus.yaml | 1 + 1 file changed, 1 insertion(+) 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: 11105447 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5CDB514DB for ; Wed, 21 Aug 2019 05:56:42 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 3AC3920644 for ; Wed, 21 Aug 2019 05:56:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iPIea/nB"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="N+G/+Kd4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3AC3920644 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6OqgDaBpm1YkG9XP7CmZcoLhgmaftC6IihYWd/cKwKQ=; b=iPIea/nBcC7kJg SY5f5tbhQVRL3Zg/jMrr3LSU5kd6SSavNsGuSfOnCq/ec4qJvqiibYc7zrGbW36vFJPQbzyH7AfX0 cZSnca5l00ALUWz+CT2g9J/5MpevRZzTSSh7Y0kBje/N4ruy3myjsX+g68j8x2YoHhc3DCo5ZmNjF 2AgsOl9d50ATxL3VPBJN9nOUC75OKCqSb71HcOsSW0EmN//dNUOoLIm6pWBBf+jtml3OB7NwTnNj/ Eled+YBEYe7QlGdsQ1SmnGTFSpEiS+/0whiWty3W4Hqk1C0lXBOFcr65nHHVayWpe7dabkRBw29Mc YGZoUpBc36LtiPSC71/w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i0Jbr-0007sW-Ka; Wed, 21 Aug 2019 05:56:40 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i0JbF-0007Ml-FQ for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2019 05:56:02 +0000 Received: by mail-pf1-x443.google.com with SMTP id c81so671786pfc.11 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=rqYcaxSg0P9nsp1Ssu1xSVoDG9Bs72CokI5WzYVVPABKPUyfP4AmYreSqCS5zjUoNt P7PFXXa1jfjgHcenejnlZXOFsxJvKRn2z2eKbmYkDBdRjWOFwqQbq3TU0OlsRZ++JHlp ycZ7ijLrSNjEBzngy1E1ovGffQ82czrjH89cEPlktk6yuuM0VQf9q1CgSvCedB548E44 RZPOIBsLSx98gt51iP69qdWnd9eFvNyX48Tuz7cp6OIntQsQUEoeNSSChm97pUZ23nCz yieb/XyEaBKkGQ+LuoDudM0qGf8cKv9DdO+xTsPVcnARej3DzQqlTesY196FtFPFjdgA 2FbA== X-Gm-Message-State: APjAAAVSlYOu7FICjjjz8nbqPFRWe752n2My11X01eSA4EY8WK0RP1Sr HA8Cp81X5MF1BNRMwM43Kd8= X-Google-Smtp-Source: APXvYqzr/PrY+iSpy/Ko5UjPD7BNJVFwxG0vGqhgQJH5ScpnxINdgIEcUBhvY2O7dE7gdnnQxlcFfw== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190820_225601_701294_70AF2BE1 X-CRM114-Status: GOOD ( 10.71 ) X-Spam-Score: 0.4 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (joel.stan[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Ryan Chen , linux-aspeed@lists.ozlabs.org, Andrew Jeffery , =?utf-8?q?C=C3=A9dric_Le_Goater?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org In preparation for adding the ast2600 which does not use this timer. Signed-off-by: Joel Stanley Reviewed-by: Andrew Jeffery --- arch/arm/mach-aspeed/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: 11105449 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3679314DB for ; Wed, 21 Aug 2019 05:56:59 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 13E6D20644 for ; Wed, 21 Aug 2019 05:56:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XnF2XVZd"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lIuoBZCR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 13E6D20644 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=n3Mns72xzU3HBdBjmDoVYVdCEAV2RG16JuD783PoMag=; b=XnF2XVZdaLI3Zv 9ed5LIDTfJrD2Cr0mFNRnMP7KaQ/EKjiA64ndxUSKSA+Kf9EVzCuHYjJMRj05KPwq6s1pnRTCcEJU DUkm7M6Y7KDBxiwvJk1PPmps1Gu63tLBXU+1di2vw+AYl5IsbgtT6Am4tg6llRihPt+yZNVIN5owS 8FsnIXJX+aXE87buVh8XnRO6fiq8pPj1Nw3wr91Clcbk661h7At8vaKGUSYWaz0byEZsHa3y6lOjJ rZzmxHhkxW8lkgFN4PBm5F/wTLaMi3Y25duJTZazApsPZbamCAEB9iLN/3m162ylY/v/BqfIVkQZz 6cKeM+nPDh7R0h+QN8TQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i0Jc9-0008Cp-SW; Wed, 21 Aug 2019 05:56:57 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i0JbK-0007RA-30 for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2019 05:56:07 +0000 Received: by mail-pf1-x444.google.com with SMTP id q139so667456pfc.13 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=nf9lQKUHgjC4TbX/Nnx2Ufg0zUqeIveUzpxgtLP14vJSr4aNipT9qv1eMkYtdJ+wA0 JxHPO8Q6HqERQONI+ELW8QCFZp8mouYfconBZyfvIdJMdLl2CrYCNzwQ+x1lwYJPpVlu usDmAKn0i+qgPulnyZ/GUEPDNH/AmsxOqmw+znl7FGB3m9jxzK+JdkDaRtAXWIzawfw8 VRcDoTkICjShnIdS3BuDDr1B4fxf8Z5uIxIWZ8Qs72mrV8IQoexlZ/JMlqGgLmHQjAmd SuExi+kCnEFFvxGaznHTmqUlrL1rLjGIAnY8bwREEfsxmY7I52luVYWsuD4PrXlwct9k c3Ww== X-Gm-Message-State: APjAAAX4R4rgWq4JhcZnTgd351YY/MixJ5LzMm+zwcL6S67phtO3OAfT KLCbgnZH6GUohMzaNJJZwoU= X-Google-Smtp-Source: APXvYqzYQ0JMPmykoZ2pidi+Eu/vt3Wt6Pi8aoiHcXBeHnBsKVP3bx5fquxF8TzvRcAZsV6OsETtuA== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190820_225606_676129_BDF3ED6A X-CRM114-Status: GOOD ( 10.38 ) X-Spam-Score: 0.4 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (joel.stan[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Ryan Chen , linux-aspeed@lists.ozlabs.org, Andrew Jeffery , =?utf-8?q?C=C3=A9dric_Le_Goater?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 Reviewed-by: Andrew Jeffery --- arch/arm/mach-aspeed/Kconfig | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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: 11105451 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 540BE14DE for ; Wed, 21 Aug 2019 05:57:17 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2F74F2339E for ; Wed, 21 Aug 2019 05:57:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GyZlp6K0"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="pgfPMqAY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F74F2339E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/HZwq2jv05inoFaxSphSJq1BFVJXjMCnbb8Zp9Z/nwk=; b=GyZlp6K0Qv5q28 3ylzKf1zh0s8cYo+Pdy+jmDorhLXZeXAbiAKXIEsCBzyId86CufqPVBZAGQst2SxOBOXHRbPjMHlq jc/PAZTaM/4DJmpQjLEIPhvvPNTe3Gpi2iSCowK7dLV6glBKPRlCD+x4yEX+xW7EKy1igZRm62FLp 3DQIoASW7f3x7Gtms+lQPhbtPWo6tQcoOEkw40Ty8izE0039JszelMUPjD4W6Hgate1A3AqbNGO+C rHoJjUsqLGDq/qr9++7gJxj0czTxdXxAJrivo8Wp5ssmfQg5AFrCeQjJ1lfL4NEcOHgj8xDRWdhsz 7X32qKHdItau1YUdbYJA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i0JcS-0008Rh-Df; Wed, 21 Aug 2019 05:57:16 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i0JbO-0007Uh-Co for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2019 05:56:11 +0000 Received: by mail-pl1-x642.google.com with SMTP id d3so732864plr.1 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=jDnMGFa7ry3R3UgXQl3Y+JkxY0IEEDAdWiFxUTMwkWOWtRm7+UHjvZBSLurTYqWCW/ ClE+7f8u8a73z7fEEraU2UjiyP3zhclhBfJxxhGvkVRvvdTA+uqc+TW5uhXDu6bZaICg aKGGlLAaF/B3Z+3d0/MrUlU5qW7jduCpKA0U2DYd6xJNtblLtQSjTDnj0vUudwuE1NHy DVoUixG5Gm9MzT2X7x8LQq5BR78OOtpsI7H+gJndeaotneXOpI4wvSZ72igPykm8nssI /oz4CyP/KsBSZZGfyShVJi/EZ552E+fr645i7sHLmQW7LYnLI2sPxC2hYFhEhPS7k7F9 i6fw== X-Gm-Message-State: APjAAAWK8CE3mtiIPgmUaQKmJ1lZvn30dwe7eLg8r0aGTVBOanewbPtD rA3Y9kCBUc5/fArPlRzmAHSdZs//QvA= X-Google-Smtp-Source: APXvYqz+UEvlsHPy8pZuC/TGIdmf7TVS3tbQQ2LbuvsuOV6sZRFG0SOn7rSViCigIl+8HOPZOoOe4w== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190820_225610_519518_6E9CC19D X-CRM114-Status: GOOD ( 14.79 ) X-Spam-Score: 0.4 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:642 listed in] [list.dnswl.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (joel.stan[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Ryan Chen , linux-aspeed@lists.ozlabs.org, Andrew Jeffery , =?utf-8?q?C=C3=A9dric_Le_Goater?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 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: 11105453 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D1F3414DE for ; Wed, 21 Aug 2019 05:57:31 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id ADBB120644 for ; Wed, 21 Aug 2019 05:57:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="t9gl02QR"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="L8CgZh8S" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ADBB120644 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kpa40zB8RwcDlzkuB8XZdJcSjsmVxd3D8bVxfKTksj0=; b=t9gl02QRqtjJry WWxNT0uDiuXoekydZB05/Eh0F7X5soKF2VTP4cm2RLYPg7Vek9WVloWy8JmcmM5V6H0zupA+PbAlt hMxKYTpc0PLG9suH/dgrTlkeU/rVtWoq/Ryt4lG18Ru3niwCQi3FT4djAInQNxb7D/inmAQ0PbqnE Y3L3jOZ8mZn6oz6iqJsF6IQZaDrA0BzSFc6chd+v+TlB53fWVB2gUcdHrPowGh7nI97YtfpbpTA7u ovR/kn35rF8aEQZkzOxLBIsodZeEspEL7zHr8PEZfjm5wjQ3P8Xru8s14GLv+Z1YEuyNCuqeoPO7K ++zDrjSmcxE3XYqT+54w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i0Jcg-0000Hv-Ve; Wed, 21 Aug 2019 05:57:31 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i0JbS-0007YQ-NU for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2019 05:56:16 +0000 Received: by mail-pl1-x641.google.com with SMTP id f19so726918plr.3 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=ukDhL19up6VJBjnlsYWzIvy1Ah9FWwdKgrK8l9BIUcNu52TOhHPa/enkybnsZB2gRh ToMdgK4amb1Fxo0TVq4UvBi789nbylvg27KaTrCNwlKTRcRW1X0nnLHO6Efhp9Om+vqP 2kae0hgbuCkaudMIg4FAeodPsWHAH6kLwow5t4fsFcY+61ZapdbPRaHf8/STH+mLlzMB Yy+4JMO7zgMyhsXlvcBwglBAE6OrdlXoLzaDatNu1o+wJ8diTVjAOi5V+bjeKB6cdjI8 8zNbh65rfCOGGFfkwjB8ld5qc0u3VcUAj3P8jY6rTpw1eSHh0vV0wW4MSPKqXGOQAExf UoOA== X-Gm-Message-State: APjAAAWo7Jhk+YR1QV6RTfIDxNiYUswM2S7CaAntoGQmtgicAxJGnvrB MCHp94nHOdE37vH9rHcGxIg= X-Google-Smtp-Source: APXvYqwx3Wcnc1YkkoISw1jxugTO+5qgp6eivh6zt+iIUMa7tVtslvyKR/Np6g/6Jwjz4svEfS0fPg== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190820_225615_025482_DE86C3DE X-CRM114-Status: GOOD ( 14.67 ) X-Spam-Score: 0.4 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:641 listed in] [list.dnswl.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (joel.stan[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Ryan Chen , linux-aspeed@lists.ozlabs.org, Andrew Jeffery , =?utf-8?q?C=C3=A9dric_Le_Goater?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 Reviewed-by: Andrew Jeffery --- 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 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: 11105455 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D686F14DB for ; Wed, 21 Aug 2019 05:57:53 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B1F5E20644 for ; Wed, 21 Aug 2019 05:57:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HnFhAUP0"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gRuFZtDY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B1F5E20644 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FkhmfRhNLxA7u+BrfQdNe4ZcAyPaQ7hxXtnt1q/Vn/s=; b=HnFhAUP0oFNoNg zQxp9rCK5kE7Z84F0iTv/zgFKbYQsukwcF7ew1Z4O6rCB0h76PE8EOLhXi8zHe1ejMuNbVBtYaDL9 tlzGa1KfPpWdzb0VJJNWI10+cb7x9Ic3jwQk5FRtkjaGblDXg3LLJVf0c+guUSw+G5Q2TsuFUzdSI iq4+c7r199QS/b4/P3zVZjZ9fVxCv7Wo+fn/yBBNQDJ8xAz9G6lOnV2y56VMcoOuJFKMuwKV6VAiW 6/wljnsNp5D97e7vwy8cSybwzdHC/r8lCktLBOmuWvdIiEqaWX8iZ7wbrQwyYouAocUr6h94TU0/+ Icp2d7J3yufImgKV+SKA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i0Jd2-0000sy-Tl; Wed, 21 Aug 2019 05:57:53 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i0JbW-0007by-MS for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2019 05:56:20 +0000 Received: by mail-pl1-x644.google.com with SMTP id y8so709982plr.12 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=GxG0tTPUmp3yOuxD5JDuNfN7mg+saVH0tYHxy4NpHd9vDscIzW1E9zDeF+HnxvSSBT 691eOi2Ghwgtdn6gpqcnP+0qW3zld7S0w6aUEm3n8mUYkzDbIMXpwRmRE2B1GM6Yvvoz NfrHBSDF/VOMEMG3mTOeEbo9oHXYpnh93Ewy3Mbtv/IkpQs5d1iXSm8SZjl5jL0mNt45 bLiTZtRetVs0If1OfikVGrrLqxBrN4MSW9i7X5vmVZx64LDiQin2uzOy55KDDpm7uVFo ubdd97v7yVaY4bcPcSOwHHCH5QnmaLUJgXJFKPXXEIEyHdv5GOqsNSN00OQXbhaoMSRQ Qj3w== X-Gm-Message-State: APjAAAUpZx0gsA/uMF0n8cpCFGMQ5igyPvbHoVzRoqBkgwqxJV2pd49E 3cU1G6luBsXM8ilwOVw5ov0= X-Google-Smtp-Source: APXvYqwbrMpfNmsuAWcz4Hd/RXIbJ08v7L7s3HTxAg5HMw3qLUl5LopPuCkywBUbJMhNt/nfh7X96Q== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190820_225618_823632_D5376D14 X-CRM114-Status: UNSURE ( 8.83 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.2 (+) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:644 listed in] [list.dnswl.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (joel.stan[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.8 UPPERCASE_50_75 message body is 50-75% uppercase X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Ryan Chen , linux-aspeed@lists.ozlabs.org, Andrew Jeffery , =?utf-8?q?C=C3=A9dric_Le_Goater?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 Acked-by: Andrew Jeffery --- arch/arm/configs/multi_v7_defconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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: 11105457 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 210BD14DB for ; Wed, 21 Aug 2019 05:58:12 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id F2FA520644 for ; Wed, 21 Aug 2019 05:58:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="T62MZ8L6"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nLUkfdAc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F2FA520644 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dnx2IIqx1BWHG++IMYv1un8/tYQmddCx9y5ZkKAzxFY=; b=T62MZ8L6Jy1iMH gi7VkAMhtGtgeUNuSsMxIY25b1xCxYI9rsIB0qIi7LrysOZ72VeGhklL/Kpu8YybIYkDWiA0hIam9 aiB1OJUAs11VKo3Bbw7Tof8FNMG45RWOdsQncNbdyoHmcZbH7zfAqfnK1ZA9OK5RFhiNweNoPNaOz WGrfrbAs5zsgbzOe7ctuOtW+bsO4/j+UrkSpCe466laa0JSl0AGUI4KZ6vRr9LpZZ3w8MEvsSShlU xNMnZ3rsA6hjxdFz41DW9Ct+pPzMVWf+BUBtu95jYo23d5iaUXW7Zofpl5CBRqxdqJwFtBLAxRZAG Z6iTdY8mK9Ljt5vZpV5A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i0JdL-0001Hh-Fl; Wed, 21 Aug 2019 05:58:11 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i0Jbb-0007fx-Da for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2019 05:56:28 +0000 Received: by mail-pl1-x643.google.com with SMTP id d3so733178plr.1 for ; Tue, 20 Aug 2019 22:56:23 -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=MfcfmtET3losMQmNfaVaw4t9JnWRTpBlSyaAk+AETnbY2AUe8SuvlHHgL4ioWSqpXj 5jBe2DiNfmrCc7e5YhKAkP1b3wkbPzXRsE36RKjCEZsLj05bEkoXP/x57THORuQAu6+u Rn9cVVpxXbIKgvDIbFb7A9TJFlsZd7ZqY7Mfe55of5geepGj0uYikDpOHMW5Pt7tKVFI gu7BS9PBerXSqZpK0OKGzWVOWdU4vHaGukDgnT39d0BzUuM/0mmXiihKRBdCIknhLW5s JM2Mm7u9MMb5+T5TKfp30X2cEwMYkr1dJWwLukvvCh9h+sKR9vvqty21VNbb/THHrpK7 3LMw== X-Gm-Message-State: APjAAAWD+tb6eW0VxN2oLb+apPMZU2eaidrXo+j2SzeszxWymjARdPD1 ZLID9kJw8R5i5BBnToZBBLA= X-Google-Smtp-Source: APXvYqzYQs1jmaRyUy+/+2oBaJRR5DJBG64wLpMysrA/dlWTCgTRjmToDLsMqmOik2O6WLD/5OCBCQ== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190820_225623_540154_C55BD870 X-CRM114-Status: GOOD ( 10.27 ) X-Spam-Score: 1.2 (+) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:643 listed in] [list.dnswl.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (joel.stan[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.8 UPPERCASE_50_75 message body is 50-75% uppercase X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Ryan Chen , linux-aspeed@lists.ozlabs.org, Andrew Jeffery , =?utf-8?q?C=C3=A9dric_Le_Goater?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 Acked-by: Andrew Jeffery --- arch/arm/configs/aspeed_g5_defconfig | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) 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