ARM64: zynqmp: change sdhci compatible string.
authorSai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
Tue, 16 Aug 2016 09:11:35 +0000 (14:41 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 15 Nov 2016 14:30:40 +0000 (15:30 +0100)
This patch changes the compatible string for sdhci node,
adds "xlnx,device_id" and "xlnx,mio_bank" property to sdhci node.

Signed-off-by: Sai Krishna Potthuri <lakshmis@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-ep108.dts
arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts
arch/arm/dts/zynqmp-zcu102.dts
arch/arm/dts/zynqmp.dtsi

index db502cf83bad39054d9a64a1a5ea29534e706b13..2483180d38f68c7d84ad1c7fc1f03cf6193a92b1 100644 (file)
 &sdhci0 {
        status = "okay";
        bus-width = <8>;
+       xlnx,mio_bank = <2>;
 };
 
 &sdhci1 {
        status = "okay";
+       xlnx,mio_bank = <1>;
 };
 
 &spi0 {
index f3bca60c7e8dfe2236a3c4a6d941ed701ba23d8a..b3f42977ab3cb3be4831889d3fc1bc468bd7f0e6 100644 (file)
 &sdhci0 {
        status = "okay";
        bus-width = <8>;
+       xlnx,mio_bank = <0>;
 };
 
 /* SD1 with level shifter */
 &sdhci1 {
        status = "okay";
        no-1-8-v;       /* for 1.0 silicon */
+       xlnx,mio_bank = <1>;
 };
 
 &uart0 {
index 7715aea5bfbc54d2096e19ef3b9da7b3c651f116..0e9150e6b1cb1cfb3457d89dac5225972eeb36e9 100644 (file)
@@ -605,6 +605,7 @@ drivers/hwmon/pmbus/Makefile:11:obj-$(CONFIG_SENSORS_MAX20751)  += max20751.o
 &sdhci1 {
        status = "okay";
        no-1-8-v;       /* for 1.0 silicon */
+       xlnx,mio_bank = <1>;
 };
 
 &uart0 {
index 618378fa3d59aede9afc1272686793dbf057a14b..150472f1e1fbe3d797d819c552982c8b210a9874 100644 (file)
 
                sdhci0: sdhci@ff160000 {
                        u-boot,dm-pre-reloc;
-                       compatible = "arasan,sdhci-8.9a";
+                       compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
                        status = "disabled";
                        interrupt-parent = <&gic>;
                        interrupts = <0 48 4>;
                        reg = <0x0 0xff160000 0x1000>;
                        clock-names = "clk_xin", "clk_ahb";
                        broken-tuning;
+                       xlnx,device_id = <0>;
                        #stream-id-cells = <1>;
                        iommus = <&smmu 0x870>;
                        power-domains = <&pd_sd0>;
 
                sdhci1: sdhci@ff170000 {
                        u-boot,dm-pre-reloc;
-                       compatible = "arasan,sdhci-8.9a";
+                       compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
                        status = "disabled";
                        interrupt-parent = <&gic>;
                        interrupts = <0 49 4>;
                        reg = <0x0 0xff170000 0x1000>;
                        clock-names = "clk_xin", "clk_ahb";
                        broken-tuning;
+                       xlnx,device_id = <1>;
                        #stream-id-cells = <1>;
                        iommus = <&smmu 0x871>;
                        power-domains = <&pd_sd1>;