From patchwork Sat Jul 31 09:24:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 490020 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=-15.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, 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=unavailable 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 096ADC432BE for ; Sat, 31 Jul 2021 09:24:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DFBFD6103B for ; Sat, 31 Jul 2021 09:24:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232846AbhGaJYq (ORCPT ); Sat, 31 Jul 2021 05:24:46 -0400 Received: from smtp-relay-canonical-0.canonical.com ([185.125.188.120]:47664 "EHLO smtp-relay-canonical-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232568AbhGaJYp (ORCPT ); Sat, 31 Jul 2021 05:24:45 -0400 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 4C6B63F239 for ; Sat, 31 Jul 2021 09:24:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1627723477; bh=2SsoeL69SAbyVLuagHDmvrXJo7lE3+dC0c+iRSlRnVc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=qFsTkO4eepm/DqCMQXppe8VxSEAFM3YwAlxSrj2U6Eq84QGni2PVt4TurlipA1zpi 3T+zZjyKCuW6zs+t68drgEnyrmxHbgnk9NH22iluQ2ukdq0DAZ119RXehvWPRvMC0i yoMK5TDyeJxIITephJ3EqPUSs6O/F8Z1BZVYYZI/egfu+4SjbnXrBOgG0Ahi+FyDWb 1H7eXVDPMMSnSAmqlZ76yGqap3y5+avNcSU4WX9nqQX2ZwBdLjdgQnkZlczwZLH8XQ j2O5ef3z3dMcMSEwLvWNJi9pBgRa/rsEnUeDlIx2tTSL8ueR2l6mTch8Ks+E4v8YFl 9XbeRaN0KSLpg== Received: by mail-ed1-f70.google.com with SMTP id b13-20020a056402278db029039c013d5b80so5901678ede.7 for ; Sat, 31 Jul 2021 02:24:34 -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:mime-version :content-transfer-encoding; bh=2SsoeL69SAbyVLuagHDmvrXJo7lE3+dC0c+iRSlRnVc=; b=K89oEQFuEUmxv8be4ZruOyoPodKEChvz38C+N3bk+I7vEmONory8CQSGwCzQBciEK5 WgnpBsNZaM33O3CbtdEnPQ6EWvgmax5bcDNYb2sIEuL3Vx7m8ucCnv9sv2TQkprK6BPc 0r6ZYocgn7q9chbK585FwmWPWHQOaMlw17Mz4jhX8ZnKQX+7OOCchY/DfkG5BJYbxUGR HW774j9ppQXBb5jxpRRmXTnA+AO1AEAnVlOyAVkpBAR6sZw4bzLZhrZGLtfe/V1MlIo1 VeJ6HJUUJcivTy0wH3Nnj7+9q9u2zUyXpShiDhBl0RAMlKr2cRVqECJ1qIdTaPJG7g2m JwIQ== X-Gm-Message-State: AOAM531tjjC/aYyngCtggsB9lDbzXrfNxChSlRCI7WBMk93i5pKXQF+3 1zIZCZ2K2Mmm2/wMIM1M60+Qe8k3A3O3yYjw2OPz8SxJ5D7lS0E2+IJz0zR5UNuKhg0S+qznWHi dcah14Ohbb+bF4a2CIzRSL+DDqUNNrDFAZOdwJ9iAOUQn/H0l X-Received: by 2002:aa7:c3d1:: with SMTP id l17mr4578539edr.299.1627723474536; Sat, 31 Jul 2021 02:24:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeAnPajwclK+eQXY1ZtPp0NIkRYZP3KRr0MLG5lY5FR1vkdqt76BV8Rkpf4D3K9sS4iN6vpg== X-Received: by 2002:aa7:c3d1:: with SMTP id l17mr4578532edr.299.1627723474425; Sat, 31 Jul 2021 02:24:34 -0700 (PDT) Received: from localhost.localdomain ([86.32.47.9]) by smtp.gmail.com with ESMTPSA id r16sm1947693edt.15.2021.07.31.02.24.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Jul 2021 02:24:34 -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 1/8] ARM: dts: exynos: add CPU topology to Exynos3250 Date: Sat, 31 Jul 2021 11:24:02 +0200 Message-Id: <20210731092409.31496-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Describe Exynos3250 CPU topology. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index 77ab7193b903..a10b789d8acf 100644 --- a/arch/arm/boot/dts/exynos3250.dtsi +++ b/arch/arm/boot/dts/exynos3250.dtsi @@ -50,6 +50,17 @@ cpus { #address-cells = <1>; #size-cells = <0>; + cpu-map { + cluster0 { + core0 { + cpu = <&cpu0>; + }; + core1 { + cpu = <&cpu1>; + }; + }; + }; + cpu0: cpu@0 { device_type = "cpu"; compatible = "arm,cortex-a7"; From patchwork Sat Jul 31 09:24:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 490017 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=-15.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, 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=unavailable 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 E7A5CC4320E for ; Sat, 31 Jul 2021 09:24:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D3DB861042 for ; Sat, 31 Jul 2021 09:24:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232966AbhGaJY4 (ORCPT ); Sat, 31 Jul 2021 05:24:56 -0400 Received: from smtp-relay-canonical-0.canonical.com ([185.125.188.120]:47750 "EHLO smtp-relay-canonical-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233114AbhGaJYz (ORCPT ); Sat, 31 Jul 2021 05:24:55 -0400 Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (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 B4F8E3F22C for ; Sat, 31 Jul 2021 09:24:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1627723488; bh=UFrU0S2bBX7EdA6lqG0g8Nn8+OpcqLpY1eSVFyrsvVw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=hv95Psv5VXrVqAf1wWO9neBwg+KWuLRry5vuxP1fNi0TqlVkruhI8c5vmQ8vlLDYn Q6yNpTCW1fpqRg6uEgs6J9QVsqu2wj22m05kSz5uP7A8qgXVxwnpaGAE33EFAfBsRO wW4acWNEKrAYwN6yCbbmbgpmHbqHDGkVKCVUAfuUYV8K2T5qjbd2hpuKTArf0VxH0C ZoAk29tsH0TR4ql8beHYvS1se0LuX2cvNklJjV33dy1dCI2Hxr1GEPZDybQ/sHNTlA M6fIsSWQBMGc3n7dBt8oKALFpKQw9vjdRNZYjfnm4/qiHd2utTtA5EW787/Co9KLzR d65b61F1mnzGg== Received: by mail-ed1-f69.google.com with SMTP id k14-20020a05640212ceb02903bc50d32c17so5924920edx.12 for ; Sat, 31 Jul 2021 02:24:48 -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=UFrU0S2bBX7EdA6lqG0g8Nn8+OpcqLpY1eSVFyrsvVw=; b=eYKvrdPzre8g0mRsU+SXeVrc/jrIEuTCSQoTRK1A2LLStR+FLMcOC5WHj9X0G4BcyB 0EYe4wXtjwaM66mA9gvZ1kFDZd6+QRwcB4tS0vI5r5TlBqzXL+F7zRHvmp2PBUWFOH/y 2DvyvlOPyARwa8+fAkYjhnvozvHnC0levqlzz89YFCWY00HM2xbo2j0K7KTeWX0Aqiiz wU41FkPm1y9n6Has9DYuus0FqndUtBhVp1lcU/mNDP0qSItQUx338PH0TxCDKa0LDgMe kEAIAcf5I5HrBM3jKa88Bn29NV0EQjUEE5JE1UQmDUC3AD6CwdC5gDFSQ8t975ptDD1u 5Lzw== X-Gm-Message-State: AOAM533MxuhWq8m7SMeejyMlB2/DLoangCzl2jRd5JKovDXQAmWTkPqr mu7MucMmyNackmYAEveyTbO5ZWxav7B7TMRgq5f3PLq/SnWef0MS7y00X2Ea5ziEluz0q/B2nx/ yotZuTpt8MFi8cpiR70uhbv2GKxBQ1bZ73bn76eZAhBWzn+Nm X-Received: by 2002:a17:906:2c45:: with SMTP id f5mr6578238ejh.464.1627723487952; Sat, 31 Jul 2021 02:24:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1xUNY9MDqXQPMmbYu8q3NXm6Wwff2iuWqe6SEijIFM6pC3pnzQBfwNFCRmBOiJeVKeItFrg== X-Received: by 2002:a05:6402:40d4:: with SMTP id z20mr1261891edb.89.1627723477052; Sat, 31 Jul 2021 02:24:37 -0700 (PDT) Received: from localhost.localdomain ([86.32.47.9]) by smtp.gmail.com with ESMTPSA id r16sm1947693edt.15.2021.07.31.02.24.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Jul 2021 02:24:36 -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 3/8] ARM: dts: exynos: add CPU topology to Exynos4412 Date: Sat, 31 Jul 2021 11:24:04 +0200 Message-Id: <20210731092409.31496-3-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 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Describe Exynos4412 CPU topology. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412.dtsi b/arch/arm/boot/dts/exynos4412.dtsi index a142fe84010b..d3802046c8b8 100644 --- a/arch/arm/boot/dts/exynos4412.dtsi +++ b/arch/arm/boot/dts/exynos4412.dtsi @@ -35,6 +35,23 @@ cpus { #address-cells = <1>; #size-cells = <0>; + cpu-map { + cluster0 { + core0 { + cpu = <&cpu0>; + }; + core1 { + cpu = <&cpu1>; + }; + core2 { + cpu = <&cpu2>; + }; + core3 { + cpu = <&cpu3>; + }; + }; + }; + cpu0: cpu@a00 { device_type = "cpu"; compatible = "arm,cortex-a9"; 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: 490019 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=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, 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 7FF83C04FE3 for ; Sat, 31 Jul 2021 09:24:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6C0A060FE7 for ; Sat, 31 Jul 2021 09:24:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232758AbhGaJYs (ORCPT ); Sat, 31 Jul 2021 05:24:48 -0400 Received: from smtp-relay-canonical-1.canonical.com ([185.125.188.121]:59950 "EHLO smtp-relay-canonical-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232801AbhGaJYq (ORCPT ); Sat, 31 Jul 2021 05:24:46 -0400 Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (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 E535E3F340 for ; Sat, 31 Jul 2021 09:24:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1627723479; bh=LR7PylKlSM9jbeT9DvZDED63xszwtTNm8McFnmsrZzE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=vbhNutqO5C+wrwQrf11kMUiWHkqzEf3pRq5EVfbBlbhNKbKBh39ISmZ0ZMEwd7I1W 9JR2sUPtBMIB5TW7PHl9/3n9qNOR+9sfVbHuM3zMnESxe+PwhQybajB4C8IE/Qsx8v Vvj3YysUgc9pN+tsVvl7rp6TEFy2AJHIKtkuBJ6OzPTFXUq7LpEn+EstOb0y6/tdLZ LK4VllHS8lhNmUEgiwMqBp1P7evX4QWYBGZeIxMB/SgJJLfPEdYFW6DoMdjRqnPECe fHttX9uSjTYlwccwbZyi10DCDtcxDABFhOWHZWqZe6OV+kg8+8hM5Rf+I1rtNx7vOp l2UeXy7J1svRw== Received: by mail-ed1-f71.google.com with SMTP id de5-20020a0564023085b02903bb92fd182eso5932508edb.8 for ; Sat, 31 Jul 2021 02:24:39 -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=aj0hiU0vwY/BdRjks2aAoqHMSZKEUC1neZvUxAG9gdOzBuo7/Gj1m2NS8JSQftn+NI gMU4EiDY1qogIlHn0iv7Ya+sB1q9jqRYL8ja1Z08KIXveqnFd5Lo+vfT4C727nsC3hMB YOT0IBQ2riiccX2GarIiyAxx0xOBuu2T0WpPmd93Q6VE0C4y1s0uSUHEKBwNLYG3y9mS XJCzEYcgmVCBGzfk8vtOPwnpkuNCeBJf1dW3oDsWVNQUzYuxall+G/9XLwAUBg8nZRZP y0eVkENOzLA2qnqBUaFGYoxMaNZYGzz5RzGVnxww8Nb/6pQ6cf0L9aRn2ycKi8O8QJFD 2sLA== X-Gm-Message-State: AOAM533mOUqu+l55PGv8QxGHVpvAUUuKQqwUsFObFqjWSFuz9fqPh7Yc J7nOuq+dYaEgPGF5A2TScc0ituOCe7gRmiRw2U3AwThySFPuKhn3Pf4We5My6ETx1NuW0EcK1rv rtj/sJfSoCzWSFAj7CIwI5Gyxk56nmn8HHblogM5U8yaS5c5L X-Received: by 2002:a50:d64a:: with SMTP id c10mr8402832edj.199.1627723479598; 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 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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>; 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: 490018 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=-15.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, 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 145E9C43216 for ; Sat, 31 Jul 2021 09:24:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 03CED61058 for ; Sat, 31 Jul 2021 09:24:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233169AbhGaJYx (ORCPT ); Sat, 31 Jul 2021 05:24:53 -0400 Received: from smtp-relay-canonical-1.canonical.com ([185.125.188.121]:60034 "EHLO smtp-relay-canonical-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233018AbhGaJYu (ORCPT ); Sat, 31 Jul 2021 05:24:50 -0400 Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (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 ADFE63F110 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-f71.google.com with SMTP id l10-20020aa7caca0000b02903b874f26036so5848179edt.20 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=ahcQpx0E2a/CcQx6C1D2HakC4ITrfAbfez1piqpFkUJU9sFC/Hfk8mdiTs3IGvnmr2 iPRlxhly0X3c7ARSAmw3XjqFCrbX6ZiXM+kfFmw3Aorp6PH8ACpUY2/pXyZNoex2mtZg L7WPdCmEgP7h/kZvsIzenK1vubawkEi45NKtSZ686HyOi0d4fZN6uBrjuw3JCwtiHaHV KmIPkU45VVQffwOQ71GsOBKP0+kkQETWX3q/RJFjwHgwTjc7lCoNRDX0paxL5JVBiJJv +M0rXeeti0hb65u0j9AJCrbHbVBTDUozVaAjQRK9K86OA9hc+QpSEqyWj20Ix/DMVbW9 1ewA== X-Gm-Message-State: AOAM530Vwlz2qIqlKrBro8zgasEHRE6TbRB8LfjxqfE+k5MVYiuKTmSk UdHTYexlNESOCqa+JoSAgna2MUk6R8/Wom6aGpHSTQdlhb9Mm5jh+G/1H8jvZQ6PQxGgedKZ0DT oO7+5pyHJtfvCgqRPh9w5rcA5uRaLndCCFDmWdyyk7p3tGxTo X-Received: by 2002:a05:6402:795:: with SMTP id d21mr8286569edy.351.1627723483219; 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 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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";