diff options
author | Wenyou.Yang@microchip.com <Wenyou.Yang@microchip.com> | 2017-07-21 13:40:11 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-04 20:38:36 -0400 |
commit | f166af88a898601f24c490aa8e2b555cfc2dfc91 (patch) | |
tree | 2ea5b7a933faa06f945fcd5d709482e1d2b1b20a /arch | |
parent | 56a61e5e27ab5b9c9c9706f2a2b353880dc04f9d (diff) |
board: at91sam9260ek: 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')
-rw-r--r-- | arch/arm/dts/at91sam9260.dtsi | 1 | ||||
-rw-r--r-- | arch/arm/dts/at91sam9260ek.dts | 2 | ||||
-rw-r--r-- | arch/arm/dts/at91sam9g20ek_common.dtsi | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/dts/at91sam9260.dtsi b/arch/arm/dts/at91sam9260.dtsi index 0f25e336da..69d9ceadaf 100644 --- a/arch/arm/dts/at91sam9260.dtsi +++ b/arch/arm/dts/at91sam9260.dtsi @@ -34,6 +34,7 @@ tcb1 = &tcb1; i2c0 = &i2c0; ssc0 = &ssc0; + spi0 = &spi0; }; cpus { #address-cells = <0>; diff --git a/arch/arm/dts/at91sam9260ek.dts b/arch/arm/dts/at91sam9260ek.dts index 086c8eae1c..67a2660c80 100644 --- a/arch/arm/dts/at91sam9260ek.dts +++ b/arch/arm/dts/at91sam9260ek.dts @@ -118,7 +118,7 @@ cs-gpios = <0>, <&pioC 11 0>, <0>, <0>; mtd_dataflash@0 { compatible = "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <50000000>; + spi-max-frequency = <15000000>; reg = <1>; }; }; diff --git a/arch/arm/dts/at91sam9g20ek_common.dtsi b/arch/arm/dts/at91sam9g20ek_common.dtsi index 65ae099119..9db245e442 100644 --- a/arch/arm/dts/at91sam9g20ek_common.dtsi +++ b/arch/arm/dts/at91sam9g20ek_common.dtsi @@ -99,7 +99,7 @@ cs-gpios = <0>, <&pioC 11 0>, <0>, <0>; mtd_dataflash@0 { compatible = "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <50000000>; + spi-max-frequency = <15000000>; reg = <1>; }; }; |