diff options
author | Alice Guo <alice.guo@nxp.com> | 2021-01-04 17:15:43 +0800 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2021-01-11 10:45:34 +0800 |
commit | cbff23797fa1ec00e3bdda57d8472f75c0b7aab9 (patch) | |
tree | 7fa9c9741361752a010c4b14a78a72a49ecef94c /arch/arm64/boot/dts/freescale/imx8mp.dtsi | |
parent | ce58459d8c7f4174e7b8a8ea903dd949631334a3 (diff) | |
download | linux-cbff23797fa1ec00e3bdda57d8472f75c0b7aab9.tar.bz2 |
arm64: dts: imx8m: add NVMEM provider and consumer to read soc unique ID
In order to be able to use NVMEM APIs to read soc unique ID, add the
nvmem data cell and name for nvmem-cells to the "soc" node, and add a
nvmem node which provides soc unique ID to efuse@30350000.
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Alice Guo <alice.guo@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mp.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index ec6ac523ecfc..9401e92f1c84 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -222,6 +222,8 @@ #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x0 0x0 0x3e000000>; + nvmem-cells = <&imx8mp_uid>; + nvmem-cell-names = "soc_unique_id"; aips1: bus@30000000 { compatible = "fsl,aips-bus", "simple-bus"; @@ -328,6 +330,10 @@ #address-cells = <1>; #size-cells = <1>; + imx8mp_uid: unique-id@420 { + reg = <0x8 0x8>; + }; + cpu_speed_grade: speed-grade@10 { reg = <0x10 4>; }; |