From: Krzysztof Kozlowski <krzk@kernel.org>
To: Igor Belwon <igor.belwon@mentallysanemainliners.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Alim Akhtar <alim.akhtar@samsung.com>,
Sylwester Nawrocki <s.nawrocki@samsung.com>,
Linus Walleij <linus.walleij@linaro.org>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org,
david@mainlining.org
Subject: Re: [PATCH v1 6/7] arm64: dts: exynos: Add initial support for the Exynos 990 SoC
Date: Tue, 15 Oct 2024 09:02:19 +0200 [thread overview]
Message-ID: <2edf63cd-66e2-4050-80dd-800ed77ef5e1@kernel.org> (raw)
In-Reply-To: <20241015062746.713245-7-igor.belwon@mentallysanemainliners.org>
On 15/10/2024 08:27, Igor Belwon wrote:
> The Exynos 990 SoC is an ARMv8 mobile SoC found in Samsung Galaxy N/S20
> series phones (x1sxxx, c1sxxx). Add minimal support for this SoC,
> including:
>
...
> + /* There's no PMU model for cluster2, which are the Mongoose cores. */
> +
> + 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>;
> + };
> + };
> +
> + cluster2 {
> + core0 {
> + cpu = <&cpu6>;
> + };
> +
> + core1 {
> + cpu = <&cpu7>;
> + };
> + };
> + };
> +
> + cpu0: cpu@0 {
> + device_type = "cpu";
> + compatible = "arm,cortex-a55";
> + reg = <0x0>;
> + enable-method = "psci";
> + };
> +
> + cpu1: cpu@1 {
> + device_type = "cpu";
> + compatible = "arm,cortex-a55";
> + reg = <0x1>;
> + enable-method = "psci";
> + };
> +
> + cpu2: cpu@2 {
> + device_type = "cpu";
> + compatible = "arm,cortex-a55";
> + reg = <0x2>;
> + enable-method = "psci";
> + };
> +
> + cpu3: cpu@3 {
> + device_type = "cpu";
> + compatible = "arm,cortex-a55";
> + reg = <0x3>;
> + enable-method = "psci";
> + };
> +
> + cpu4: cpu@100 {
> + device_type = "cpu";
> + compatible = "arm,cortex-a76";
> + reg = <0x4>;
> + enable-method = "psci";
> + };
> +
> + cpu5: cpu@101 {
> + device_type = "cpu";
> + compatible = "arm,cortex-a76";
> + reg = <0x5>;
> + enable-method = "psci";
> + };
> +
> + cpu6: cpu@200 {
> + device_type = "cpu";
> + compatible = "samsung,mongoose-m5";
> + reg = <0x6>;
> + enable-method = "psci";
> + };
> +
> + cpu7: cpu@201 {
> + device_type = "cpu";
> + compatible = "samsung,mongoose-m5";
> + reg = <0x7>;
> + enable-method = "psci";
> + };
> +
Stray blank line
> + };
> +
> + psci {
> + compatible = "arm,psci-0.2";
> + method = "hvc";
> + };
> +
> + oscclk: osc-clock {
clock-osc and keep order by node name
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-output-names = "oscclk";
> + };
> +
> + soc: soc@0 {
> + compatible = "simple-bus";
> + ranges = <0x0 0x0 0x0 0x20000000>;
> +
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + chipid@10000000 {
> + compatible = "samsung,exynos990-chipid",
> + "samsung,exynos850-chipid";
> + reg = <0x10000000 0x100>;
> + };
> +
> + gic: interrupt-controller@10101000 {
> + compatible = "arm,gic-400";
> + #interrupt-cells = <3>;
> + interrupt-controller;
> + reg = <0x10101000 0x1000>,
> + <0x10102000 0x1000>,
> + <0x10104000 0x2000>,
> + <0x10106000 0x2000>;
reg is the second property
> + interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) |
> + IRQ_TYPE_LEVEL_HIGH)>;
> + #address-cells = <0>;
> + #size-cells = <1>;
> + };
> +
> + pinctrl_cmgp: pinctrl@15c30000 {
Keep order by unit address.
> + compatible = "samsung,exynos990-pinctrl";
> + reg = <0x15c30000 0x1000>;
> + };
> +
> + pinctrl_hsi1: pinctrl@13040000 {
> + compatible = "samsung,exynos990-pinctrl";
> + reg = <0x13040000 0x1000>;
> + interrupts = <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>;
> + };
> +
> + pinctrl_hsi2: pinctrl@13c30000 {
> + compatible = "samsung,exynos990-pinctrl";
> + reg = <0x13c30000 0x1000>;
> + interrupts = <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>;
> + };
> +
> + pinctrl_peric0: pinctrl@10430000 {
> + compatible = "samsung,exynos990-pinctrl";
> + reg = <0x10430000 0x1000>;
> + interrupts = <GIC_SPI 392 IRQ_TYPE_LEVEL_HIGH>;
> + };
> +
> + pinctrl_peric1: pinctrl@10730000 {
> + compatible = "samsung,exynos990-pinctrl";
> + reg = <0x10730000 0x1000>;
> + interrupts = <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>;
> + };
> +
> + pinctrl_vts: pinctrl@15580000 {
> + compatible = "samsung,exynos990-pinctrl";
> + reg = <0x15580000 0x1000>;
> + };
> +
> + pinctrl_alive: pinctrl@15850000 {
> + compatible = "samsung,exynos990-pinctrl";
> + reg = <0x15850000 0x1000>;
> +
> + wakeup-interrupt-controller {
> + compatible = "samsung,exynos990-wakeup-eint",
> + "samsung,exynos7-wakeup-eint";
> + };
> + };
> + };
> +
> + timer {
> + compatible = "arm,armv8-timer";
> + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
> + <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
> + <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
> + <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
> +
> + /*
> + * Non-updatable, broken stock Samsung bootloader does not
> + * configure CNTFRQ_EL0
> + */
> + clock-frequency = <26000000>;
> + };
> +};
> +
> +#include "exynos990-pinctrl.dtsi"
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-10-15 7:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-15 6:27 [PATCH v1 0/7] Add minimal Exynos990 SoC and SM-N981B support Igor Belwon
2024-10-15 6:27 ` [PATCH v1 1/7] dt-bindings: arm: cpus: Add Samsung Mongoose M5 Igor Belwon
2024-10-15 20:37 ` Rob Herring (Arm)
2024-10-15 6:27 ` [PATCH v1 2/7] dt-bindings: hwinfo: exynos-chipid: Add compatible for Exynos 990 chipid Igor Belwon
2024-10-15 6:27 ` [PATCH v1 3/7] dt-bindings: arm: samsung: samsung-boards: Add bindings for Exynos 990 boards Igor Belwon
2024-10-15 6:27 ` [PATCH v1 4/7] dt-bindings: pinctrl: samsung: Add exynos990-pinctrl compatible Igor Belwon
2024-10-15 6:27 ` [PATCH v1 5/7] dt-bindings: pinctrl: samsung: add exynos990-wakeup-eint compatible Igor Belwon
2024-10-15 6:33 ` Krzysztof Kozlowski
2024-10-15 6:34 ` Krzysztof Kozlowski
2024-10-15 6:27 ` [PATCH v1 6/7] arm64: dts: exynos: Add initial support for the Exynos 990 SoC Igor Belwon
2024-10-15 7:02 ` Krzysztof Kozlowski [this message]
2024-10-15 6:27 ` [PATCH v1 7/7] arm64: boot: dts: Add initial support for Samsung Galaxy Note20 5G (c1s) Igor Belwon
2024-10-15 7:03 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2edf63cd-66e2-4050-80dd-800ed77ef5e1@kernel.org \
--to=krzk@kernel.org \
--cc=alim.akhtar@samsung.com \
--cc=conor+dt@kernel.org \
--cc=david@mainlining.org \
--cc=devicetree@vger.kernel.org \
--cc=igor.belwon@mentallysanemainliners.org \
--cc=krzk+dt@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=robh@kernel.org \
--cc=s.nawrocki@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).