Commit cb9b23cda9f03fcb179ba5ba23f5fd44bb9b7d7c

Authored by Rajeshwari Shinde
Committed by Minkyu Kang
1 parent 2f26975df5

EXYNOS5: FDT: Add SPI device node data

Add SPI device node data for exynos.

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>

Showing 2 changed files with 63 additions and 0 deletions Side-by-side Diff

arch/arm/dts/exynos5250.dtsi
... ... @@ -97,5 +97,46 @@
97 97 compatible = "samsung,exynos-sound";
98 98 reg = <0x12d60000 0x20>;
99 99 };
  100 +
  101 + spi@12d20000 {
  102 + #address-cells = <1>;
  103 + #size-cells = <0>;
  104 + compatible = "samsung,exynos-spi";
  105 + reg = <0x12d20000 0x30>;
  106 + interrupts = <0 68 0>;
  107 + };
  108 +
  109 + spi@12d30000 {
  110 + #address-cells = <1>;
  111 + #size-cells = <0>;
  112 + compatible = "samsung,exynos-spi";
  113 + reg = <0x12d30000 0x30>;
  114 + interrupts = <0 69 0>;
  115 + };
  116 +
  117 + spi@12d40000 {
  118 + #address-cells = <1>;
  119 + #size-cells = <0>;
  120 + compatible = "samsung,exynos-spi";
  121 + reg = <0x12d40000 0x30>;
  122 + clock-frequency = <50000000>;
  123 + interrupts = <0 70 0>;
  124 + };
  125 +
  126 + spi@131a0000 {
  127 + #address-cells = <1>;
  128 + #size-cells = <0>;
  129 + compatible = "samsung,exynos-spi";
  130 + reg = <0x131a0000 0x30>;
  131 + interrupts = <0 129 0>;
  132 + };
  133 +
  134 + spi@131b0000 {
  135 + #address-cells = <1>;
  136 + #size-cells = <0>;
  137 + compatible = "samsung,exynos-spi";
  138 + reg = <0x131b0000 0x30>;
  139 + interrupts = <0 130 0>;
  140 + };
100 141 };
doc/device-tree-bindings/exynos/isp-spi.txt
  1 +Exynos ISP SPI Subsystem
  2 +
  3 +The device node for ISP SPI subsytem.
  4 +Since Peripheral id in EXYNOS is decoded based on Interrupts, currently
  5 +ISP SPI have no individual interrupts hence we add ad dummy interrupt node
  6 +which will have a value beyond the maximum number of interrupts exynos5 can
  7 +support.
  8 +
  9 +Required properties :
  10 + - compatible : Should be "samsung,exynos-spi" for spi.
  11 + - reg : Base adrress of the the subsystem.
  12 + - interrupts : A value which is beyond the maximum number of interrupts
  13 +exynos5 can support.
  14 +
  15 +Example:
  16 +spi@131a0000 {
  17 + #address-cells = <1>;
  18 + #size-cells = <0>;
  19 + compatible = "samsung,exynos-spi";
  20 + reg = <0x131a0000 0x30>;
  21 + interrupts = <0 129 0>;
  22 +};