From f63140be2575c8ae35fdc29a23a9f4a819ec3cd5 Mon Sep 17 00:00:00 2001 From: "Huang, Tao" Date: Thu, 6 Apr 2017 20:30:11 +0800 Subject: [PATCH] arm64: dts: rockchip: add cpuinfo support for rk3399-android Change-Id: I0eba0017a88added1a84f9c3add1705d8079cd00 Signed-off-by: Huang, Tao --- arch/arm64/boot/dts/rockchip/rk3399-android.dtsi | 6 ++++++ arch/arm64/boot/dts/rockchip/rk3399.dtsi | 3 +++ 2 files changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-android.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-android.dtsi index d26ab6784f68..3021d2f3973e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-android.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-android.dtsi @@ -51,6 +51,12 @@ bootargs = "earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1"; }; + cpuinfo { + compatible = "rockchip,cpuinfo"; + nvmem-cells = <&efuse_id>; + nvmem-cell-names = "id"; + }; + ramoops_mem: ramoops_mem { reg = <0x0 0x110000 0x0 0xf0000>; reg-names = "ramoops_mem"; diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 0c3ded81b123..957b9769367f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1406,6 +1406,9 @@ clock-names = "pclk_efuse"; /* Data cells */ + efuse_id: id { + reg = <0x07 0x10>; + }; cpul_leakage: cpul-leakage { reg = <0x1a 0x1>; }; -- 2.34.1