Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1364745

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

From Peter Griffin <peter.griffin@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 4/4] ARM: STi: DT: STiH407: Add DT node for eeprom
Date 2016-03-25 16:40 +0100
Message-ID <rgC0a-3JW-13@gated-at.bofh.it> (permalink)
References <rgC09-3JW-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
 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@9845000 {
 			status = "okay";
+
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			eeprom@50 {
+				compatible = "at,24c256";
+				pagesize = <64>;
+				reg = <0x50>;
+			};
 		};
 
 		i2c@9540000 {
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] STi DT updates Peter Griffin <peter.griffin@linaro.org> - 2016-03-25 16:40 +0100
  [PATCH 3/4] ARM: DT: STiH407: Add node for i2c12 controller Peter Griffin <peter.griffin@linaro.org> - 2016-03-25 16:40 +0100
  [PATCH 1/4] ARM: DT: STiH407: Add UART RTS/CTS pin configuration Peter Griffin <peter.griffin@linaro.org> - 2016-03-25 16:40 +0100
  [PATCH 4/4] ARM: STi: DT: STiH407: Add DT node for eeprom Peter Griffin <peter.griffin@linaro.org> - 2016-03-25 16:40 +0100
    Re: [PATCH 4/4] ARM: STi: DT: STiH407: Add DT node for eeprom Lee Jones <lee.jones@linaro.org> - 2016-03-29 11:20 +0200

csiph-web