From patchwork Sun May 6 01:26:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10382527 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 C143160318 for ; Sun, 6 May 2018 01:26:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B779928C0F for ; Sun, 6 May 2018 01:26:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC57128C29; Sun, 6 May 2018 01:26:26 +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=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, 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 4A4FD28C11 for ; Sun, 6 May 2018 01:26:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751832AbeEFB0Y (ORCPT ); Sat, 5 May 2018 21:26:24 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:33594 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751775AbeEFB0X (ORCPT ); Sat, 5 May 2018 21:26:23 -0400 Received: by mail-io0-f193.google.com with SMTP id e78-v6so29832569iod.0 for ; Sat, 05 May 2018 18:26:23 -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:in-reply-to:references; bh=abcjw3PYaN03ap5RvooBrxquzXCy+dU6/TkWkQFT7Cw=; b=Cp0S+SE4C31TKzDR9oLXiO4664vej70l+NsBvLgKr8jfOY0FYz35CDe5oLF0f3/6Uy lhnd9tiVP0y0VLWTkPY6FOrSWgwGNtUUupNvAZC3XRPZmv8GKwB7RVm2b0X4tZ6bxXKF 7HfQyDMI9/ehUpt+DGmN3lgfAn0wWzals2jl6Rfz8m1Ar0DS8jiTD5HVWcEq/zDL3J5o sx+yC4qQ9fo0cdiqD4RQZa8XqcqsLVrDcBd6M9o/eNw54RcMiu8bs56hvP1A/Rxj7C2v OfychQ/+dIh936KGJJIomDT3pkYwXbV4haGJK3Md48HC0w1Xshvxo/2HjGNyH+uA7nAy 35Cw== 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:in-reply-to :references; bh=abcjw3PYaN03ap5RvooBrxquzXCy+dU6/TkWkQFT7Cw=; b=Zsh2T2oPSb4eB5vtYr7ufSrrUYGz1eJ1bzN4Xg+kTsRpThD/v9isH/9FX33K4Tbi// /+RfOWdl2Mq8jpHFZArwxq7XIvDr8ab5KN+vwIiAiOii4GJf8Buh61QP55T0PAS3q1Oh WWxFDGf1mrXD+b+5alNAUSRoeH4cEjWZhPfar/E1vtEk+TiFFXxyDcOfeKs7GKwXu9CS c+hR1bQIM9g+asVcnoRPtkqWdTMZUV+NdBgG2wb5Jr/SO99XCKlPulfJI9oc7N8tPlYH BmPkHjtnRnOtwzlya2X+zi1vRmEmLWtum+K/VVEC3FzNXuFED9fg5NjvgEABxP1JK2RF a+6Q== X-Gm-Message-State: ALQs6tCcJT3g0CA4v4j6AcHxfsIdQJOVIOq91wRRHRTQxtb8BZS+CBgv +BKX6j1LzIyKHpq07rnbfBUdhA== X-Google-Smtp-Source: AB8JxZo08kzlZE16MkyfrzwZTK9XykuNEFMZkAeXLg2efaifMkXb4hHtmxowqEaR4QCE0uvDMMUBhg== X-Received: by 2002:a6b:24a:: with SMTP id 71-v6mr36317960ioc.123.1525569982503; Sat, 05 May 2018 18:26:22 -0700 (PDT) Received: from localhost.localdomain (c-73-65-120-235.hsd1.mn.comcast.net. [73.65.120.235]) by smtp.gmail.com with ESMTPSA id m89-v6sm10338349iod.1.2018.05.05.18.26.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 May 2018 18:26:21 -0700 (PDT) From: Adam Ford To: linux-omap@vger.kernel.org Cc: woods.technical@gmail.com, adam.ford@logicpd.com, Adam Ford Subject: [PATCH 2/5] ARM: DTS: am3517-evm: Split off SOM features from baseboard Date: Sat, 5 May 2018 20:26:08 -0500 Message-Id: <20180506012611.6949-2-aford173@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180506012611.6949-1-aford173@gmail.com> References: <20180506012611.6949-1-aford173@gmail.com> 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 The am3517-evm consists of an am3517 SOM-M2 and a baseboard. As items are added that are unique to the baseboard, let's place them in a file called am3517-som.dtsi. These items will be common for all variants of the SOM. Anything unique to the baseboard will be placed into am3517-evm. Signed-off-by: Derald D. Woods Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts index 98122bf4144e..c7c7b61e73bc 100644 --- a/arch/arm/boot/dts/am3517-evm.dts +++ b/arch/arm/boot/dts/am3517-evm.dts @@ -8,7 +8,7 @@ /dts-v1/; #include "am3517.dtsi" - +#include "am3517-som.dtsi" / { model = "TI AM3517 EVM (AM3517/05 TMDSEVM3517)"; compatible = "ti,am3517-evm", "ti,am3517", "ti,omap3"; diff --git a/arch/arm/boot/dts/am3517-som.dtsi b/arch/arm/boot/dts/am3517-som.dtsi new file mode 100644 index 000000000000..bf7b975d0224 --- /dev/null +++ b/arch/arm/boot/dts/am3517-som.dtsi @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2016 Derald D. Woods + * + * Based on am3517-evm.dts + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +&gpmc { + ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */ + + nand@0,0 { + compatible = "ti,omap2-nand"; + linux,mtd-name = "micron,mt29f4g16abchch"; + reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ + nand-bus-width = <16>; + ti,nand-ecc-opt = "bch8"; + gpmc,sync-clk-ps = <0>; + gpmc,cs-on-ns = <0>; + gpmc,cs-rd-off-ns = <44>; + gpmc,cs-wr-off-ns = <44>; + gpmc,adv-on-ns = <6>; + gpmc,adv-rd-off-ns = <34>; + gpmc,adv-wr-off-ns = <44>; + gpmc,we-off-ns = <40>; + gpmc,oe-off-ns = <54>; + gpmc,access-ns = <64>; + gpmc,rd-cycle-ns = <82>; + gpmc,wr-cycle-ns = <82>; + gpmc,wr-access-ns = <40>; + gpmc,wr-data-mux-bus-ns = <0>; + gpmc,device-width = <2>; + #address-cells = <1>; + #size-cells = <1>; + }; +};