NNA: add NNA support on tm2 [1/1]
authorcancan.chang <cancan.chang@amlogic.com>
Fri, 12 Apr 2019 05:03:45 +0000 (13:03 +0800)
committercancan.chang <cancan.chang@amlogic.com>
Fri, 12 Apr 2019 05:03:45 +0000 (13:03 +0800)
PD#SWPL-5623

Problem:
tm2 not support NNA now.

Solution:
add NNA support.

Verify:
Verified on tm2_ab319

Change-Id: Ib41544d0ebeb3f25442692ac3365ad3a5fc5d4ab
Signed-off-by: Cancan Chang <cancan.chang@amlogic.com>
arch/arm/boot/dts/amlogic/mesontm2.dtsi
arch/arm/boot/dts/amlogic/tm2_t962e2_ab311.dts
arch/arm/boot/dts/amlogic/tm2_t962e2_ab319.dts
arch/arm/boot/dts/amlogic/tm2_t962x3_ab301.dts
arch/arm/boot/dts/amlogic/tm2_t962x3_ab309.dts
arch/arm64/boot/dts/amlogic/mesontm2.dtsi
arch/arm64/boot/dts/amlogic/tm2_t962e2_ab311.dts
arch/arm64/boot/dts/amlogic/tm2_t962e2_ab319.dts
arch/arm64/boot/dts/amlogic/tm2_t962x3_ab301.dts
arch/arm64/boot/dts/amlogic/tm2_t962x3_ab309.dts

index a79018a..7359ce0 100644 (file)
                pcie-ctrl-iso-shift = <20>;
                status = "disabled";
        };
-
+       galcore {
+               compatible = "amlogic, galcore";
+               dev_name = "galcore";
+               status = "disabled";
+               interrupts = <0 147 4>;
+               interrupt-names = "galcore";
+               reg = <0xff100000 0x800
+                       /*reg base value:0xff100000 */
+                       0xff000000 0x400000
+                       /*Sram bse value:0xff000000*/
+                       0xff63c118 0x0
+                       0xff63c11c 0x0
+                       /*0xff63c118,0xff63c11c :nanoq mem regs*/
+                       0xffd01088 0x0
+                       /*0xffd01088:reset reg*/
+                       >;
+       };
        sd_emmc_c: emmc@ffe07000 {
                status = "disabled";
                compatible = "amlogic, meson-mmc-tm2";
index b4e73fd..86f9a7e 100644 (file)
                        linux,contiguous-region;
                };
        }; /* end of reserved-memory */
-
+       galcore {
+               status = "okay";
+       };
        codec_mm {
                compatible = "amlogic, codec, mm";
                status = "okay";
index e44b95e..2737e44 100644 (file)
                        linux,contiguous-region;
                };
        }; /* end of reserved-memory */
-
+       galcore {
+               status = "okay";
+       };
        codec_mm {
                compatible = "amlogic, codec, mm";
                status = "okay";
index adc316a..14810b2 100644 (file)
                        linux,contiguous-region;
                };
        }; /* end of reserved-memory */
-
+       galcore {
+               status = "okay";
+       };
        codec_mm {
                compatible = "amlogic, codec, mm";
                status = "okay";
index 27418b4..f324150 100644 (file)
                        linux,contiguous-region;
                };
        }; /* end of reserved-memory */
-
+       galcore {
+               status = "okay";
+       };
        codec_mm {
                compatible = "amlogic, codec, mm";
                status = "okay";
index 7e02100..aae1102 100644 (file)
                pcie-ctrl-iso-shift = <20>;
                status = "disabled";
        };
-
+       galcore {
+               compatible = "amlogic, galcore";
+               dev_name = "galcore";
+               status = "disabled";
+               interrupts = <0 147 4>;
+               interrupt-names = "galcore";
+               reg = <0x0 0xff100000 0x0 0x800
+                       /*reg base value:0xff100000 */
+                       0x0 0xff000000 0x0 0x400000
+                       /*Sram bse value:0xff000000*/
+                       0x0 0xff63c118 0x0 0x0
+                       0x0 0xff63c11c 0x0 0x0
+                       /*0xff63c118,0xff63c11c :nanoq mem regs*/
+                       0x0 0xffd01088 0x0 0x0
+                       /*0xffd01088:reset reg*/
+                       >;
+       };
        sd_emmc_c: emmc@ffe07000 {
                status = "disabled";
                compatible = "amlogic, meson-mmc-tm2";
index 14ef4d6..f44b119 100644 (file)
                        linux,contiguous-region;
                };
        }; /* end of reserved-memory */
-
+       galcore {
+               status = "okay";
+       };
        codec_mm {
                compatible = "amlogic, codec, mm";
                status = "okay";
index 72d9048..0aba9ca 100644 (file)
                        linux,contiguous-region;
                };
        }; /* end of reserved-memory */
-
+       galcore {
+               status = "okay";
+       };
        codec_mm {
                compatible = "amlogic, codec, mm";
                status = "okay";
index 9de2ee6..3e0a50d 100644 (file)
                        linux,contiguous-region;
                };
        }; /* end of reserved-memory */
-
+       galcore {
+               status = "okay";
+       };
        codec_mm {
                compatible = "amlogic, codec, mm";
                status = "okay";
index bb11edc..f29033d 100644 (file)
                        linux,contiguous-region;
                };
        }; /* end of reserved-memory */
-
+       galcore {
+               status = "okay";
+       };
        codec_mm {
                compatible = "amlogic, codec, mm";
                status = "okay";