From patchwork Wed May 21 08:20:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 30510 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f72.google.com (mail-qg0-f72.google.com [209.85.192.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ED99B20675 for ; Wed, 21 May 2014 08:20:46 +0000 (UTC) Received: by mail-qg0-f72.google.com with SMTP id q108sf3535327qgd.7 for ; Wed, 21 May 2014 01:20:46 -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=MIu/GaOM5OA09FKmOK8bkAveB7BCb/XnPj/rjcDqcFc=; b=hjGKr+REVCpGj8g+IF0ij7eTH5F7fWEW6g1rz340da9nlehx3YIO1LyFWE6/ETBoDY KU2ulMx20fBOpdKE8FzXmzmQOMn98fOPq/ApFWk1q7/WfnU+dF+OaKlhucKfK40wF1L6 X2+W34nfuMWqczZtK57WJkQ1FenlhA9wRDjTYkD5bIC+4BEtz2JlcsGysPzU1KDIW7RK 1ylAi7M7wLIudgc6V8bNRzvbObRdvXbYmRxzuiJuM8brlS8RZ/Cg1GAUIEoiqwJbbtuo GDkVPzyiakTrpJP0ZbQTU+dfCsLrmDx3JtbyNVgXr0Hz12qgwv5b7W1LiC0x12TEd284 Ns9g== X-Gm-Message-State: ALoCoQluBnb+KqFXnQrJ+svYg/9KhUGu/DRXfWUk4gkRfFKSDPtu6yWbtG4XzX0b9ltVk/uOdCjr X-Received: by 10.52.170.145 with SMTP id am17mr18900351vdc.2.1400660446686; Wed, 21 May 2014 01:20:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.21.203 with SMTP id 69ls571161qgl.35.gmail; Wed, 21 May 2014 01:20:46 -0700 (PDT) X-Received: by 10.58.209.233 with SMTP id mp9mr29307731vec.30.1400660446531; Wed, 21 May 2014 01:20:46 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id i6si224109veb.38.2014.05.21.01.20.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 May 2014 01:20:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 as permitted sender) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id hy4so2087662vcb.11 for ; Wed, 21 May 2014 01:20:46 -0700 (PDT) X-Received: by 10.58.48.201 with SMTP id o9mr41346398ven.5.1400660446415; Wed, 21 May 2014 01:20:46 -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 ib8csp93464vcb; Wed, 21 May 2014 01:20:46 -0700 (PDT) X-Received: by 10.68.194.229 with SMTP id hz5mr56283713pbc.91.1400660445704; Wed, 21 May 2014 01:20:45 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fu6si8827829pac.106.2014.05.21.01.20.45; Wed, 21 May 2014 01:20:45 -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 S1752094AbaEUIUe (ORCPT + 27 others); Wed, 21 May 2014 04:20:34 -0400 Received: from mail-ig0-f175.google.com ([209.85.213.175]:41931 "EHLO mail-ig0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750883AbaEUIUc (ORCPT ); Wed, 21 May 2014 04:20:32 -0400 Received: by mail-ig0-f175.google.com with SMTP id uq10so5894684igb.8 for ; Wed, 21 May 2014 01:20:32 -0700 (PDT) X-Received: by 10.42.92.82 with SMTP id s18mr16148314icm.64.1400660432022; Wed, 21 May 2014 01:20:32 -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 ql7sm3381064igc.19.2014.05.21.01.20.29 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 May 2014 01:20:31 -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 1/3] ARM: sti: stih416: Add support for B2020 RevE Date: Wed, 21 May 2014 09:20:13 +0100 Message-Id: <1400660415-14720-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.220.180 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 --- 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..202919a --- /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: ethernet@fef08000 { + snps,reset-gpio = <&PIO0 7>; + }; + }; +};