mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
mediatek: mt7622: add irq for spi-nor controller
Save some CPU from unnecessary polling and make SPI flash reading a tiny bit faster. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
parent
593fe90b53
commit
99cd44487e
@ -0,0 +1,10 @@
|
|||||||
|
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
||||||
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
||||||
|
@@ -577,6 +577,7 @@
|
||||||
|
compatible = "mediatek,mt7622-nor",
|
||||||
|
"mediatek,mt8173-nor";
|
||||||
|
reg = <0 0x11014000 0 0xe0>;
|
||||||
|
+ interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
clocks = <&pericfg CLK_PERI_FLASH_PD>,
|
||||||
|
<&topckgen CLK_TOP_FLASH_SEL>;
|
||||||
|
clock-names = "spi", "sf";
|
Loading…
Reference in New Issue
Block a user