[PATCH v3 1/3] ARM: dts: AM335x: Add dummy i2c nodes

Sascha Hauer s.hauer at pengutronix.de
Mon Nov 6 22:43:10 PST 2017


On Fri, Nov 03, 2017 at 11:48:14AM +0100, Daniel Schultz wrote:
> These i2c nodes are needed for autoenable of i2c clients, because
> the autoenable API searches for device tree nodes to get the client
> address.
> 
> Signed-off-by: Daniel Schultz <d.schultz at phytec.de>
> ---
>  arch/arm/dts/am335x-phytec-phycore-som.dtsi | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/dts/am335x-phytec-phycore-som.dtsi b/arch/arm/dts/am335x-phytec-phycore-som.dtsi
> index dbc6424..cf2eef3 100644
> --- a/arch/arm/dts/am335x-phytec-phycore-som.dtsi
> +++ b/arch/arm/dts/am335x-phytec-phycore-som.dtsi
> @@ -164,6 +164,20 @@
>  		pagesize = <32>;
>  		reg = <0x52>;
>  	};
> +
> +	/* The following i2c nodes are for the autoenable */
> +	i2c_tmp102: temp at 4b {
> +		compatible = "ti,tmp102";
> +		reg = <0x4b>;
> +		status = "disabled";
> +	};
> +
> +	i2c_rtc: rtc at 68 {
> +		compatible = "rv4162";
> +		reg = <0x68>;
> +		status = "disabled";
> +	};
> +
>  };
>  
>  &mmc1 {
> -- 
> 2.7.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at 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 |



More information about the barebox mailing list