public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: gregory.clement@free-electrons•com (Gregory CLEMENT)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 2/3] ARM64: dts: marvell: armada-3720-db: add gpio expander
Date: Wed, 08 Mar 2017 10:21:20 +0100	[thread overview]
Message-ID: <87pohsm8dr.fsf@free-electrons.com> (raw)
In-Reply-To: <20170222173146.30993-3-gregory.clement@free-electrons.com> (Gregory CLEMENT's message of "Wed, 22 Feb 2017 18:31:45 +0100")

Hi,
 
 On mer., f?vr. 22 2017, Gregory CLEMENT <gregory.clement@free-electrons•com> wrote:

> A gpio expander is present on the i2c bus on the Armada 3720 DB board. This
> patch add it to the device tree.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons•com>

Applied on mvebu/dt64

Gregory

> ---
>  arch/arm64/boot/dts/marvell/armada-3720-db.dts | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-db.dts b/arch/arm64/boot/dts/marvell/armada-3720-db.dts
> index 86602c907a61..864936acc316 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-db.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-db.dts
> @@ -64,6 +64,24 @@
>  
>  &i2c0 {
>  	status = "okay";
> +
> +	gpio_exp: pca9555 at 22 {
> +		compatible = "nxp,pca9555";
> +		gpio-controller;
> +		#gpio-cells = <2>;
> +
> +		reg = <0x22>;
> +		/*
> +		 * IO0_0: PWR_EN_USB2	IO1_0: PWR_EN_VTT
> +		 * IO0_1: PWR_EN_USB23	IO1_1: MPCIE_WDISABLE
> +		 * IO0_2: PWR_EN_SATA	IO1_2: RGMII_DEV_RSTN
> +		 * IO0_3: PWR_EN_PCIE	IO1_3: SGMII_DEV_RSTN
> +		 * IO0_4: PWR_EN_SD
> +		 * IO0_5: PWR_EN_EMMC
> +		 * IO0_6: PWR_EN_RGMII	IO1_6: SATA_USB3.0_SEL
> +		 * IO0_7: PWR_EN_SGMII	IO1_7: PWR_MCI_PS
> +		 */
> +	};
>  };
>  
>  /* CON3 */
> -- 
> 2.11.0
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2017-03-08  9:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-22 17:31 [PATCH 0/3] Improving I2C related support on Armada 3720 DB Gregory CLEMENT
2017-02-22 17:31 ` [PATCH 1/3] ARM64: dts: marvell: armada37xx: add address and size property for i2c cells Gregory CLEMENT
2017-03-08  9:20   ` Gregory CLEMENT
2017-02-22 17:31 ` [PATCH 2/3] ARM64: dts: marvell: armada-3720-db: add gpio expander Gregory CLEMENT
2017-03-08  9:21   ` Gregory CLEMENT [this message]
2017-02-22 17:31 ` [PATCH 3/3] arm64: defconfig: enable I2C_PXA Gregory CLEMENT
2017-03-07 17:59   ` Gregory CLEMENT

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=87pohsm8dr.fsf@free-electrons.com \
    --to=gregory.clement@free-electrons$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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