arm64: zynqmp: sdhci: set host quirk2 for no 1.8V support for 1.0 silicon
authorManish Narani <manish.narani@xilinx.com>
Wed, 19 Jul 2017 15:46:33 +0000 (21:16 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 28 Nov 2017 15:09:15 +0000 (16:09 +0100)
This patch sets host quirk2 bit field for No 1.8V supported in case of
1.0 silicon. The 1.0 silicon doesn't have support for UHS-I modes. This
property will ensure the SD runs on High Speed mode.

Signed-off-by: Manish Narani <mnarani@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp.dtsi

index 9516c799d5d822cf5481adcff3a3b5378939b7b1..0984077bacf52b647256dce9ff134e2a865be343 100644 (file)
                        #stream-id-cells = <1>;
                        iommus = <&smmu 0x870>;
                        power-domains = <&pd_sd0>;
+                       nvmem-cells = <&soc_revision>;
+                       nvmem-cell-names = "soc_revision";
                };
 
                sdhci1: sdhci@ff170000 {
                        #stream-id-cells = <1>;
                        iommus = <&smmu 0x871>;
                        power-domains = <&pd_sd1>;
+                       nvmem-cells = <&soc_revision>;
+                       nvmem-cell-names = "soc_revision";
                };
 
                pinctrl0: pinctrl@ff180000 {