arm: zynq: Adding new Xilinx boards
Subsystems (3)
v2 cover arm: zynq: Adding new Xilinx boards
Hi,
this patchset is adding 5 new dts files which target cc108 and zc770 boards.
Please let me know if you see any issue with them.
Series depends on this one patch
https://lkml.org/lkml/2018/2/23/412
Thanks,
Michal
Changes in v2:
- Record compatible string to xilinx.txt
- Record compatible string to xilinx.txt
- Record compatible string to xilinx.txt
- Record compatible string to xilinx.txt
- use eeprom as node name instead of at25
- Record compatible string to xilinx.txt
Michal Simek (5):
arm: zynq: Add Xilinx cc108 board
arm: zynq: Add support for Xilinx zc770 xm010 dc1 board
arm: zynq: Add support for Xilinx zc770 xm011 dc2 board
arm: zynq: Add support for Xilinx zc770 xm012 dc3 board
arm: zynq: Add support for Xilinx zc770 xm013 dc4 board
Documentation/devicetree/bindings/arm/xilinx.txt | 11 +++ arch/arm/boot/dts/Makefile | 5 ++ arch/arm/boot/dts/zynq-cc108.dts | 75 +++++++++++++++++++ arch/arm/boot/dts/zynq-zc770-xm010.dts | 92 ++++++++++++++++++++++++ arch/arm/boot/dts/zynq-zc770-xm011.dts | 64 +++++++++++++++++ arch/arm/boot/dts/zynq-zc770-xm012.dts | 64 +++++++++++++++++ arch/arm/boot/dts/zynq-zc770-xm013.dts | 78 ++++++++++++++++++++ 7 files changed, 389 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-cc108.dts create mode 100644 arch/arm/boot/dts/zynq-zc770-xm010.dts create mode 100644 arch/arm/boot/dts/zynq-zc770-xm011.dts create mode 100644 arch/arm/boot/dts/zynq-zc770-xm012.dts create mode 100644 arch/arm/boot/dts/zynq-zc770-xm013.dts
Signature · 1 line
1.9.1
PATCH v2 1/5 arm: zynq: Add Xilinx cc108 board
The board contains 7z010 with 512MB memory, ethernet, qspi, uart, usbs and sd. But board is not supporting booting from sd card.
---
Changes in v2:
- Record compatible string to xilinx.txt
Documentation/devicetree/bindings/arm/xilinx.txt | 5 ++ arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-cc108.dts | 75 ++++++++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-cc108.dts
Documentation/devicetree/bindings/arm/xilinx.txt +5 -0
@@ -6,6 +6,11 @@ shall have the following properties. Required root node properties: - compatible = "xlnx,zynq-7000"; +Additional compatible strings: + +- Xilinx internal board cc108 + "xlnx,zynq-cc108" + --------------------------------------------------------------- Xilinx Zynq UltraScale+ MPSoC Platforms Device Tree Bindings
arch/arm/boot/dts/Makefile +1 -0
@@ -1062,6 +1062,7 @@ dtb-$(CONFIG_ARCH_VT8500) += \ wm8750-apc8750.dtb \ wm8850-w70v2.dtb dtb-$(CONFIG_ARCH_ZYNQ) += \ + zynq-cc108.dtb \ zynq-microzed.dtb \ zynq-parallella.dtb \ zynq-zc702.dtb \
arch/arm/boot/dts/zynq-cc108.dts new file +75 -0
75 lines not on this page · raw message
Signature · 1 line
1.9.1
Re: [PATCH v2 1/5] arm: zynq: Add Xilinx cc108 board
Quoted 6 lines · Michal Simek
The board contains 7z010 with 512MB memory, ethernet, qspi, uart, usbs and sd. But board is not supporting booting from sd card.
Signed-off-by Michal Simek <[email protected]>---
Quoted 8 lines
Changes in v2:
- Record compatible string to xilinx.txtDocumentation/devicetree/bindings/arm/xilinx.txt | 5 ++ arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-cc108.dts | 75 ++++++++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-cc108.dts
PATCH v2 2/5 arm: zynq: Add support for Xilinx zc770 xm010 dc1 board
In reply to Michal Simekzc770 is based board which is extended by FMC/DC cards for SoC validation. FMCs/DCs are supposed to cover all SoC configurations. FMC/DC contains ethernet port, can, i2c, sd, qspi, spi, uart and usb.
---
Changes in v2:
- Record compatible string to xilinx.txt
Documentation/devicetree/bindings/arm/xilinx.txt | 3 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-zc770-xm010.dts | 92 ++++++++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm010.dts
Documentation/devicetree/bindings/arm/xilinx.txt +3 -0
@@ -11,6 +11,9 @@ Additional compatible strings: - Xilinx internal board cc108 "xlnx,zynq-cc108" +- Xilinx internal board zc770 with different FMC cards + "xlnx,zynq-zc770-xm010" + --------------------------------------------------------------- Xilinx Zynq UltraScale+ MPSoC Platforms Device Tree Bindings
arch/arm/boot/dts/Makefile +1 -0
@@ -1067,6 +1067,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \ zynq-parallella.dtb \ zynq-zc702.dtb \ zynq-zc706.dtb \ + zynq-zc770-xm010.dtb \ zynq-zed.dtb \ zynq-zybo.dtb dtb-$(CONFIG_MACH_ARMADA_370) += \
arch/arm/boot/dts/zynq-zc770-xm010.dts new file +92 -0
92 lines not on this page · raw message
Signature · 1 line
1.9.1
Rob Herring
maintainerRe: [PATCH v2 2/5] arm: zynq: Add support for Xilinx zc770 xm010 dc1 board
Quoted 115 lines · Michal Simek
zc770 is based board which is extended by FMC/DC cards for SoC validation. FMCs/DCs are supposed to cover all SoC configurations. FMC/DC contains ethernet port, can, i2c, sd, qspi, spi, uart and usb.
Signed-off-by Michal Simek <[email protected]>---
Changes in v2:
- Record compatible string to xilinx.txtDocumentation/devicetree/bindings/arm/xilinx.txt | 3 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-zc770-xm010.dts | 92 ++++++++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm010.dtsDocumentation/devicetree/bindings/arm/xilinx.txt +3
-0@@ -11,6 +11,9 @@ Additional compatible strings: - Xilinx internal board cc108 "xlnx,zynq-cc108" +- Xilinx internal board zc770 with different FMC cards + "xlnx,zynq-zc770-xm010" + --------------------------------------------------------------- Xilinx Zynq UltraScale+ MPSoC Platforms Device Tree Bindingsarch/arm/boot/dts/Makefile +1
-0@@ -1067,6 +1067,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \ zynq-parallella.dtb \ zynq-zc702.dtb \ zynq-zc706.dtb \ + zynq-zc770-xm010.dtb \ zynq-zed.dtb \ zynq-zybo.dtb dtb-$(CONFIG_MACH_ARMADA_370) += \arch/arm/boot/dts/zynq-zc770-xm010.dts new file +67
-0@@ -0,0 +1,92 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Xilinx ZC770 XM010 board DTS + * + * Copyright (C) 2013-2018 Xilinx, Inc. + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { + compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; + model = "Xilinx Zynq"; + + aliases { + ethernet0 = &gem0; + i2c0 = &i2c0; + serial0 = &uart1; + spi1 = &spi1; + }; + + chosen { + bootargs = ""; + stdout-path = "serial0:115200n8"; + }; + + memory at 0 { + device_type = "memory"; + reg = <0x0 0x40000000>; + }; + + usb_phy0: phy0 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + }; +}; + +&can0 { + status = "okay"; +}; + +&gem0 { + status = "okay"; + phy-mode = "rgmii-id"; + phy-handle = <ðernet_phy>; + + ethernet_phy: ethernet-phy at 7 { + reg = <7>; + device_type = "ethernet-phy"; + }; +}; + +&i2c0 { + status = "okay"; + clock-frequency = <400000>; + + eeprom: eeprom at 52 { + compatible = "atmel,24c02"; + reg = <0x52>; + }; + +}; + +&sdhci0 { + status = "okay"; +}; + +&spi1 {
arch/arm/boot/dts/zynq-zc770-xm010.dts line 77
Quoted 10 lines
arch/arm/boot/dts/zynq-zc770-xm010.dts new file +10
-0+ status = "okay"; + num-cs = <4>; + is-decoded-cs = <0>; + flash at 0 { + compatible = "sst25wf080", "jedec,spi-nor"; + reg = <1>; + spi-max-frequency = <1000000>; + #address-cells = <1>; + #size-cells = <1>; + partition at test {
@test?
Use a partitions node too.
arch/arm/boot/dts/zynq-zc770-xm010.dts line 78
Quoted 1 line
arch/arm/boot/dts/zynq-zc770-xm010.dts new file +1
-0+ label = "spi-flash";
Should be what the partition contains.
Quoted 17 lines
arch/arm/boot/dts/zynq-zc770-xm010.dts new file +14
-0+ reg = <0x0 0x100000>; + }; + }; +}; + +&uart1 { + status = "okay"; +}; + +&usb0 { + status = "okay"; + dr_mode = "host"; + usb-phy = <&usb_phy0>; +};Signature · 1 line
1.9.1
Re: [PATCH v2 2/5] arm: zynq: Add support for Xilinx zc770 xm010 dc1 board
Quoted 129 lines · Rob Herring
Quoted 115 lines · Michal Simek
zc770 is based board which is extended by FMC/DC cards for SoC validation. FMCs/DCs are supposed to cover all SoC configurations. FMC/DC contains ethernet port, can, i2c, sd, qspi, spi, uart and usb.
Signed-off-by Michal Simek <[email protected]>---
Changes in v2:
- Record compatible string to xilinx.txtDocumentation/devicetree/bindings/arm/xilinx.txt | 3 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-zc770-xm010.dts | 92 ++++++++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm010.dtsDocumentation/devicetree/bindings/arm/xilinx.txt +3
-0@@ -11,6 +11,9 @@ Additional compatible strings: - Xilinx internal board cc108 "xlnx,zynq-cc108" +- Xilinx internal board zc770 with different FMC cards + "xlnx,zynq-zc770-xm010" + --------------------------------------------------------------- Xilinx Zynq UltraScale+ MPSoC Platforms Device Tree Bindingsarch/arm/boot/dts/Makefile +1
-0@@ -1067,6 +1067,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \ zynq-parallella.dtb \ zynq-zc702.dtb \ zynq-zc706.dtb \ + zynq-zc770-xm010.dtb \ zynq-zed.dtb \ zynq-zybo.dtb dtb-$(CONFIG_MACH_ARMADA_370) += \arch/arm/boot/dts/zynq-zc770-xm010.dts new file +67
-0@@ -0,0 +1,92 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Xilinx ZC770 XM010 board DTS + * + * Copyright (C) 2013-2018 Xilinx, Inc. + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { + compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; + model = "Xilinx Zynq"; + + aliases { + ethernet0 = &gem0; + i2c0 = &i2c0; + serial0 = &uart1; + spi1 = &spi1; + }; + + chosen { + bootargs = ""; + stdout-path = "serial0:115200n8"; + }; + + memory at 0 { + device_type = "memory"; + reg = <0x0 0x40000000>; + }; + + usb_phy0: phy0 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + }; +}; + +&can0 { + status = "okay"; +}; + +&gem0 { + status = "okay"; + phy-mode = "rgmii-id"; + phy-handle = <ðernet_phy>; + + ethernet_phy: ethernet-phy at 7 { + reg = <7>; + device_type = "ethernet-phy"; + }; +}; + +&i2c0 { + status = "okay"; + clock-frequency = <400000>; + + eeprom: eeprom at 52 { + compatible = "atmel,24c02"; + reg = <0x52>; + }; + +}; + +&sdhci0 { + status = "okay"; +}; + +&spi1 {arch/arm/boot/dts/zynq-zc770-xm010.dts line 77
Quoted 10 lines
arch/arm/boot/dts/zynq-zc770-xm010.dts new file +10
-0+ status = "okay"; + num-cs = <4>; + is-decoded-cs = <0>; + flash at 0 { + compatible = "sst25wf080", "jedec,spi-nor"; + reg = <1>; + spi-max-frequency = <1000000>; + #address-cells = <1>; + #size-cells = <1>; + partition at test {@test?
Quoted 1 line
Use a partitions node too.
ok done.
Quoted 4 lines
arch/arm/boot/dts/zynq-zc770-xm010.dts line 78
Quoted 2 lines
arch/arm/boot/dts/zynq-zc770-xm010.dts new file +1
-0+ label = "spi-flash";Should be what the partition contains.
I have fixed this to data.
Thanks,
M
Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180302/ac4d3e42/attachment.sig>
PATCH v2 3/5 arm: zynq: Add support for Xilinx zc770 xm011 dc2 board
In reply to Michal Simekzc770 is based board which is extended by FMC/DC cards for SoC validation. FMCs/DCs are supposed to cover all SoC configurations. FMC/DC contains can, i2c, nand uart, spi and usb.
---
Changes in v2:
- Record compatible string to xilinx.txt
Documentation/devicetree/bindings/arm/xilinx.txt | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-zc770-xm011.dts | 64 ++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm011.dts
Documentation/devicetree/bindings/arm/xilinx.txt +1 -0
@@ -13,6 +13,7 @@ Additional compatible strings: - Xilinx internal board zc770 with different FMC cards "xlnx,zynq-zc770-xm010" + "xlnx,zynq-zc770-xm011" ---------------------------------------------------------------
arch/arm/boot/dts/Makefile +1 -0
@@ -1068,6 +1068,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \ zynq-zc702.dtb \ zynq-zc706.dtb \ zynq-zc770-xm010.dtb \ + zynq-zc770-xm011.dtb \ zynq-zed.dtb \ zynq-zybo.dtb dtb-$(CONFIG_MACH_ARMADA_370) += \
arch/arm/boot/dts/zynq-zc770-xm011.dts new file +64 -0
64 lines not on this page · raw message
Signature · 1 line
1.9.1
Re: [PATCH v2 3/5] arm: zynq: Add support for Xilinx zc770 xm011 dc2 board
Quoted 7 lines · Michal Simek
zc770 is based board which is extended by FMC/DC cards for SoC validation. FMCs/DCs are supposed to cover all SoC configurations. FMC/DC contains can, i2c, nand uart, spi and usb.
Signed-off-by Michal Simek <[email protected]>---
Quoted 8 lines
Changes in v2:
- Record compatible string to xilinx.txtDocumentation/devicetree/bindings/arm/xilinx.txt | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-zc770-xm011.dts | 64 ++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm011.dts
PATCH v2 4/5 arm: zynq: Add support for Xilinx zc770 xm012 dc3 board
In reply to Michal Simekzc770 is based board which is extended by FMC/DC cards for SoC validation. FMCs/DCs are supposed to cover all SoC configurations. FMC/DC contains can, 2x i2c, nor flash, spi and uart.
---
Changes in v2:
- Record compatible string to xilinx.txt
Documentation/devicetree/bindings/arm/xilinx.txt | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-zc770-xm012.dts | 64 ++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm012.dts
Documentation/devicetree/bindings/arm/xilinx.txt +1 -0
@@ -14,6 +14,7 @@ Additional compatible strings: - Xilinx internal board zc770 with different FMC cards "xlnx,zynq-zc770-xm010" "xlnx,zynq-zc770-xm011" + "xlnx,zynq-zc770-xm012" ---------------------------------------------------------------
arch/arm/boot/dts/Makefile +1 -0
@@ -1069,6 +1069,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \ zynq-zc706.dtb \ zynq-zc770-xm010.dtb \ zynq-zc770-xm011.dtb \ + zynq-zc770-xm012.dtb \ zynq-zed.dtb \ zynq-zybo.dtb dtb-$(CONFIG_MACH_ARMADA_370) += \
arch/arm/boot/dts/zynq-zc770-xm012.dts new file +64 -0
64 lines not on this page · raw message
Signature · 1 line
1.9.1
Re: [PATCH v2 4/5] arm: zynq: Add support for Xilinx zc770 xm012 dc3 board
Quoted 7 lines · Michal Simek
zc770 is based board which is extended by FMC/DC cards for SoC validation. FMCs/DCs are supposed to cover all SoC configurations. FMC/DC contains can, 2x i2c, nor flash, spi and uart.
Signed-off-by Michal Simek <[email protected]>---
Quoted 8 lines
Changes in v2:
- Record compatible string to xilinx.txtDocumentation/devicetree/bindings/arm/xilinx.txt | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-zc770-xm012.dts | 64 ++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm012.dts
PATCH v2 5/5 arm: zynq: Add support for Xilinx zc770 xm013 dc4 board
In reply to Michal Simekzc770 is based board which is extended by FMC/DC cards for SoC validation. FMCs/DCs are supposed to cover all SoC configurations. FMC/DC contains can, ethernet, i2c, qspi, spi and uart.
---
Changes in v2:
- use eeprom as node name instead of at25
- Record compatible string to xilinx.txt
Documentation/devicetree/bindings/arm/xilinx.txt | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-zc770-xm013.dts | 78 ++++++++++++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm013.dts
Documentation/devicetree/bindings/arm/xilinx.txt +1 -0
@@ -15,6 +15,7 @@ Additional compatible strings: "xlnx,zynq-zc770-xm010" "xlnx,zynq-zc770-xm011" "xlnx,zynq-zc770-xm012" + "xlnx,zynq-zc770-xm013" ---------------------------------------------------------------
arch/arm/boot/dts/Makefile +1 -0
@@ -1070,6 +1070,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \ zynq-zc770-xm010.dtb \ zynq-zc770-xm011.dtb \ zynq-zc770-xm012.dtb \ + zynq-zc770-xm013.dtb \ zynq-zed.dtb \ zynq-zybo.dtb dtb-$(CONFIG_MACH_ARMADA_370) += \
arch/arm/boot/dts/zynq-zc770-xm013.dts new file +78 -0
78 lines not on this page · raw message
Signature · 1 line
1.9.1
Re: [PATCH v2 5/5] arm: zynq: Add support for Xilinx zc770 xm013 dc4 board
Quoted 11 lines · Michal Simek
zc770 is based board which is extended by FMC/DC cards for SoC validation. FMCs/DCs are supposed to cover all SoC configurations. FMC/DC contains can, ethernet, i2c, qspi, spi and uart.
Signed-off-by Michal Simek <[email protected]>---
Changes in v2:
- use eeprom as node name instead of at25
- Record compatible string to xilinx.txt
Quoted 5 lines
Documentation/devicetree/bindings/arm/xilinx.txt | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-zc770-xm013.dts | 78 ++++++++++++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm013.dts