From: maxime.coquelin@st.com (Maxime Coquelin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ARM: DT: STi: Add support to B2020 revision E board.
Date: Tue, 11 Mar 2014 11:49:29 +0100 [thread overview]
Message-ID: <531EEA39.50504@st.com> (raw)
In-Reply-To: <1394533324-20299-1-git-send-email-lee.jones@linaro.org>
Hi Lee,
On 03/11/2014 11:22 AM, Lee Jones wrote:
> From: Srinivas Kandagatla <srinivas.kandagatla@st.com>
>
> 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)
I thought we decided last October to support only one revision of the
b2020 board.
The idea was to create an external git to provide DTS for all our
boards, and only have a minimal subset in in the kernel.
Regards,
Maxime
>
> Acked-by: Lee Jones <lee.jones@linaro.org>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
> ---
> 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 <srinivas.kandagatla@st.com>
> + *
> + * 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 at fef08000 {
> + snps,reset-gpio = <&PIO0 7>;
> + };
> + };
> +};
>
next prev parent reply other threads:[~2014-03-11 10:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-11 10:22 [PATCH 1/3] ARM: DT: STi: Add support to B2020 revision E board Lee Jones
2014-03-11 10:22 ` [PATCH 2/3] ARM: STi: stih416-b2020: Explicitly include STiH416 Pinctrl bindings Lee Jones
2014-03-11 10:52 ` Maxime Coquelin
2014-03-11 11:17 ` Lee Jones
2014-03-11 11:20 ` Lee Jones
2014-03-11 10:22 ` [PATCH 3/3] ARM: STi: stih41x: Provide a proper header for this DTSI file Lee Jones
2014-03-11 10:49 ` Maxime Coquelin [this message]
2014-03-11 11:23 ` [PATCH 1/3] ARM: DT: STi: Add support to B2020 revision E board Lee Jones
2014-03-11 12:15 ` Maxime Coquelin
2014-03-11 13:23 ` Lee Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=531EEA39.50504@st.com \
--to=maxime.coquelin@st.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).