[PATCH v1 11/11] ARM: dts: imx6q-prti6q: add barebox.serial node

Oleksij Rempel o.rempel at pengutronix.de
Thu Jul 23 06:33:26 EDT 2020


Add serial node provider

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

diff --git a/arch/arm/dts/imx6q-prti6q.dts b/arch/arm/dts/imx6q-prti6q.dts
index 76bb4d53d3..67e7f63979 100644
--- a/arch/arm/dts/imx6q-prti6q.dts
+++ b/arch/arm/dts/imx6q-prti6q.dts
@@ -18,6 +18,11 @@
 			compatible = "barebox,environment";
 			device-path = &ecspi1, "partname:env";
 		};
+		serial {
+			compatible = "barebox,serial";
+			nvmem-cell-names = "serial-number";
+			/* nvmem-cells will added board code */
+		};
 	};
 
 	memory at 10000000 {
-- 
2.27.0




More information about the barebox mailing list