dts: txlx: reserve 1M memory for codec mm [1/1]
authorLei Qian <lei.qian@amlogic.com>
Wed, 2 Jan 2019 07:59:53 +0000 (15:59 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 2 Jan 2019 12:15:46 +0000 (04:15 -0800)
PD#SWPL-2735

Problem:
codec will occupy the first 1M memory with unknown reason.

Solution:
reserve 1M memory for codec mm until the real reason is found.

Verify:
verify by einstein

Change-Id: Ic21bfa59e74d21ae8f6b4477470b9d719bebc595
Signed-off-by: Lei Qian <lei.qian@amlogic.com>
arch/arm/boot/dts/amlogic/txlx_t962x_r311_1g.dts
arch/arm/boot/dts/amlogic/txlx_t962x_r314.dts

index 9d38489..880e7a5 100644 (file)
@@ -48,7 +48,7 @@
 
        memory@00000000 {
                device_type = "memory";
-               linux,usable-memory = <0x000000 0x40000000>;
+               linux,usable-memory = <0x100000 0x3ff00000>;
        };
 
        reserved-memory {
                compatible = "amlogic, unifykey";
                status = "okay";
 
-               unifykey-num = <20>;
+               unifykey-num = <21>;
                unifykey-index-0 = <&keysn_0>;
                unifykey-index-1 = <&keysn_1>;
                unifykey-index-2 = <&keysn_2>;
                unifykey-index-17 = <&keysn_17>;
                unifykey-index-18 = <&keysn_18>;
                unifykey-index-19 = <&keysn_19>;
+               unifykey-index-20 = <&keysn_20>;
 
                keysn_0: key_0{
                        key-name = "usid";
                        key-device = "secure";
                        key-permit = "read","write","del";
                };
+               keysn_20:key_20{
+                       key-name = "region_code";
+                       key-device = "normal";
+                       key-permit = "read","write","del";
+               };
        }; /* End unifykey */
 
        cvbsout {
index 9fcf354..ba553a1 100644 (file)
                compatible = "amlogic, unifykey";
                status = "okay";
 
-               unifykey-num = <20>;
+               unifykey-num = <21>;
                unifykey-index-0 = <&keysn_0>;
                unifykey-index-1 = <&keysn_1>;
                unifykey-index-2 = <&keysn_2>;
                unifykey-index-17 = <&keysn_17>;
                unifykey-index-18 = <&keysn_18>;
                unifykey-index-19 = <&keysn_19>;
+               unifykey-index-20 = <&keysn_20>;
 
                keysn_0: key_0{
                        key-name = "usid";
                        key-device = "secure";
                        key-permit = "read","write","del";
                };
+               keysn_20:key_20{
+                       key-name = "region_code";
+                       key-device = "normal";
+                       key-permit = "read","write","del";
+               };
        }; /* End unifykey */
 
        cvbsout {
                Channel_Mask {
                        /*i2s has 4 pins, 8channel, mux output*/
                        Speaker0_Channel_Mask = "i2s_2/3";
-                       DAC0_Channel_Mask = "i2s_2/3";
-                       DAC1_Channel_Mask = "i2s_2/3";
+                       DAC0_Channel_Mask = "i2s_4/5";
+                       DAC1_Channel_Mask = "i2s_4/5";
                        EQ_DRC_Channel_Mask = "i2s_2/3";
                        Spdif_samesource_Channel_Mask = "i2s_0/1";
                };