From 43670a7356bd59ff131911a5e5e4e5e24724007f Mon Sep 17 00:00:00 2001 From: kamasali Satyanarayan Date: Tue, 13 Aug 2024 12:08:15 +0530 Subject: [PATCH] ARM: dts: msm: Add boot_device_type for Parrot Add boot_device_type support and flag non-removable for ufs node to check if the boot device is emmc or ufs. Remove qcom,ufs-dev-revert to identify ufs device Version. Change-Id: Id9e925d78860c4518ab10c12cc628dd8b385a5e8 Signed-off-by: kamasali Satyanarayan --- qcom/parrot-atp.dtsi | 4 +++- qcom/parrot-idp.dtsi | 4 +++- qcom/parrot-qrd.dtsi | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/qcom/parrot-atp.dtsi b/qcom/parrot-atp.dtsi index 0cd7562a..21e0081a 100644 --- a/qcom/parrot-atp.dtsi +++ b/qcom/parrot-atp.dtsi @@ -72,10 +72,12 @@ * qcom,ufs-dev-revert to identify ufs device. */ ufs-dev-types = <2>; - qcom,ufs-dev-revert; nvmem-cells = <&ufs_dev>, <&boot_config>; nvmem-cell-names = "ufs_dev", "boot_conf"; + boot_device_type = <0x0>; + non-removable; + status = "ok"; }; diff --git a/qcom/parrot-idp.dtsi b/qcom/parrot-idp.dtsi index c88c5770..55a1821d 100644 --- a/qcom/parrot-idp.dtsi +++ b/qcom/parrot-idp.dtsi @@ -163,9 +163,11 @@ * qcom,ufs-dev-revert to identify ufs device. */ ufs-dev-types = <2>; - qcom,ufs-dev-revert; nvmem-cells = <&ufs_dev>, <&boot_config>; nvmem-cell-names = "ufs_dev", "boot_conf"; + boot_device_type = <0x0>; + non-removable; + status = "ok"; }; diff --git a/qcom/parrot-qrd.dtsi b/qcom/parrot-qrd.dtsi index 657bb210..62fe1c6a 100644 --- a/qcom/parrot-qrd.dtsi +++ b/qcom/parrot-qrd.dtsi @@ -113,10 +113,12 @@ * qcom,ufs-dev-revert to identify ufs device. */ ufs-dev-types = <2>; - qcom,ufs-dev-revert; nvmem-cells = <&ufs_dev>, <&boot_config>; nvmem-cell-names = "ufs_dev", "boot_conf"; + boot_device_type = <0x0>; + non-removable; + status = "ok"; };