Skip to content

Commit 5a38a5d

Browse files
cpackham-atlnztsbogend
authored andcommitted
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: Chris Packham <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 1be858f commit 5a38a5d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

arch/mips/boot/dts/realtek/rtl930x.dtsi

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@
6161
};
6262

6363
&soc {
64+
ranges = <0x0 0x18000000 0x20000>;
65+
6466
intc: interrupt-controller@3000 {
6567
compatible = "realtek,rtl9300-intc", "realtek,rtl-intc";
6668
reg = <0x3000 0x18>, <0x3018 0x18>;
@@ -88,6 +90,17 @@
8890
interrupts = <7>, <8>, <9>, <10>, <11>;
8991
clocks = <&lx_clk>;
9092
};
93+
94+
snand: spi@1a400 {
95+
compatible = "realtek,rtl9301-snand";
96+
reg = <0x1a400 0x44>;
97+
interrupt-parent = <&intc>;
98+
interrupts = <19>;
99+
clocks = <&lx_clk>;
100+
#address-cells = <1>;
101+
#size-cells = <0>;
102+
status = "disabled";
103+
};
91104
};
92105

93106
&uart0 {

0 commit comments

Comments
 (0)