summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorChris Packham <chris.packham@alliedtelesis.co.nz>2024-10-16 01:54:33 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-11-21 01:45:45 +0300
commit5a38a5d40f2fa01591ab961ff37385a74b1ec7e1 (patch)
treef44d17484dbb3e29e758e283cc04b1dee3aff0ff /arch/mips
parent1be858f7fafe73afba1e2af9fc6dfce04f411354 (diff)
downloadlinux-5a38a5d40f2fa01591ab961ff37385a74b1ec7e1.tar.xz
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 <chris.packham@alliedtelesis.co.nz> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/boot/dts/realtek/rtl930x.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/realtek/rtl930x.dtsi b/arch/mips/boot/dts/realtek/rtl930x.dtsi
index 6a6f3f3fe389..17577457d159 100644
--- a/arch/mips/boot/dts/realtek/rtl930x.dtsi
+++ b/arch/mips/boot/dts/realtek/rtl930x.dtsi
@@ -61,6 +61,8 @@
};
&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 @@
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 {