[PATCH v2 13/13] ARM: dts: imx6q-prti6q: add barebox, serial-number node

Oleksij Rempel o.rempel at pengutronix.de
Wed Aug 5 06:16:28 EDT 2020


Add serial-number node provider

Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
---
 arch/arm/dts/imx6qdl-prti6q.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/imx6qdl-prti6q.dtsi b/arch/arm/dts/imx6qdl-prti6q.dtsi
index ed526d185f..968617f372 100644
--- a/arch/arm/dts/imx6qdl-prti6q.dtsi
+++ b/arch/arm/dts/imx6qdl-prti6q.dtsi
@@ -9,6 +9,12 @@
 / {
 	chosen {
 		stdout-path = &uart4;
+
+		serial {
+			compatible = "barebox,serial-number";
+			nvmem-cell-names = "serial-number";
+			/* nvmem-cells will be added board code */
+		};
 	};
 
 	reg_1v8: regulator-1v8 {
-- 
2.28.0




More information about the barebox mailing list