[PATCH 2/2] ARM: dt: tegra: seaboard: add eeprom nodes to the I2C bus mux

Stephen Warren swarren at wwwdotorg.org
Wed Apr 18 04:50:55 EST 2012


From: Stephen Warren <swarren at nvidia.com>

I don't intend this patch to be applied; it's just here as a more complete
example of the bus mux binding. Putting an EEPROM on the DDC bus might make
sense for the EDID EEPROM, but I'm not actually sure what's responding to
that I2C address on the PTA bus right now!

Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
 arch/arm/boot/dts/tegra-seaboard.dts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/tegra-seaboard.dts b/arch/arm/boot/dts/tegra-seaboard.dts
index e1025e2..202cb46 100644
--- a/arch/arm/boot/dts/tegra-seaboard.dts
+++ b/arch/arm/boot/dts/tegra-seaboard.dts
@@ -309,11 +309,21 @@
 		i2c-bus-ddc {
 			#address-cells = <1>;
 			#size-cells = <0>;
+
+			eeprom {
+				compatible = "eeprom";
+				reg = <0x50>;
+			};
 		};
 
 		i2c-bus-pta {
 			#address-cells = <1>;
 			#size-cells = <0>;
+
+			eeprom {
+				compatible = "eeprom";
+				reg = <0x50>;
+			};
 		};
 	};
 
-- 
1.7.0.4



More information about the devicetree-discuss mailing list