-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: mvebu: Add pinctrl support to Armada XP SoCs
This commits adds the necessary device tree information to define the compatible property for the pinctrl driver instance of Armada XP SoCs. Until now, the device tree representation considered the Armada XP as a single SoC. But in fact, there are three different SoCs in the Armada XP families, with different number of CPU cores, different number of Ethernet interfaces... and different number of muxable pins or functions. We therefore introduce three armada-xp-mv78xx0.dtsi for the three SoCs of the Armada XP family. The current armada-xp-db.dts evaluation board uses the MV78460 variant of the SoC. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
- Loading branch information
Thomas Petazzoni
authored and
Jason Cooper
committed
Sep 22, 2012
1 parent
463e270
commit f3b42b7
Showing
3 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Device Tree Include file for Marvell Armada XP family SoC | ||
* | ||
* Copyright (C) 2012 Marvell | ||
* | ||
* Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | ||
* | ||
* This file is licensed under the terms of the GNU General Public | ||
* License version 2. This program is licensed "as is" without any | ||
* warranty of any kind, whether express or implied. | ||
* | ||
* Contains definitions specific to the Armada XP MV78230 SoC that are not | ||
* common to all Armada XP SoCs. | ||
*/ | ||
|
||
/include/ "armada-xp.dtsi" | ||
|
||
/ { | ||
model = "Marvell Armada XP MV78230 SoC"; | ||
compatible = "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp"; | ||
|
||
soc { | ||
pinctrl { | ||
compatible = "marvell,mv78230-pinctrl"; | ||
reg = <0xd0018000 0x38>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Device Tree Include file for Marvell Armada XP family SoC | ||
* | ||
* Copyright (C) 2012 Marvell | ||
* | ||
* Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | ||
* | ||
* This file is licensed under the terms of the GNU General Public | ||
* License version 2. This program is licensed "as is" without any | ||
* warranty of any kind, whether express or implied. | ||
* | ||
* Contains definitions specific to the Armada XP MV78260 SoC that are not | ||
* common to all Armada XP SoCs. | ||
*/ | ||
|
||
/include/ "armada-xp.dtsi" | ||
|
||
/ { | ||
model = "Marvell Armada XP MV78260 SoC"; | ||
compatible = "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell,armada-370-xp"; | ||
|
||
soc { | ||
pinctrl { | ||
compatible = "marvell,mv78260-pinctrl"; | ||
reg = <0xd0018000 0x38>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Device Tree Include file for Marvell Armada XP family SoC | ||
* | ||
* Copyright (C) 2012 Marvell | ||
* | ||
* Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | ||
* | ||
* This file is licensed under the terms of the GNU General Public | ||
* License version 2. This program is licensed "as is" without any | ||
* warranty of any kind, whether express or implied. | ||
* | ||
* Contains definitions specific to the Armada XP MV78460 SoC that are not | ||
* common to all Armada XP SoCs. | ||
*/ | ||
|
||
/include/ "armada-xp.dtsi" | ||
|
||
/ { | ||
model = "Marvell Armada XP MV78460 SoC"; | ||
compatible = "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp"; | ||
|
||
soc { | ||
pinctrl { | ||
compatible = "marvell,mv78460-pinctrl"; | ||
reg = <0xd0018000 0x38>; | ||
}; | ||
}; | ||
}; |