summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-07-27 11:42:12 +0200
committerMichal Simek <michal.simek@xilinx.com>2015-07-31 10:46:30 +0200
commit0fcb064f0f596beb6f4952e24798142294179d67 (patch)
tree929d05fed843adc23bf0ca9607f2aabda8735808 /arch/arm64
parentc590974629c958cb93d0b0c7ca40bac546031a2c (diff)
ARM64: zynqmp: Enable spi flashes on ep108
Enable spi flashes on ep108. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
index 3b1011169756..ce5d848251fa 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
@@ -81,6 +81,40 @@
status = "okay";
};
+&spi0 {
+ status = "okay";
+ num-cs = <1>;
+ spi0_flash0: spi0_flash0@0 {
+ compatible = "m25p80";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ spi-max-frequency = <50000000>;
+ reg = <0>;
+
+ spi0_flash0@00000000 {
+ label = "spi0_flash0";
+ reg = <0x0 0x100000>;
+ };
+ };
+};
+
+&spi1 {
+ status = "okay";
+ num-cs = <1>;
+ spi1_flash0: spi1_flash0@0 {
+ compatible = "m25p80";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ spi-max-frequency = <50000000>;
+ reg = <0>;
+
+ spi1_flash0@00000000 {
+ label = "spi1_flash0";
+ reg = <0x0 0x100000>;
+ };
+ };
+};
+
&uart0 {
status = "okay";
};