Skip to content

Commit 58611e5

Browse files
committed
dts: sama5d2: update NVMEM cells
According to the customer Fuse Matrix of sama5d2, the cell length is 32 bytes. Fixes: 8bd542f ("dts: sama5d2: add huk node for the NVMEM hardware unique key") Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
1 parent 285b0a9 commit 58611e5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

core/arch/arm/dts/sama5d2.dtsi

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -746,25 +746,24 @@
746746
#address-cells = <1>;
747747
#size-cells = <1>;
748748

749-
sfc_kr: cell@0 {
750-
reg = <0x0 0x4>;
751-
bits = <0 7>;
749+
sfc_dr0: cell@20 {
750+
reg = <0x20 0x20>;
752751
};
753752

754-
sfc_dr0: cell@20 {
755-
reg = <0x20 0x4>;
753+
sfc_dr1: cell@24 {
754+
reg = <0x24 0x20>;
756755
};
757756
};
758757

759758
die_id: die_id {
760759
compatible = "optee,nvmem-die-id";
761-
nvmem-cells = <&sfc_kr>;
760+
nvmem-cells = <&sfc_dr0>;
762761
nvmem-cell-names = "die_id";
763762
};
764763

765764
huk: huk {
766765
compatible = "optee,nvmem-huk";
767-
nvmem-cells = <&sfc_dr0>;
766+
nvmem-cells = <&sfc_dr1>;
768767
nvmem-cell-names = "hw_unique_key";
769768
};
770769

0 commit comments

Comments
 (0)