[PATCH v2 3/3] arm64: dts: exynos: Add SPI nodes for Exynos850
Tudor Ambarus
tudor.ambarus at linaro.org
Mon Jan 29 09:51:02 PST 2024
On 1/25/24 01:38, Sam Protsenko wrote:
> diff --git a/arch/arm64/boot/dts/exynos/exynos850.dtsi b/arch/arm64/boot/dts/exynos/exynos850.dtsi
> index 618bc674896e..ca257da74b50 100644
> --- a/arch/arm64/boot/dts/exynos/exynos850.dtsi
> +++ b/arch/arm64/boot/dts/exynos/exynos850.dtsi
> @@ -738,6 +738,24 @@ usi_spi_0: usi at 139400c0 {
> <&cmu_peri CLK_GOUT_SPI0_IPCLK>;
> clock-names = "pclk", "ipclk";
> status = "disabled";
> +
> + spi_0: spi at 13940000 {
> + compatible = "samsung,exynos850-spi";
> + reg = <0x13940000 0x30>;
> + interrupts = <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
> + pinctrl-0 = <&spi0_pins>;
> + pinctrl-names = "default";
> + clocks = <&cmu_peri CLK_GOUT_SPI0_IPCLK>,
> + <&cmu_peri CLK_GOUT_SPI0_PCLK>;
> + clock-names = "spi_busclk0", "spi";
> + samsung,spi-src-clk = <0>;
this optional property
> + dmas = <&pdma0 5>, <&pdma0 4>;
> + dma-names = "tx", "rx";
> + num-cs = <1>;
and this one, are already defaults in the driver. Shall you remove them?
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "disabled";
> + };
> };
More information about the linux-arm-kernel
mailing list