From d0b5600db0e5869fb9a67ebe00d1d42599425eaa Mon Sep 17 00:00:00 2001 From: Simon Shields <simon.shields@data61.csiro.au> Date: Fri, 1 Feb 2019 14:29:48 +1100 Subject: [PATCH] exynos5410: add SPI nodes to device tree The CAmkES VM wants these. These definitions are incomplete, but are enough that the kernel will pass the appropriate memory regions through to userspace. --- src/plat/exynos5/overlay-exynos5410.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/plat/exynos5/overlay-exynos5410.dts b/src/plat/exynos5/overlay-exynos5410.dts index 634608948..94f0cefdf 100644 --- a/src/plat/exynos5/overlay-exynos5410.dts +++ b/src/plat/exynos5/overlay-exynos5410.dts @@ -21,4 +21,20 @@ interrupts = <0x1 0xd 0xf08>, <0x1 0xe 0xf08>, <0x1 0xb 0xf08>, <0x1 0xa 0xf08>; clock-frequency = <0x16e3600>; }; + + /* Mainline Linux does not have these SPI nodes, but we want to include them. */ + spi@12d20000 { + compatible = "samsung,exynos4210-spi"; + reg = <0x12d20000 0x100>; + }; + + spi@12d30000 { + compatible = "samsung,exynos4210-spi"; + reg = <0x12d30000 0x100>; + }; + + spi@12d40000 { + compatible = "samsung,exynos4210-spi"; + reg = <0x12d40000 0x100>; + }; }; -- GitLab