From 776a5e7eb265d0fb62f2dec2ae99b684a11db5ea Mon Sep 17 00:00:00 2001 From: Martin Ayotte Date: Wed, 24 Jul 2019 17:43:52 -0400 Subject: [PATCH] fix SPI default spi-max-frequency --- .../general-rockchip-overlays.patch | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/patch/kernel/rockchip64-dev/general-rockchip-overlays.patch b/patch/kernel/rockchip64-dev/general-rockchip-overlays.patch index ae7eaf5a51..0bcc1077a3 100644 --- a/patch/kernel/rockchip64-dev/general-rockchip-overlays.patch +++ b/patch/kernel/rockchip64-dev/general-rockchip-overlays.patch @@ -272,7 +272,7 @@ index 0000000..3a2be38 + spiflash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; -+ spi-max-frequency = <1000000>; ++ spi-max-frequency = <10000000>; + status = "disabled"; + }; + }; @@ -286,7 +286,7 @@ index 0000000..3a2be38 + spiflash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; -+ spi-max-frequency = <1000000>; ++ spi-max-frequency = <10000000>; + status = "disabled"; + }; + }; @@ -300,7 +300,7 @@ index 0000000..3a2be38 + spiflash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; -+ spi-max-frequency = <1000000>; ++ spi-max-frequency = <10000000>; + status = "disabled"; + }; + }; @@ -314,7 +314,7 @@ index 0000000..3a2be38 + spiflash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; -+ spi-max-frequency = <1000000>; ++ spi-max-frequency = <10000000>; + status = "disabled"; + }; + }; @@ -351,7 +351,7 @@ index 0000000..fe8fb14 + compatible = "spidev"; + status = "disabled"; + reg = <0>; -+ spi-max-frequency = <1000000>; ++ spi-max-frequency = <10000000>; + }; + }; + }; @@ -365,7 +365,7 @@ index 0000000..fe8fb14 + compatible = "spidev"; + status = "disabled"; + reg = <0>; -+ spi-max-frequency = <1000000>; ++ spi-max-frequency = <10000000>; + }; + }; + }; @@ -379,7 +379,7 @@ index 0000000..fe8fb14 + compatible = "spidev"; + status = "disabled"; + reg = <0>; -+ spi-max-frequency = <1000000>; ++ spi-max-frequency = <10000000>; + }; + }; + }; @@ -393,7 +393,7 @@ index 0000000..fe8fb14 + compatible = "spidev"; + status = "disabled"; + reg = <0>; -+ spi-max-frequency = <1000000>; ++ spi-max-frequency = <10000000>; + }; + }; + };