From patchwork Tue Oct 31 18:42:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10035175 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 E5B9360327 for ; Tue, 31 Oct 2017 18:42:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9F6528AB0 for ; Tue, 31 Oct 2017 18:42:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CED7328ABF; Tue, 31 Oct 2017 18:42:29 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 793B528AB0 for ; Tue, 31 Oct 2017 18:42:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932687AbdJaSm1 (ORCPT ); Tue, 31 Oct 2017 14:42:27 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:51077 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932668AbdJaSm0 (ORCPT ); Tue, 31 Oct 2017 14:42:26 -0400 Received: by mail-io0-f196.google.com with SMTP id 97so928984iok.7 for ; Tue, 31 Oct 2017 11:42:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Bt0/eY724akWugweVWAV4ddnyWLxkF60QAu8EMtLs1U=; b=SwhanamHs6eMejMwyiEJcYKl5Q/92qoy0bqDfCbk1QgGvN5xgpkoODtVxXG/W1qpgC KiyFdFqkwb2W6cKbM3BfaawAeuGKR3Jl/lkvofBVVKa9sdTpKwUqt8fuQDMRdCVuHHd0 bWogHV2MRgqiAdXyDrY3v8VrjPK4Z+cRGkQAHhcwTRwtJiDvUhTz0qcmju/rpQCNLXsA GzfGk04XQrpR2vfaub6J16n3RrVWw0IfP+DYjkdxJbfpPueSbx0y1yfZO6qTkeHc6Xoq xJIaa4ZRO0fd4qYZbFkPJIpMRQW/QkxC2aK5nvpzslNQ7zqeIRgDlblgFdMKEookO1Dy nh8A== 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; bh=Bt0/eY724akWugweVWAV4ddnyWLxkF60QAu8EMtLs1U=; b=DKgN1gQbcEbqu9fDIDfYnWyAtfYKltrHfO+8bB+pAJ569aNt3bLIRciL2W/++jEwYB hG2jIAzl4NURX0lWGZqeUT+yxEnnvMBb1nvZYb5tmzz2a6p1GaQZbdxNrleNOaojaThy sj7AzVi+R+TKHHBW8b7K5yhCY8oG+cCCQLrtOOAU1Bx6hcvdjlBiXN/Xzuy8z0Fs2+Rq WkZmTRiReP2gtwgulYQ0Oc78JGr85G6k0OGNJW/ULYw2ndZ7Nrn2KOTIy2mw4zOQ7Mim 4hLX5S4EAaIDClSsKcgQ8jJE+Vk3d/ZI4ERjtXPoYa3oOsQuBZ2m/IdCz9Ogm/2sYuC6 heSA== X-Gm-Message-State: AMCzsaVAHqhWEr2nopX4UhkS/nBTj64VdoQ9Rg0IJut4rdaQhjsjk/jC FIRFk0lvtAGxZx3LrRWSwiYQiw== X-Google-Smtp-Source: ABhQp+SK8jLQJT32cLWjvZwQ2RAhkklVX92wqf3UHK7crnGRsh1kZWyvfJX7k+L0q5ufmA1j4ntXDw== X-Received: by 10.36.77.131 with SMTP id l125mr4416504itb.7.1509475345744; Tue, 31 Oct 2017 11:42:25 -0700 (PDT) Received: from aford-OptiPlex-7050.logicpd.com ([174.46.170.158]) by smtp.gmail.com with ESMTPSA id i63sm961607ioi.68.2017.10.31.11.42.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 Oct 2017 11:42:25 -0700 (PDT) From: Adam Ford To: linux-omap@vger.kernel.org Cc: Adam Ford Subject: [PATCH V2] ARM: dts: logicpd-som-lv: Fix gpmc addresses for NAND and enet Date: Tue, 31 Oct 2017 13:42:13 -0500 Message-Id: <1509475333-7024-1-git-send-email-aford173@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch fixes and issue where the NAND and GPMC based ethernet controller stopped working. This also updates the GPMC settings to be consistent with the Logic PD Torpedo development from the commit listed above. Fixes: 44e4716499b8 ("ARM: dts: omap3: Fix NAND device nodes") Signed-off-by: Adam Ford V2: Move 'fixes' to the end just before the signed-off diff --git a/arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dts b/arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dts index 38faa90..2fa5eb4 100644 --- a/arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dts +++ b/arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dts @@ -72,7 +72,8 @@ }; &gpmc { - ranges = <1 0 0x08000000 0x1000000>; /* CS1: 16MB for LAN9221 */ + ranges = <0 0 0x30000000 0x1000000 /* CS0: 16MB for NAND */ + 1 0 0x2c000000 0x1000000>; /* CS1: 16MB for LAN9221 */ ethernet@gpmc { pinctrl-names = "default"; diff --git a/arch/arm/boot/dts/logicpd-som-lv.dtsi b/arch/arm/boot/dts/logicpd-som-lv.dtsi index 26cce4d..c5edc7f 100644 --- a/arch/arm/boot/dts/logicpd-som-lv.dtsi +++ b/arch/arm/boot/dts/logicpd-som-lv.dtsi @@ -37,7 +37,7 @@ }; &gpmc { - ranges = <0 0 0x00000000 0x1000000>; /* CS0: 16MB for NAND */ + ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */ nand@0,0 { compatible = "ti,omap2-nand";