From 5e5b7b05a94043672c80303fe2f2d1d466a7d398 Mon Sep 17 00:00:00 2001 From: Liang Ji Date: Wed, 5 Feb 2020 16:58:36 +0800 Subject: [PATCH] deadpool-y3: add oemkey [1/1] BUG=148900449 Problem: deadpool y2 has the unifykey named oemkey but deadpool y3 does not Solution: add the unifykey Verify: deadpool-y3 Change-Id: Ia4609709f277a90eca104bde7b21708ec2e4cd91 Signed-off-by: Liang Ji --- arch/arm/boot/dts/amlogic/sm1_s905y3_deadpool.dts | 8 +++++++- arch/arm64/boot/dts/amlogic/sm1_s905y3_deadpool.dts | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/amlogic/sm1_s905y3_deadpool.dts b/arch/arm/boot/dts/amlogic/sm1_s905y3_deadpool.dts index 79e47cecfe5f..5887923f8399 100644 --- a/arch/arm/boot/dts/amlogic/sm1_s905y3_deadpool.dts +++ b/arch/arm/boot/dts/amlogic/sm1_s905y3_deadpool.dts @@ -456,7 +456,7 @@ 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>; @@ -474,6 +474,7 @@ 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 = "normal"; @@ -562,6 +563,11 @@ 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{ diff --git a/arch/arm64/boot/dts/amlogic/sm1_s905y3_deadpool.dts b/arch/arm64/boot/dts/amlogic/sm1_s905y3_deadpool.dts index 571bbd18e28d..82921c5abca2 100644 --- a/arch/arm64/boot/dts/amlogic/sm1_s905y3_deadpool.dts +++ b/arch/arm64/boot/dts/amlogic/sm1_s905y3_deadpool.dts @@ -514,7 +514,7 @@ unifykey{ compatible = "amlogic, unifykey"; status = "ok"; - unifykey-num = <18>; + unifykey-num = <19>; unifykey-index-0 = <&keysn_0>; unifykey-index-1 = <&keysn_1>; unifykey-index-2 = <&keysn_2>; @@ -533,6 +533,7 @@ unifykey-index-15= <&keysn_15>; unifykey-index-16= <&keysn_16>; unifykey-index-17= <&keysn_17>; + unifykey-index-18= <&keysn_18>; keysn_0: key_0{ key-name = "usid"; @@ -627,6 +628,11 @@ key-device = "secure"; key-permit = "read","write","del"; }; + keysn_18:key_18{ + key-name = "oemkey"; + key-device = "normal"; + key-permit = "read","write","del"; + }; };//End unifykey efusekey:efusekey{ -- 2.20.1