[2/3] ARM: dts: armada-38x-solidrun-microsom: add eeprom
diff mbox series

Message ID f584a160873781c122242fefd11b752ab8882eab.1577953408.git.baruch@tkos.co.il
State Mainlined
Commit e645d14e243e4308133bc399823141b9c25bd91a
Headers show
Series
  • [1/3] ARM: armada-38x-solidrun-microsom: move i2c0 to SOM DT
Related show

Commit Message

Baruch Siach Jan. 2, 2020, 8:23 a.m. UTC
SolidRun Armada 38x SOM rev 2.1 added EEPROM. Add DT node for EEPROM
description.

Cc: Dennis Gilmore <dennis@ausil.us>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Gregory CLEMENT Jan. 8, 2020, 9:59 a.m. UTC | #1
Hi Baruch,

> SolidRun Armada 38x SOM rev 2.1 added EEPROM. Add DT node for EEPROM
> description.
>
> Cc: Dennis Gilmore <dennis@ausil.us>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Applied on mvebu/dt

Thanks,

Gregory
> ---
>  arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi b/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
> index cd39312fb50d..363ac4238859 100644
> --- a/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
> +++ b/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
> @@ -76,6 +76,12 @@ &i2c0 {
>  	pinctrl-0 = <&i2c0_pins>;
>  	pinctrl-names = "default";
>  	status = "okay";
> +
> +	eeprom@53 {
> +		compatible = "atmel,24c02";
> +		reg = <0x53>;
> +		pagesize = <16>;
> +	};
>  };
>  
>  &pinctrl {
> -- 
> 2.24.1
>

Patch
diff mbox series

diff --git a/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi b/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
index cd39312fb50d..363ac4238859 100644
--- a/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
+++ b/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
@@ -76,6 +76,12 @@  &i2c0 {
 	pinctrl-0 = <&i2c0_pins>;
 	pinctrl-names = "default";
 	status = "okay";
+
+	eeprom@53 {
+		compatible = "atmel,24c02";
+		reg = <0x53>;
+		pagesize = <16>;
+	};
 };
 
 &pinctrl {