Skip to content

Commit

Permalink
ARM: mvebu: use improved armada spi device tree compatible name for e…
Browse files Browse the repository at this point in the history
…ach SoC

Use the new compatible introduced in order to benefit of a wider and
more accurate range of baud rates to be used.

Signed-off-by: Gregory CLEMENT <[email protected]>
  • Loading branch information
gclement committed May 27, 2015
1 parent 16b7992 commit 2d29592
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 8 deletions.
2 changes: 0 additions & 2 deletions arch/arm/boot/dts/armada-370-xp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@
};

spi0: spi@10600 {
compatible = "marvell,armada-370-spi", "marvell,orion-spi";
reg = <0x10600 0x28>;
#address-cells = <1>;
#size-cells = <0>;
Expand All @@ -160,7 +159,6 @@
};

spi1: spi@10680 {
compatible = "marvell,armada-370-spi", "marvell,orion-spi";
reg = <0x10680 0x28>;
#address-cells = <1>;
#size-cells = <0>;
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/armada-370.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,15 @@
* board level if a different configuration is used.
*/
spi0: spi@10600 {
compatible = "marvell,armada-370-spi",
"marvell,orion-spi";
pinctrl-0 = <&spi0_pins1>;
pinctrl-names = "default";
};

spi1: spi@10680 {
compatible = "marvell,armada-370-spi",
"marvell,orion-spi";
pinctrl-0 = <&spi1_pins>;
pinctrl-names = "default";
};
Expand Down
6 changes: 4 additions & 2 deletions arch/arm/boot/dts/armada-375.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@
};

spi0: spi@10600 {
compatible = "marvell,orion-spi";
compatible = "marvell,armada-375-spi",
"marvell,orion-spi";
reg = <0x10600 0x50>;
#address-cells = <1>;
#size-cells = <0>;
Expand All @@ -249,7 +250,8 @@
};

spi1: spi@10680 {
compatible = "marvell,orion-spi";
compatible = "marvell,armada-375-spi",
"marvell,orion-spi";
reg = <0x10680 0x50>;
#address-cells = <1>;
#size-cells = <0>;
Expand Down
6 changes: 4 additions & 2 deletions arch/arm/boot/dts/armada-38x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@
};

spi0: spi@10600 {
compatible = "marvell,orion-spi";
compatible = "marvell,armada-380-spi",
"marvell,orion-spi";
reg = <0x10600 0x50>;
#address-cells = <1>;
#size-cells = <0>;
Expand All @@ -178,7 +179,8 @@
};

spi1: spi@10680 {
compatible = "marvell,orion-spi";
compatible = "marvell,armada-380-spi",
"marvell,orion-spi";
reg = <0x10680 0x50>;
#address-cells = <1>;
#size-cells = <0>;
Expand Down
6 changes: 4 additions & 2 deletions arch/arm/boot/dts/armada-39x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@
};

spi0: spi@10600 {
compatible = "marvell,orion-spi";
compatible = "marvell,armada-390-spi",
"marvell,orion-spi";
reg = <0x10600 0x50>;
#address-cells = <1>;
#size-cells = <0>;
Expand All @@ -139,7 +140,8 @@
};

spi1: spi@10680 {
compatible = "marvell,orion-spi";
compatible = "marvell,armada-390-spi",
"marvell,orion-spi";
reg = <0x10680 0x50>;
#address-cells = <1>;
#size-cells = <0>;
Expand Down
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/armada-xp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,18 @@
};

spi0: spi@10600 {
compatible = "marvell,armada-xp-spi",
"marvell,orion-spi";
pinctrl-0 = <&spi0_pins>;
pinctrl-names = "default";
};

spi1: spi@10680 {
compatible = "marvell,armada-xp-spi",
"marvell,orion-spi";
};


i2c0: i2c@11000 {
compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
reg = <0x11000 0x100>;
Expand Down

0 comments on commit 2d29592

Please sign in to comment.