From patchwork Wed May 21 08:45:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 30515 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f71.google.com (mail-pb0-f71.google.com [209.85.160.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C5B1A20671 for ; Wed, 21 May 2014 08:46:36 +0000 (UTC) Received: by mail-pb0-f71.google.com with SMTP id jt11sf5164299pbb.10 for ; Wed, 21 May 2014 01:46:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=+dVuqOW3iwuENHZ5yPc6lpRC8N/JISWHty2dLRcfnH4=; b=PeXfCGnApG5cTNNQs+Ush6qwY6i+bQYaaBuDJoKOtV3SpqlF8qT7HqAJSl3Se/UVzH VpdTkUlCxyZLq0sEFO4FteA5Di8fZZoWBmsqGjduY5xG7DNlBickfhxjUQSw1Kq0lgGj S4Ja/rtHp3Dre/xX97zYcDQcE5D5EoY8l2MYu5y6BbXaJoMYmXBZR0DfQzqDswlBWIPN q4QSvHgLs/wLXBeRFKldfKmfU/JW1AHkUxGWin9gjqmN73/OxryKrk+DXhjFtmS/Ag2o TR42JNNH+GB4K7FJnTuhDV5Cj4ASgdFgLI7tNMlJ6O6QEV6DGw4pKsCEQbcTwXaNM0R2 sx8w== X-Gm-Message-State: ALoCoQmj6//2ik1YnA/Z6YjkE8rQ2RGNDaGtxzCksjPfkmGB4G/8ggYbbq1sZxDUd+mCk11PG3at X-Received: by 10.66.141.135 with SMTP id ro7mr21428914pab.28.1400661996060; Wed, 21 May 2014 01:46:36 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.96.201 with SMTP id k67ls691645qge.22.gmail; Wed, 21 May 2014 01:46:35 -0700 (PDT) X-Received: by 10.58.134.101 with SMTP id pj5mr6512504veb.38.1400661995867; Wed, 21 May 2014 01:46:35 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id j2si2535573vcy.78.2014.05.21.01.46.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 May 2014 01:46:35 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.174 as permitted sender) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id jw12so2069110veb.5 for ; Wed, 21 May 2014 01:46:35 -0700 (PDT) X-Received: by 10.52.12.36 with SMTP id v4mr7419998vdb.20.1400661995764; Wed, 21 May 2014 01:46:35 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp94963vcb; Wed, 21 May 2014 01:46:35 -0700 (PDT) X-Received: by 10.68.139.71 with SMTP id qw7mr56185783pbb.68.1400661995020; Wed, 21 May 2014 01:46:35 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id im3si5304038pbb.119.2014.05.21.01.46.34; Wed, 21 May 2014 01:46:34 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751929AbaEUIpq (ORCPT + 27 others); Wed, 21 May 2014 04:45:46 -0400 Received: from mail-ig0-f176.google.com ([209.85.213.176]:50756 "EHLO mail-ig0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750987AbaEUIpn (ORCPT ); Wed, 21 May 2014 04:45:43 -0400 Received: by mail-ig0-f176.google.com with SMTP id hl10so5915793igb.3 for ; Wed, 21 May 2014 01:45:43 -0700 (PDT) X-Received: by 10.50.128.137 with SMTP id no9mr11890012igb.14.1400661942860; Wed, 21 May 2014 01:45:42 -0700 (PDT) Received: from localhost.localdomain (host109-149-218-223.range109-149.btcentralplus.com. [109.149.218.223]) by mx.google.com with ESMTPSA id is8sm3564841igb.7.2014.05.21.01.45.40 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 May 2014 01:45:42 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, maxime.coquelin@st.com, patrice.chotard@st.com Cc: lee.jones@linaro.org, kernel@stlinux.com Subject: [PATCH v2 1/3] ARM: sti: stih416: Add support for B2020 RevE Date: Wed, 21 May 2014 09:45:22 +0100 Message-Id: <1400661924-10745-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The B2020 RevE differs from the other B2020 boards in a few subtle ways; including the Ethernet reset GPIO which this patch adds support for and the LED wiring which will follow in a latter patch. Without supplying these differences Ethernet and the board LEDs simply will not work. Signed-off-by: Lee Jones Acked-by: Maxime Coquelin --- arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/stih416-b2020-revE.dts | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/stih416-b2020-revE.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 35c146f..0f89cdf 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -338,7 +338,8 @@ dtb-$(CONFIG_ARCH_SPEAR6XX)+= spear600-evb.dtb dtb-$(CONFIG_ARCH_STI)+= stih415-b2000.dtb \ stih416-b2000.dtb \ stih415-b2020.dtb \ - stih416-b2020.dtb + stih416-b2020.dtb \ + stih416-b2020-revE.dtb dtb-$(CONFIG_ARCH_SUNXI) += \ sun4i-a10-a1000.dtb \ sun4i-a10-cubieboard.dtb \ diff --git a/arch/arm/boot/dts/stih416-b2020-revE.dts b/arch/arm/boot/dts/stih416-b2020-revE.dts new file mode 100644 index 0000000..da3c1c4 --- /dev/null +++ b/arch/arm/boot/dts/stih416-b2020-revE.dts @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2014 STMicroelectronics (R&D) Limited. + * Author: Lee Jones + * + * 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 + * publishhed by the Free Software Foundation. + */ +/dts-v1/; +#include "stih416.dtsi" +#include "stih41x-b2020.dtsi" +/ { + model = "STiH416 B2020 REV-E"; + compatible = "st,stih416-b2020", "st,stih416"; + + soc { + ethernet1: dwmac@fef08000 { + snps,reset-gpio = <&PIO0 7>; + }; + }; +};