OSDN Git Service

MIPS: ralink: mt7628a.dtsi: Add SPI controller DT node
authorStefan Roese <sr@denx.de>
Mon, 27 May 2019 09:13:21 +0000 (11:13 +0200)
committerPaul Burton <paul.burton@mips.com>
Mon, 24 Jun 2019 21:15:06 +0000 (14:15 -0700)
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
arch/mips/boot/dts/ralink/mt7628a.dtsi

index 0c2983c..ab8c685 100644 (file)
                        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>;