ARM64: zynqmp: Enable spi flashes on ep108
authorMichal Simek <michal.simek@xilinx.com>
Mon, 27 Jul 2015 09:42:12 +0000 (11:42 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 31 Jul 2015 08:46:30 +0000 (10:46 +0200)
Enable spi flashes on ep108.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts

index 3b10111697566c229ed32a2c2ab1a86a63fb0473..ce5d848251fab63cf0bba9a9cb58d1681c221011 100644 (file)
        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";
 };