Commit 04266856 authored by Xiangsheng Hou's avatar Xiangsheng Hou Committed by Matthias Brugger
Browse files

arm64: dts: mt8173: Fix nor_flash node



Add axi clock since the driver change to DMA mode which need
to enable axi clock. And change spi clock to 26MHz as default.

Signed-off-by: default avatarXiangsheng Hou <xiangsheng.hou@mediatek.com>
Link: https://lore.kernel.org/r/20220630090157.29486-2-xiangsheng.hou@mediatek.com


Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 10d4a706
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -791,9 +791,12 @@ thermal: thermal@1100b000 {
		nor_flash: spi@1100d000 {
			compatible = "mediatek,mt8173-nor";
			reg = <0 0x1100d000 0 0xe0>;
			assigned-clocks = <&topckgen CLK_TOP_SPI_SEL>;
			assigned-clock-parents = <&clk26m>;
			clocks = <&pericfg CLK_PERI_SPI>,
				 <&topckgen CLK_TOP_SPINFI_IFR_SEL>;
			clock-names = "spi", "sf";
				 <&topckgen CLK_TOP_SPINFI_IFR_SEL>,
				 <&pericfg CLK_PERI_NFI>;
			clock-names = "spi", "sf", "axi";
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";