File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
arch/riscv/boot/dts/sophgo Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 543543 status = "disabled";
544544 };
545545
546+ spi0: spi@7040004000 {
547+ compatible = "sophgo,sg2042-spi", "snps,dw-apb-ssi";
548+ reg = <0x70 0x40004000 0x00 0x1000>;
549+ clocks = <&clkgen GATE_CLK_APB_SPI>;
550+ interrupt-parent = <&intc>;
551+ interrupts = <110 IRQ_TYPE_LEVEL_HIGH>;
552+ #address-cells = <1>;
553+ #size-cells = <0>;
554+ num-cs = <2>;
555+ resets = <&rstgen RST_SPI0>;
556+ status = "disabled";
557+ };
558+
559+ spi1: spi@7040005000 {
560+ compatible = "sophgo,sg2042-spi", "snps,dw-apb-ssi";
561+ reg = <0x70 0x40005000 0x00 0x1000>;
562+ clocks = <&clkgen GATE_CLK_APB_SPI>;
563+ interrupt-parent = <&intc>;
564+ interrupts = <111 IRQ_TYPE_LEVEL_HIGH>;
565+ #address-cells = <1>;
566+ #size-cells = <0>;
567+ num-cs = <2>;
568+ resets = <&rstgen RST_SPI1>;
569+ status = "disabled";
570+ };
571+
546572 emmc: mmc@704002a000 {
547573 compatible = "sophgo,sg2042-dwcmshc";
548574 reg = <0x70 0x4002a000 0x0 0x1000>;
You can’t perform that action at this time.
0 commit comments