npu: check chip whether contain npu module [1/2]

PD#SWPL-7761

Problem:
S922X revb boot up fail

Solution:
add check function

Verify:
test pass at g12b revb

Change-Id: I17de7f9f82e09c68e27668288cb001e975785f5b
Signed-off-by: cancan chang <cancan.chang@amlogic.com>
This commit is contained in:
cancan.chang
2019-04-26 19:59:59 +08:00
committed by Tao Zeng
parent 782357b689
commit bb4b97eadc
4 changed files with 36 additions and 4 deletions

View File

@@ -1196,7 +1196,15 @@
interrupts = <0 147 4>;
interrupt-names = "galcore";
reg = <0xff100000 0x800
0xff000000 0x400000>;
0xff000000 0x400000
0xff63c10c 0x4
0xff63c110 0x4
0xffd01088 0x4
0xff63c1c8 0x4
>;
reg-names = "NN_REG","NN_SRAM","NN_MEM0",
"NN_MEM1","NN_RESET","NN_CLK";
nn_efuse = <0xff63003c 0x20>;
};
aocec: aocec {

View File

@@ -1142,7 +1142,15 @@
interrupts = <0 147 4>;
interrupt-names = "galcore";
reg = <0xff100000 0x800
0xff000000 0x400000>;
0xff000000 0x400000
0xff63c10c 0x4
0xff63c110 0x4
0xffd01088 0x4
0xff63c1c8 0x4
>;
reg-names = "NN_REG","NN_SRAM","NN_MEM0",
"NN_MEM1","NN_RESET","NN_CLK";
nn_efuse = <0xff63003c 0x20>;
};
aocec: aocec {

View File

@@ -1196,7 +1196,15 @@
interrupts = <0 147 4>;
interrupt-names = "galcore";
reg = <0x0 0xff100000 0x0 0x800
0x0 0xff000000 0x0 0x400000>;
0x0 0xff000000 0x0 0x400000
0x0 0xff63c10c 0x0 0x4
0x0 0xff63c110 0x0 0x4
0x0 0xffd01088 0x0 0x4
0X0 0xff63c1c8 0X0 0x4
>;
reg-names = "NN_REG","NN_SRAM","NN_MEM0",
"NN_MEM1","NN_RESET","NN_CLK";
nn_efuse = <0xff63003c 0x20>;
};
aocec: aocec {

View File

@@ -1142,7 +1142,15 @@
interrupts = <0 147 4>;
interrupt-names = "galcore";
reg = <0x0 0xff100000 0x0 0x800
0x0 0xff000000 0x0 0x400000>;
0x0 0xff000000 0x0 0x400000
0x0 0xff63c10c 0x0 0x4
0x0 0xff63c110 0x0 0x4
0x0 0xffd01088 0x0 0x4
0X0 0xff63c1c8 0X0 0x4
>;
reg-names = "NN_REG","NN_SRAM","NN_MEM0",
"NN_MEM1","NN_RESET","NN_CLK";
nn_efuse = <0xff63003c 0x20>;
};
aocec: aocec {