Add serial-number node provider

Signed-off-by: Oleksij Rempel <[email protected]>
---
 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


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to