ARM: dts: rockchip: add efuse device node for rk3228
authorFinley Xiao <finley.xiao@rock-chips.com>
Thu, 22 Jun 2017 10:32:40 +0000 (18:32 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 17 Jul 2017 19:10:03 +0000 (21:10 +0200)
Add a efuse node in the device tree for the rk3228 SoC.

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk322x.dtsi

index c10b8c46d1f07d8d219524eb5114fe5c8395685f..5223c8369a90d8f8005f044b69036eea2d841658 100644 (file)
                status = "disabled";
        };
 
+       efuse: efuse@11040000 {
+               compatible = "rockchip,rk3228-efuse";
+               reg = <0x11040000 0x20>;
+               clocks = <&cru PCLK_EFUSE_256>;
+               clock-names = "pclk_efuse";
+               #address-cells = <1>;
+               #size-cells = <1>;
+
+               /* Data cells */
+               efuse_id: id@7 {
+                       reg = <0x7 0x10>;
+               };
+               cpu_leakage: cpu_leakage@17 {
+                       reg = <0x17 0x1>;
+               };
+       };
+
        i2c0: i2c@11050000 {
                compatible = "rockchip,rk3228-i2c";
                reg = <0x11050000 0x1000>;