The commit df59fa7f4bca "spi: orion: support armada extended baud rates" made the assumptions that all the Armada SoCs supported the same maximum frequency. However, according the hardware datasheet, the maximum frequency supported by the Armada 370 SoC is tclk/4, for the Armada XP, Armada 38x and Armada 39x SoCs the limitation is 50MHz and for the Armada 375 it is tclk/15. This patch introduces new compatible strings to handle all these case. In order to be future proof a compatible was created for each SoC even if currently some SoCs seem using the same IP. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Mark Brown <broonie@kernel.org>
26 lines
872 B
Plaintext
26 lines
872 B
Plaintext
Marvell Orion SPI device
|
|
|
|
Required properties:
|
|
- compatible : should be on of the following:
|
|
- "marvell,orion-spi" for the Orion, mv78x00, Kirkwood and Dove SoCs
|
|
- "marvell,armada-370-spi", for the Armada 370 SoCs
|
|
- "marvell,armada-375-spi", for the Armada 375 SoCs
|
|
- "marvell,armada-380-spi", for the Armada 38x SoCs
|
|
- "marvell,armada-390-spi", for the Armada 39x SoCs
|
|
- "marvell,armada-xp-spi", for the Armada XP SoCs
|
|
- reg : offset and length of the register set for the device
|
|
- cell-index : Which of multiple SPI controllers is this.
|
|
Optional properties:
|
|
- interrupts : Is currently not used.
|
|
|
|
Example:
|
|
spi@10600 {
|
|
compatible = "marvell,orion-spi";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
cell-index = <0>;
|
|
reg = <0x10600 0x28>;
|
|
interrupts = <23>;
|
|
status = "disabled";
|
|
};
|