common: modify the dtsi config of sm1 and tm2 [1/2]
authordeng.liu <deng.liu@amlogic.com>
Mon, 1 Jul 2019 13:05:57 +0000 (21:05 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 5 Jul 2019 02:25:40 +0000 (19:25 -0700)
PD#SWPL-10241

Problem:
{Score:5}{vts_r9}[S905X3] VtsHalNeuralnetworksV1_1Target module 644 fail;
v0624 new add, v0613 ok;

Solution:
npu not insmod  successfully,modify dtsi config

Verify:
Local on sm1

Change-Id: I986e37acab4a76cdf6ad52620520994193a06448
Signed-off-by: deng.liu <deng.liu@amlogic.com>
arch/arm/boot/dts/amlogic/mesonsm1.dtsi
arch/arm/boot/dts/amlogic/mesontm2.dtsi
arch/arm64/boot/dts/amlogic/mesonsm1.dtsi
arch/arm64/boot/dts/amlogic/mesontm2.dtsi

index e53ca60..1084425 100644 (file)
        galcore {
                compatible = "amlogic, galcore";
                dev_name = "galcore";
-               status = "disabled";
+               status = "okay";
                clocks = <&clkc CLKID_VNANOQ_AXI_CLK_COMP>,
                        <&clkc CLKID_VNANOQ_CORE_CLK_COMP>;
                clock-names = "cts_vipnanoq_axi_clk_composite",
                        0xffd01088 0x0
                        /*0xffd01088:reset reg*/
                        >;
+               nn_efuse = <0xff63003c 0x20>;
        };
        aocec: aocec {
                compatible = "amlogic, aocec-sm1";
index e895f01..efa7829 100644 (file)
        galcore {
                compatible = "amlogic, galcore";
                dev_name = "galcore";
-               status = "disabled";
+               status = "okay";
                interrupts = <0 147 4>;
                interrupt-names = "galcore";
                reg = <0xff100000 0x800
                        0xffd01088 0x0
                        /*0xffd01088:reset reg*/
                        >;
+               nn_efuse = <0xff63003c 0x20>;
        };
        sd_emmc_c: emmc@ffe07000 {
                status = "disabled";
index 2e127a7..8c195f0 100644 (file)
        galcore {
                compatible = "amlogic, galcore";
                dev_name = "galcore";
-               status = "disabled";
+               status = "okay";
                clocks = <&clkc CLKID_VNANOQ_AXI_CLK_COMP>,
                        <&clkc CLKID_VNANOQ_CORE_CLK_COMP>;
                clock-names = "cts_vipnanoq_axi_clk_composite",
                        0x0 0xffd01088 0x0 0x0
                        /*0xffd01088:reset reg*/
                        >;
+               nn_efuse = <0xff63003c 0x20>;
        };
        aocec: aocec {
                compatible = "amlogic, aocec-sm1";
index 4051135..41f3f9a 100644 (file)
        galcore {
                compatible = "amlogic, galcore";
                dev_name = "galcore";
-               status = "disabled";
+               status = "okay";
                interrupts = <0 147 4>;
                interrupt-names = "galcore";
                reg = <0x0 0xff100000 0x0 0x800
                        0x0 0xffd01088 0x0 0x0
                        /*0xffd01088:reset reg*/
                        >;
+               nn_efuse = <0xff63003c 0x20>;
        };
        sd_emmc_c: emmc@ffe07000 {
                status = "disabled";