···11+SPI Master controller for Netlogic XLP MIPS64 SOCs22+==================================================33+44+Currently this SPI controller driver is supported for the following55+Netlogic XLP SoCs:66+ XLP832, XLP316, XLP208, XLP980, XLP53277+88+Required properties:99+- compatible : Should be "netlogic,xlp832-spi".1010+- #address-cells : Number of cells required to define a chip select address1111+ on the SPI bus.1212+- #size-cells : Should be zero.1313+- reg : Should contain register location and length.1414+- clocks : Phandle of the spi clock1515+- interrupts : Interrupt number used by this controller.1616+- interrupt-parent : Phandle of the parent interrupt controller.1717+1818+SPI slave nodes must be children of the SPI master node and can contain1919+properties described in Documentation/devicetree/bindings/spi/spi-bus.txt.2020+2121+Example:2222+2323+ spi: xlp_spi@3a100 {2424+ compatible = "netlogic,xlp832-spi";2525+ #address-cells = <1>;2626+ #size-cells = <0>;2727+ reg = <0 0x3a100 0x100>;2828+ clocks = <&spi_clk>;2929+ interrupts = <34>;3030+ interrupt-parent = <&pic>;3131+3232+ spi_nor@1 {3333+ compatible = "spansion,s25sl12801";3434+ #address-cells = <1>;3535+ #size-cells = <1>;3636+ reg = <1>; /* Chip Select */3737+ spi-max-frequency = <40000000>;3838+ };3939+};
+11
drivers/spi/Kconfig
···607607608608 Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"609609610610+config SPI_XLP611611+ tristate "Netlogic XLP SPI controller driver"612612+ depends on CPU_XLP || COMPILE_TEST613613+ help614614+ Enable support for the SPI controller on the Netlogic XLP SoCs.615615+ Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX616616+ and XLP5XX.617617+618618+ If you have a Netlogic XLP platform say Y here.619619+ If unsure, say N.620620+610621config SPI_XTENSA_XTFPGA611622 tristate "Xtensa SPI controller for xtfpga"612623 depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST