newton: sync ac214 to ac213 [2/2]
authorXindong Xu <xindong.xu@amlogic.com>
Mon, 14 Oct 2019 05:42:08 +0000 (13:42 +0800)
committerXindong Xu <xindong.xu@amlogic.com>
Mon, 14 Oct 2019 05:42:22 +0000 (13:42 +0800)
PD#SWPL-15139

Problem:
sync ac214 to ac213

Solution:
1. SWPL-10130 add a unifykey for google prop ro.oem.key1
2. SWPL-12424 run hs400 200M on sm1
3. SWPL-13393 increase i2c3 clock frequency to 300k
4. SWPL-13022 mbox add video11 and video12 for screencontrol
5. SWPL-10924 irblaster: sm1: enable irblaster for cts

Verify:
newton

Change-Id: Ia43a950b0a3ad356307ec3cc4088c34a3f0f5617
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
arch/arm/boot/dts/amlogic/sm1_s905x3_ac214.dts
arch/arm64/boot/dts/amlogic/sm1_s905x3_ac214.dts

index ed4c461e4ed626b06d6e3920fb03270e6b98f4f7..a2a3715f01de0b5a530c0a6a94f075b021bf4648 100644 (file)
@@ -18,7 +18,7 @@
 /dts-v1/;
 
 #include "mesonsm1.dtsi"
-#include "partition_mbox_normal.dtsi"
+#include "partition_mbox_normal_dynamic.dtsi"
 #include "mesonsm1_skt-panel.dtsi"
 
 / {
                status = "okay";
        };
 
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        dvb {
                compatible = "amlogic, dvb";
                dev_name = "dvb";
        unifykey{
                compatible = "amlogic, unifykey";
                status = "ok";
-               unifykey-num = <16>;
+               unifykey-num = <17>;
                unifykey-index-0 = <&keysn_0>;
                unifykey-index-1 = <&keysn_1>;
                unifykey-index-2 = <&keysn_2>;
                unifykey-index-13= <&keysn_13>;
                unifykey-index-14= <&keysn_14>;
                unifykey-index-15= <&keysn_15>;
+               unifykey-index-16= <&keysn_16>;
                keysn_0: key_0{
                        key-name = "usid";
                        key-device = "normal";
                        key-device = "secure";
                        key-permit = "read","write","del";
                };
+               keysn_16:key_16{
+                       key-name = "oemkey";
+                       key-device = "normal";
+                       key-permit = "read","write","del";
+               };
        };//End unifykey
 
        efusekey:efusekey{
        status = "ok";
        pinctrl-names="default";
        pinctrl-0=<&i2c3_master_pins2>;
-       clock-frequency = <100000>; /* default 100k */
+       clock-frequency = <300000>; /* default 100k */
 
        /* for ref board */
        ad82584f_62: ad82584f_62@62 {
                         "MMC_CAP_DRIVER_TYPE_D";
                caps2 = "MMC_CAP2_HS200", "MMC_CAP2_HS400";
                f_min = <400000>;
-               f_max = <166666666>;
+               f_max = <200000000>;
        };
 };
 
                };
        };
 };
+
+&irblaster {
+       status = "okay";
+};
index e8a90ac6e8bccb6d87f0a33d6acb59c0e3403a99..0b351c54ac6aa8c146ad796d426192909d8af6f1 100644 (file)
@@ -18,7 +18,7 @@
 /dts-v1/;
 
 #include "mesonsm1.dtsi"
-#include "partition_mbox_normal.dtsi"
+#include "partition_mbox_normal_dynamic.dtsi"
 #include "mesonsm1_skt-panel.dtsi"
 
 / {
                dev_name = "ionvideo";
                status = "okay";
        };
+
+       amlvideo2_0 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <0>;
+               cma_mode = <1>;
+       };
+
+       amlvideo2_1 {
+               compatible = "amlogic, amlvideo2";
+               dev_name = "amlvideo2";
+               status = "okay";
+               amlvideo2_id = <1>;
+               cma_mode = <1>;
+       };
+
        vm0 {
                compatible = "amlogic, vm";
                memory-region = <&vm0_cma_reserved>;
        unifykey{
                compatible = "amlogic, unifykey";
                status = "ok";
-               unifykey-num = <17>;
+               unifykey-num = <18>;
                unifykey-index-0 = <&keysn_0>;
                unifykey-index-1 = <&keysn_1>;
                unifykey-index-2 = <&keysn_2>;
                unifykey-index-14= <&keysn_14>;
                unifykey-index-15= <&keysn_15>;
                unifykey-index-16= <&keysn_16>;
+               unifykey-index-17= <&keysn_17>;
 
                keysn_0: key_0{
                        key-name = "usid";
                        key-device = "secure";
                        key-permit = "read","write","del";
                };
+               keysn_17:key_17{
+                       key-name = "oemkey";
+                       key-device = "normal";
+                       key-permit = "read","write","del";
+               };
        };//End unifykey
 
        efusekey:efusekey{
        status = "ok";
        pinctrl-names="default";
        pinctrl-0=<&i2c3_master_pins2>;
-       clock-frequency = <100000>; /* default 100k */
+       clock-frequency = <300000>; /* default 100k */
 
        /* for ref board */
        ad82584f_62: ad82584f_62@62 {
                         "MMC_CAP_DRIVER_TYPE_D";
                caps2 = "MMC_CAP2_HS200", "MMC_CAP2_HS400";
                f_min = <400000>;
-               f_max = <166666666>;
+               f_max = <200000000>;
        };
 };
 
                };
        };
 };
+
+&irblaster {
+       status = "okay";
+};