aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorMarek BehĂșn2018-04-24 17:21:26 +0200
committerStefan Roese2018-05-14 10:00:15 +0200
commitdbbd5bdd27437909dac5c664303cd6e0fe420f39 (patch)
treef5015b634a9823fe5a753c04ef7f0539c3afc87a /arch/arm/dts
parent82a248df9af7057152a1359e7405585419accc1e (diff)
spi: mvebu_a3700_spi: Use Armada 37xx clk driver for SPI clock frequency
Since now we have driver for clocks on Armada 37xx, use it to determine SQF clock frequency for the SPI driver. Also change the default config files for Armada 37xx devices so that the clock driver is enabled by default, otherwise the SPI driver cannot be enabled. Signed-off-by: Marek Behun <marek.behun@nic.cz> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/armada-37xx.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/dts/armada-37xx.dtsi b/arch/arm/dts/armada-37xx.dtsi
index c72fd25abcd..5b4a1a49bb2 100644
--- a/arch/arm/dts/armada-37xx.dtsi
+++ b/arch/arm/dts/armada-37xx.dtsi
@@ -301,8 +301,8 @@
#address-cells = <1>;
#size-cells = <0>;
#clock-cells = <0>;
- clock-frequency = <160000>;
- spi-max-frequency = <40000>;
+ spi-max-frequency = <50000000>;
+ clocks = <&nb_periph_clk 7>;
status = "disabled";
};