summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorWenyou.Yang@microchip.com <Wenyou.Yang@microchip.com>2017-07-21 13:40:09 +0800
committerTom Rini <trini@konsulko.com>2017-08-04 20:38:35 -0400
commiteab36f6d7bff9b228c964fb53d6ae54cfff5b363 (patch)
tree8d452e24001f634715d41ae225e88b525d2901c6 /arch/arm/dts
parent324873e7c268338dd2ba84c1fab4340ab68a312c (diff)
downloadu-boot-eab36f6d7bff9b228c964fb53d6ae54cfff5b363.tar.gz
u-boot-eab36f6d7bff9b228c964fb53d6ae54cfff5b363.tar.xz
u-boot-eab36f6d7bff9b228c964fb53d6ae54cfff5b363.zip
board: at91sam9263ek: Use SPI-flash-based AT45xxx DataFlash
To support driver model and device tree, use the SPI-flash-based AT45xxx DataFlash driver, DataFlash is a kind of SPI flash. Instead of ATMEL_DATAFLASH_SPI DataFlash older driver that will be removed in the future. Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/at91sam9263.dtsi1
-rw-r--r--arch/arm/dts/at91sam9263ek.dts2
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/dts/at91sam9263.dtsi b/arch/arm/dts/at91sam9263.dtsi
index e899fd3f6a..0b594be221 100644
--- a/arch/arm/dts/at91sam9263.dtsi
+++ b/arch/arm/dts/at91sam9263.dtsi
@@ -32,6 +32,7 @@
ssc0 = &ssc0;
ssc1 = &ssc1;
pwm0 = &pwm0;
+ spi0 = &spi0;
};
cpus {
diff --git a/arch/arm/dts/at91sam9263ek.dts b/arch/arm/dts/at91sam9263ek.dts
index 8cd7fada4f..35799b8a5e 100644
--- a/arch/arm/dts/at91sam9263ek.dts
+++ b/arch/arm/dts/at91sam9263ek.dts
@@ -87,7 +87,7 @@
cs-gpios = <&pioA 5 0>, <0>, <0>, <0>;
mtd_dataflash@0 {
compatible = "atmel,at45", "atmel,dataflash";
- spi-max-frequency = <50000000>;
+ spi-max-frequency = <15000000>;
reg = <0>;
};
};