arm: dts: zynq: improvements and cleanup
Subsystems (2)
v2 cover arm: dts: zynq: improvements and cleanup
This series attempts to standardize device naming and improve its information for better identification
The values of the "compatible" and "model" device-tree properties are corrected for some devices, adding complementary information when necessary
Changes since v1 (RFC):
- Add values to compatible property instead of replacing them
- Don't remove "internal" word from Xilinx boards on dt-bindings
- Migrate content of adapteva dt-binding file into Xilinx's
- Sort additional compatible strings alphabetically
by manufacturer
- Dropped patch that renamed the zedboard development board (no apparent benefit)
- Dropped the patch that removed the "zynq" value from the compatible strings (breaks the ABI)
Luis Araneda (3):
arm: dts: zynq: Set correct manufacturer for ZedBoard and MicroZed
boards
dt-bindings: xilinx: Add missing zynq boards and sort entries
arm: dts: zynq: correct and improve the model property of dt files
.../devicetree/bindings/arm/adapteva.txt | 7 ----- .../devicetree/bindings/arm/xilinx.txt | 30 +++++++++++++++---- arch/arm/boot/dts/zynq-cc108.dts | 2 +- arch/arm/boot/dts/zynq-microzed.dts | 4 +-- arch/arm/boot/dts/zynq-parallella.dts | 2 +- arch/arm/boot/dts/zynq-zc702.dts | 2 +- arch/arm/boot/dts/zynq-zc706.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm010.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm011.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm012.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm013.dts | 2 +- arch/arm/boot/dts/zynq-zed.dts | 4 +-- arch/arm/boot/dts/zynq-zybo-z7.dts | 2 +- arch/arm/boot/dts/zynq-zybo.dts | 2 +- 14 files changed, 39 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/adapteva.txt
Signature · 1 line
2.18.0
PATCH v2 1/3 arm: dts: zynq: Set correct manufacturer for ZedBoard and MicroZed boards
Both boards are made by Avnet, Inc. So add an additional value to the compatible property
---
Changes since v1 (RFC):
- Add values to compatible property instead of replacing them
arch/arm/boot/dts/zynq-microzed.dts | 2 +- arch/arm/boot/dts/zynq-zed.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/zynq-microzed.dts +1 -1
@@ -8,7 +8,7 @@ / { model = "Zynq MicroZED Development Board"; - compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000"; + compatible = "avnet,zynq-microzed", "xlnx,zynq-microzed", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
arch/arm/boot/dts/zynq-zed.dts +1 -1
@@ -8,7 +8,7 @@ / { model = "Zynq Zed Development Board"; - compatible = "xlnx,zynq-zed", "xlnx,zynq-7000"; + compatible = "avnet,zynq-zed", "xlnx,zynq-zed", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
Signature · 1 line
2.18.0
PATCH v2 2/3 dt-bindings: xilinx: Add missing zynq boards and sort entries
In reply to Luis AranedaThe bindings were missing when adding the device-tree files
Also, improve description of existing boards, sort them alphabetically by manufacturer, and migrate the contents of adapteva dt dindigns into Xilinx's
---
Changes since v1 (RFC):
- Don't remove "internal" word from Xilinx boards on dt-bindings
- Migrate content of adapteva dt-binding file into Xilinx's
- Sort additional compatible strings alphabetically
by manufacturer
.../devicetree/bindings/arm/adapteva.txt | 7 ----- .../devicetree/bindings/arm/xilinx.txt | 30 +++++++++++++++---- 2 files changed, 25 insertions(+), 12 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/adapteva.txt
Documentation/devicetree/bindings/arm/adapteva.txt deleted +0 -7
@@ -1,7 +0,0 @@ -Adapteva Platforms Device Tree Bindings ---------------------------------------- - -Parallella board - -Required root node properties: - - compatible = "adapteva,parallella";
Documentation/devicetree/bindings/arm/xilinx.txt +25 -5
@@ -8,18 +8,38 @@ Required root node properties: Additional compatible strings: -- Xilinx internal board cc108 +- Adapteva Parallella board + "adapteva,parallella" + +- Avnet MicroZed board + "avnet,zynq-microzed" + "xlnx,zynq-microzed" + +- Avnet ZedBoard board + "avnet,zynq-zed" + "xlnx,zynq-zed" + +- Digilent Zybo board + "digilent,zynq-zybo" + +- Digilent Zybo Z7 board + "digilent,zynq-zybo-z7" + +- Xilinx CC108 internal board "xlnx,zynq-cc108" -- Xilinx internal board zc770 with different FMC cards +- Xilinx ZC702 internal board + "xlnx,zynq-zc702" + +- Xilinx ZC706 internal board + "xlnx,zynq-zc706" + +- Xilinx ZC770 internal board, with different FMC cards "xlnx,zynq-zc770-xm010" "xlnx,zynq-zc770-xm011" "xlnx,zynq-zc770-xm012" "xlnx,zynq-zc770-xm013" -- Digilent Zybo Z7 board - "digilent,zynq-zybo-z7" - --------------------------------------------------------------- Xilinx Zynq UltraScale+ MPSoC Platforms Device Tree Bindings
Signature · 1 line
2.18.0
Re: [PATCH v2 2/3] dt-bindings: xilinx: Add missing zynq boards and sort entries
Quoted 72 lines · Luis Araneda
The bindings were missing when adding the device-tree files
Also, improve description of existing boards, sort them alphabetically by manufacturer, and migrate the contents of adapteva dt dindigns into Xilinx's
Signed-off-by Luis Araneda <[email protected]>---
Changes since v1 (RFC):
- Don't remove "internal" word from Xilinx boards on dt-bindings
- Migrate content of adapteva dt-binding file into Xilinx's
- Sort additional compatible strings alphabetically
by manufacturer.../devicetree/bindings/arm/adapteva.txt | 7 ----- .../devicetree/bindings/arm/xilinx.txt | 30 +++++++++++++++---- 2 files changed, 25 insertions(+), 12 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/adapteva.txtDocumentation/devicetree/bindings/arm/adapteva.txt deleted +0
-7@@ -1,7 +0,0 @@ -Adapteva Platforms Device Tree Bindings ---------------------------------------- - -Parallella board - -Required root node properties: - - compatible = "adapteva,parallella";Documentation/devicetree/bindings/arm/xilinx.txt +25
-2@@ -8,18 +8,38 @@ Required root node properties: Additional compatible strings: -- Xilinx internal board cc108 +- Adapteva Parallella board + "adapteva,parallella" + +- Avnet MicroZed board + "avnet,zynq-microzed" + "xlnx,zynq-microzed" + +- Avnet ZedBoard board + "avnet,zynq-zed" + "xlnx,zynq-zed" + +- Digilent Zybo board + "digilent,zynq-zybo" + +- Digilent Zybo Z7 board + "digilent,zynq-zybo-z7" + +- Xilinx CC108 internal board "xlnx,zynq-cc108" -- Xilinx internal board zc770 with different FMC cards +- Xilinx ZC702 internal board + "xlnx,zynq-zc702" + +- Xilinx ZC706 internal board + "xlnx,zynq-zc706" + +- Xilinx ZC770 internal board, with different FMC cards "xlnx,zynq-zc770-xm010"
Documentation/devicetree/bindings/arm/xilinx.txt Required root node properties: · line 45
Quoted 10 lines
Documentation/devicetree/bindings/arm/xilinx.txt +0
-3"xlnx,zynq-zc770-xm011" "xlnx,zynq-zc770-xm012" "xlnx,zynq-zc770-xm013" -- Digilent Zybo Z7 board - "digilent,zynq-zybo-z7" - --------------------------------------------------------------- Xilinx Zynq UltraScale+ MPSoC Platforms Device Tree Bindings
Please do it with more patches. There are 3 changes in one patch.
Thanks,
Michal
Re: [PATCH v2 2/3] dt-bindings: xilinx: Add missing zynq boards and sort entries
Hi Michal,
Quoted 1 line · Michal Simek
Please do it with more patches. There are 3 changes in one patch.
Ok, I'll split it into 3 different patches on v3.
Thanks,
Luis Araneda.
PATCH v2 3/3 arm: dts: zynq: correct and improve the model property of dt files
In reply to Luis AranedaReplace the current value of the model property by a more accurate description of each board (which includes the manufacturer), as some of the boards had the same value ("Xilinx Zynq")
---
Changes since v1 (RFC):
- No changes
arch/arm/boot/dts/zynq-cc108.dts | 2 +- arch/arm/boot/dts/zynq-microzed.dts | 2 +- arch/arm/boot/dts/zynq-parallella.dts | 2 +- arch/arm/boot/dts/zynq-zc702.dts | 2 +- arch/arm/boot/dts/zynq-zc706.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm010.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm011.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm012.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm013.dts | 2 +- arch/arm/boot/dts/zynq-zed.dts | 2 +- arch/arm/boot/dts/zynq-zybo-z7.dts | 2 +- arch/arm/boot/dts/zynq-zybo.dts | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-)
arch/arm/boot/dts/zynq-cc108.dts +1 -1
@@ -12,8 +12,8 @@ /include/ "zynq-7000.dtsi" / { + model = "Xilinx CC108 board"; compatible = "xlnx,zynq-cc108", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { ethernet0 = &gem0;
arch/arm/boot/dts/zynq-microzed.dts +1 -1
@@ -7,7 +7,7 @@ /include/ "zynq-7000.dtsi" / { - model = "Zynq MicroZED Development Board"; + model = "Avnet MicroZed board"; compatible = "avnet,zynq-microzed", "xlnx,zynq-microzed", "xlnx,zynq-7000"; aliases {
arch/arm/boot/dts/zynq-parallella.dts +1 -1
@@ -12,7 +12,7 @@ /include/ "zynq-7000.dtsi" / { - model = "Adapteva Parallella Board"; + model = "Adapteva Parallella board"; compatible = "adapteva,parallella", "xlnx,zynq-7000"; aliases {
arch/arm/boot/dts/zynq-zc702.dts +1 -1
@@ -7,7 +7,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq ZC702 Development Board"; + model = "Xilinx ZC702 board"; compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000"; aliases {
arch/arm/boot/dts/zynq-zc706.dts +1 -1
@@ -7,7 +7,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq ZC706 Development Board"; + model = "Xilinx ZC706 board"; compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000"; aliases {
arch/arm/boot/dts/zynq-zc770-xm010.dts +1 -1
@@ -8,8 +8,8 @@ #include "zynq-7000.dtsi" / { + model = "Xilinx ZC770 XM010 board"; compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { ethernet0 = &gem0;
arch/arm/boot/dts/zynq-zc770-xm011.dts +1 -1
@@ -8,8 +8,8 @@ #include "zynq-7000.dtsi" / { + model = "Xilinx ZC770 XM011 board"; compatible = "xlnx,zynq-zc770-xm011", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { i2c0 = &i2c1;
arch/arm/boot/dts/zynq-zc770-xm012.dts +1 -1
@@ -8,8 +8,8 @@ #include "zynq-7000.dtsi" / { + model = "Xilinx ZC770 XM012 board"; compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { i2c0 = &i2c0;
arch/arm/boot/dts/zynq-zc770-xm013.dts +1 -1
@@ -8,8 +8,8 @@ #include "zynq-7000.dtsi" / { + model = "Xilinx ZC770 XM013 board"; compatible = "xlnx,zynq-zc770-xm013", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { ethernet0 = &gem1;
arch/arm/boot/dts/zynq-zed.dts +1 -1
@@ -7,7 +7,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq Zed Development Board"; + model = "Avnet ZedBoard board"; compatible = "avnet,zynq-zed", "xlnx,zynq-zed", "xlnx,zynq-7000"; aliases {
arch/arm/boot/dts/zynq-zybo-z7.dts +1 -1
@@ -3,7 +3,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq ZYBO Z7 Development Board"; + model = "Digilent Zybo Z7 board"; compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000"; aliases {
arch/arm/boot/dts/zynq-zybo.dts +1 -1
@@ -7,7 +7,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq ZYBO Development Board"; + model = "Digilent Zybo board"; compatible = "digilent,zynq-zybo", "xlnx,zynq-7000"; aliases {
Signature · 1 line
2.18.0