Skip to content

Commit 46e31d3

Browse files
finley1226rkhuangtao
authored andcommitted
arm64: dts: rockchip: rk3308: Add otp device node
Change-Id: Ieceb70736c174410869180e6cf6307715619e8c9 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
1 parent f5577b7 commit 46e31d3

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3308.dtsi

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,29 @@
676676
status = "disabled";
677677
};
678678

679+
otp: otp@ff210000 {
680+
compatible = "rockchip,rk3308-otp";
681+
reg = <0x0 0xff210000 0x0 0x4000>;
682+
#address-cells = <1>;
683+
#size-cells = <1>;
684+
clocks = <&cru SCLK_OTP_USR>, <&cru PCLK_OTP_NS>,
685+
<&cru PCLK_OTP_PHY>;
686+
clock-names = "clk_otp", "pclk_otp", "pclk_otp_phy";
687+
resets = <&cru SRST_OTP_PHY>;
688+
reset-names = "otp_phy";
689+
690+
/* Data cells */
691+
otp_id: id@7 {
692+
reg = <0x07 0x10>;
693+
};
694+
cpu_leakage: cpu-leakage@17 {
695+
reg = <0x17 0x1>;
696+
};
697+
logic_leakage: logic-leakage@18 {
698+
reg = <0x18 0x1>;
699+
};
700+
};
701+
679702
amba {
680703
compatible = "arm,amba-bus";
681704
#address-cells = <2>;

0 commit comments

Comments
 (0)