From afcec128c572eb1064472b772ffba3f44e2dbfeb Mon Sep 17 00:00:00 2001
From: Marcos Alano <marcoshalano@gmail.com>
Date: Sun, 14 Sep 2025 22:32:12 -0300
Subject: [PATCH] arm64: dts: mediatek: mt7988: add trng node

Add support for trng on mt7988a.

Tested on Banana Pi BPI-R4.

Signed-off-by: Marcos Alano <marcoshalano@gmail.com>
---
--- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
@@ -1334,4 +1334,8 @@
 			     <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
 			     <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
 	};
+
+	trng {
+		compatible = "mediatek,mt7988-rng";
+	};
 };
