Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp968346pxb; Sun, 21 Feb 2021 06:46:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJw9KvrUP04+qtRndW/M7wylwQkjwTu5IpA5L0JKm4R3859bsrh3gwk/EmDgrMh8noKakTjP X-Received: by 2002:a17:906:958:: with SMTP id j24mr16632238ejd.411.1613918760792; Sun, 21 Feb 2021 06:46:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613918760; cv=none; d=google.com; s=arc-20160816; b=WrJWluizvgyzK7cEAGbhrD6hVHoRUEu16Ulx7OQyDOGjFMx3YKg2Z0GJVxXWA/30qs vJsl+E7AlBkQ6QFSFoPyK3J/y4gVqx558w3Lr4G684HutvzBtQb8DJXDqJ8OBNrsKe5U HGVfABMhXkEjeHyNYJ/Os0L667LEOjjZYfF5xmfHxlPw0/HfwjbLjXO4blH6EJV7PVxG iGjpQvXlZkL2piMqutTCYJCFYvMdOsg8xObOzXsmLfJWoZF0gsps3sNyMMT5+TUvyT47 nqZ24yge7YMTniUI0UOTfRHyQlAUz5T2BoY43rDZldJES99RQ8SdO75UgvpAZv37vo4u TMGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:from :references:cc:to; bh=CgyWmwg4JTTFwjOCLJ/eCU71wpOqssEgJhGLaIpR+vY=; b=RyZHsnx5HZxefDZWWdB5qtuM40OcpqdvB+GEAe4LJMApeg35TaQfOPOUM5xldFVSZM igGmdcUnGfvI+WAZ3GtaRnGmOEpaXsPIfkA2d9WC9J7tOH/Bab3FBY/fmVNlMc9K8rZf DFNFCen8JwFPm/vaeiScCSW0AoLWZnGi/LQJJUgAZwrptoRu7Fp96sSrsyEPe/GXoSZW MN815mBAltB/sSk8i88BsmLLm2bpR9ns5/YKhhFATiQvlZD5Y8ofT0zkklJMS5sH8PBK Iin9RrWZN59tnYbvEru4egakTQktjTPdLzbAPCzJ6mf/I9nE6bPj5WcJpVHrx9ztX1wV PzWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=marcan.st Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z16si1985476eji.715.2021.02.21.06.45.38; Sun, 21 Feb 2021 06:46:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229871AbhBUOol (ORCPT + 99 others); Sun, 21 Feb 2021 09:44:41 -0500 Received: from marcansoft.com ([212.63.210.85]:57058 "EHLO mail.marcansoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229663AbhBUOol (ORCPT ); Sun, 21 Feb 2021 09:44:41 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id 61B25425BE; Sun, 21 Feb 2021 14:43:54 +0000 (UTC) To: Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, Marc Zyngier , Rob Herring , Arnd Bergmann , Olof Johansson , Mark Kettenis , Tony Lindgren , Mohamed Mediouni , Stan Skowronek , Alexander Graf , Will Deacon , Linus Walleij , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210215121713.57687-1-marcan@marcan.st> <20210215121713.57687-26-marcan@marcan.st> <20210215192906.7k3unuhph5wnkj5g@kozik-lap> From: Hector Martin Subject: Re: [PATCH v2 25/25] arm64: apple: Add initial Mac Mini 2020 (M1) devicetree Message-ID: <2e10f1e6-c86f-33ad-0c7b-4fefe4f28163@marcan.st> Date: Sun, 21 Feb 2021 23:43:52 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210215192906.7k3unuhph5wnkj5g@kozik-lap> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: es-ES Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/02/2021 04.29, Krzysztof Kozlowski wrote: > On Mon, Feb 15, 2021 at 09:17:13PM +0900, Hector Martin wrote: >> + memory@800000000 { >> + device_type = "memory"; >> + reg = <0 0 0 0>; /* To be filled by loader */ > > dtc and dtschema might complain, so could you set here fake memory > address 0x800000000? Would that work for your bootloader? Yeah, the bootloader just replaces the entire property anyway. I'll fill in some dummy values (the real usable memory range is to some extent dynamic and depends on firmware). >> + }; >> +}; >> + >> +&serial0 { >> + status = "okay"; >> +}; >> diff --git a/arch/arm64/boot/dts/apple/apple-m1.dtsi b/arch/arm64/boot/dts/apple/apple-m1.dtsi >> new file mode 100644 >> index 000000000000..45c87771b057 >> --- /dev/null >> +++ b/arch/arm64/boot/dts/apple/apple-m1.dtsi >> @@ -0,0 +1,124 @@ >> +// SPDX-License-Identifier: GPL-2.0+ OR MIT >> +/* >> + * Copyright The Asahi Linux Contributors >> + */ >> + >> +#include >> +#include >> + >> +/ { >> + compatible = "apple,m1", "apple,arm-platform"; >> + >> + #address-cells = <2>; >> + #size-cells = <2>; >> + >> + cpus { >> + #address-cells = <2>; >> + #size-cells = <0>; >> + >> + cpu0: cpu@0 { >> + compatible = "apple,icestorm"; >> + device_type = "cpu"; >> + reg = <0x0 0x0>; >> + enable-method = "spin-table"; >> + cpu-release-addr = <0 0>; /* To be filled by loader */ >> + }; > > New line after every device node, please. Added newlines after all the CPU nodes. > With this minor changes, fine for me: > Reviewed-by: Krzysztof Kozlowski Thanks! v3 will rename this file to apple/t8103.dtsi and the board file to t8103-j274.dts to better match other platforms (and to use the proper SoC ID for the M1); please let me know if you're okay keeping the Reviewed-by for that. -- Hector Martin (marcan@marcan.st) Public Key: https://mrcn.st/pub