]> Git Repo - J-linux.git/commitdiff
mips: dts: realtek: Add SPI NAND controller
authorChris Packham <[email protected]>
Tue, 15 Oct 2024 22:54:33 +0000 (11:54 +1300)
committerThomas Bogendoerfer <[email protected]>
Wed, 20 Nov 2024 22:45:45 +0000 (23:45 +0100)
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]>
arch/mips/boot/dts/realtek/rtl930x.dtsi

index 6a6f3f3fe389baf11e33c304ccb73693856a3cd5..17577457d15986582f6955e1e5545f009a155df2 100644 (file)
@@ -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>;
                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 {
This page took 0.046443 seconds and 4 git commands to generate.