From: Chao Liu Date: Tue, 12 Feb 2019 09:38:30 +0000 (+0800) Subject: dts: g12a/b: config hw rng with dts [1/1] X-Git-Tag: hardkernel-4.9.236-104~1770 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a77b32e7ac4276758d7409629c5ec5c38b4232b1;p=platform%2Fkernel%2Flinux-amlogic.git 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 --- 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";