aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/boot
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2019-05-27 11:13:21 +0200
committerPaul Burton <paul.burton@mips.com>2019-06-24 14:15:06 -0700
commit4e41b745d35beab56cfeb255292a6753aaf35af6 (patch)
tree66ba72e531879f47dfad7b30fe2ff70318ef8e62 /arch/mips/boot
parentMIPS: ralink: mt7628a.dtsi: Add GPIO controller DT node (diff)
downloadlinux-dev-4e41b745d35beab56cfeb255292a6753aaf35af6.tar.xz
linux-dev-4e41b745d35beab56cfeb255292a6753aaf35af6.zip
MIPS: ralink: mt7628a.dtsi: Add SPI controller DT node
This patch adds the SPI controller description to the MT7628A dtsi file. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Paul Burton <paul.burton@mips.com> Cc: Harvey Hunt <harveyhuntnexus@gmail.com> Cc: John Crispin <john@phrozen.org> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'arch/mips/boot')
-rw-r--r--arch/mips/boot/dts/ralink/mt7628a.dtsi16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ralink/mt7628a.dtsi b/arch/mips/boot/dts/ralink/mt7628a.dtsi
index 0c2983c9c47c..ab8c685792bc 100644
--- a/arch/mips/boot/dts/ralink/mt7628a.dtsi
+++ b/arch/mips/boot/dts/ralink/mt7628a.dtsi
@@ -170,6 +170,22 @@
interrupts = <6>;
};
+ spi: spi@b00 {
+ compatible = "ralink,mt7621-spi";
+ reg = <0xb00 0x100>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinmux_spi_spi>;
+
+ resets = <&resetc 18>;
+ reset-names = "spi";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ status = "disabled";
+ };
+
uart0: uartlite@c00 {
compatible = "ns16550a";
reg = <0xc00 0x100>;