]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: aspeed: clemente: Add EEPROMs for boot and data drive FRUs
authorLeo Wang <leo.jt.wang@gmail.com>
Tue, 21 Oct 2025 03:15:39 +0000 (11:15 +0800)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Sun, 14 Dec 2025 08:37:16 +0000 (17:37 +0900)
Add EEPROM devices on the I2C buses used for the boot and data NVMe
drives. These EEPROMs store FRU information for each drive, allowing
the BMC to identify.

Signed-off-by: Leo Wang <leo.jt.wang@gmail.com>
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-clemente.dts

index 450446913e36b1418fab901cde44280468990c7a..885c50a7d66593dfa8493d2d031700174b452382 100644 (file)
                                        #address-cells = <1>;
                                        #size-cells = <0>;
                                        reg = <0>;
+
+                                       // HDD NVMe SSD FRU 0
+                                       eeprom@53 {
+                                               compatible = "atmel,24c02";
+                                               reg = <0x53>;
+                                       };
                                };
 
                                i2c0mux0ch1mux0ch1: i2c@1 {
                                        #address-cells = <1>;
                                        #size-cells = <0>;
                                        reg = <2>;
+
+                                       // HDD NVMe SSD FRU 1
+                                       eeprom@53 {
+                                               compatible = "atmel,24c02";
+                                               reg = <0x53>;
+                                       };
                                };
 
                                i2c0mux0ch1mux0ch3: i2c@3 {
                                        #address-cells = <1>;
                                        #size-cells = <0>;
                                        reg = <0>;
+
+                                       // HDD NVMe SSD FRU 2
+                                       eeprom@53 {
+                                               compatible = "atmel,24c02";
+                                               reg = <0x53>;
+                                       };
                                };
 
                                i2c0mux3ch1mux0ch1: i2c@1 {
                                        #address-cells = <1>;
                                        #size-cells = <0>;
                                        reg = <2>;
+
+                                       // HDD NVMe SSD FRU 3
+                                       eeprom@53 {
+                                               compatible = "atmel,24c02";
+                                               reg = <0x53>;
+                                       };
                                };
 
                                i2c0mux3ch1mux0ch3: i2c@3 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <1>;
+
+                       // BOOT DRIVE FRU
+                       eeprom@53 {
+                               compatible = "atmel,24c02";
+                               reg = <0x53>;
+                       };
                };
 
                i2c0mux5ch2: i2c@2 {