iot2050: Add support for configuring M.2 connector
[platform/kernel/u-boot.git] / arch / arm / dts / k3-am65-iot2050-boot-image.dtsi
index a2fc8bb..03ccc54 100644 (file)
                                        };
                                };
 
+#ifdef CONFIG_TARGET_IOT2050_A53_PG2
+                               bkey-usb3-overlay {
+                                       description = "M.2-bkey-usb3-overlay";
+                                       type = "blob";
+                                       load = <0x82100000>;
+                                       arch = "arm64";
+                                       compression = "none";
+                                       blob-ext {
+                                               filename = "k3-am6548-iot2050-advanced-m2-bkey-usb3-overlay.dtbo";
+                                       };
+                                       hash {
+                                               algo = "sha256";
+                                       };
+                               };
+
+                               bkey-ekey-pcie-overlay {
+                                       description = "M.2-bkey-ekey-pcie-overlay";
+                                       type = "blob";
+                                       load = <0x82110000>;
+                                       arch = "arm64";
+                                       compression = "none";
+                                       blob-ext {
+                                               filename = "k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie-overlay.dtbo";
+                                       };
+                                       hash {
+                                               algo = "sha256";
+                                       };
+                               };
+#endif
+
 #ifdef CONFIG_WDT_K3_RTI_FW_FILE
                                k3-rti-wdt-firmware {
                                        type = "firmware";
                                        description = "NAME";
                                        firmware = "u-boot";
                                        fdt = "fdt-SEQ";
+                                       loadables =
+#ifdef CONFIG_TARGET_IOT2050_A53_PG2
+                                               "bkey-usb3-overlay",
+                                               "bkey-ekey-pcie-overlay",
+#endif
 #ifdef CONFIG_WDT_K3_RTI_FW_FILE
-                                       loadables = "k3-rti-wdt-firmware";
+                                               "k3-rti-wdt-firmware",
 #endif
+                                               <>;
                                        signature {
                                                sign-images = "firmware", "fdt", "loadables";
                                        };