Commit cb9b23cda9f03fcb179ba5ba23f5fd44bb9b7d7c

Authored by Rajeshwari Shinde
Committed by Minkyu Kang
1 parent 2f26975df5
Exists in master and in 55 other branches 8qm-imx_v2020.04_5.4.70_2.3.0, emb_lf_v2022.04, emb_lf_v2023.04, imx_v2015.04_4.1.15_1.0.0_ga, pitx_8mp_lf_v2020.04, smarc-8m-android-10.0.0_2.6.0, smarc-8m-android-11.0.0_2.0.0, smarc-8mp-android-11.0.0_2.0.0, smarc-emmc-imx_v2014.04_3.10.53_1.1.0_ga, smarc-emmc-imx_v2014.04_3.14.28_1.0.0_ga, smarc-imx-l5.0.0_1.0.0-ga, smarc-imx6_v2018.03_4.14.98_2.0.0_ga, smarc-imx7_v2017.03_4.9.11_1.0.0_ga, smarc-imx7_v2018.03_4.14.98_2.0.0_ga, smarc-imx_v2014.04_3.14.28_1.0.0_ga, smarc-imx_v2015.04_4.1.15_1.0.0_ga, smarc-imx_v2017.03_4.9.11_1.0.0_ga, smarc-imx_v2017.03_4.9.88_2.0.0_ga, smarc-imx_v2017.03_o8.1.0_1.3.0_8m, smarc-imx_v2018.03_4.14.78_1.0.0_ga, smarc-m6.0.1_2.1.0-ga, smarc-n7.1.2_2.0.0-ga, smarc-rel_imx_4.1.15_2.0.0_ga, smarc_8m-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8m-imx_v2019.04_4.19.35_1.1.0, smarc_8m_00d0-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2019.04_4.19.35_1.1.0, smarc_8mm-imx_v2020.04_5.4.24_2.1.0, smarc_8mp_lf_v2020.04, smarc_8mq-imx_v2020.04_5.4.24_2.1.0, smarc_8mq_lf_v2020.04, ti-u-boot-2015.07, u-boot-2013.01.y, v2013.10, v2013.10-smarct33, v2013.10-smartmen, v2014.01, v2014.04, v2014.04-smarct33, v2014.04-smarct33-emmc, v2014.04-smartmen, v2014.07, v2014.07-smarct33, v2014.07-smartmen, v2015.07-smarct33, v2015.07-smarct33-emmc, v2015.07-smarct4x, v2016.05-dlt, v2016.05-smarct3x, v2016.05-smarct3x-emmc, v2016.05-smarct4x, v2017.01-smarct3x, v2017.01-smarct3x-emmc, v2017.01-smarct4x

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 +};