summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/mediatek/mt8173.dtsi
diff options
context:
space:
mode:
authorXiangsheng Hou <xiangsheng.hou@mediatek.com>2022-06-30 11:01:56 +0200
committerMatthias Brugger <matthias.bgg@gmail.com>2022-07-07 16:43:20 +0200
commit04266856cee7fd5f6a0fd4ff818cd7b7091dd87a (patch)
tree3c9416529cde708d010845cb7b51b8a7b1e13d2b /arch/arm64/boot/dts/mediatek/mt8173.dtsi
parentarm64: dts: mediatek: cherry: Add I2C-HID touchscreen on I2C4 (diff)
downloadlinux-04266856cee7fd5f6a0fd4ff818cd7b7091dd87a.tar.xz
linux-04266856cee7fd5f6a0fd4ff818cd7b7091dd87a.zip
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: Xiangsheng Hou <xiangsheng.hou@mediatek.com> Link: https://lore.kernel.org/r/20220630090157.29486-2-xiangsheng.hou@mediatek.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm64/boot/dts/mediatek/mt8173.dtsi')
-rw-r--r--arch/arm64/boot/dts/mediatek/mt8173.dtsi7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index a2aef5aa67c1..f35111724363 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -791,9 +791,12 @@
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";