arm: mvebu: add DTS file for Marvell RD-A370-A1 board
PATCH 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design) board also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 board except that the first Ethernet PHY is SGMII-wired and the second is a switch which is RGMII-wired.
---
Thomas, Cl?ment, as support for other peripherals gets merged, I will update this DTS file to reflect this. Thanks!
arch/arm/boot/dts/armada-370-rd.dts | 61 +++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 arch/arm/boot/dts/armada-370-rd.dts
arch/arm/boot/dts/armada-370-rd.dts new file +61 -0
@@ -0,0 +1,61 @@ +/* + * Device Tree file for Marvell Armada 370 Reference Design board + * (RD-88F6710-A1) + * + * Copied from arch/arm/boot/dts/armada-370-db.dts + * + * Copyright (C) 2013 Florian Fainelli <[email protected]> + * + * 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. + */ + +/dts-v1/; +/include/ "armada-370.dtsi" + +/ { + model = "Marvell Armada 370 Reference Design"; + compatible = "marvell,a370-rd", "marvell,armada370", "marvell,armada-370-xp"; + + chosen { + bootargs = "console=ttyS0,115200 earlyprintk"; + }; + + memory { + device_type = "memory"; + reg = <0x00000000 0x20000000>; /* 512 MB */ + }; + + soc { + serial at d0012000 { + clock-frequency = <200000000>; + status = "okay"; + }; + sata at d00a0000 { + nr-ports = <2>; + status = "okay"; + }; + + mdio { + phy0: ethernet-phy at 0 { + reg = <0>; + }; + + phy1: ethernet-phy at 1 { + reg = <1>; + }; + }; + + ethernet at d0070000 { + status = "okay"; + phy = <&phy0>; + phy-mode = "sgmii"; + }; + ethernet at d0074000 { + status = "okay"; + phy = <&phy1>; + phy-mode = "rgmii-id"; + }; + }; +};
Signature · 1 line
1.7.10.4
PATCH v2 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design board) also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 board except that the first Ethernet PHY is SGMII-wired and the second is a switch which is RGMII-wired.
---
Thomas, Cl?ment, as support for other peripherals gets merged, I will update this DTS file to reflect this. Thanks!
Changes since v1:
- added missing entry in arch/arm/boot/dts/Makefile to actually build the DTB
arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/armada-370-rd.dts | 61 +++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 arch/arm/boot/dts/armada-370-rd.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -78,6 +78,7 @@ dtb-$(CONFIG_ARCH_MSM) += msm8660-surf.dtb \ msm8960-cdp.dtb dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \ armada-370-mirabox.dtb \ + armada-370-rd.dtb \ armada-xp-db.dtb \ armada-xp-openblocks-ax3-4.dtb dtb-$(CONFIG_ARCH_MXC) += imx51-babbage.dtb \
arch/arm/boot/dts/armada-370-rd.dts new file +61 -0
61 lines not on this page · raw message
Signature · 1 line
1.7.10.4
PATCH v2 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
Quoted 6 lines · Florian Fainelli
This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design board) also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 board except that the first Ethernet PHY is SGMII-wired and the second is a switch which is RGMII-wired.
Signed-off-by Florian Fainelli <[email protected]>
Looks OK for me
Quoted 92 lines
---
Thomas, Cl?ment, as support for other peripherals gets merged, I will update this DTS file to reflect this. Thanks!Changes since v1:
- added missing entry inarch/arm/boot/dts/Makefileto actually build the DTBarch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/armada-370-rd.dts | 61 +++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 arch/arm/boot/dts/armada-370-rd.dtsarch/arm/boot/dts/Makefile +1
-0@@ -78,6 +78,7 @@ dtb-$(CONFIG_ARCH_MSM) += msm8660-surf.dtb \ msm8960-cdp.dtb dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \ armada-370-mirabox.dtb \ + armada-370-rd.dtb \ armada-xp-db.dtb \ armada-xp-openblocks-ax3-4.dtb dtb-$(CONFIG_ARCH_MXC) += imx51-babbage.dtb \arch/arm/boot/dts/armada-370-rd.dts new file +61
-0@@ -0,0 +1,61 @@ +/* + * Device Tree file for Marvell Armada 370 Reference Design board + * (RD-88F6710-A1) + * + * Copied from arch/arm/boot/dts/armada-370-db.dts + * + * Copyright (C) 2013 Florian Fainelli <[email protected]> + * + * 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. + */ + +/dts-v1/; +/include/ "armada-370.dtsi" + +/ { + model = "Marvell Armada 370 Reference Design"; + compatible = "marvell,a370-rd", "marvell,armada370", "marvell,armada-370-xp"; + + chosen { + bootargs = "console=ttyS0,115200 earlyprintk"; + }; + + memory { + device_type = "memory"; + reg = <0x00000000 0x20000000>; /* 512 MB */ + }; + + soc { + serial at d0012000 { + clock-frequency = <200000000>; + status = "okay"; + }; + sata at d00a0000 { + nr-ports = <2>; + status = "okay"; + }; + + mdio { + phy0: ethernet-phy at 0 { + reg = <0>; + }; + + phy1: ethernet-phy at 1 { + reg = <1>; + }; + }; + + ethernet at d0070000 { + status = "okay"; + phy = <&phy0>; + phy-mode = "sgmii"; + }; + ethernet at d0074000 { + status = "okay"; + phy = <&phy1>; + phy-mode = "rgmii-id"; + }; + }; +};
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH v2 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
In reply to Florian FainelliQuoted 53 lines · Florian Fainelli
This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design board) also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 board except that the first Ethernet PHY is SGMII-wired and the second is a switch which is RGMII-wired.
Signed-off-by Florian Fainelli <[email protected]>---
Thomas, Cl?ment, as support for other peripherals gets merged, I will update this DTS file to reflect this. Thanks!Changes since v1:
- added missing entry inarch/arm/boot/dts/Makefileto actually build the DTBarch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/armada-370-rd.dts | 61 +++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 arch/arm/boot/dts/armada-370-rd.dtsarch/arm/boot/dts/Makefile +1
-0@@ -78,6 +78,7 @@ dtb-$(CONFIG_ARCH_MSM) += msm8660-surf.dtb \ msm8960-cdp.dtb dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \ armada-370-mirabox.dtb \ + armada-370-rd.dtb \ armada-xp-db.dtb \ armada-xp-openblocks-ax3-4.dtb dtb-$(CONFIG_ARCH_MXC) += imx51-babbage.dtb \arch/arm/boot/dts/armada-370-rd.dts new file +17
-0@@ -0,0 +1,61 @@ +/* + * Device Tree file for Marvell Armada 370 Reference Design board + * (RD-88F6710-A1) + * + * Copied from arch/arm/boot/dts/armada-370-db.dts + * + * Copyright (C) 2013 Florian Fainelli <[email protected]> + * + * 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. + */ + +/dts-v1/; +/include/ "armada-370.dtsi" + +/ {
arch/arm/boot/dts/armada-370-rd.dts line 27
Quoted 10 lines
arch/arm/boot/dts/armada-370-rd.dts new file +10
-0+ model = "Marvell Armada 370 Reference Design"; + compatible = "marvell,a370-rd", "marvell,armada370", "marvell,armada-370-xp"; + + chosen { + bootargs = "console=ttyS0,115200 earlyprintk"; + }; + + memory { + device_type = "memory"; + reg = <0x00000000 0x20000000>; /* 512 MB */
Hi Florian,
As you based your file on our (erroneous) dts, could you confirm that the RD-A370-A1 board have "only" 512MB?
Thanks,
Quoted 35 lines
arch/arm/boot/dts/armada-370-rd.dts new file +34
-0+ }; + + soc { + serial at d0012000 { + clock-frequency = <200000000>; + status = "okay"; + }; + sata at d00a0000 { + nr-ports = <2>; + status = "okay"; + }; + + mdio { + phy0: ethernet-phy at 0 { + reg = <0>; + }; + + phy1: ethernet-phy at 1 { + reg = <1>; + }; + }; + + ethernet at d0070000 { + status = "okay"; + phy = <&phy0>; + phy-mode = "sgmii"; + }; + ethernet at d0074000 { + status = "okay"; + phy = <&phy1>; + phy-mode = "rgmii-id"; + }; + }; +};
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH v2 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
Hello Gregory,
Le 01/10/13 13:51, Gregory CLEMENT a ?crit :
Quoted 8 lines
arch/arm/boot/dts/armada-370-rd.dts new file +4
-0+ + memory { + device_type = "memory"; + reg = <0x00000000 0x20000000>; /* 512 MB */Hi Florian,
As you based your file on our (erroneous) dts, could you confirm that the RD-A370-A1 board have "only" 512MB?
Yes it only has 512MB of RAM, this is not a mistake. --
Florian
PATCH v2 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
In reply to Florian FainelliThomas, Gregory,
Le 01/09/13 20:56, Florian Fainelli a ?crit :
Quoted 4 lines
This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design board) also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 board except that the first Ethernet PHY is SGMII-wired and the second is a switch which is RGMII-wired.
Who is going to take this patch? Since this is a new DTS file there are little chances it breaks anything, could it be taken for an upcoming 3.8-rc?
Thanks.
--
Florian
PATCH v2 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
Florian,
Quoted 10 lines · Florian Fainelli
Thomas, Gregory,
Le 01/09/13 20:56, Florian Fainelli a ?crit :
Quoted 4 lines
This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design board) also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 board except that the first Ethernet PHY is SGMII-wired and the second is a switch which is RGMII-wired.
Who is going to take this patch? Since this is a new DTS file there are little chances it breaks anything, could it be taken for an upcoming 3.8-rc?
It is Jason who takes care of gathering all the patches for mvebu.
As it is not a fix for a bug but more a new "feature" (at least a support for a new board), I doubt that it could be part of 3.8-rc.
But as far as I am concerned I am not against having this patch in 3.8-rc.
Regards
Quoted 5 lines
Thanks.
--
Florian
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH v2 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
In reply to Florian FainelliFlorian,
Quoted 9 lines · Florian Fainelli
Le 01/09/13 20:56, Florian Fainelli a ?crit :
Quoted 4 lines
This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design board) also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 board except that the first Ethernet PHY is SGMII-wired and the second is a switch which is RGMII-wired.
Who is going to take this patch? Since this is a new DTS file there are little chances it breaks anything, could it be taken for an upcoming 3.8-rc?
No, only fixes go in for the current -rc. It'll be included for v3.9, I have it in my queue.
thx,
Jason.
PATCH v2 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
Le 11/01/2013 15:56, Jason Cooper a ?crit :
Quoted 9 lines
Florian,
Quoted 6 lines · Florian Fainelli
Le 01/09/13 20:56, Florian Fainelli a ?crit :
Quoted 4 lines
This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design board) also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 board except that the first Ethernet PHY is SGMII-wired and the second is a switch which is RGMII-wired.
Quoted 6 lines
Quoted 3 lines
Who is going to take this patch? Since this is a new DTS file there are little chances it breaks anything, could it be taken for an upcoming 3.8-rc?
No, only fixes go in for the current -rc. It'll be included for v3.9, I have it in my queue.
Jason, I don't see this patch in the pull request you just sent for 3.9, should it be? Thanks!
--
Florian
PATCH v2 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
Quoted 14 lines · Florian Fainelli
Le 11/01/2013 15:56, Jason Cooper a ?crit :
Quoted 13 lines
Florian,
Quoted 9 lines · Florian Fainelli
Le 01/09/13 20:56, Florian Fainelli a ?crit :
Quoted 4 lines
This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design board) also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 board except that the first Ethernet PHY is SGMII-wired and the second is a switch which is RGMII-wired.
Who is going to take this patch? Since this is a new DTS file there are little chances it breaks anything, could it be taken for an upcoming 3.8-rc?
Quoted 5 lines
Quoted 2 lines
No, only fixes go in for the current -rc. It'll be included for v3.9, I have it in my queue.
Jason, I don't see this patch in the pull request you just sent for 3.9, should it be? Thanks!
Not yet, I'm working my though the holiday backlog chronologically.
thx,
Jason.
PATCH v2 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
Le 01/13/13 21:12, Jason Cooper a ?crit :
Quoted 10 lines · Florian Fainelli
Quoted 9 lines
Le 11/01/2013 15:56, Jason Cooper a ?crit :
Quoted 8 lines
Florian,
Quoted 5 lines · Florian Fainelli
Le 01/09/13 20:56, Florian Fainelli a ?crit :
Quoted 4 lines
This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design board) also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 board except that the first Ethernet PHY is SGMII-wired and the second is a switch which is RGMII-wired.
Quoted 8 lines
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Who is going to take this patch? Since this is a new DTS file there are little chances it breaks anything, could it be taken for an upcoming 3.8-rc?
No, only fixes go in for the current -rc. It'll be included for v3.9, I have it in my queue.
Jason, I don't see this patch in the pull request you just sent for 3.9, should it be? Thanks!
Not yet, I'm working my though the holiday backlog chronologically.
Ok, then you might want to hold this one a little, so I add mvsdio bindings to this DTS file as well. Thanks!
--
Florian
PATCH v3 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
In reply to Florian FainelliThis patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design board) also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 except on the following points:
- second Ethernet MAC is connected to a switch using RGMII
- it only has 512MB of physical RAM
- SDIO interface is enabled and working by default (no need for jumpers)
---
Jason,
This is rebased against your mvebu/for-next branch, can you please drop v2 of the previous patch and take this one instead? Thanks!
Changes since v2:
- rebased against Jason's mvebu/for-next
- added SDIO bindings
- changed commit message a bit
Changes since v1:
- added missing entry in arch/arm/boot/dts/Makefile to actually build the DTB
arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/armada-370-rd.dts | 68 +++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 arch/arm/boot/dts/armada-370-rd.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -78,6 +78,7 @@ dtb-$(CONFIG_ARCH_MSM) += msm8660-surf.dtb \ msm8960-cdp.dtb dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \ armada-370-mirabox.dtb \ + armada-370-rd.dtb \ armada-xp-db.dtb \ armada-xp-openblocks-ax3-4.dtb dtb-$(CONFIG_ARCH_MXC) += imx51-babbage.dtb \
arch/arm/boot/dts/armada-370-rd.dts new file +68 -0
68 lines not on this page · raw message
Signature · 1 line
1.7.10.4
Jason Cooper
AppliedPATCH v3 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
Quoted 20 lines · Florian Fainelli
This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design board) also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 except on the following points:
- second Ethernet MAC is connected to a switch using RGMII
- it only has 512MB of physical RAM
- SDIO interface is enabled and working by default (no need for jumpers)Signed-off-by Florian Fainelli <[email protected]>---
Jason,This is rebased against your mvebu/for-next branch, can you please drop v2 of the previous patch and take this one instead? Thanks!
Changes since v2:
- rebased against Jason's mvebu/for-next
- added SDIO bindings
- changed commit message a bit
Quoted 7 lines
Changes since v1:
- added missing entry inarch/arm/boot/dts/Makefileto actually build the DTBarch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/armada-370-rd.dts | 68 +++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 arch/arm/boot/dts/armada-370-rd.dts
Applied to mvebu/dt
thx,
Jason.
PATCH v3 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
Quoted 24 lines · Jason Cooper
Quoted 23 lines · Florian Fainelli
This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design board) also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 except on the following points:
- second Ethernet MAC is connected to a switch using RGMII
- it only has 512MB of physical RAM
- SDIO interface is enabled and working by default (no need for jumpers)Signed-off-by Florian Fainelli <[email protected]>---
Jason,This is rebased against your mvebu/for-next branch, can you please drop v2 of the previous patch and take this one instead? Thanks!
Changes since v2:
- rebased against Jason's mvebu/for-next
- added SDIO bindings
- changed commit message a bitChanges since v1:
- added missing entry inarch/arm/boot/dts/Makefileto actually build the DTB
Quoted 6 lines
Quoted 4 lines
arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/armada-370-rd.dts | 68 +++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 arch/arm/boot/dts/armada-370-rd.dtsApplied to mvebu/dt
oops, I meant mvebu/boards.
thx,
Jason.
PATCH v3 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
In reply to Florian FainelliFlorian,
Quoted 12 lines · Florian Fainelli
This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design board) also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 except on the following points:
- second Ethernet MAC is connected to a switch using RGMII
- it only has 512MB of physical RAM
- SDIO interface is enabled and working by default (no need for jumpers)Signed-off-by Florian Fainelli <[email protected]>---
Jason,
Quoted 7 lines
This is rebased against your mvebu/for-next branch, can you please drop v2 of the previous patch and take this one instead? Thanks!
Changes since v2:
- rebased against Jason's mvebu/for-next
- added SDIO bindings
- changed commit message a bit
This breaks badly as sdio bindings aren't added until mvebu/dt. Since this is a new board, it goes in *before* mvebu/dt (mvebu/boards). I'm going to go ahead and pull v2 instead as there seems to be no significant difference other than mvsdio being added.
If you want to get sdio support in for v3.9, please submit a separate patch on top of your v2.
thx,
Jason.
Quoted 103 lines
Changes since v1:
- added missing entry inarch/arm/boot/dts/Makefileto actually build the DTBarch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/armada-370-rd.dts | 68 +++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 arch/arm/boot/dts/armada-370-rd.dtsarch/arm/boot/dts/Makefile +1
-0@@ -78,6 +78,7 @@ dtb-$(CONFIG_ARCH_MSM) += msm8660-surf.dtb \ msm8960-cdp.dtb dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \ armada-370-mirabox.dtb \ + armada-370-rd.dtb \ armada-xp-db.dtb \ armada-xp-openblocks-ax3-4.dtb dtb-$(CONFIG_ARCH_MXC) += imx51-babbage.dtb \arch/arm/boot/dts/armada-370-rd.dts new file +68
-0@@ -0,0 +1,68 @@ +/* + * Device Tree file for Marvell Armada 370 Reference Design board + * (RD-88F6710-A1) + * + * Copied from arch/arm/boot/dts/armada-370-db.dts + * + * Copyright (C) 2013 Florian Fainelli <[email protected]> + * + * 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. + */ + +/dts-v1/; +/include/ "armada-370.dtsi" + +/ { + model = "Marvell Armada 370 Reference Design"; + compatible = "marvell,a370-rd", "marvell,armada370", "marvell,armada-370-xp"; + + chosen { + bootargs = "console=ttyS0,115200 earlyprintk"; + }; + + memory { + device_type = "memory"; + reg = <0x00000000 0x20000000>; /* 512 MB */ + }; + + soc { + serial at d0012000 { + clock-frequency = <200000000>; + status = "okay"; + }; + sata at d00a0000 { + nr-ports = <2>; + status = "okay"; + }; + + mdio { + phy0: ethernet-phy at 0 { + reg = <0>; + }; + + phy1: ethernet-phy at 1 { + reg = <1>; + }; + }; + + ethernet at d0070000 { + status = "okay"; + phy = <&phy0>; + phy-mode = "sgmii"; + }; + ethernet at d0074000 { + status = "okay"; + phy = <&phy1>; + phy-mode = "rgmii-id"; + }; + + mvsdio at d00d4000 { + pinctrl-0 = <&sdio_pins1>; + pinctrl-names = "default"; + status = "okay"; + /* No CD or WP GPIOs */ + }; + }; +};Signature · 7 lines
1.7.10.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH v3 1/1 arm: mvebu: add DTS file for Marvell RD-A370-A1 board
Le 31/01/2013 18:57, Jason Cooper a ?crit :
Quoted 23 lines
Florian,
Quoted 12 lines · Florian Fainelli
This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design board) also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 except on the following points:
- second Ethernet MAC is connected to a switch using RGMII
- it only has 512MB of physical RAM
- SDIO interface is enabled and working by default (no need for jumpers)Signed-off-by Florian Fainelli <[email protected]>---
Jason,Quoted 7 lines
This is rebased against your mvebu/for-next branch, can you please drop v2 of the previous patch and take this one instead? Thanks!
Changes since v2:
- rebased against Jason's mvebu/for-next
- added SDIO bindings
- changed commit message a bit
Quoted 4 lines
This breaks badly as sdio bindings aren't added until mvebu/dt. Since this is a new board, it goes in *before* mvebu/dt (mvebu/boards). I'm going to go ahead and pull v2 instead as there seems to be no significant difference other than mvsdio being added.
Whoops, sounds like the right thing to do, thanks!
Quoted 3 lines
If you want to get sdio support in for v3.9, please submit a separate patch on top of your v2.
Will do.
--
Florian
PATCH 1/1 arm: mvebu: enable the SD card slot on Armada 370 Reference Design board
In reply to Jason CooperThe Armada 370 Reference Design board has one SD card slot, directly connected to the SDIO IP of the SoC, so we enable this IP. there are no GPIOs for card-detect and write-protect so we do not specify any.
---
Jason,
This is against your mvebu/dt branch
arch/arm/boot/dts/armada-370-rd.dts | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/armada-370-rd.dts +7 -0
@@ -57,5 +57,12 @@ phy = <&phy1>; phy-mode = "rgmii-id"; }; + + mvsdio at d00d4000 { + pinctrl-0 = <&sdio_pins1>; + pinctrl-names = "default"; + status = "okay"; + /* No CD or WP GPIOs */ + }; }; };
Signature · 1 line
1.7.10.4
Jason Cooper
AppliedPATCH 1/1 arm: mvebu: enable the SD card slot on Armada 370 Reference Design board
Quoted 4 lines · Florian Fainelli
The Armada 370 Reference Design board has one SD card slot, directly connected to the SDIO IP of the SoC, so we enable this IP. there are no GPIOs for card-detect and write-protect so we do not specify any.
Quoted 8 lines
Signed-off-by Florian Fainelli <[email protected]>---
Jason,This is against your mvebu/dt branch
arch/arm/boot/dts/armada-370-rd.dts | 7 +++++++ 1 file changed, 7 insertions(+)
Applied to mvebu/dt
thx,
Jason.