]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: rockchip: add product-data eeproms to QNAP TS433
authorHeiko Stuebner <heiko@sntech.de>
Sat, 10 Aug 2024 21:14:38 +0000 (23:14 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 15 Aug 2024 16:48:45 +0000 (18:48 +0200)
The device contains two i2c-connected eeproms holding some product-
specific values. One sitting on the mainboard and one on the statically
connected backplane.

While the eeprom chips themself have a size of 512 byte, the eeprom data
only uses 256 byte each, probably to stay compatible with other models.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20240810211438.286441-3-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts

index 90d8d5266299bbdd75e30f026d7883c7b5ec674f..e601d9271ba8985eb28e918a9408af72742d86ed 100644 (file)
                reg = <0x51>;
                wakeup-source;
        };
+
+       /* eeprom for vital-product-data on the mainboard */
+       eeprom@54 {
+               compatible = "giantec,gt24c04a", "atmel,24c04";
+               reg = <0x54>;
+               label = "VPD_MB";
+               num-addresses = <2>;
+               pagesize = <16>;
+               read-only;
+       };
+
+       /* eeprom for vital-product-data on the backplane */
+       eeprom@56 {
+               compatible = "giantec,gt24c04a", "atmel,24c04";
+               reg = <0x56>;
+               label = "VPD_BP";
+               num-addresses = <2>;
+               pagesize = <16>;
+               read-only;
+       };
 };
 
 &mdio0 {