[PATCH] arm: dts: am335x-bone-common.dtsi: add eeprom device to DT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Marc Reilly <marc@xxxxxxxxxxxxxxx>

This adds a device node to provide support for the onboard eeprom of
beaglebone products. The eeprom contents can be used to determine the
type of beaglebone running. For example this can be used to
differentiate between the original Beaglebone Black and the wireless
version.

Signed-off-by: Marc Reilly <marc@xxxxxxxxxxxxxxx>
---
 arch/arm/dts/am335x-bone-common.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/dts/am335x-bone-common.dtsi b/arch/arm/dts/am335x-bone-common.dtsi
index e03ae2a8d..a5db15197 100644
--- a/arch/arm/dts/am335x-bone-common.dtsi
+++ b/arch/arm/dts/am335x-bone-common.dtsi
@@ -217,6 +217,16 @@
 		reg = <0x24>;
 	};
 
+	baseboard_eeprom: baseboard_eeprom@50 {
+		compatible = "atmel,24c256";
+		reg = <0x50>;
+
+		#address-cells = <1>;
+		#size-cells = <1>;
+		baseboard_data: baseboard_data@0 {
+			reg = <0 0x100>;
+		};
+	};
 };
 
 /include/ "tps65217.dtsi"
-- 
2.16.4


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux