Add efuse_id for cpuinfo to get system serial number.
Change-Id: If197c2961611364a2cb94972c33171bea105c61b
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
bootargs = "earlycon=uart8250,mmio32,0xff690000 vmalloc=496M";
};
+ cpuinfo {
+ compatible = "rockchip,cpuinfo";
+ nvmem-cells = <&efuse_id>;
+ nvmem-cell-names = "id";
+ };
+
/delete-node/ dmc@ff610000;
dfi: dfi {
clocks = <&cru PCLK_EFUSE256>;
clock-names = "pclk_efuse";
+ efuse_id: id@7 {
+ reg = <0x7 0x10>;
+ };
cpu_leakage: cpu_leakage@17 {
reg = <0x17 0x1>;
};