Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp919920ybh; Tue, 10 Mar 2020 10:47:55 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtFccLYEHkiHsKmvAbnwqC6sCYlcFyql1Op7Ctk+8OHTPkObr0xX0/eRzO60/ySxPpmjxW0 X-Received: by 2002:a9d:12b4:: with SMTP id g49mr18455314otg.50.1583862475563; Tue, 10 Mar 2020 10:47:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583862475; cv=none; d=google.com; s=arc-20160816; b=ajM/+AwlVEfSAstzg3CIh2BK4kIDK9fidlShaFWO5mfoODWeX1zk83dL2qHA7X1IQX v+lRgtbmsJ6g00/ROckGDA6QL2F7qbzyD1txVzO3voQNl+9DdXs+koRo33TVIBWtX0Nv ewxz/ca71lEG2qPge2HIiWKgV1jo+Ecu0v2CsTx5L5RVWo86Ei605W1inxVbo7mlvygz zjwfrnkv0b0Luw1Jo8OC2EUx7SEs79v5uPcMddoShG5b+aZO4pvHu1yoV5XdLPQVVmn5 fONKn1ds5Ss7l7EFJ6pPbE07PuX7v5zelyJ+/AvEM8k7CL3o/2Dh+vuON1V0Oj2wW2SJ dZDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Sph8hRxQbsCwmMph6aIWIS/29/Yfp1Ck4rtYwTljX8g=; b=xddNVwYnPMMUu/G1qT/r8uTyGx+RGCH2lJoTnFD1vDbPBpt3xJAIei9qp6jQOa93yv V/PQARisA0zJykFieyCjy06v/HnzuHVSrPg+0ZyDxuNr0s6L0NGIosSBSkMGmtIMCn47 XPLLLl7Hz27ybVWhI7fx+8MgNpItWLFMoFvRGDT24hvQofgBJq7JDxtGco0sfJicWC+u XsW+HY8p0D4tXAU22fDE9hSM7zCd2qnG/rjTbU0If2oyi75hUkaWQoVFpqxu6MyyXVTf VznkU+e7wzWm767v78wYSQVLC8oPbdzINsz0Fch1etCassRl6ViDq4AzVPulbv5LaNs5 dzkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Q9vL0XX/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q16si7671697otc.293.2020.03.10.10.47.43; Tue, 10 Mar 2020 10:47:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Q9vL0XX/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726837AbgCJRrO (ORCPT + 99 others); Tue, 10 Mar 2020 13:47:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:44138 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726380AbgCJRrN (ORCPT ); Tue, 10 Mar 2020 13:47:13 -0400 Received: from wens.tw (mirror2.csie.ntu.edu.tw [140.112.30.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C0C4121D7E; Tue, 10 Mar 2020 17:47:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583862432; bh=L/g69189loolLa5gwwsa6SGkomtLZ00efuDIf4aB4kk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q9vL0XX/mfnj7A/ngBoRrJFrke2SgqrL6rNIKO8ipP5EycnLce+R+zi6GpfsvDK4K rhFg9MEplTMdnx7eZb3bvcQkonOPuqtF0xkijYIafz9k3xyu3NF/E3ByXWmXjifSvH sYABcsJGTdMGe3SoSZCXbvfDZQzzi21aOtdmsI1o= Received: by wens.tw (Postfix, from userid 1000) id 2AC5A604E2; Wed, 11 Mar 2020 01:47:09 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] ARM: dts: sun8i: r40: Move AHCI device node based on address order Date: Wed, 11 Mar 2020 01:47:07 +0800 Message-Id: <20200310174709.24174-2-wens@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200310174709.24174-1-wens@kernel.org> References: <20200310174709.24174-1-wens@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen-Yu Tsai When the AHCI device node was added, it was added in the wrong location in the device tree file. The device nodes should be sorted by register address. Move the device node to before EHCI1, where it belongs. Fixes: 41c64d3318aa ("ARM: dts: sun8i: r40: add sata node") Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-r40.dtsi | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi index d5442b5b6fd2..b278686d0c22 100644 --- a/arch/arm/boot/dts/sun8i-r40.dtsi +++ b/arch/arm/boot/dts/sun8i-r40.dtsi @@ -307,6 +307,17 @@ crypto: crypto@1c15000 { resets = <&ccu RST_BUS_CE>; }; + ahci: sata@1c18000 { + compatible = "allwinner,sun8i-r40-ahci"; + reg = <0x01c18000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>; + resets = <&ccu RST_BUS_SATA>; + reset-names = "ahci"; + status = "disabled"; + + }; + ehci1: usb@1c19000 { compatible = "allwinner,sun8i-r40-ehci", "generic-ehci"; reg = <0x01c19000 0x100>; @@ -733,17 +744,6 @@ spi3: spi@1c0f000 { #size-cells = <0>; }; - ahci: sata@1c18000 { - compatible = "allwinner,sun8i-r40-ahci"; - reg = <0x01c18000 0x1000>; - interrupts = ; - clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>; - resets = <&ccu RST_BUS_SATA>; - reset-names = "ahci"; - status = "disabled"; - - }; - gmac: ethernet@1c50000 { compatible = "allwinner,sun8i-r40-gmac"; syscon = <&ccu>; -- 2.25.1