dts: g12a/b: config hw rng with dts [1/1]
authorChao Liu <chao.liu@amlogic.com>
Tue, 12 Feb 2019 09:38:30 +0000 (17:38 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 14 Feb 2019 06:11:35 +0000 (22:11 -0800)
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 <chao.liu@amlogic.com>
arch/arm/boot/dts/amlogic/mesong12a.dtsi
arch/arm/boot/dts/amlogic/mesong12b.dtsi
arch/arm64/boot/dts/amlogic/mesong12a.dtsi
arch/arm64/boot/dts/amlogic/mesong12b.dtsi

index d52d126..d1c9c2f 100644 (file)
                };
        };
 
+       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>;
index caffd77..ac1d106 100644 (file)
                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";
index bd5274f..cab5027 100644 (file)
                };
        };
 
+       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>;
index d49f280..e15a056 100644 (file)
                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";