[PATCH 2/2] dts: rk356x: Add devicetree node for OTP

Alexander Shiyan eagle.alexander923 at gmail.com
Thu Oct 5 22:48:12 PDT 2023


Signed-off-by: Alexander Shiyan <eagle.alexander923 at gmail.com>
---
 arch/arm/dts/rk356x.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/dts/rk356x.dtsi b/arch/arm/dts/rk356x.dtsi
index 4de2404b50..195b42a8b0 100644
--- a/arch/arm/dts/rk356x.dtsi
+++ b/arch/arm/dts/rk356x.dtsi
@@ -11,4 +11,15 @@ dmc: memory-controller {
 		compatible = "rockchip,rk3568-dmc";
 		rockchip,pmu = <&pmugrf>;
 	};
+
+	otp: nvmem at fe38c000 {
+		compatible = "rockchip,rk3568-otp";
+		reg = <0x0 0xfe38c000 0x0 0x4000>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+
+		cpu_id: id at a {
+			reg = <0x0a 0x10>;
+		};
+	};
 };
-- 
2.39.1




More information about the barebox mailing list