mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Christoph Fritz <chf.fritz@googlemail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] ARM: dts: advantech-rom-7421: add hog pinctrl node
Date: Tue, 19 Jun 2018 15:23:01 +0200	[thread overview]
Message-ID: <20180619132301.mltgdl2ifmrqvroe@pengutronix.de> (raw)
In-Reply-To: <1529242121.2422.1.camel@googlemail.com>

On Sun, Jun 17, 2018 at 03:28:41PM +0200, Christoph Fritz wrote:
> The Advantech ROM-7421 has a custom watchdog reset i2c chip that has
> some control gpios. This watchdog is currently not used, therefore mux
> its control pins as pull-downs to be sure that the watchdog is disabled
> after e.g. a reboot.
> 
> For debug purposes this patch also adds i2c1 node.
> 
> Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
> ---

Applied, thanks

Sascha

>  arch/arm/dts/imx6dl-advantech-rom-7421.dts | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
> 
> diff --git a/arch/arm/dts/imx6dl-advantech-rom-7421.dts b/arch/arm/dts/imx6dl-advantech-rom-7421.dts
> index 1d5fd89..cdf3781 100755
> --- a/arch/arm/dts/imx6dl-advantech-rom-7421.dts
> +++ b/arch/arm/dts/imx6dl-advantech-rom-7421.dts
> @@ -79,6 +79,13 @@
>  	status = "okay";
>  };
>  
> +&i2c1 {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_i2c1>;
> +	clock-frequency = <100000>;
> +	status = "okay";
> +};
> +
>  &uart1 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_uart1>;
> @@ -144,6 +151,17 @@
>  
>  &iomuxc {
>  	pinctrl-names = "default";
> +        pinctrl-0 = <&pinctrl_hog>;
> +
> +	pinctrl_hog: hoggrp {
> +		fsl,pins = <
> +			/* custom watchdog controls disabled */
> +			MX6QDL_PAD_NANDF_RB0__GPIO6_IO10        0x130b0
> +			MX6QDL_PAD_GPIO_9__GPIO1_IO09           0x130b0
> +			MX6QDL_PAD_GPIO_17__GPIO7_IO12          0x130b0
> +
> +		>;
> +        };
>  
>  	pinctrl_ecspi1: ecspi1grp {
>  		fsl,pins = <
> @@ -175,6 +193,13 @@
>  		>;
>  	};
>  
> +	pinctrl_i2c1: i2c1grp {
> +		fsl,pins = <
> +			MX6QDL_PAD_CSI0_DAT8__I2C1_SDA		0x4001b8b1
> +			MX6QDL_PAD_CSI0_DAT9__I2C1_SCL		0x4001b8b1
> +		>;
> +	};
> +
>  	pinctrl_uart1: uart1grp {
>  		fsl,pins = <
>  			MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA	0x1b0b1
> -- 
> 2.1.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2018-06-19 13:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-17 13:28 Christoph Fritz
2018-06-19 13:23 ` Sascha Hauer [this message]

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=20180619132301.mltgdl2ifmrqvroe@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=chf.fritz@googlemail.com \
    /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