ARM: dts: vf-colibri: increase NAND clock speed
authorStefan Agner <stefan@agner.ch>
Sat, 2 Apr 2016 06:13:40 +0000 (23:13 -0700)
committerShawn Guo <shawnguo@kernel.org>
Wed, 13 Apr 2016 09:47:59 +0000 (17:47 +0800)
The NAND flash memory populated on Colibri VF61 allows faster NAND
timings than the flash memory on VF50. Additionally, due to divider
limitations, VF61 did clock the flash even slower than VF50. Assign
the NFC clock in the module specific device trees vf500-colibri.dtsi
and vf610-colibri.dtsi respectively.

This increases raw read speed on Colibri VF61 by about 20%.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vf-colibri.dtsi
arch/arm/boot/dts/vf500-colibri.dtsi
arch/arm/boot/dts/vf610-colibri.dtsi

index 7529dd7f6db17edeafcc93658c2d7aa28cd7cac9..226a86ffd3c9c87da92cc6428237183bd393c635 100644 (file)
 };
 
 &nfc {
-       assigned-clocks = <&clks VF610_CLK_NFC>;
-       assigned-clock-rates = <33000000>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_nfc>;
        status = "okay";
index 3fe1f48c2aecd05693ef2e9a56ba623b7b6bd529..1a8a0efa19a64cfae4b7ddf398e959dc8f00ec94 100644 (file)
        };
 };
 
+&nfc {
+       assigned-clocks = <&clks VF610_CLK_NFC>;
+       assigned-clock-rates = <33000000>;
+};
+
 &iomuxc {
        vf610-colibri {
                pinctrl_touchctrl_idle: touchctrl_idle {
index ab4a29f95593d0053e18a8322e2f4c9ff316334c..9ec9e337f5a8ee68e45ef1856d89aa3ee399d7c0 100644 (file)
@@ -50,3 +50,8 @@
                reg = <0x80000000 0x10000000>;
        };
 };
+
+&nfc {
+       assigned-clocks = <&clks VF610_CLK_NFC>;
+       assigned-clock-rates = <50000000>;
+};