From patchwork Thu Oct 12 13:40:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10002037 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 D7674602BF for ; Thu, 12 Oct 2017 13:40:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C932228DE3 for ; Thu, 12 Oct 2017 13:40:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C7E0628DF5; Thu, 12 Oct 2017 13:40:33 +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 6081328DEE for ; Thu, 12 Oct 2017 13:40:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751097AbdJLNkb (ORCPT ); Thu, 12 Oct 2017 09:40:31 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:47325 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750964AbdJLNkb (ORCPT ); Thu, 12 Oct 2017 09:40:31 -0400 Received: by mail-it0-f66.google.com with SMTP id p138so7305130itp.2 for ; Thu, 12 Oct 2017 06:40:31 -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=akSDj+eJKNJOCyH4weK5frf7gKnYcw+oQHTpmZn1d14=; b=H51iaCDUySAqucUaK1mowyuynHdS/9eQcM+ffRHj6kWaqyWUlWtmLRWEhEnCXddOzw OglfBPr+nEN6zKnYxzqJ0sChRGJvuwgkNH0Hm/duDhFeXFjSIz7lQwwtge89hD6JytCZ YCP3MPvogqz5cE/sJ+GTtRP6yZCilUiI+qRpJpRW/ONmg3ja0XGQSUa4wMIfN5LZGm33 Dby2BVqSlGtb0fOyQ6o6U6uwj1X3MQ1zjTHtjB4PmIUBSEXFYRVc78I4rNNna8380pP7 Ab3zF/24o3pqV9Mfv2eiwGNUbX7rL1bXVSovNKX+M9rKA6hAzUF0pcWkTT8X54s6cJM+ XNMg== 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=akSDj+eJKNJOCyH4weK5frf7gKnYcw+oQHTpmZn1d14=; b=mNFbSvcBU8FrDKhiDtQjfCMWPTLpmKMIjrvc8weY2avCYfcmyppt1xcsZGxcCGki/u alXs0NTzR0CtrxVNJM3qnpwVFiza9X+90feDdgFk0uY9chagSgGRwNQzLCIdhM+XaBtP Gl57lKFqUMVKl2R0Tjt7pWyoh4XHlk0WO2BHWOnZDqGDFO3Z055tYVKg7Z82ZpLNMLIb AE8wG+2M/6Rz0trFvW58vmVnadUFWAEdj7E97z6y9ZiyjZxWn4ITbQnc/W0mPFt6Jwm9 p+e1/3+TmtAphjimYKPVcXN1vI/fY1qIJ88karhIo5xTo0oBFJSfHYLlnLQ2/wzw0GxN /rNg== X-Gm-Message-State: AMCzsaUxbVKU+4KbziUH37k7hzacuikmrwypcqyrDaUMzLgbAJDoZJMw sJpNsD730viR3Z3+pkbcJ74= X-Google-Smtp-Source: AOwi7QD4NR1iTASp865jCmsMBTNy+Rb/LENEdCe6wjsBryRsiizncLDUHKXixPK7wl98QKYcf1t0ow== X-Received: by 10.36.189.202 with SMTP id x193mr2993969ite.44.1507815630312; Thu, 12 Oct 2017 06:40:30 -0700 (PDT) Received: from ubuntu16.lan (c-73-65-120-235.hsd1.mn.comcast.net. [73.65.120.235]) by smtp.gmail.com with ESMTPSA id y126sm125636itd.9.2017.10.12.06.40.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Oct 2017 06:40:29 -0700 (PDT) From: Adam Ford To: robh+dt@kernel.org, linux-omap@vger.kernel.org Cc: adam.ford@logicpd.com, Adam Ford Subject: [PATCH] ARM: dts: Fix gpmc addresses for Logic PD SOM-LV NAND and enet Date: Thu, 12 Oct 2017 08:40:12 -0500 Message-Id: <1507815612-8303-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 kit. Signed-off-by: Adam Ford 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";