From faf7b4d7a97556b221845e675b78f162dbf74583 Mon Sep 17 00:00:00 2001 From: Finley Xiao Date: Thu, 25 Jan 2018 20:00:14 +0800 Subject: [PATCH] arm64: dts: rockchip: px30: Add otp node Change-Id: I5a1ed87e9fef7346e2f268fc9a2a33cd6d192c69 Signed-off-by: Finley Xiao --- arch/arm64/boot/dts/rockchip/px30.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index d68793713fe8..8b7aa4473640 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -768,6 +768,24 @@ status = "disabled"; }; + otp: otp@ff290000 { + compatible = "rockchip,px30-otp"; + reg = <0x0 0xff290000 0x0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + clocks = <&cru SCLK_OTP_USR>, <&cru PCLK_OTP_NS>, + <&cru PCLK_OTP_PHY>; + clock-names = "clk_otp", "pclk_otp", "pclk_otp_phy"; + + /* Data cells */ + otp_id: id@7 { + reg = <0x07 0x10>; + }; + cpu_leakage: cpu-leakage@17 { + reg = <0x17 0x1>; + }; + }; + cru: clock-controller@ff2b0000 { compatible = "rockchip,px30-cru"; reg = <0x0 0xff2b0000 0x0 0x9000>;