Commit 5a38a5d4 authored by Chris Packham's avatar Chris Packham Committed by Thomas Bogendoerfer
Browse files

mips: dts: realtek: Add SPI NAND controller



Add the SPI-NAND controller on the RTL9300 family of devices. This
supports serial/dual/quad data width and DMA for read/program
operations.

Signed-off-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 1be858f7
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -61,6 +61,8 @@ i2c1: i2c@388 {
};

&soc {
	ranges = <0x0 0x18000000 0x20000>;

	intc: interrupt-controller@3000 {
		compatible = "realtek,rtl9300-intc", "realtek,rtl-intc";
		reg = <0x3000 0x18>, <0x3018 0x18>;
@@ -88,6 +90,17 @@ timer0: timer@3200 {
		interrupts = <7>, <8>, <9>, <10>, <11>;
		clocks = <&lx_clk>;
	};

	snand: spi@1a400 {
		compatible = "realtek,rtl9301-snand";
		reg = <0x1a400 0x44>;
		interrupt-parent = <&intc>;
		interrupts = <19>;
		clocks = <&lx_clk>;
		#address-cells = <1>;
		#size-cells = <0>;
		status = "disabled";
	};
};

&uart0 {