summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJagan Teki <jteki@openedev.com>2015-06-27 00:51:34 +0530
committerJagan Teki <jteki@openedev.com>2015-07-01 21:15:03 +0530
commitcdc9dd0750bcff780d54050512206fcf2ad05489 (patch)
treea17b748128e60aa2e7baafee4aed1af823c8eb83 /arch
parenta8a8fc9ceea8430224c8c0ac932a75c029a1e225 (diff)
downloadtalos-obmc-uboot-cdc9dd0750bcff780d54050512206fcf2ad05489.tar.gz
talos-obmc-uboot-cdc9dd0750bcff780d54050512206fcf2ad05489.zip
spi: zynq_spi: Add fdt support in driver
Now zynq spi driver platform data is controlled by devicetree, enable the status by saying "okay" on respective board dts to use the devicetree generated platdata. Ex: &spi1 { status = "okay"; }; Signed-off-by: Jagan Teki <jteki@openedev.com> Acked-by: Simon Glass <sjg@chromium.org> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Tested-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/zynq-7000.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi
index f66f8dcaf8..920715989e 100644
--- a/arch/arm/dts/zynq-7000.dtsi
+++ b/arch/arm/dts/zynq-7000.dtsi
@@ -117,6 +117,7 @@
interrupts = <0 26 4>;
clocks = <&clkc 25>, <&clkc 34>;
clock-names = "ref_clk", "pclk";
+ spi-max-frequency = <166666700>;
#address-cells = <1>;
#size-cells = <0>;
};
@@ -129,6 +130,7 @@
interrupts = <0 49 4>;
clocks = <&clkc 26>, <&clkc 35>;
clock-names = "ref_clk", "pclk";
+ spi-max-frequency = <166666700>;
#address-cells = <1>;
#size-cells = <0>;
};
OpenPOWER on IntegriCloud