From patchwork Sat Jul 31 09:24:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12412417 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 DFD80C4338F for ; Sat, 31 Jul 2021 09:27:43 +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 AFD00600D1 for ; Sat, 31 Jul 2021 09:27:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AFD00600D1 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=yDUwz/NxhZW11DYhjsrni4TYlX7Edo9M4x96EphgZqc=; b=EPlKiqQ1T8hz35 rlYxW/p2lCTvDiuUo3UC3qlK9aQRJ5fqoxxlDUFgRGuAiAr18hNgqRTNhLPQGNBtEmC+slFHsOzAf YPnyxIgHl7bra+6h6jLqdFCBlmVJblNQPXDxwmDDG4p4mRV7IHK86w1HCOJZgf7WPgiQO9hJZQJKm QKKCYSFDq98uIPNGdUyfDrLar3ea1RtuECFpA9EFnKdTFzcX9ZBCxVKUrVLv9NXKj7oDj4KvS8tC+ GSsCG3zRkbQc0I4axbwX19TEPh4WaM2ghaIc/b9OT2/7295AgdzxKyLLFc1Cqnt1d5uQh7fryeipW 2sZHSWWzK38HGLHoAFRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9lFZ-00BLmA-BY; Sat, 31 Jul 2021 09:25:45 +0000 Received: from smtp-relay-canonical-1.canonical.com ([185.125.188.121]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9lEZ-00BLbU-FN for linux-arm-kernel@lists.infradead.org; Sat, 31 Jul 2021 09:24:44 +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-1.canonical.com (Postfix) with ESMTPS id 552DD3F239 for ; Sat, 31 Jul 2021 09:24:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1627723482; bh=ERP8Nj6BhzRSI6a/TCOdFNPpRXHoJA+/4PhYRhY4Cn4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ltZcAAlNLOY43R5wfUoIv463WaIZosnP5B0zkDYpunVh2xACR1sFOW5AZD8GBimRZ xpjawjZYOB2AMsCs4abW/yzJDj/UWFONqW4Z2Di0+v07/haMi+nGLRzYyL3+ZVcTRv G92Xffrnie/6DP0T9n0AivJbqi6fHKm3kvEnEOlm3YwP3MaisjiyAEK+V+iqLWTzvy Fa2uOG47+8SeNIvuguOtcMDoitht1rB4B/nFA1Td/hq9oFLBgN3GH6hYsPNdUA0rRI qcWAXsk/kIkf8bRDi/dnbVlqFZysXMrwqiNkSEmi+NTZ1tRtlOseUkP71kRR6NlZZd k0Y7FCSP/7VCw== Received: by mail-ed1-f70.google.com with SMTP id o90-20020a5093e30000b02903bb95130460so5893353eda.0 for ; Sat, 31 Jul 2021 02:24:42 -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=ERP8Nj6BhzRSI6a/TCOdFNPpRXHoJA+/4PhYRhY4Cn4=; b=bsIj0FdbYAA8i3achO3NwXSY6RguD5w7Z/xTc3A0ZbqCyFD1T683diLY+YAtJleaOp LqujDGdK40wga+HmOTrnpThiMrFv6rXdRIM8qp/Uqe+UldcfGLOBWDzFpe19HEBE1gAS PE/AQX177kRtvABsyqwfa+l6hMflYAYGHyM5GeRo9qwRI0VS5mMlb+VMSHgVOZsxXXEp 2aUidPridWwLRsDZEa8gaAAZXRHhD+vfDOrfJTWMvJTd7SqT8ikZzhm75v7/uCEi7QKW JeUjdxK4rq89MRQuug3sUxt17Lc+AldT9rLokiyzLmF4KfyV8qTxy1AGt9zEzBw06ImO +5uQ== X-Gm-Message-State: AOAM530sKB40c4t/TM0CRVAPltenS93qj5efo8140b6KMQtTo/8WAp5B dXBmPtHy96E9gRWQTmc8o1jn4Gm12uRgfGA6SLDjK5t/37HgSDFOl8rRn8+mvHgpANm4Wwrutei rLdo5k+EHibCUqVFfpkYVtwc5jBNyijK/CPvE10BoL3hleWFFVBZt X-Received: by 2002:aa7:c2d7:: with SMTP id m23mr8435688edp.30.1627723482007; Sat, 31 Jul 2021 02:24:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWDPnTDXwoerV0fH7BKZWtc51zibHNXd/dd+1kecWozTV2HkLy5eSAhhDXTpFxZ0+A24W0fA== X-Received: by 2002:aa7:c2d7:: with SMTP id m23mr8435672edp.30.1627723481915; Sat, 31 Jul 2021 02:24:41 -0700 (PDT) Received: from localhost.localdomain ([86.32.47.9]) by smtp.gmail.com with ESMTPSA id r16sm1947693edt.15.2021.07.31.02.24.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Jul 2021 02:24:41 -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 7/8] ARM: dts: exynos: add CPU topology to Exynos5422 Date: Sat, 31 Jul 2021 11:24:08 +0200 Message-Id: <20210731092409.31496-7-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_022443_702709_59E009B9 X-CRM114-Status: GOOD ( 12.56 ) 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 Exynos5422 CPU topology. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5422-cpus.dtsi | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-cpus.dtsi b/arch/arm/boot/dts/exynos5422-cpus.dtsi index 4b641b9b8179..412a0bb4b988 100644 --- a/arch/arm/boot/dts/exynos5422-cpus.dtsi +++ b/arch/arm/boot/dts/exynos5422-cpus.dtsi @@ -21,6 +21,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-a7";