[PATCH v1 4/6] arm64: dts: meson: a1: introduce SPI Flash Controller

Dmitry Rokosov ddrokosov at sberdevices.ru
Wed Jun 7 13:16:39 PDT 2023


From: Martin Kurbanov <mmkurbanov at sberdevices.ru>

This controller can be used for spinand flash connection.

Signed-off-by: Martin Kurbanov <mmkurbanov at sberdevices.ru>
Signed-off-by: Dmitry Rokosov <ddrokosov at sberdevices.ru>
---
 arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
index 63faccfc1134..0efd922ca7e1 100644
--- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
@@ -199,6 +199,16 @@ gic: interrupt-controller at ff901000 {
 			#address-cells = <0>;
 		};
 
+		spifc: spi at fd000400 {
+			compatible = "amlogic,a1-spifc";
+			reg = <0x0 0xfd000400 0x0 0x290>;
+			clocks = <&clkc_periphs CLKID_SPIFC>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			power-domains = <&pwrc PWRC_SPIFC_ID>;
+			status = "disabled";
+		};
+
 		usb: usb at fe004400 {
 			status = "disabled";
 			compatible = "amlogic,meson-a1-usb-ctrl";
-- 
2.36.0




More information about the linux-arm-kernel mailing list