[PATCH 2/3] MIPS: Loongson64: DTS: Add SPI support to LS3A

From: Qing Zhang
Date: Mon Nov 23 2020 - 04:19:47 EST


The LS3A SPI module is now supported, enable it.

Signed-off-by: Qing Zhang <zhangqing@xxxxxxxxxxx>
---
arch/mips/boot/dts/loongson/loongson64c-package.dtsi | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/mips/boot/dts/loongson/loongson64c-package.dtsi b/arch/mips/boot/dts/loongson/loongson64c-package.dtsi
index 5bb876a..2025c5a 100644
--- a/arch/mips/boot/dts/loongson/loongson64c-package.dtsi
+++ b/arch/mips/boot/dts/loongson/loongson64c-package.dtsi
@@ -60,5 +60,12 @@
interrupt-parent = <&liointc>;
no-loopback-test;
};
+
+ spi: spi@1fe00220 {
+ compatible = "loongson,loongson-spi";
+ reg=<0 0x1fe00220 0x11>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
};
};
--
2.1.0