diff mbox

ARM: OMAP2+: LogicPD Torpedo: Add AT24 EEPROM Support

Message ID 1452358871-7356-1-git-send-email-aford173@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Adam Ford Jan. 9, 2016, 5:01 p.m. UTC
The Wireless version of the SOM uses an AT24 EEPROM to store product ID.
The EEPROM is readonly.

Signed-off-by: Adam Ford <aford173@gmail.com>
---
 arch/arm/boot/dts/logicpd-torpedo-som.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Tony Lindgren Feb. 12, 2016, 9:50 p.m. UTC | #1
* Adam Ford <aford173@gmail.com> [160109 09:01]:
> The Wireless version of the SOM uses an AT24 EEPROM to store product ID.
> The EEPROM is readonly.
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>

Applying into omap-for-v4.6/dt thanks.

Tony

>  arch/arm/boot/dts/logicpd-torpedo-som.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> index 78c5243..a1afcb9 100644
> --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> @@ -110,6 +110,11 @@
>  
>  &i2c3 {
>  	clock-frequency = <400000>;
> +	at24@50 {
> +		compatible = "at24,24c02";
> +		readonly;
> +		reg = <0x50>;
> +	};
>  };
>  
>  /*
> -- 
> 1.9.1
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
index 78c5243..a1afcb9 100644
--- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
+++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
@@ -110,6 +110,11 @@ 
 
 &i2c3 {
 	clock-frequency = <400000>;
+	at24@50 {
+		compatible = "at24,24c02";
+		readonly;
+		reg = <0x50>;
+	};
 };
 
 /*