All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: lx2160a-cex7: add on-module eeproms
@ 2020-02-27 12:06 ` Russell King
  0 siblings, 0 replies; 4+ messages in thread
From: Russell King @ 2020-02-27 12:06 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Li Yang, Rob Herring, Mark Rutland, linux-arm-kernel, devicetree

From: Rabeeh Khoury <rabeeh@solid-run.com>

This patch adds 4 eeprom support on i2c mux channel #0 -
1. Bootable 512Kbit eeprom at address 0x50.
2. Memory SO-DIMMs SPD channels at 0x51 (upper SO-DIMM) and 0x53.
3. 2Kb eeprom at 0x57 will be used by SolidRun to hold manufacturing
   data.

Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
 .../boot/dts/freescale/fsl-lx2160a-cex7.dtsi  | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
index 01c5420f334e..d87d16460875 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
@@ -59,6 +59,32 @@
 		#size-cells = <0>;
 		reg = <0x77>;
 
+		i2c@0 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0>;
+
+			eeprom@50 {
+				compatible = "atmel,24c512";
+				reg = <0x50>;
+			};
+
+			eeprom@51 {
+				compatible = "atmel,spd";
+				reg = <0x51>;
+			};
+
+			eeprom@53 {
+				compatible = "atmel,spd";
+				reg = <0x53>;
+			};
+
+			eeprom@57 {
+				compatible = "atmel,24c02";
+				reg = <0x57>;
+			};
+		};
+
 		i2c@1 {
 			#address-cells = <1>;
 			#size-cells = <0>;
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] arm64: dts: lx2160a-cex7: add on-module eeproms
@ 2020-02-27 12:06 ` Russell King
  0 siblings, 0 replies; 4+ messages in thread
From: Russell King @ 2020-02-27 12:06 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Mark Rutland, devicetree, Rob Herring, linux-arm-kernel, Li Yang

From: Rabeeh Khoury <rabeeh@solid-run.com>

This patch adds 4 eeprom support on i2c mux channel #0 -
1. Bootable 512Kbit eeprom at address 0x50.
2. Memory SO-DIMMs SPD channels at 0x51 (upper SO-DIMM) and 0x53.
3. 2Kb eeprom at 0x57 will be used by SolidRun to hold manufacturing
   data.

Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
 .../boot/dts/freescale/fsl-lx2160a-cex7.dtsi  | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
index 01c5420f334e..d87d16460875 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
@@ -59,6 +59,32 @@
 		#size-cells = <0>;
 		reg = <0x77>;
 
+		i2c@0 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0>;
+
+			eeprom@50 {
+				compatible = "atmel,24c512";
+				reg = <0x50>;
+			};
+
+			eeprom@51 {
+				compatible = "atmel,spd";
+				reg = <0x51>;
+			};
+
+			eeprom@53 {
+				compatible = "atmel,spd";
+				reg = <0x53>;
+			};
+
+			eeprom@57 {
+				compatible = "atmel,24c02";
+				reg = <0x57>;
+			};
+		};
+
 		i2c@1 {
 			#address-cells = <1>;
 			#size-cells = <0>;
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: lx2160a-cex7: add on-module eeproms
  2020-02-27 12:06 ` Russell King
@ 2020-03-11  7:44   ` Shawn Guo
  -1 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2020-03-11  7:44 UTC (permalink / raw)
  To: Russell King
  Cc: Li Yang, Rob Herring, Mark Rutland, linux-arm-kernel, devicetree

On Thu, Feb 27, 2020 at 12:06:27PM +0000, Russell King wrote:
> From: Rabeeh Khoury <rabeeh@solid-run.com>
> 
> This patch adds 4 eeprom support on i2c mux channel #0 -
> 1. Bootable 512Kbit eeprom at address 0x50.
> 2. Memory SO-DIMMs SPD channels at 0x51 (upper SO-DIMM) and 0x53.
> 3. 2Kb eeprom at 0x57 will be used by SolidRun to hold manufacturing
>    data.
> 
> Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>

Applied, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: lx2160a-cex7: add on-module eeproms
@ 2020-03-11  7:44   ` Shawn Guo
  0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2020-03-11  7:44 UTC (permalink / raw)
  To: Russell King
  Cc: Mark Rutland, devicetree, Rob Herring, linux-arm-kernel, Li Yang

On Thu, Feb 27, 2020 at 12:06:27PM +0000, Russell King wrote:
> From: Rabeeh Khoury <rabeeh@solid-run.com>
> 
> This patch adds 4 eeprom support on i2c mux channel #0 -
> 1. Bootable 512Kbit eeprom at address 0x50.
> 2. Memory SO-DIMMs SPD channels at 0x51 (upper SO-DIMM) and 0x53.
> 3. 2Kb eeprom at 0x57 will be used by SolidRun to hold manufacturing
>    data.
> 
> Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>

Applied, thanks.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-11  7:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-27 12:06 [PATCH] arm64: dts: lx2160a-cex7: add on-module eeproms Russell King
2020-02-27 12:06 ` Russell King
2020-03-11  7:44 ` Shawn Guo
2020-03-11  7:44   ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.