mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
riscv: dts: sophgo: add SG2044 SPI NOR controller driver
Add SPI NOR device node for SG2044. Signed-off-by: Longbin Li <looong.bin@gmail.com> Link: https://lore.kernel.org/r/20250608232836.784737-11-inochiama@gmail.com Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Chen Wang <unicorn_wang@outlook.com> Signed-off-by: Chen Wang <wangchen20@iscas.ac.cn>
This commit is contained in:
parent
c20e152a08
commit
162b265ce0
|
|
@ -32,6 +32,30 @@ soc {
|
|||
#size-cells = <2>;
|
||||
ranges;
|
||||
|
||||
spifmc0: spi@7001000000 {
|
||||
compatible = "sophgo,sg2044-spifmc-nor";
|
||||
reg = <0x70 0x01000000 0x0 0x4000000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&clk CLK_GATE_AHB_SPIFMC>;
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <37 IRQ_TYPE_LEVEL_HIGH>;
|
||||
resets = <&rst RST_SPIFMC0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
spifmc1: spi@7005000000 {
|
||||
compatible = "sophgo,sg2044-spifmc-nor";
|
||||
reg = <0x70 0x05000000 0x0 0x4000000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&clk CLK_GATE_AHB_SPIFMC>;
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
|
||||
resets = <&rst RST_SPIFMC1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
dmac0: dma-controller@7020000000 {
|
||||
compatible = "snps,axi-dma-1.01a";
|
||||
reg = <0x70 0x20000000 0x0 0x10000>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user