common: NN API implementation,upload 64bit dts [1/1]
authordeng.liu <deng.liu@amlogic.com>
Tue, 26 Mar 2019 01:49:22 +0000 (09:49 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 2 Apr 2019 07:26:20 +0000 (00:26 -0700)
PD#SWPL-86

Problem:
Android tensorflow lite ,NN API implementation

Solution:
NN API implementation

Verify:
Local on galilei

Change-Id: I7c1a3a68005218544d0a3c7a7360c9ee38fc53de
Signed-off-by: deng.liu <deng.liu@amlogic.com>
arch/arm64/boot/dts/amlogic/g12b_a311d_w400.dts
arch/arm64/boot/dts/amlogic/g12b_a311d_w400_a.dts
arch/arm64/boot/dts/amlogic/mesong12b.dtsi
arch/arm64/boot/dts/amlogic/mesong12b_a.dtsi

index 4a810b97744f315c179b0d2f7c786bebe0fe6019..5ef95cf0200a60139c0e2957f10226e1265c8be1 100644 (file)
                        size = <0x0 0x04000000>;
                        alignment = <0x0 0x400000>;
                };
+               galcore_reserved:linux,galcore {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x1000000>;
+                       alignment = <0x400000>;
+                       linux,contiguous-region;
+               };
+       };
+       galcore {
+               status = "okay";
+               memory-region = <&galcore_reserved>;
        };
 
        gpioleds {
index f0d3713efebfa91ca798bb2647955cd59e02723b..779b13874f4e8780f689593ad8bb9e2a0646a983 100644 (file)
                        size = <0x0 0x04000000>;
                        alignment = <0x0 0x400000>;
                };
+               galcore_reserved:linux,galcore {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x1000000>;
+                       alignment = <0x400000>;
+                       linux,contiguous-region;
+               };
+       };
+       galcore {
+               status = "okay";
+               memory-region = <&galcore_reserved>;
        };
 
        gpioleds {
index 70fa31ee0f20aa054c663af1a276199f9bfb01cf..27ef02ade895eaadf1284fc98a6da7e4f681262e 100644 (file)
                        <&clkc CLKID_VNANOQ_CORE_CLK_COMP>;
                clock-names = "cts_vipnanoq_axi_clk_composite",
                        "cts_vipnanoq_core_clk_composite";
-               interrupts = <0 147 1>;
+               interrupts = <0 147 4>;
                interrupt-names = "galcore";
                reg = <0x0 0xff100000 0x0 0x800
                       0x0 0xff000000 0x0 0x400000>;
index 35297673bd35034119a45a8ae8d8789715a78968..e6a0ebcdbc0393bf3d3d9ddcdea087fb38646739 100644 (file)
                        <&clkc CLKID_VNANOQ_CORE_CLK_COMP>;
                clock-names = "cts_vipnanoq_axi_clk_composite",
                        "cts_vipnanoq_core_clk_composite";
-               interrupts = <0 147 1>;
+               interrupts = <0 147 4>;
                interrupt-names = "galcore";
                reg = <0x0 0xff100000 0x0 0x800
                       0x0 0xff000000 0x0 0x400000>;