Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp299883lqh; Mon, 6 May 2024 22:01:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUgGZMBD1hj3CRae6wuTYZkwxFQM+j6Wpe8F4MMPLFckU9QWmipzPuRRlESmbkMiV4clXC3vICsWx52TNjUPKdzDih28Kszva7z8gffow== X-Google-Smtp-Source: AGHT+IHw5CSpEWz5rdOjLCvZcyul3jVyWttptiOsPyQ42uRAhgkMRovpSCYagvuDqiNfJo8AjsXR X-Received: by 2002:a05:6a20:9741:b0:1a7:48de:b2a4 with SMTP id hs1-20020a056a20974100b001a748deb2a4mr2421386pzc.6.1715058106370; Mon, 06 May 2024 22:01:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715058106; cv=pass; d=google.com; s=arc-20160816; b=tDTXdPcYAArr1VYbP6VJXKhZMla6O5LSVfQKX3kidkNAnj/wAARegoGN2AvwIvqvR3 E2fYTtXVqKzkvrSy+JYM/qNG6yVTbqmrjL3akuyUhWDvKAweW3OtuQbN1LQqMYFOVvWR hTBboRbfEqj2+QmqMJ4M2NEC/Xdu+DKc/E/awjUGZeUEF8EanfPJGzJoO2Lay81Ic+9o XJghoNGzNKtkIoVKaWChJqepXdTGDAA0061+2f9TrnRPpkxukc9KhYVX1UI0ABI3GOjI nT9J2adk9VgHVSsP2/+redY0dks85Q1sL/45+r3eDfbHfikUimKH1/+GjNmsrN/q42O/ bu6A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=DvImobpR9QD2Br3BfnFIc4ZTdsXi4UyVtbpSlCU10uI=; fh=xoRQMtd49SuiQiikDbKT3KtKzr1a4XSmzo/FRFloiZY=; b=GjPEIhfmQBV9l1etokup9DJ06vlSBIq+ifbu4LY3BrxRx2LSj/vqItMZuA3v8ADEzd WBWTCmxpvFuT2+Uaf0snuDGFdlPekE+Tb77Fvfg2/CRMXboPQ/H27rUlVJGnTlSvRS7O jxkjzyv7U3ImuBEVCw6vBhgEMuukc+eYBbyVGmZ5faNsgaTVvGXStbmrnpGqIkxBQIY3 cYmYdF0r5pdazJcUR07mo4NJWKHeDRY2ISOVvis1bIZcCzO41lPF2Qn7tKEjUz8+wRxA yk/OqIHfJL2l0gqdB744L2bhOfWxmOlE3AOWr13WEu+9PiXBBU6LXo2WSfTb1Pj2cV4n DjnA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tenstorrent.com header.s=google header.b="fVijD/Xg"; arc=pass (i=1 spf=pass spfdomain=tenstorrent.com dkim=pass dkdomain=tenstorrent.com dmarc=pass fromdomain=tenstorrent.com); spf=pass (google.com: domain of linux-kernel+bounces-170664-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170664-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tenstorrent.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id n24-20020a63f818000000b005f3f312f17dsi9327943pgh.593.2024.05.06.22.01.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 22:01:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170664-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@tenstorrent.com header.s=google header.b="fVijD/Xg"; arc=pass (i=1 spf=pass spfdomain=tenstorrent.com dkim=pass dkdomain=tenstorrent.com dmarc=pass fromdomain=tenstorrent.com); spf=pass (google.com: domain of linux-kernel+bounces-170664-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170664-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tenstorrent.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C47CBB242D6 for ; Tue, 7 May 2024 04:57:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5EFB66BFAB; Tue, 7 May 2024 04:57:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tenstorrent.com header.i=@tenstorrent.com header.b="fVijD/Xg" Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F355B6BB44 for ; Tue, 7 May 2024 04:57:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715057853; cv=none; b=X4O3wSo6Sj/kKZ48FHkoWe+qiUJKE25R1EVv+UurXINjmKuXdDq/1TUIZ7b9f1IfZEMtEWUsW4/iR+OXw8acChBrHZAmoSCrqMVvygMumjZQG407bRU57PFHfG3B3FIKOkqdXkLeeskqTGHQfpbGM3hHE8eRZpWdN/sBwlIlJLg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715057853; c=relaxed/simple; bh=Yba66V7fg6k67xvwARdOY8T2HOGTwD7Vg2Zq+zVyGpk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=X4UmMXQ5XesJmdaNFVc0BYko2VLKPsWeCHMdqv3xd+49iqbbpWWbSxLGNk7RSMXaEH/lXkjhvY1uZ15hONPDiwuhG+jsYG0HRb3yVgS9DUluaaSSL1XXHnVMU9ZRa5OI8nlPSLDuSXMDN4c1NurjCWvqX6qxI2YXxXQSeGq3V3A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=tenstorrent.com; spf=pass smtp.mailfrom=tenstorrent.com; dkim=pass (2048-bit key) header.d=tenstorrent.com header.i=@tenstorrent.com header.b=fVijD/Xg; arc=none smtp.client-ip=209.85.210.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=tenstorrent.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tenstorrent.com Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6f4603237e0so1511913b3a.0 for ; Mon, 06 May 2024 21:57:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenstorrent.com; s=google; t=1715057851; x=1715662651; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=DvImobpR9QD2Br3BfnFIc4ZTdsXi4UyVtbpSlCU10uI=; b=fVijD/XgKQhdnXvcb25bJuB6s4WNJTIXIjxPaVgVwk6CjsNXVBJyZJrmcC+y++n2te SrUAzYQM8SSvV9sTK9yj2Yyg892FGVBjv2mQIkuka3ZB8rnqZVtUBQc4VhxW5iNQS93W 9H3//mwoEm4UybphlGM4+DTjQz0631Bz5Y5XB3Cr6TusnvayC/xKm1D6HpbNsGew5gVO Hd+sbDBWqA+5RgBMgt+U1WHZk1gGbkVzpnYk/EBI12TMfl19LYCuRkScklL/5FSP+oOr Gj0SW0h6U1ioMKvCX2QkRdEtj3kz9zCcEmdHbUha6bX3RI+H6U95YoWSaBojFF9rsxJM KZ9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715057851; x=1715662651; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DvImobpR9QD2Br3BfnFIc4ZTdsXi4UyVtbpSlCU10uI=; b=OoLTwYyKKCnnfEki7eIlx4pdYOptgcqAYI3lbjUGB8ZlehFDEu5WYnVYNKARpupkhu VmFWeSoB7HrfGudiyC+SJ0zvBG9sZj2bh7RQaHqD0Yi3xDcBT3qQQ7Pa9tJSotgXH4Q9 vYrFWUgO3PTw7f7tXbf/jHJOPCFgGQuY+zxl7BBX+EB2afI9Z7Xa8Zf0MCRdWNwU58Ja BDYpDJAXt2/80AghZW0Z/t2aX3t9ht8mlLqpq1YfjDuS029RBMyYRyq91Y1m+l+Br2zs 0LBU/9f+qZtXS2H4DWXSM87c42sasNlFtx/FPIprNVSzg2xCQR+vR2KCniVWXUBbPoS7 +07A== X-Forwarded-Encrypted: i=1; AJvYcCU233GMxBWWVaPG5dD3A2SXg9rtoGrhZl/jTrFormg45/E9dPjA9tWhWznKNW5lw+0tD11GGr9xZ+vwi1p1/2pHPJnTeAtP2j+Mclv8 X-Gm-Message-State: AOJu0YyKp6E+FJvgRw33CMKv+soLsc2Dk+iigRIts6RPMzceX2tM6RQT /Ra0lCQioLgp0XUTJpa2NPKmTr1qBXW4ZsOtkJZXEQyI1Az5b7LdhiV2Bi2B5OU= X-Received: by 2002:aa7:8742:0:b0:6ed:41f4:1886 with SMTP id g2-20020aa78742000000b006ed41f41886mr2203053pfo.8.1715057851282; Mon, 06 May 2024 21:57:31 -0700 (PDT) Received: from [127.0.1.1] ([2601:1c2:1802:170:6870:7119:e255:c3a0]) by smtp.gmail.com with ESMTPSA id o14-20020a637e4e000000b005f80aced5f3sm8987249pgn.0.2024.05.06.21.57.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 21:57:31 -0700 (PDT) From: Drew Fustini Date: Mon, 06 May 2024 21:55:14 -0700 Subject: [PATCH RFC v3 1/7] riscv: dts: thead: Fix node ordering in TH1520 device tree Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240506-th1520-clk-v3-1-085a18a23a7f@tenstorrent.com> References: <20240506-th1520-clk-v3-0-085a18a23a7f@tenstorrent.com> In-Reply-To: <20240506-th1520-clk-v3-0-085a18a23a7f@tenstorrent.com> To: Jisheng Zhang , Guo Ren , Fu Wei , Yangtao Li , Thomas Bonnefille , Emil Renner Berthing , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: linux-riscv@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Drew Fustini , Conor Dooley X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1715057849; l=2484; i=dfustini@tenstorrent.com; s=20230430; h=from:subject:message-id; bh=0Ot4hVSus7f5v4Ml6Hb9TXPwAtMpDZsRAGOrrpUZWI8=; b=HLvXY5FVkY8PqB/hsbRI2GENm5Nc6Jmo+rVl3j00x+TMr9OtGpxR5SNDbrBI7Vz1CFWK3Zua9 D/x6qhAhIwhBnZTDAHOfJBMN261PJt7KOch5ZDKmpAs5nZxVwLc2E9W X-Developer-Key: i=dfustini@tenstorrent.com; a=ed25519; pk=p3GKE9XFmjhwAayAHG4U108yag7V8xQVd4zJLdW0g7g= From: Thomas Bonnefille According to the device tree coding style, nodes shall be ordered by unit address in ascending order. Signed-off-by: Thomas Bonnefille Signed-off-by: Conor Dooley --- arch/riscv/boot/dts/thead/th1520.dtsi | 54 +++++++++++++++++------------------ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index 8b915e206f3a..d2fa25839012 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -193,6 +193,33 @@ uart0: serial@ffe7014000 { status = "disabled"; }; + emmc: mmc@ffe7080000 { + compatible = "thead,th1520-dwcmshc"; + reg = <0xff 0xe7080000 0x0 0x10000>; + interrupts = <62 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&sdhci_clk>; + clock-names = "core"; + status = "disabled"; + }; + + sdio0: mmc@ffe7090000 { + compatible = "thead,th1520-dwcmshc"; + reg = <0xff 0xe7090000 0x0 0x10000>; + interrupts = <64 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&sdhci_clk>; + clock-names = "core"; + status = "disabled"; + }; + + sdio1: mmc@ffe70a0000 { + compatible = "thead,th1520-dwcmshc"; + reg = <0xff 0xe70a0000 0x0 0x10000>; + interrupts = <71 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&sdhci_clk>; + clock-names = "core"; + status = "disabled"; + }; + uart1: serial@ffe7f00000 { compatible = "snps,dw-apb-uart"; reg = <0xff 0xe7f00000 0x0 0x100>; @@ -311,33 +338,6 @@ dmac0: dma-controller@ffefc00000 { status = "disabled"; }; - emmc: mmc@ffe7080000 { - compatible = "thead,th1520-dwcmshc"; - reg = <0xff 0xe7080000 0x0 0x10000>; - interrupts = <62 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&sdhci_clk>; - clock-names = "core"; - status = "disabled"; - }; - - sdio0: mmc@ffe7090000 { - compatible = "thead,th1520-dwcmshc"; - reg = <0xff 0xe7090000 0x0 0x10000>; - interrupts = <64 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&sdhci_clk>; - clock-names = "core"; - status = "disabled"; - }; - - sdio1: mmc@ffe70a0000 { - compatible = "thead,th1520-dwcmshc"; - reg = <0xff 0xe70a0000 0x0 0x10000>; - interrupts = <71 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&sdhci_clk>; - clock-names = "core"; - status = "disabled"; - }; - timer0: timer@ffefc32000 { compatible = "snps,dw-apb-timer"; reg = <0xff 0xefc32000 0x0 0x14>; -- 2.34.1