Subject: [PATCH 4/4] ARM: STi: DT: STiH407: Add DT node for eeprom

From: [email-masked] (Lee Jones)
Date: Tue, 29 Mar 2016 10:12:58 +0100

More information is required in the commit message.

What do we use the EEPROM for?  What information is contained within?
What stops working if we don't support it?  What starts working if we
do?

> Signed-off-by: Peter Griffin <[email-masked]>
> ---
>  arch/arm/boot/dts/stihxxx-b2120.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi
> index 133375b..0d7c6dd 100644
> --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi
> +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi
> @@ -58,6 +58,15 @@
>  
>  		i2c at 9845000 {
>  			status = "okay";
> +
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +
> +			eeprom at 50 {
> +				compatible = "at,24c256";
> +				pagesize = <64>;
> +				reg = <0x50>;
> +			};
>  		};
>  
>  		i2c at 9540000 {

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog