From patchwork Sat Jul 31 09:24:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12412413 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 55F37C4338F 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 1F329600D1 for ; Sat, 31 Jul 2021 09:27:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1F329600D1 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=KrtuqcmcsKJ5l3wHrLXLIJeMG4qvQJVmx+nogg9DkY0=; b=4h4UiqnsoVpLsN 0W4Rh50JD/3m6CChAuHgLdKt2aKX0hDyQVKXf8ogYeGPv9wcT5MmnZ7nN7uZiV+LIBAkXVmXjyvJg Yz0h2O8eYKSUz5QI4taWuwK4dx1ngQd1SJ494fXOl9ODdK8DX3PlK1UkkhyZNs6jdi6WBHnuKcHRX t8Sy4IOSeCjnQPo0CsjMO4JUlDFV16t+xOpEhTQzAT+nC/7aSpR1TLH8E5de2bKoFkBUbLsMIGeQX ae5WIK9uMhisShguqwZZXj6nZzQF143OeSr63Cvuc0/ZkPJscYUCqi+jAV0khAx+tVv/rfgVP9cmM OD0DWBNMvXR5qfFHg6iw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9lF7-00BLhP-NJ; Sat, 31 Jul 2021 09:25:17 +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 1m9lEX-00BLaE-67 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 0F2583F246 for ; Sat, 31 Jul 2021 09:24:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1627723480; bh=LR7PylKlSM9jbeT9DvZDED63xszwtTNm8McFnmsrZzE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZxIgeQpojLBd+IB6KE+bYqAK0yHc5t6RIBfugKKu8XOBfDVqtgpgAXox9DjXUJ76V RnKyRAsHmoHK1sM4hrBXc2mYhuNTGktHvaqUgzTj5OB0nrCGDroJ68zBhtXOuWE1OQ b9wmd4XZtdntTrfPyI/vWnvijI1wtZiAEFfNb4KzF+QP9esXScagz+I/1RZtAvGws+ aviCc4PGxT6RGjxk4iTusZ5gAjG/37bnpGW0sF0bEddz/gaDYeo0reOkaTKK43O8g8 jcZ/z/MvAy8zuEIVaOkYASFOhU/dF4XlEPLDuYW2HMDFLOM0aYuhAEyXaMpGqiUJi/ 4xVSuKi/Oi6Dg== Received: by mail-ed1-f72.google.com with SMTP id d12-20020a50fe8c0000b02903a4b519b413so5879685edt.9 for ; Sat, 31 Jul 2021 02:24:40 -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=LR7PylKlSM9jbeT9DvZDED63xszwtTNm8McFnmsrZzE=; b=aENVSVZTu2g9kjjVb2cq0qaclMh59eYSJU7ZiIEPJ8+/vcc3YoIFW6mODvIHna8+Ak ZthSmL9bXO55CMbObcViMqtH5Yc5/quYdKp2gv7zadCl5Nl745z/CNdEQOrYbeEcVh1h ATQER4f5JKkol5cmzjdzroC4h+BdCZJx7flX8RoY1iKOeCiTS2MHbEbHMvo0Q7MNcjSE q+K82CeKt/ZiiOruWjfOmi1iWz5BYHVaWKt9Th/wpBZcJx4ldKR+VKqcCL6xiIDTLM2C xl/NDqsEMvnHqhXW53XaPTmcpQlobk9SdZUHmGH2pumcsYJph/w2icRlKhkAjxyae8C7 F/4w== X-Gm-Message-State: AOAM5334DTH2KlHuMFgLQ/ZOAc8RGyohdU9Ies0UgAGQGTmZAwP79dc4 XwHMGFwFggiCVrZK+ZorQQNubuNAQ6JUo2bE/mLr2ivPGTd5LURHMZ/Hz8q2s+1Xbi06Wcy48TB CKoxZBdDfkm5jESNcM64diSRvG9FXq/L6T5h93PxaO5wGm79uCb69 X-Received: by 2002:a50:d64a:: with SMTP id c10mr8402835edj.199.1627723479599; Sat, 31 Jul 2021 02:24:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnlJgsAJ+NC3dcAMAIjP6kd6XsZ6o25gKIxAdDwyN5QE4D1Nu5jA5QJOklXRxaOPI7XGCfBw== X-Received: by 2002:a50:d64a:: with SMTP id c10mr8402817edj.199.1627723479493; Sat, 31 Jul 2021 02:24:39 -0700 (PDT) Received: from localhost.localdomain ([86.32.47.9]) by smtp.gmail.com with ESMTPSA id r16sm1947693edt.15.2021.07.31.02.24.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Jul 2021 02:24:39 -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 5/8] ARM: dts: exynos: add CPU topology to Exynos5260 Date: Sat, 31 Jul 2021 11:24:06 +0200 Message-Id: <20210731092409.31496-5-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_022441_399572_63A33B39 X-CRM114-Status: GOOD ( 13.37 ) 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 Exynos5260 CPU topology. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5260.dtsi | 38 ++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/exynos5260.dtsi b/arch/arm/boot/dts/exynos5260.dtsi index 973448c4ad93..52fa211525ce 100644 --- a/arch/arm/boot/dts/exynos5260.dtsi +++ b/arch/arm/boot/dts/exynos5260.dtsi @@ -34,42 +34,68 @@ cpus { #address-cells = <1>; #size-cells = <0>; - cpu@0 { + cpu-map { + cluster0 { + core0 { + cpu = <&cpu0>; + }; + core1 { + cpu = <&cpu1>; + }; + }; + + cluster1 { + core0 { + cpu = <&cpu2>; + }; + core1 { + cpu = <&cpu3>; + }; + core2 { + cpu = <&cpu4>; + }; + core3 { + cpu = <&cpu5>; + }; + }; + }; + + cpu0: cpu@0 { device_type = "cpu"; compatible = "arm,cortex-a15"; reg = <0x0>; cci-control-port = <&cci_control1>; }; - cpu@1 { + cpu1: cpu@1 { device_type = "cpu"; compatible = "arm,cortex-a15"; reg = <0x1>; cci-control-port = <&cci_control1>; }; - cpu@100 { + cpu2: cpu@100 { device_type = "cpu"; compatible = "arm,cortex-a7"; reg = <0x100>; cci-control-port = <&cci_control0>; }; - cpu@101 { + cpu3: cpu@101 { device_type = "cpu"; compatible = "arm,cortex-a7"; reg = <0x101>; cci-control-port = <&cci_control0>; }; - cpu@102 { + cpu4: cpu@102 { device_type = "cpu"; compatible = "arm,cortex-a7"; reg = <0x102>; cci-control-port = <&cci_control0>; }; - cpu@103 { + cpu5: cpu@103 { device_type = "cpu"; compatible = "arm,cortex-a7"; reg = <0x103>;