From patchwork Sat Jul 31 09:24:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12412419 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=-14.7 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, UNWANTED_LANGUAGE_BODY,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 A1DFCC4338F for ; Sat, 31 Jul 2021 09:28:09 +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 6DC94600D1 for ; Sat, 31 Jul 2021 09:28:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6DC94600D1 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=mkQCWdhD3adbCmWBB4EHd8Ci3nf5PMGpsZ9bP+ptqPY=; b=kVbAqBF4ocq+qg 21Ejhg+HoeDmDmt458Q54eb1DWUqZsrufcLoGB/dabKw+iyZzHdkX1q1K2+XLZ3dkETeDTkUBDDfv t2vgeYTI1jZOJR6QJ5ZUY1VGKubE/jK0RyEkkj9sKJ6q8f0RGh03frlnkmfzxRJdaCPXloZYkAdok hgIn5D42+iywPg07CFZaeQ5HGwUAcnA4hCelBZ2tPT+Zuy1BA3VN68YwnPHWGiYSeeuoFLJpREpGI 8e3HKTqpM4DPHI9B54sHZRaAeqRzTPVUJ2RFddLx2iYF4icyUdjF89/tpVUyrZ2Y2m10zE+lTlLoU vrCX2iYFDL/yw5eq0Jhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9lFo-00BLqk-Ak; Sat, 31 Jul 2021 09:26:00 +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 1m9lEa-00BLcs-Ng for linux-arm-kernel@lists.infradead.org; Sat, 31 Jul 2021 09:24:46 +0000 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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 7F0CE3F239 for ; Sat, 31 Jul 2021 09:24:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1627723483; bh=chFkYRASRXmnCTx3ox4fvgdh5vYDNQ+s+kCxqXeprbY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=YXsVsGaZWOHequaxAuPZ3u4dHs0MJOTkgf7mTsLZoA8H8ekzazepCfbrfvRFSZZJ7 Og+jWwcSArTtK63ZuRw2+h4CNzvLzwcPiGfXFE4zT3MA+NB1suMeZxyDGZgUWM2NY5 uT+a+vuXLw3wcQcQBqktccsSQwyMuaLKa2xYVi4Fp+gqRDHdzKzdfXD3h+3kQCCfw9 6NcVzzASnTClkIn1ySN/zM1n8/Uo/LiRh40ifLXs7inE20j45vQxz1MpgOEpkUVHJm kQeZT6EPyn+UczyEcb+lHB/Vxs4+o+Yobit+RoUHJKwUxcyVBQSdAXGD7pyhQGYp0Z X1+UpgqpwANjQ== Received: by mail-ed1-f70.google.com with SMTP id a23-20020a50ff170000b02903b85a16b672so5886998edu.1 for ; Sat, 31 Jul 2021 02:24:43 -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=chFkYRASRXmnCTx3ox4fvgdh5vYDNQ+s+kCxqXeprbY=; b=ioaEXwUtBO5aV61HUwqgImgWsvJKpe7YJCc378WOBV1y5LPo3AIe+eS+DNlrmJ1zA3 juyLQKKFjVn1Q4RBzd71O+LVi2WUtCmtsFbgvjG819Ql+OjG69mM8v0sSiM/mYqDWbwu RAppNnnQXQF6UyjPKdqkuxkwNCXXsUtGq5owxecZFotPmrVlXUAeXUsD3UknfImkeKWk 5pD2l4eNkQViFYJnYsrWqKKaCeWnil7WriOfPpyWpQfBReTgvrwqSVB7e0Xy/mv7T/rG 4kAAI3OM90Ok9tHCUeJvH5VgvS+4D0l8DI8Sp8VMTS4E7qIGYDdzLwWosYD03rzqjJtr GO6w== X-Gm-Message-State: AOAM532CsUXU3s7kVYcM4kqD21/o/j4/qGQU/8DKMPERZj6TjLbIYTaE 39Putjw+pSimX4UNZBcQLNmoytJG49UbF0z+HIEbsDNyBZC10Gdji1FhI0072Rg6lOEXWHnZoUb tmyRs7OtUv77IOfUKds/6A6IVGLLq1BHwBNhNgxhZ3Y+BJNQd1Xj6 X-Received: by 2002:a05:6402:795:: with SMTP id d21mr8286574edy.351.1627723483220; Sat, 31 Jul 2021 02:24:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwB5LpBFJZe4d1UOd9BvYXXzvUaXaSYxvLp4RsSizpd+kp+Ein0sIsc5F4o+6q+hd41PzPxLg== X-Received: by 2002:a05:6402:795:: with SMTP id d21mr8286563edy.351.1627723483120; Sat, 31 Jul 2021 02:24:43 -0700 (PDT) Received: from localhost.localdomain ([86.32.47.9]) by smtp.gmail.com with ESMTPSA id r16sm1947693edt.15.2021.07.31.02.24.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Jul 2021 02:24:42 -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 8/8] arm64: dts: exynos: add CPU topology to Exynos5433 Date: Sat, 31 Jul 2021 11:24:09 +0200 Message-Id: <20210731092409.31496-8-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_022444_951274_0FA4FD8F X-CRM114-Status: GOOD ( 12.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Describe Exynos5433 CPU topology. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 73aa0fa9b778..6a6f7dd1d65c 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -52,6 +52,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@100 { device_type = "cpu"; compatible = "arm,cortex-a53";