FROMLIST: riscv: dts: sophgo: Add SPI NOR node for SG2042
Add SPI NOR controller node for SG2042 Reviewed-by: Chen Wang <unicorn_wang@outlook.com> Tested-by: Chen Wang <unicorn_wang@outlook.com> Signed-off-by: Zixian Zeng <sycamoremoon376@gmail.com> Link: https://lore.kernel.org/r/20250916-sfg-spidts-v2-1-b5d9024fe1c8@gmail.com Signed-off-by: Han Gao <rabenda.cn@gmail.com>
This commit is contained in:
@@ -68,6 +68,30 @@
|
||||
interrupt-parent = <&intc>;
|
||||
ranges;
|
||||
|
||||
spifmc0: spi@7000180000 {
|
||||
compatible = "sophgo,sg2042-spifmc-nor";
|
||||
reg = <0x70 0x00180000 0x0 0x1000000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&clkgen GATE_CLK_AHB_SF>;
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <108 IRQ_TYPE_LEVEL_HIGH>;
|
||||
resets = <&rstgen RST_SF0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
spifmc1: spi@7002180000 {
|
||||
compatible = "sophgo,sg2042-spifmc-nor";
|
||||
reg = <0x70 0x02180000 0x0 0x1000000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&clkgen GATE_CLK_AHB_SF>;
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <109 IRQ_TYPE_LEVEL_HIGH>;
|
||||
resets = <&rstgen RST_SF1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
i2c0: i2c@7030005000 {
|
||||
compatible = "snps,designware-i2c";
|
||||
reg = <0x70 0x30005000 0x0 0x1000>;
|
||||
|
||||
Reference in New Issue
Block a user