summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2024-06-04 08:27:22 +0200
committerShawn Guo <shawnguo@kernel.org>2024-06-16 20:22:21 +0800
commit152f7a9908b11ff55f3feb357a5f6ff84f90e69b (patch)
treec77c3c832f73b5bf0c22d2e737310f283a9092e7 /arch
parent23ea56ef2288d27a1673e62c7c513d9265f97e90 (diff)
downloadlwn-152f7a9908b11ff55f3feb357a5f6ff84f90e69b.tar.gz
lwn-152f7a9908b11ff55f3feb357a5f6ff84f90e69b.zip
arm64: dts: ls1028a-rdb: Add EEPROM nodes to I2C bus
The LS1028ARDB board contains three EEPROM devices, for storing boot code, DDR SPD and board information. Add the missing entries to the devicetree. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
index ecd2c1ea177f..757a34ba7da3 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
@@ -201,6 +201,37 @@
#address-cells = <1>;
#size-cells = <0>;
+ i2c@0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x0>;
+
+ /* Atmel AT24C512C-XHD­B: 64 KB EEPROM */
+ eeprom@50 {
+ compatible = "atmel,24c512";
+ reg = <0x50>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ };
+
+ /* AT24C04C 512-byte DDR4 SPD EEPROM */
+ /* Documentation says 0x51, but must be even and i2cdetect says 0x52 */
+ eeprom@52 {
+ compatible = "atmel,24c04";
+ reg = <0x52>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ };
+
+ /* Atmel AT24C02C-XHM­B: 256-byte EEPROM */
+ eeprom@57 {
+ compatible = "atmel,24c02";
+ reg = <0x57>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ };
+ };
+
i2c@1 {
#address-cells = <1>;
#size-cells = <0>;