Commit 2d295928 authored by Gregory CLEMENT's avatar Gregory CLEMENT

ARM: mvebu: use improved armada spi device tree compatible name for each 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: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent 16b79921
...@@ -149,7 +149,6 @@ rtc@10300 { ...@@ -149,7 +149,6 @@ rtc@10300 {
}; };
spi0: spi@10600 { spi0: spi@10600 {
compatible = "marvell,armada-370-spi", "marvell,orion-spi";
reg = <0x10600 0x28>; reg = <0x10600 0x28>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -160,7 +159,6 @@ spi0: spi@10600 { ...@@ -160,7 +159,6 @@ spi0: spi@10600 {
}; };
spi1: spi@10680 { spi1: spi@10680 {
compatible = "marvell,armada-370-spi", "marvell,orion-spi";
reg = <0x10680 0x28>; reg = <0x10680 0x28>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
...@@ -139,11 +139,15 @@ L2: l2-cache { ...@@ -139,11 +139,15 @@ L2: l2-cache {
* board level if a different configuration is used. * board level if a different configuration is used.
*/ */
spi0: spi@10600 { spi0: spi@10600 {
compatible = "marvell,armada-370-spi",
"marvell,orion-spi";
pinctrl-0 = <&spi0_pins1>; pinctrl-0 = <&spi0_pins1>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
spi1: spi@10680 { spi1: spi@10680 {
compatible = "marvell,armada-370-spi",
"marvell,orion-spi";
pinctrl-0 = <&spi1_pins>; pinctrl-0 = <&spi1_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
......
...@@ -238,7 +238,8 @@ rtc@10300 { ...@@ -238,7 +238,8 @@ rtc@10300 {
}; };
spi0: spi@10600 { spi0: spi@10600 {
compatible = "marvell,orion-spi"; compatible = "marvell,armada-375-spi",
"marvell,orion-spi";
reg = <0x10600 0x50>; reg = <0x10600 0x50>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -249,7 +250,8 @@ spi0: spi@10600 { ...@@ -249,7 +250,8 @@ spi0: spi@10600 {
}; };
spi1: spi@10680 { spi1: spi@10680 {
compatible = "marvell,orion-spi"; compatible = "marvell,armada-375-spi",
"marvell,orion-spi";
reg = <0x10680 0x50>; reg = <0x10680 0x50>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
...@@ -167,7 +167,8 @@ gic: interrupt-controller@d000 { ...@@ -167,7 +167,8 @@ gic: interrupt-controller@d000 {
}; };
spi0: spi@10600 { spi0: spi@10600 {
compatible = "marvell,orion-spi"; compatible = "marvell,armada-380-spi",
"marvell,orion-spi";
reg = <0x10600 0x50>; reg = <0x10600 0x50>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -178,7 +179,8 @@ spi0: spi@10600 { ...@@ -178,7 +179,8 @@ spi0: spi@10600 {
}; };
spi1: spi@10680 { spi1: spi@10680 {
compatible = "marvell,orion-spi"; compatible = "marvell,armada-380-spi",
"marvell,orion-spi";
reg = <0x10680 0x50>; reg = <0x10680 0x50>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
...@@ -128,7 +128,8 @@ gic: interrupt-controller@d000 { ...@@ -128,7 +128,8 @@ gic: interrupt-controller@d000 {
}; };
spi0: spi@10600 { spi0: spi@10600 {
compatible = "marvell,orion-spi"; compatible = "marvell,armada-390-spi",
"marvell,orion-spi";
reg = <0x10600 0x50>; reg = <0x10600 0x50>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -139,7 +140,8 @@ spi0: spi@10600 { ...@@ -139,7 +140,8 @@ spi0: spi@10600 {
}; };
spi1: spi@10680 { spi1: spi@10680 {
compatible = "marvell,orion-spi"; compatible = "marvell,armada-390-spi",
"marvell,orion-spi";
reg = <0x10680 0x50>; reg = <0x10680 0x50>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
...@@ -85,10 +85,18 @@ L2: l2-cache { ...@@ -85,10 +85,18 @@ L2: l2-cache {
}; };
spi0: spi@10600 { spi0: spi@10600 {
compatible = "marvell,armada-xp-spi",
"marvell,orion-spi";
pinctrl-0 = <&spi0_pins>; pinctrl-0 = <&spi0_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
spi1: spi@10680 {
compatible = "marvell,armada-xp-spi",
"marvell,orion-spi";
};
i2c0: i2c@11000 { i2c0: i2c@11000 {
compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c"; compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
reg = <0x11000 0x100>; reg = <0x11000 0x100>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment