From patchwork Tue Jun 5 21:59:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 10449377 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BB56A60375 for ; Tue, 5 Jun 2018 21:59:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC0A629C37 for ; Tue, 5 Jun 2018 21:59:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A067529C3D; Tue, 5 Jun 2018 21:59:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3A38A29C37 for ; Tue, 5 Jun 2018 21:59:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=N6rQoCmeeBZWj96QyxmavYmChtODi6a4U0e28ccTV/4=; b=Iw6zMgFJ6iK8fg VxfaR87o4sYIePz83S9qb5WoDRAViNHjoUP1guKTabTSshignyDvsHo5RleyXxtb0TM1ywdc9/Fl2 XHuVHwDKgwYCDk+uemEk8ODp1BPkrxA2tRzAgCUqeucf+etV+b2jZD1qlHHmC10wu+6NLOThxIwrW EMVUpHY82Rcrq86R1Y3C04tC7G4XBj8CYx3zxM6BfpY8er/GqoF4w26rfNNj/48hrLWuOs9F1Df6n URflm0FhrLSOGhEGTwrkbiaDxF2AZUYZmsNAv2QoyfZyJpDBIO9dslER51AUAnonYuK4OdsRiOXf3 6B4R3gRzgDe8l7BXKhLA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fQJze-0003Ox-Nx; Tue, 05 Jun 2018 21:59:54 +0000 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fQJza-0002zm-4A for linux-amlogic@lists.infradead.org; Tue, 05 Jun 2018 21:59:52 +0000 Received: by mail-pg0-x243.google.com with SMTP id a14-v6so1274846pgw.10 for ; Tue, 05 Jun 2018 14:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zjdndT58q31XjLyvI7rNvmZvgmQDbUC5dcB8bkVlmqM=; b=Dw1QKRZylZJ+8M2YBU0zOMnZueO/y8LpWvpVAwckYj2f5VYccnN/NcoKKddEynOxBw 0jEt2nfFgxAOi0o0xSD5o8De7tBMl4FVeNOpBHTAjpW8w9IfZohUcb2JJ6MsgB/MdqhC J9EkC9/jH7jatQV+9Mk82v1tbXbPcad3qhSvlg91pvu2qp4yczngRXfr5j/g8mySaeOj m3SAHgz2IepeJUFzZyHje9hpmo+k/qDtZErp0TAklCODLhzDqgLwQEF9f5Ax2vgC2gzR 2d/2KfZ8sOceeocUTeg5Yt7QfIPrFd8F6UA+8vl1YouRy4Gtzo0VZObrvjjrG4bPS0Co 4wcQ== 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=zjdndT58q31XjLyvI7rNvmZvgmQDbUC5dcB8bkVlmqM=; b=S8aqVk4JS5S6Fi88WjJ5fuoq7ytklzxkgBkWRHh1vGz2u6+5cnDGgA0q3wOWvd9IGy q9Ou92xT+b1y1CET1dQ204gkrcfFexR61wA7ZLYmXXxf9ZubYuiGZkqGfi9bKm7IvxaS zsrFTN3RJfU0GdXDwY5uB7ljYpYZ2q9ToCgpk6a0lfjuI/ZskmCWR4FAUc3SJhZVoiRn tyggSpb576omLPTbHF0ppM6MlXVFfEheuTPVeEmyInoe2Mpa0s7lDYuU54J2oamHOAS/ elfAbx4BwKf67yxtBMzuMWsv29fplANlvxrb1Sipd1EMC55ZU2AABdc8vDTPcuBdb+ZX joYw== X-Gm-Message-State: APt69E0MGvd6rHGC3Jsma7D/8ZtIKl0ko1oRTG1ycKRbkv79onF5L37V vJXmLh0qX25Z6RjQqcYCRmYo+KWXeAk= X-Google-Smtp-Source: ADUXVKIjzBfscWHhA7cOPgi0CB5YVy0/NuUVeTAubUxxBLBuQjN536wWkJ287CI/ES3WXZQEmMXucQ== X-Received: by 2002:a62:4fd8:: with SMTP id f85-v6mr352707pfj.77.1528235979327; Tue, 05 Jun 2018 14:59:39 -0700 (PDT) Received: from localhost ([98.237.141.101]) by smtp.gmail.com with ESMTPSA id x8-v6sm10228145pfa.87.2018.06.05.14.59.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Jun 2018 14:59:38 -0700 (PDT) From: Kevin Hilman To: linux-amlogic@lists.infradead.org Subject: [PATCH v2] ARM64: dts: meson: fix register ranges for SD/eMMC Date: Tue, 5 Jun 2018 14:59:37 -0700 Message-Id: <20180605215937.16634-1-khilman@baylibre.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180605_145950_186160_98E2C31D X-CRM114-Status: UNSURE ( 9.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yixun Lan , linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Based on updated information from Amlogic, correct the register range for the SD/eMMC blocks to the right size. Reported-by: Yixun Lan Tested-by: Yixun Lan Signed-off-by: Kevin Hilman --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++-- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index fee87737a201..67d7115e4eff 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -132,7 +132,7 @@ sd_emmc_b: sd@5000 { compatible = "amlogic,meson-axg-mmc"; - reg = <0x0 0x5000 0x0 0x2000>; + reg = <0x0 0x5000 0x0 0x800>; interrupts = ; status = "disabled"; clocks = <&clkc CLKID_SD_EMMC_B>, @@ -144,7 +144,7 @@ sd_emmc_c: mmc@7000 { compatible = "amlogic,meson-axg-mmc"; - reg = <0x0 0x7000 0x0 0x2000>; + reg = <0x0 0x7000 0x0 0x800>; interrupts = ; status = "disabled"; clocks = <&clkc CLKID_SD_EMMC_C>, diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index 3c31e21cbed7..b003f324ca31 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi @@ -457,21 +457,21 @@ sd_emmc_a: mmc@70000 { compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; - reg = <0x0 0x70000 0x0 0x2000>; + reg = <0x0 0x70000 0x0 0x800>; interrupts = ; status = "disabled"; }; sd_emmc_b: mmc@72000 { compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; - reg = <0x0 0x72000 0x0 0x2000>; + reg = <0x0 0x72000 0x0 0x800>; interrupts = ; status = "disabled"; }; sd_emmc_c: mmc@74000 { compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; - reg = <0x0 0x74000 0x0 0x2000>; + reg = <0x0 0x74000 0x0 0x800>; interrupts = ; status = "disabled"; };