From a77b32e7ac4276758d7409629c5ec5c38b4232b1 Mon Sep 17 00:00:00 2001 From: Chao Liu Date: Tue, 12 Feb 2019 17:38:30 +0800 Subject: [PATCH] dts: g12a/b: config hw rng with dts [1/1] PD#OTT-2062 Problem: Boot up time with power cable is longer than boot up with usb cable Solution: config hw rng with dts Verify: android p + u212 Change-Id: I61613e945dbc9be06f2cbb29aae5043c84fca1de Signed-off-by: Chao Liu --- arch/arm/boot/dts/amlogic/mesong12a.dtsi | 9 +++++++++ arch/arm/boot/dts/amlogic/mesong12b.dtsi | 9 +++++++++ arch/arm64/boot/dts/amlogic/mesong12a.dtsi | 9 +++++++++ arch/arm64/boot/dts/amlogic/mesong12b.dtsi | 9 +++++++++ 4 files changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/amlogic/mesong12a.dtsi b/arch/arm/boot/dts/amlogic/mesong12a.dtsi index d52d126..d1c9c2f 100644 --- a/arch/arm/boot/dts/amlogic/mesong12a.dtsi +++ b/arch/arm/boot/dts/amlogic/mesong12a.dtsi @@ -1815,6 +1815,15 @@ }; }; + rng { + compatible = "amlogic,meson-rng"; + status = "okay"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0xff630218 0x4>; + quality = /bits/ 16 <1000>; + }; + efuse: efuse{ compatible = "amlogic, efuse"; read_cmd = <0x82000030>; diff --git a/arch/arm/boot/dts/amlogic/mesong12b.dtsi b/arch/arm/boot/dts/amlogic/mesong12b.dtsi index caffd77..ac1d106 100644 --- a/arch/arm/boot/dts/amlogic/mesong12b.dtsi +++ b/arch/arm/boot/dts/amlogic/mesong12b.dtsi @@ -1843,6 +1843,15 @@ status = "okay"; }; + rng { + compatible = "amlogic,meson-rng"; + status = "okay"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0xff630218 0x4>; + quality = /bits/ 16 <1000>; + }; + ddr_bandwidth { compatible = "amlogic, ddr-bandwidth"; status = "okay"; diff --git a/arch/arm64/boot/dts/amlogic/mesong12a.dtsi b/arch/arm64/boot/dts/amlogic/mesong12a.dtsi index bd5274f..cab5027 100644 --- a/arch/arm64/boot/dts/amlogic/mesong12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesong12a.dtsi @@ -1815,6 +1815,15 @@ }; }; + rng { + compatible = "amlogic,meson-rng"; + status = "okay"; + #address-cells = <2>; + #size-cells = <2>; + reg = <0x0 0xff630218 0x0 0x4>; + quality = /bits/ 16 <1000>; + }; + efuse: efuse{ compatible = "amlogic, efuse"; read_cmd = <0x82000030>; diff --git a/arch/arm64/boot/dts/amlogic/mesong12b.dtsi b/arch/arm64/boot/dts/amlogic/mesong12b.dtsi index d49f280..e15a056 100644 --- a/arch/arm64/boot/dts/amlogic/mesong12b.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesong12b.dtsi @@ -1843,6 +1843,15 @@ status = "okay"; }; + rng { + compatible = "amlogic,meson-rng"; + status = "okay"; + #address-cells = <2>; + #size-cells = <2>; + reg = <0x0 0xff630218 0x0 0x4>; + quality = /bits/ 16 <1000>; + }; + ddr_bandwidth { compatible = "amlogic, ddr-bandwidth"; status = "okay"; -- 2.7.4