Kirkwood RD88F6192 and RD88F6281 DT conversion
cover Kirkwood RD88F6192 and RD88F6281 DT conversion
These two patches convert two Marvell Reference designs from old style setup files to DT. No testing has been performed other than that they compile.
Andrew Lunn (2):
ARM: Kirkwood: Add DT description of rd88f6192.
ARM: Kirkwood: convert rd88f6281-setup.c to DT.
arch/arm/boot/dts/Makefile | 3 + arch/arm/boot/dts/kirkwood-rd88f6192.dts | 112 ++++++++++++++++++++ arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts | 26 +++++ arch/arm/boot/dts/kirkwood-rd88f6281-a1.dts | 31 ++++++ arch/arm/boot/dts/kirkwood-rd88f6281.dtsi | 152 ++++++++++++++++++++++++++++ 5 files changed, 324 insertions(+) create mode 100644 arch/arm/boot/dts/kirkwood-rd88f6192.dts create mode 100644 arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts create mode 100644 arch/arm/boot/dts/kirkwood-rd88f6281-a1.dts create mode 100644 arch/arm/boot/dts/kirkwood-rd88f6281.dtsi
Signature · 1 line
1.8.5.3
PATCH 1/2 ARM: Kirkwood: Add DT description of rd88f6192.
Mechanically translate rd88f6192-nas-setup.c into DT equivelent.
--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/kirkwood-rd88f6192.dts | 112 +++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 arch/arm/boot/dts/kirkwood-rd88f6192.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -111,6 +111,7 @@ dtb-$(CONFIG_ARCH_KIRKWOOD) += kirkwood-cloudbox.dtb \ kirkwood-nsa310a.dtb \ kirkwood-openblocks_a6.dtb \ kirkwood-openblocks_a7.dtb \ + kirkwood-rd88f6192.dtb \ kirkwood-sheevaplug.dtb \ kirkwood-sheevaplug-esata.dtb \ kirkwood-topkick.dtb \
arch/arm/boot/dts/kirkwood-rd88f6192.dts new file +112 -0
113 lines not on this page · raw message
Signature · 1 line
1.8.5.3
PATCH 2/2 ARM: Kirkwood: convert rd88f6281-setup.c to DT.
In reply to Andrew LunnPerform a mechanical translation of rd88f6281-setup.c into DT. Since the hardware differs between the A0 and A1 stepping, two dts files are used, and a .dtsi file for the common parts. The A0 part does not have a "wan" port on the switch and uses PHY address 10 to address the switch. The A1 part does have the "wan" port and uses address 0.
--- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts | 26 +++++ arch/arm/boot/dts/kirkwood-rd88f6281-a1.dts | 31 ++++++ arch/arm/boot/dts/kirkwood-rd88f6281.dtsi | 152 ++++++++++++++++++++++++++++ 4 files changed, 211 insertions(+) create mode 100644 arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts create mode 100644 arch/arm/boot/dts/kirkwood-rd88f6281-a1.dts create mode 100644 arch/arm/boot/dts/kirkwood-rd88f6281.dtsi
arch/arm/boot/dts/Makefile +2 -0
@@ -112,6 +112,8 @@ dtb-$(CONFIG_ARCH_KIRKWOOD) += kirkwood-cloudbox.dtb \ kirkwood-openblocks_a6.dtb \ kirkwood-openblocks_a7.dtb \ kirkwood-rd88f6192.dtb \ + kirkwood-rd88f6281-a0.dtb \ + kirkwood-rd88f6281-a1.dtb \ kirkwood-sheevaplug.dtb \ kirkwood-sheevaplug-esata.dtb \ kirkwood-topkick.dtb \
arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts new file +26 -0
@@ -0,0 +1,26 @@ +/* + * Marvell RD88F6181 A0 Board descrition + * + * Andrew Lunn <[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. + * + * This file contains the definitions for the board with the A0 variant of + * the SoC. The ethernet switch does not have a "wan" port. + */ + +/dts-v1/; +#include "kirkwood-rd88f6281.dtsi" + +/ { + model = "Marvell RD88f6281 Reference design, with A0 SoC"; + compatible = "marvell,rd88f6281-a0", "marvell,rd88f6281","marvell,kirkwood-88f6281", "marvell,kirkwood"; + + dsa at 0 { + switch at 0 { + reg = <10 0>; /* MDIO address 10, switch 0 in tree */ + }; + }; +};
arch/arm/boot/dts/kirkwood-rd88f6281-a1.dts new file +31 -0
@@ -0,0 +1,31 @@ +/* + * Marvell RD88F6181 A1 Board descrition + * + * Andrew Lunn <[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. + * + * This file contains the definitions for the board with the A1 variant of + * the SoC. The ethernet switch has a "wan" port. + */ + +/dts-v1/; + +#include "kirkwood-rd88f6281.dtsi" + +/ { + model = "Marvell RD88f6281 Reference design, with A1 SoC"; + compatible = "marvell,rd88f6281-a1", "marvell,rd88f6281","marvell,kirkwood-88f6281", "marvell,kirkwood"; + + dsa at 0 { + switch at 0 { + reg = <0 0>; /* MDIO address 0, switch 0 in tree */ + port at 4 { + reg = <4>; + label = "wan"; + }; + }; + }; +};
arch/arm/boot/dts/kirkwood-rd88f6281.dtsi new file +152 -0
152 lines not on this page · raw message
Signature · 1 line
1.8.5.3
cover Kirkwood RD88F6192 and RD88F6281 DT conversion
In reply to Andrew LunnQuoted 8 lines · Andrew Lunn
These two patches convert two Marvell Reference designs from old style setup files to DT. No testing has been performed other than that they compile.
Andrew Lunn (2):
ARM: Kirkwood: Add DT description of rd88f6192.
ARM: Kirkwood: convertrd88f6281-setup.cto DT.
Quoted 10 lines
arch/arm/boot/dts/Makefile | 3 + arch/arm/boot/dts/kirkwood-rd88f6192.dts | 112 ++++++++++++++++++++ arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts | 26 +++++ arch/arm/boot/dts/kirkwood-rd88f6281-a1.dts | 31 ++++++ arch/arm/boot/dts/kirkwood-rd88f6281.dtsi | 152 ++++++++++++++++++++++++++++ 5 files changed, 324 insertions(+) create mode 100644 arch/arm/boot/dts/kirkwood-rd88f6192.dts create mode 100644 arch/arm/boot/dts/kirkwood-rd88f6281-a0.dts create mode 100644 arch/arm/boot/dts/kirkwood-rd88f6281-a1.dts create mode 100644 arch/arm/boot/dts/kirkwood-rd88f6281.dtsi
Series applied to mvebu/dt
thx,
Jason.