From patchwork Tue Mar 11 10:22:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 26016 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f198.google.com (mail-pd0-f198.google.com [209.85.192.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 46A832055F for ; Tue, 11 Mar 2014 10:22:18 +0000 (UTC) Received: by mail-pd0-f198.google.com with SMTP id fp1sf20155059pdb.1 for ; Tue, 11 Mar 2014 03:22:16 -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:subject:date :message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=sJZ77XtWPbcyjp/nnzBBKPivRIBB541tmiK9hqJUK5g=; b=CzLax7kb8M4YiZ72BlXXAX1yBuSBwnPj1XPtfgXfWsfmsgzUN9DBu08SKNwf+AJtdv dLI3Rb8YfQnSwwooZNLoUjqUZkwP1Fufir7uGOnnDB/ul+mTr1RrOTJFixErTyo+ya0N DtSgA+Kf4jxkAzlhKTWkQQ3JTlJO4dOxwcTiF49OJUws+6Tq4Mov+nkdqYanT0TI40my CLGpovDdeG5URKJm8DGgzJLa48o+bjzkWRXcIM3QCuvYgi7BjBtTlavqqwe49X0u1heL 3De+mOLKL1uDMNjQYjbisoZjGI6Fys7Npm648z3tQVGTJ0TmNkP+G6cVSAzJh4SeSWGD b5KA== X-Gm-Message-State: ALoCoQkgQy83jx82VOTQL4Xs1zCW6dz0DU1XMZOWC2Muc9xZ5hpTx2RFshxttMwIa2CzXaLKL5Nz X-Received: by 10.68.197.73 with SMTP id is9mr16361335pbc.0.1394533336122; Tue, 11 Mar 2014 03:22:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.83.85 with SMTP id i79ls388283qgd.21.gmail; Tue, 11 Mar 2014 03:22:15 -0700 (PDT) X-Received: by 10.58.161.205 with SMTP id xu13mr26775163veb.4.1394533335934; Tue, 11 Mar 2014 03:22:15 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id wg4si5604688vcb.38.2014.03.11.03.22.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Mar 2014 03:22:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id jx11so8478092veb.3 for ; Tue, 11 Mar 2014 03:22:15 -0700 (PDT) X-Received: by 10.220.164.80 with SMTP id d16mr26403032vcy.15.1394533335860; Tue, 11 Mar 2014 03:22:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.78.9 with SMTP id i9csp193776vck; Tue, 11 Mar 2014 03:22:15 -0700 (PDT) X-Received: by 10.194.63.103 with SMTP id f7mr13303096wjs.38.1394533334670; Tue, 11 Mar 2014 03:22:14 -0700 (PDT) Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by mx.google.com with ESMTPS id fs14si20955346wjc.134.2014.03.11.03.22.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Mar 2014 03:22:14 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.43 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.43; Received: by mail-wg0-f43.google.com with SMTP id x13so9877590wgg.2 for ; Tue, 11 Mar 2014 03:22:14 -0700 (PDT) X-Received: by 10.194.161.195 with SMTP id xu3mr8581984wjb.35.1394533334106; Tue, 11 Mar 2014 03:22:14 -0700 (PDT) Received: from lee--X1.home (host109-148-116-196.range109-148.btcentralplus.com. [109.148.116.196]) by mx.google.com with ESMTPSA id n3sm5206715wix.10.2014.03.11.03.22.12 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Mar 2014 03:22:13 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@st.com Subject: [PATCH 1/3] ARM: DT: STi: Add support to B2020 revision E board. Date: Tue, 11 Mar 2014 10:22:02 +0000 Message-Id: <1394533324-20299-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Srinivas Kandagatla This patch adds support to rev E board of B2020 which has few minor changes : PHY reset PIO (Change from PIO30 to PIO07) Power LED(Green) Control(Change from PIO47 to PIO13) Acked-by: Lee Jones Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/stih416-b2020-revE.dts | 36 ++++++++++++++++++++++++++++++++ 2 files changed, 38 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 0320303..325218a 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -278,7 +278,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..bcb9d00 --- /dev/null +++ b/arch/arm/boot/dts/stih416-b2020-revE.dts @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2013 STMicroelectronics (R&D) Limited. + * Author: Srinivas Kandagatla + * + * 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", "st,stih416-b2020"; + + soc { + + leds { + compatible = "gpio-leds"; + red { + #gpio-cells = <1>; + label = "Front Panel LED"; + gpios = <&PIO4 1>; + linux,default-trigger = "heartbeat"; + }; + green { + gpios = <&PIO1 3>; + default-state = "off"; + }; + }; + + ethernet1: ethernet@fef08000 { + snps,reset-gpio = <&PIO0 7>; + }; + }; +};