From patchwork Sat Jul 31 09:24:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12412415 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9981C4320A for ; Sat, 31 Jul 2021 09:27:35 +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 781A0600D1 for ; Sat, 31 Jul 2021 09:27:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 781A0600D1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lyGVLkF6E6zoLh9MEotV87Mz89NZ9Z2yIFo04vfXYSk=; b=W3b7kI/Z4X2oUY VBOrUsCMQd+wqXZPGThqMEvq3paeudDH+AtUINqX+fZcthGX2T2pdyRMRJTXQaXET021vKx58ArR+ KljK1UhZ6F8A309XFFiJfVJnVJ1apKrPZqgPqy9D264nZqyBPnwd7xeAEpDKu81m+QSU0qNq8J6tQ xGz3uAxqqrcWuZ4IfjtiQvGIzPN0IFyS5FWFGsJZExIjUGQ/UTyyDLcNSFFJq09ZQR94Dx2tXif0b +YomgIU83o/0muRKmggIRO07V5y9Xjw23ne4Hr2ir7vabGz+jenCWGYAOWrwmaCVUDjNNEa7yiwN3 /VXn23ZaSUjMfYnWFHIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9lFK-00BLj7-52; Sat, 31 Jul 2021 09:25:30 +0000 Received: from smtp-relay-canonical-0.canonical.com ([185.125.188.120]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9lEY-00BLbC-D5 for linux-arm-kernel@lists.infradead.org; Sat, 31 Jul 2021 09:24:43 +0000 Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPS id 466223F232 for ; Sat, 31 Jul 2021 09:24:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1627723481; bh=oZaMws7fwrXQ+39v59StjW2jRchmqWMSe99swu1ZncA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nXg/FIqSDxEjmBHEH0h9pnjLLCOQJDVVzCZ/umh/7rFsyRWezPguqgjA0HW2TJTZE +h6JdFvLqhFLZ4jtVdtXc08Qe2yT0H1grLb72dwEmhd+WuE38yov3ldUknvN4K2UoZ MftRET4rUAvA9kAKppuyGLN1TYMKaeMWmqel+MRgLmhUwdgYj/PHmjl9U5rNN8BH2u O8qHuW+bKlLXDwxu5Lqx7wJwzlQYGn5AN6MYtLKuB+iDlKGa68+aMr9IqSUh9Mm9o1 S2dBjrQhtmzrH3AD2CRYSn1FJson4RI4y6+FquLNIMhaqEd2GEzPFjZGiMWCl4sDSl GNJumKlHwx5+Q== Received: by mail-ed1-f72.google.com with SMTP id s8-20020a0564020148b02903948b71f25cso5874214edu.4 for ; Sat, 31 Jul 2021 02:24:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oZaMws7fwrXQ+39v59StjW2jRchmqWMSe99swu1ZncA=; b=uJmd9DPWbfS5QqhxUbtg1N6w510AXgJguQ8RdLb3eqjIKLEaglb7AOoyzCkOpxxm/V ih8HnfNnYk8jhW4uPhB3lVshfhAIr4OmQDH+IlWeKqTjJ2PaBo9NDQhPmfSf0hCurWkB QXWGxKfeKPH2zqbDrp8ZBIEFauTwmmjk5d+6zb/IcVB0NYm14NLn66NfGTm5tlaVfQ8E harb0uXwSPuDIb8VCXsMJUPluD3/kQjMEgW/U6uo+U+RBTJSVabC7h2Teq6DiymMZ6TN ARFpX47VrGHWmhNs77bvXEKZPpKyzJgEpwvKzkoperHOx8FUZQTgO3Ov2RNzg2reIQFM nfzg== X-Gm-Message-State: AOAM531zSBcb97L6jz1Qv/XEz9rWe4EZL7yzGqC7Kj/Bh1Al0+oj6kvi ZJqkCO1B8b4MuWbhsbMaNLhbiKwp+IAk+g3PAWpR/r3OH2eGJBWOYOo1LW5OI+vdtPccrpBAw/g 2BO70Z0tnGlk+TaaXOB+LjsIx8nHuVnQuBoSU5zTZQe8HKl4/jGVD X-Received: by 2002:aa7:c792:: with SMTP id n18mr8329660eds.269.1627723480790; Sat, 31 Jul 2021 02:24:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/sf10Y8srbg8K+efQ4NmEX6nec9k/+iYcFltTGdhcbdRPp/dreDc16TZIWHAzqpOtGFDNEg== X-Received: by 2002:aa7:c792:: with SMTP id n18mr8329653eds.269.1627723480696; Sat, 31 Jul 2021 02:24:40 -0700 (PDT) Received: from localhost.localdomain ([86.32.47.9]) by smtp.gmail.com with ESMTPSA id r16sm1947693edt.15.2021.07.31.02.24.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Jul 2021 02:24:40 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Bartlomiej Zolnierkiewicz , Chanwoo Choi , Alim Akhtar Subject: [PATCH 6/8] ARM: dts: exynos: add CPU topology to Exynos5420 Date: Sat, 31 Jul 2021 11:24:07 +0200 Message-Id: <20210731092409.31496-6-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210731092409.31496-1-krzysztof.kozlowski@canonical.com> References: <20210731092409.31496-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210731_022442_647625_C7ADE805 X-CRM114-Status: GOOD ( 12.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Describe Exynos5420 CPU topology. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5420-cpus.dtsi | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-cpus.dtsi b/arch/arm/boot/dts/exynos5420-cpus.dtsi index 58d1c54cf925..e9f4eb75b50f 100644 --- a/arch/arm/boot/dts/exynos5420-cpus.dtsi +++ b/arch/arm/boot/dts/exynos5420-cpus.dtsi @@ -22,6 +22,38 @@ cpus { #address-cells = <1>; #size-cells = <0>; + cpu-map { + cluster0 { + core0 { + cpu = <&cpu0>; + }; + core1 { + cpu = <&cpu1>; + }; + core2 { + cpu = <&cpu2>; + }; + core3 { + cpu = <&cpu3>; + }; + }; + + cluster1 { + core0 { + cpu = <&cpu4>; + }; + core1 { + cpu = <&cpu5>; + }; + core2 { + cpu = <&cpu6>; + }; + core3 { + cpu = <&cpu7>; + }; + }; + }; + cpu0: cpu@0 { device_type = "cpu"; compatible = "arm,cortex-a15";