From 99995f8e4b8d64e4ea284336c212255c9c6cfbcd Mon Sep 17 00:00:00 2001 From: Chetan C R Date: Mon, 25 Jul 2022 18:51:22 +0530 Subject: [PATCH] ARM: dts: msm: Add boot_config support for khaje Add boot_config reg reading support from nvmem cell to check if the boot device is emmc or ufs. Change-Id: I44fc13359cfa44f67f31ee9885bf280d777a3da9 --- qcom/khaje.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qcom/khaje.dtsi b/qcom/khaje.dtsi index 6d8a43f7..b89a9f98 100644 --- a/qcom/khaje.dtsi +++ b/qcom/khaje.dtsi @@ -2410,6 +2410,9 @@ dev-ref-clk-freq = <0>; /* 19.2 MHz */ #reset-cells = <1>; + nvmem-cells = <&boot_config>; + nvmem-cell-names = "boot_conf"; + clock-names = "core_clk", "bus_aggr_clk", @@ -3061,6 +3064,10 @@ reg = <0x6030 0x1>; bits = <0 8>; }; + + boot_config: boot_config@6070 { + reg = <0x6070 0x4>; + }; }; spmi_bus: qcom,spmi@1c40000 {