mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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>
This commit is contained in:
parent
2f26975df5
commit
cb9b23cda9
2 changed files with 63 additions and 0 deletions
|
@ -97,4 +97,45 @@
|
|||
compatible = "samsung,exynos-sound";
|
||||
reg = <0x12d60000 0x20>;
|
||||
};
|
||||
|
||||
spi@12d20000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "samsung,exynos-spi";
|
||||
reg = <0x12d20000 0x30>;
|
||||
interrupts = <0 68 0>;
|
||||
};
|
||||
|
||||
spi@12d30000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "samsung,exynos-spi";
|
||||
reg = <0x12d30000 0x30>;
|
||||
interrupts = <0 69 0>;
|
||||
};
|
||||
|
||||
spi@12d40000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "samsung,exynos-spi";
|
||||
reg = <0x12d40000 0x30>;
|
||||
clock-frequency = <50000000>;
|
||||
interrupts = <0 70 0>;
|
||||
};
|
||||
|
||||
spi@131a0000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "samsung,exynos-spi";
|
||||
reg = <0x131a0000 0x30>;
|
||||
interrupts = <0 129 0>;
|
||||
};
|
||||
|
||||
spi@131b0000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "samsung,exynos-spi";
|
||||
reg = <0x131b0000 0x30>;
|
||||
interrupts = <0 130 0>;
|
||||
};
|
||||
};
|
||||
|
|
22
doc/device-tree-bindings/exynos/isp-spi.txt
Normal file
22
doc/device-tree-bindings/exynos/isp-spi.txt
Normal file
|
@ -0,0 +1,22 @@
|
|||
Exynos ISP SPI Subsystem
|
||||
|
||||
The device node for ISP SPI subsytem.
|
||||
Since Peripheral id in EXYNOS is decoded based on Interrupts, currently
|
||||
ISP SPI have no individual interrupts hence we add ad dummy interrupt node
|
||||
which will have a value beyond the maximum number of interrupts exynos5 can
|
||||
support.
|
||||
|
||||
Required properties :
|
||||
- compatible : Should be "samsung,exynos-spi" for spi.
|
||||
- reg : Base adrress of the the subsystem.
|
||||
- interrupts : A value which is beyond the maximum number of interrupts
|
||||
exynos5 can support.
|
||||
|
||||
Example:
|
||||
spi@131a0000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "samsung,exynos-spi";
|
||||
reg = <0x131a0000 0x30>;
|
||||
interrupts = <0 129 0>;
|
||||
};
|
Loading…
Reference in a new issue