From f9a80d09b60dcc7c25b3c5c769da4e7fa8eabcc1 Mon Sep 17 00:00:00 2001 From: "jinrong.liao" Date: Mon, 23 Sep 2019 11:32:12 +0800 Subject: [PATCH] dts: add county and langurage prop for gva [1/1] PD#SH-875 Problem: add county and langurage prop via unifykey for gva Solution: add county and langurage prop via unifykey for gva Verify: S420 Change-Id: Icf5f7c3f44d93fbcaf2be3410e0c04289549c555 Signed-off-by: jinrong.liao --- arch/arm/boot/dts/amlogic/axg_s400_v03gva.dts | 26 +++++++++++++++++- arch/arm/boot/dts/amlogic/axg_s420_v03gva.dts | 26 +++++++++++++++++- .../boot/dts/amlogic/axg_s400_v03gva.dts | 27 ++++++++++++++++++- .../boot/dts/amlogic/axg_s420_v03gva.dts | 26 +++++++++++++++++- 4 files changed, 101 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/amlogic/axg_s400_v03gva.dts b/arch/arm/boot/dts/amlogic/axg_s400_v03gva.dts index b710d87da06b..a3fb8ce42861 100644 --- a/arch/arm/boot/dts/amlogic/axg_s400_v03gva.dts +++ b/arch/arm/boot/dts/amlogic/axg_s400_v03gva.dts @@ -842,13 +842,17 @@ compatible = "amlogic, unifykey"; status = "ok"; - unifykey-num = <6>; + unifykey-num = <11>; unifykey-index-0 = <&keysn_0>; unifykey-index-1 = <&keysn_1>; unifykey-index-2 = <&keysn_2>; unifykey-index-3 = <&keysn_3>; unifykey-index-4 = <&keysn_4>; unifykey-index-5 = <&keysn_5>; + unifykey-index-7 = <&keysn_7>; + unifykey-index-8 = <&keysn_8>; + unifykey-index-9 = <&keysn_9>; + unifykey-index-10 = <&keysn_10>; keysn_0: key_0{ key-name = "usid"; @@ -881,6 +885,26 @@ key-name = "deviceid"; key-device = "normal"; key-permit = "read","write","del"; + }; + keysn_7:key_7{ + key-name = "lang"; + key-device = "normal"; + key-permit = "read","write","del"; + }; + keysn_8:key_8{ + key-name = "country"; + key-device = "normal"; + key-permit = "read","write","del"; + }; + keysn_9:key_9{ + key-name = "locale_lang"; + key-device = "normal"; + key-permit = "read","write","del"; + }; + keysn_10:key_10{ + key-name = "locale_region"; + key-device = "normal"; + key-permit = "read","write","del"; }; };//End unifykey audio_data: audio_data { diff --git a/arch/arm/boot/dts/amlogic/axg_s420_v03gva.dts b/arch/arm/boot/dts/amlogic/axg_s420_v03gva.dts index 25daa24640cb..d10cd21cb90c 100644 --- a/arch/arm/boot/dts/amlogic/axg_s420_v03gva.dts +++ b/arch/arm/boot/dts/amlogic/axg_s420_v03gva.dts @@ -660,13 +660,17 @@ compatible = "amlogic, unifykey"; status = "ok"; - unifykey-num = <6>; + unifykey-num = <11>; unifykey-index-0 = <&keysn_0>; unifykey-index-1 = <&keysn_1>; unifykey-index-2 = <&keysn_2>; unifykey-index-3 = <&keysn_3>; unifykey-index-4 = <&keysn_4>; unifykey-index-5 = <&keysn_5>; + unifykey-index-7 = <&keysn_7>; + unifykey-index-8 = <&keysn_8>; + unifykey-index-9 = <&keysn_9>; + unifykey-index-10 = <&keysn_10>; keysn_0: key_0{ key-name = "usid"; @@ -700,6 +704,26 @@ key-device = "normal"; key-permit = "read","write","del"; }; + keysn_7:key_7{ + key-name = "lang"; + key-device = "normal"; + key-permit = "read","write","del"; + }; + keysn_8:key_8{ + key-name = "country"; + key-device = "normal"; + key-permit = "read","write","del"; + }; + keysn_9:key_9{ + key-name = "locale_lang"; + key-device = "normal"; + key-permit = "read","write","del"; + }; + keysn_10:key_10{ + key-name = "locale_region"; + key-device = "normal"; + key-permit = "read","write","del"; + }; };//End unifykey audio_data: audio_data { compatible = "amlogic, audio_data"; diff --git a/arch/arm64/boot/dts/amlogic/axg_s400_v03gva.dts b/arch/arm64/boot/dts/amlogic/axg_s400_v03gva.dts index 8e0ea1c6176c..aee45a118e87 100644 --- a/arch/arm64/boot/dts/amlogic/axg_s400_v03gva.dts +++ b/arch/arm64/boot/dts/amlogic/axg_s400_v03gva.dts @@ -842,7 +842,7 @@ compatible = "amlogic, unifykey"; status = "ok"; - unifykey-num = <6>; + unifykey-num = <11>; unifykey-index-0 = <&keysn_0>; unifykey-index-1 = <&keysn_1>; unifykey-index-2 = <&keysn_2>; @@ -850,6 +850,11 @@ unifykey-index-4 = <&keysn_4>; unifykey-index-5 = <&keysn_5>; unifykey-index-6 = <&keysn_6>; + unifykey-index-7 = <&keysn_7>; + unifykey-index-8 = <&keysn_8>; + unifykey-index-9 = <&keysn_9>; + unifykey-index-10 = <&keysn_10>; + keysn_0: key_0{ key-name = "usid"; @@ -888,6 +893,26 @@ key-device = "normal"; key-permit = "read","write","del"; }; + keysn_7:key_7{ + key-name = "lang"; + key-device = "normal"; + key-permit = "read","write","del"; + }; + keysn_8:key_8{ + key-name = "country"; + key-device = "normal"; + key-permit = "read","write","del"; + }; + keysn_9:key_9{ + key-name = "locale_lang"; + key-device = "normal"; + key-permit = "read","write","del"; + }; + keysn_10:key_10{ + key-name = "locale_region"; + key-device = "normal"; + key-permit = "read","write","del"; + }; };//End unifykey audio_data: audio_data { compatible = "amlogic, audio_data"; diff --git a/arch/arm64/boot/dts/amlogic/axg_s420_v03gva.dts b/arch/arm64/boot/dts/amlogic/axg_s420_v03gva.dts index 279da2d966f7..a8d590163dca 100644 --- a/arch/arm64/boot/dts/amlogic/axg_s420_v03gva.dts +++ b/arch/arm64/boot/dts/amlogic/axg_s420_v03gva.dts @@ -660,7 +660,7 @@ compatible = "amlogic, unifykey"; status = "ok"; - unifykey-num = <7>; + unifykey-num = <11>; unifykey-index-0 = <&keysn_0>; unifykey-index-1 = <&keysn_1>; unifykey-index-2 = <&keysn_2>; @@ -668,6 +668,10 @@ unifykey-index-4 = <&keysn_4>; unifykey-index-5 = <&keysn_5>; unifykey-index-6 = <&keysn_6>; + unifykey-index-7 = <&keysn_7>; + unifykey-index-8 = <&keysn_8>; + unifykey-index-9 = <&keysn_9>; + unifykey-index-10 = <&keysn_10>; keysn_0: key_0{ key-name = "usid"; @@ -706,6 +710,26 @@ key-device = "normal"; key-permit = "read","write","del"; }; + keysn_7:key_7{ + key-name = "lang"; + key-device = "normal"; + key-permit = "read","write","del"; + }; + keysn_8:key_8{ + key-name = "country"; + key-device = "normal"; + key-permit = "read","write","del"; + }; + keysn_9:key_9{ + key-name = "locale_lang"; + key-device = "normal"; + key-permit = "read","write","del"; + }; + keysn_10:key_10{ + key-name = "locale_region"; + key-device = "normal"; + key-permit = "read","write","del"; + }; };//End unifykey audio_data: audio_data { compatible = "amlogic, audio_data"; -- 2.20.1