Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1324346 > unrolled thread
| Started by | Gregory CLEMENT <gregory.clement@free-electrons.com> |
|---|---|
| First post | 2016-02-02 19:10 +0100 |
| Last post | 2016-02-03 12:20 +0100 |
| Articles | 13 on this page of 33 — 7 participants |
Back to article view | Back to linux.kernel
[PATCH 00/10] Add support for the Armada 3700 SoC an mvebu ARM64 based Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-02 19:10 +0100
[PATCH 01/10] serial: mvebu-uart: initial support for Armada-3700 serial port Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-02 19:10 +0100
Re: [PATCH 01/10] serial: mvebu-uart: initial support for Armada-3700 serial port Mark Rutland <mark.rutland@arm.com> - 2016-02-02 19:30 +0100
Re: [PATCH 01/10] serial: mvebu-uart: initial support for Armada-3700 serial port Mark Rutland <mark.rutland@arm.com> - 2016-02-02 19:30 +0100
Re: [PATCH 01/10] serial: mvebu-uart: initial support for Armada-3700 serial port One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-02-02 19:30 +0100
Re: [PATCH 01/10] serial: mvebu-uart: initial support for Armada-3700 serial port Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-03 17:10 +0100
Re: [PATCH 01/10] serial: mvebu-uart: initial support for Armada-3700 serial port Mark Rutland <mark.rutland@arm.com> - 2016-02-02 19:40 +0100
Re: [PATCH 01/10] serial: mvebu-uart: initial support for Armada-3700 serial port Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-03 17:40 +0100
Re: [PATCH 01/10] serial: mvebu-uart: initial support for Armada-3700 serial port Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-03 18:00 +0100
Re: [PATCH 01/10] serial: mvebu-uart: initial support for Armada-3700 serial port Mark Rutland <mark.rutland@arm.com> - 2016-02-03 18:10 +0100
Re: [PATCH 01/10] serial: mvebu-uart: initial support for Armada-3700 serial port Arnd Bergmann <arnd@arndb.de> - 2016-02-02 22:10 +0100
Re: [PATCH 01/10] serial: mvebu-uart: initial support for Armada-3700 serial port Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-03 17:50 +0100
Re: [PATCH 01/10] serial: mvebu-uart: initial support for Armada-3700 serial port Rob Herring <robh@kernel.org> - 2016-02-02 22:20 +0100
Re: [PATCH 01/10] serial: mvebu-uart: initial support for Armada-3700 serial port Marcin Wojtas <mw@semihalf.com> - 2016-02-03 09:10 +0100
Re: [PATCH 01/10] serial: mvebu-uart: initial support for Armada-3700 serial port Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-03 17:50 +0100
[PATCH 04/10] Documentation: dt-bindings: Add a new compatible for the Armada 3700 Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-02 19:20 +0100
Re: [PATCH 04/10] Documentation: dt-bindings: Add a new compatible for the Armada 3700 Rob Herring <robh@kernel.org> - 2016-02-02 22:30 +0100
[PATCH 08/10] MAINTAINERS: Extend dts entry for ARM64 mvebu files Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-02 19:20 +0100
[PATCH 07/10] arm64: dts: add the Marvell Armada 3700 family and a development board Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-02 19:20 +0100
Re: [PATCH 07/10] arm64: dts: add the Marvell Armada 3700 family and a development board Mark Rutland <mark.rutland@arm.com> - 2016-02-02 19:40 +0100
Re: [PATCH 07/10] arm64: dts: add the Marvell Armada 3700 family and a development board Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-03 11:50 +0100
Re: [PATCH 07/10] arm64: dts: add the Marvell Armada 3700 family and a development board Jisheng Zhang <jszhang@marvell.com> - 2016-02-03 07:50 +0100
[PATCH 02/10] ata: ahci_mvebu: add support for Armada 3700 variant Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-02 19:20 +0100
[PATCH 09/10] Documentation: arm: update supported Marvell EBU processors Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-02 19:20 +0100
[PATCH 10/10] arm64: defconfig: enable Armada 3700 related config Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-02 19:20 +0100
[PATCH 06/10] devicetree: bindings: add DT binding for the Marvell Armada 3700 SoC family Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-02 19:20 +0100
Re: [PATCH 06/10] devicetree: bindings: add DT binding for the Marvell Armada 3700 SoC family Rob Herring <robh@kernel.org> - 2016-02-02 22:30 +0100
Re: [PATCH 06/10] devicetree: bindings: add DT binding for the Marvell Armada 3700 SoC family Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-03 09:10 +0100
[PATCH 03/10] arm64: add Armada 3700 architecture entry Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-02 19:20 +0100
Re: [PATCH 03/10] arm64: add Armada 3700 architecture entry Jisheng Zhang <jszhang@marvell.com> - 2016-02-03 07:30 +0100
Re: [PATCH 03/10] arm64: add Armada 3700 architecture entry Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-03 09:00 +0100
Re: [PATCH 03/10] arm64: add Armada 3700 architecture entry Arnd Bergmann <arnd@arndb.de> - 2016-02-03 10:20 +0100
Re: [PATCH 03/10] arm64: add Armada 3700 architecture entry Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-02-03 12:20 +0100
Page 2 of 2 — ← Prev page 1 [2]
| From | Gregory CLEMENT <gregory.clement@free-electrons.com> |
|---|---|
| Date | 2016-02-03 11:50 +0100 |
| Subject | Re: [PATCH 07/10] arm64: dts: add the Marvell Armada 3700 family and a development board |
| Message-ID | <qY3ax-Nu-3@gated-at.bofh.it> |
| In reply to | #1324436 |
Hi Mark,
On mar., févr. 02 2016, Mark Rutland <mark.rutland@arm.com> wrote:
>> + memory {
>> + device_type = "memory";
>> + /* use only 256 MB on the 512 MB available */
>> + reg = <0x00000000 0x00000000 0x00000000 0x10000000>;
>> + };
>
> It would be good to comment as to why we can't use 256M of the memory.
Actually the comment is wrong and the size too, we do use the 512MB.
I will fix it
Thanks,
Gregory
>
> Otherwise this looks fine.
>
> Mark.
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
[toc] | [prev] | [next] | [standalone]
| From | Jisheng Zhang <jszhang@marvell.com> |
|---|---|
| Date | 2016-02-03 07:50 +0100 |
| Subject | Re: [PATCH 07/10] arm64: dts: add the Marvell Armada 3700 family and a development board |
| Message-ID | <qXZqi-6Mx-17@gated-at.bofh.it> |
| In reply to | #1324365 |
On Tue, 2 Feb 2016 19:07:45 +0100 Gregory CLEMENT wrote:
> Add initial dtsi files to support Marvell Armada 3700 SoC with Cortex-A53
> CPUs. There are two members in this family: the Armada 3710 (Single CPU)
> and the Armada 3720 (Dual CPUs).
>
> It also adds a dts file for the Marvell Armada 3720 DB board.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> ---
> arch/arm64/boot/dts/marvell/Makefile | 4 +
> arch/arm64/boot/dts/marvell/armada-371x.dtsi | 53 ++++++++++
> arch/arm64/boot/dts/marvell/armada-3720-db.dts | 87 ++++++++++++++++
> arch/arm64/boot/dts/marvell/armada-372x.dtsi | 63 ++++++++++++
> arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 131 +++++++++++++++++++++++++
> 5 files changed, 338 insertions(+)
> create mode 100644 arch/arm64/boot/dts/marvell/armada-371x.dtsi
> create mode 100644 arch/arm64/boot/dts/marvell/armada-3720-db.dts
> create mode 100644 arch/arm64/boot/dts/marvell/armada-372x.dtsi
> create mode 100644 arch/arm64/boot/dts/marvell/armada-37xx.dtsi
>
> diff --git a/arch/arm64/boot/dts/marvell/Makefile b/arch/arm64/boot/dts/marvell/Makefile
> index 348f4db4f313..bc2eabe1cab1 100644
> --- a/arch/arm64/boot/dts/marvell/Makefile
> +++ b/arch/arm64/boot/dts/marvell/Makefile
> @@ -1,6 +1,10 @@
> +# Berlin SoC Family
> dtb-$(CONFIG_ARCH_BERLIN) += berlin4ct-dmp.dtb
> dtb-$(CONFIG_ARCH_BERLIN) += berlin4ct-stb.dtb
>
> +# Mvebu SoC Family
> +dtb-$(CONFIG_ARCH_ARMADA_3700) += armada-3720-db.dtb
> +
> always := $(dtb-y)
> subdir-y := $(dts-dirs)
> clean-files := *.dtb
> diff --git a/arch/arm64/boot/dts/marvell/armada-371x.dtsi b/arch/arm64/boot/dts/marvell/armada-371x.dtsi
> new file mode 100644
> index 000000000000..c9e5325b8ac3
> --- /dev/null
> +++ b/arch/arm64/boot/dts/marvell/armada-371x.dtsi
> @@ -0,0 +1,53 @@
> +/*
> + * Device Tree Include file for Marvell Armada 371x family of SoCs
> + * (also named 88F3710)
> + *
> + * Copyright (C) 2016 Marvell
Is it better to Add full Marvell company name, eg. Marvell Technology Group Ltd.
> + *
> + * Gregory CLEMENT <gregory.clement@free-electrons.com>
Do we need to put "Author: " at the head?
> + *
> + * This file is dual-licensed: you can use it either under the terms
> + * of the GPL or the X11 license, at your option. Note that this dual
> + * licensing only applies to this file, and not this project as a
> + * whole.
> + *
> + * a) This file is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 of the
> + * License, or (at your option) any later version.
> + *
> + * This file is distributed in the hope that it will be useful
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * Or, alternatively
> + *
> + * b) Permission is hereby granted, free of charge, to any person
> + * obtaining a copy of this software and associated documentation
> + * files (the "Software"), to deal in the Software without
> + * restriction, including without limitation the rights to use
> + * copy, modify, merge, publish, distribute, sublicense, and/or
> + * sell copies of the Software, and to permit persons to whom the
> + * Software is furnished to do so, subject to the following
> + * conditions:
> + *
> + * The above copyright notice and this permission notice shall be
> + * included in all copies or substantial portions of the Software.
> + *
> + * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND
> + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
> + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
> + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY
> + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> + * OTHER DEALINGS IN THE SOFTWARE.
> + */
> +
> +#include "armada-37xx.dtsi"
> +
> +/ {
> + model = "Marvell Armada 3710 SoC";
> + compatible = "marvell,armada3710", "marvell,armada3700";
> +};
> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-db.dts b/arch/arm64/boot/dts/marvell/armada-3720-db.dts
> new file mode 100644
> index 000000000000..76cae6ba2bd6
> --- /dev/null
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-db.dts
> @@ -0,0 +1,87 @@
> +/*
> + * Device Tree file for Marvell Armada 3720 development board
> + * (DB-88F3720-DDR3)
> + * Copyright (C) 2016 Marvell
> + *
> + * Gregory CLEMENT <gregory.clement@free-electrons.com>
> + *
> + * This file is dual-licensed: you can use it either under the terms
> + * of the GPL or the X11 license, at your option. Note that this dual
> + * licensing only applies to this file, and not this project as a
> + * whole.
> + *
> + * a) This file is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 of the
> + * License, or (at your option) any later version.
> + *
> + * This file is distributed in the hope that it will be useful
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * Or, alternatively
> + *
> + * b) Permission is hereby granted, free of charge, to any person
> + * obtaining a copy of this software and associated documentation
> + * files (the "Software"), to deal in the Software without
> + * restriction, including without limitation the rights to use
> + * copy, modify, merge, publish, distribute, sublicense, and/or
> + * sell copies of the Software, and to permit persons to whom the
> + * Software is furnished to do so, subject to the following
> + * conditions:
> + *
> + * The above copyright notice and this permission notice shall be
> + * included in all copies or substantial portions of the Software.
> + *
> + * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND
> + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
> + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
> + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY
> + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> + * OTHER DEALINGS IN THE SOFTWARE.
> + */
> +
> +/dts-v1/;
> +
> +#include "armada-372x.dtsi"
> +
> +/ {
> + model = "Marvell Armada 3720 Development Board DB-88F3720-DDR3";
> + compatible = "marvell,armada-3720-db", "marvell,armada3720", "marvell,armada3700";
> +
> + chosen {
> + stdout-path = "serial0:115200n8";
> + };
> +
> + memory {
> + device_type = "memory";
> + /* use only 256 MB on the 512 MB available */
> + reg = <0x00000000 0x00000000 0x00000000 0x10000000>;
> + };
> +
> + soc {
> + internal-regs {
> + /*
> + * Exported on the micro USB connector CON32
> + * through an FTDI
> + */
> + uart0: serial@12000 {
> + status = "okay";
> + };
> +
> + /* CON31 */
> + usb3@58000 {
> + status = "okay";
> + };
> +
> + /* CON3 */
> + sata@e0000 {
> + status = "okay";
> + };
> + };
> + };
> +};
> +
> diff --git a/arch/arm64/boot/dts/marvell/armada-372x.dtsi b/arch/arm64/boot/dts/marvell/armada-372x.dtsi
> new file mode 100644
> index 000000000000..f57f41c20ddf
> --- /dev/null
> +++ b/arch/arm64/boot/dts/marvell/armada-372x.dtsi
> @@ -0,0 +1,63 @@
> +/*
> + * Device Tree Include file for Marvell Armada 372x family of SoCs
> + * (also named 88F3720)
> + *
> + * Copyright (C) 2016 Marvell
> + *
> + * Gregory CLEMENT <gregory.clement@free-electrons.com>
> + *
> + * This file is dual-licensed: you can use it either under the terms
> + * of the GPL or the X11 license, at your option. Note that this dual
> + * licensing only applies to this file, and not this project as a
> + * whole.
> + *
> + * a) This file is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 of the
> + * License, or (at your option) any later version.
> + *
> + * This file is distributed in the hope that it will be useful
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * Or, alternatively
> + *
> + * b) Permission is hereby granted, free of charge, to any person
> + * obtaining a copy of this software and associated documentation
> + * files (the "Software"), to deal in the Software without
> + * restriction, including without limitation the rights to use
> + * copy, modify, merge, publish, distribute, sublicense, and/or
> + * sell copies of the Software, and to permit persons to whom the
> + * Software is furnished to do so, subject to the following
> + * conditions:
> + *
> + * The above copyright notice and this permission notice shall be
> + * included in all copies or substantial portions of the Software.
> + *
> + * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND
> + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
> + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
> + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY
> + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> + * OTHER DEALINGS IN THE SOFTWARE.
> + */
> +
> +#include "armada-37xx.dtsi"
> +
> +/ {
> + model = "Marvell Armada 3720 SoC";
> + compatible = "marvell,armada3720", "marvell,armada3700";
> +
> + cpus {
> + cpu@1 {
> + device_type = "cpu";
> + compatible = "arm,cortex-a53","arm,armv8";
> + reg = <0x1>;
> + enable-method = "psci";
> + };
> + };
> +
> +};
> diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> new file mode 100644
> index 000000000000..ba9df7ff2a72
> --- /dev/null
> +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> @@ -0,0 +1,131 @@
> +/*
> + * Device Tree Include file for Marvell Armada 37xx family of SoCs.
> + *
> + * Copyright (C) 2016 Marvell
> + *
> + * Gregory CLEMENT <gregory.clement@free-electrons.com>
> + *
> + * This file is dual-licensed: you can use it either under the terms
> + * of the GPL or the X11 license, at your option. Note that this dual
> + * licensing only applies to this file, and not this project as a
> + * whole.
> + *
> + * a) This file is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 of the
> + * License, or (at your option) any later version.
> + *
> + * This file is distributed in the hope that it will be useful
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * Or, alternatively
> + *
> + * b) Permission is hereby granted, free of charge, to any person
> + * obtaining a copy of this software and associated documentation
> + * files (the "Software"), to deal in the Software without
> + * restriction, including without limitation the rights to use
> + * copy, modify, merge, publish, distribute, sublicense, and/or
> + * sell copies of the Software, and to permit persons to whom the
> + * Software is furnished to do so, subject to the following
> + * conditions:
> + *
> + * The above copyright notice and this permission notice shall be
> + * included in all copies or substantial portions of the Software.
> + *
> + * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND
> + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
> + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
> + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY
> + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> + * OTHER DEALINGS IN THE SOFTWARE.
> + */
> +
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> +/ {
> + model = "Marvell Armada 37xx SoC";
> + compatible = "marvell,armada3700";
> + interrupt-parent = <&gic>;
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + aliases {
> + serial0 = &uart0;
> + };
> +
> + cpus {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + cpu@0 {
> + device_type = "cpu";
> + compatible = "arm,cortex-a53", "arm,armv8";
> + reg = <0>;
> + enable-method = "psci";
> + };
> + };
> +
> + psci {
> + compatible = "arm,psci-0.2";
> + method = "smc";
> + };
> +
> + timer {
> + compatible = "arm,armv8-timer";
> + interrupts = <GIC_PPI 13
> + (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>,
> + <GIC_PPI 14
> + (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>,
> + <GIC_PPI 11
> + (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>,
> + <GIC_PPI 10
> + (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
> + };
> +
> + soc {
> + compatible = "simple-bus";
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges;
> +
> + internal-regs {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "simple-bus";
> + /* 32M internal register @ 0xd000_0000 */
> + ranges = <0x0 0x0 0xd0000000 0x2000000>;
> +
> + uart0: serial@12000 {
> + compatible = "marvell,armada-3700-uart";
> + reg = <0x12000 0x400>;
> + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
> + status = "disabled";
> + };
> +
> + usb3@58000 {
> + compatible = "generic-xhci";
> + reg = <0x58000 0x4000>;
> + interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
> + status = "disabled";
> + };
> +
> + sata@e0000 {
> + compatible = "marvell,armada-3700-ahci";
> + reg = <0xe0000 0x2000>;
> + interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
> + status = "disabled";
> + };
> +
> + gic: interrupt-controller@1d00000 {
> + compatible = "arm,gic-v3";
> + #interrupt-cells = <3>;
> + interrupt-controller;
> + reg = <0x1d00000 0x10000>, /* GICD */
> + <0x1d40000 0x40000>; /* GICR */
There's no GICC, GICV, GICH?
Thanks,
Jisheng
> + };
> + };
> + };
> +};
[toc] | [prev] | [next] | [standalone]
| From | Gregory CLEMENT <gregory.clement@free-electrons.com> |
|---|---|
| Date | 2016-02-02 19:20 +0100 |
| Subject | [PATCH 02/10] ata: ahci_mvebu: add support for Armada 3700 variant |
| Message-ID | <qXNIv-6Z3-37@gated-at.bofh.it> |
| In reply to | #1324346 |
From: Lior Amsalem <alior@marvell.com>
The main difference in the new Armada 3700 is that no address
decoding needs to take place in the driver probe.
[gregory.clement@free-electrons.com: reformulate the commit log]
Signed-off-by: Lior Amsalem <alior@marvell.com>
Reviewed-by: Nadav Haklai <nadavh@marvell.com>
Tested-by: Nadav Haklai <nadavh@marvell.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
---
drivers/ata/Kconfig | 2 +-
drivers/ata/ahci_mvebu.c | 14 +++++++++-----
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 861643ea91b5..1cc0c966ff88 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -144,7 +144,7 @@ config AHCI_CEVA
config AHCI_MVEBU
tristate "Marvell EBU AHCI SATA support"
- depends on ARCH_MVEBU
+ depends on ARCH_MVEBU || ARCH_ARMADA_3700
help
This option enables support for the Marvebu EBU SoC's
onboard AHCI SATA.
diff --git a/drivers/ata/ahci_mvebu.c b/drivers/ata/ahci_mvebu.c
index f7a7fa81740e..de7128d81e9c 100644
--- a/drivers/ata/ahci_mvebu.c
+++ b/drivers/ata/ahci_mvebu.c
@@ -112,12 +112,15 @@ static int ahci_mvebu_probe(struct platform_device *pdev)
if (rc)
return rc;
- dram = mv_mbus_dram_info();
- if (!dram)
- return -ENODEV;
+ if (of_device_is_compatible(pdev->dev.of_node,
+ "marvell,armada-380-ahci")) {
+ dram = mv_mbus_dram_info();
+ if (!dram)
+ return -ENODEV;
- ahci_mvebu_mbus_config(hpriv, dram);
- ahci_mvebu_regret_option(hpriv);
+ ahci_mvebu_mbus_config(hpriv, dram);
+ ahci_mvebu_regret_option(hpriv);
+ }
rc = ahci_platform_init_host(pdev, hpriv, &ahci_mvebu_port_info,
&ahci_platform_sht);
@@ -133,6 +136,7 @@ disable_resources:
static const struct of_device_id ahci_mvebu_of_match[] = {
{ .compatible = "marvell,armada-380-ahci", },
+ { .compatible = "marvell,armada-3700-ahci", },
{ },
};
MODULE_DEVICE_TABLE(of, ahci_mvebu_of_match);
--
2.5.0
[toc] | [prev] | [next] | [standalone]
| From | Gregory CLEMENT <gregory.clement@free-electrons.com> |
|---|---|
| Date | 2016-02-02 19:20 +0100 |
| Subject | [PATCH 09/10] Documentation: arm: update supported Marvell EBU processors |
| Message-ID | <qXNIw-6Z3-65@gated-at.bofh.it> |
| In reply to | #1324346 |
Now that we support Armada 37xx, let's add this family of SoC to the Marvell documentation, and a reference to a link with more details about those processors. As for Armda 39x, no datasheet is publicly available at this time. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> --- Documentation/arm/Marvell/README | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/arm/Marvell/README b/Documentation/arm/Marvell/README index ae89b67d8e23..ddbc048bb467 100644 --- a/Documentation/arm/Marvell/README +++ b/Documentation/arm/Marvell/README @@ -118,6 +118,19 @@ EBU Armada family Linux kernel mach directory: arch/arm/mach-mvebu Linux kernel plat directory: none +EBU Armada family ARMv8 +----------------------- + + Armada 3710/3720 Flavors: + 88F3710 + 88F3720 + + Core: ARM Cortex A53 (ARMv8) + + Homepage : http://www.marvell.com/embedded-processors/armada-3700/ + + Device tree descritpion located in arch/arm64/boot/dts/marvell/armada-37* + Avanta family ------------- -- 2.5.0
[toc] | [prev] | [next] | [standalone]
| From | Gregory CLEMENT <gregory.clement@free-electrons.com> |
|---|---|
| Date | 2016-02-02 19:20 +0100 |
| Subject | [PATCH 10/10] arm64: defconfig: enable Armada 3700 related config |
| Message-ID | <qXNIw-6Z3-63@gated-at.bofh.it> |
| In reply to | #1324346 |
This patch enables the configuration for the Armada 3700 family and for the related driver it uses. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- arch/arm64/configs/defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 18ca9fb9e65f..f7f3ce09ead0 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -31,6 +31,7 @@ CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_BLK_DEV_BSG is not set # CONFIG_IOSCHED_DEADLINE is not set +CONFIG_ARCH_ARMADA_3700=y CONFIG_ARCH_BCM_IPROC=y CONFIG_ARCH_BERLIN=y CONFIG_ARCH_EXYNOS7=y @@ -93,6 +94,7 @@ CONFIG_ATA=y CONFIG_SATA_AHCI=y CONFIG_SATA_AHCI_PLATFORM=y CONFIG_AHCI_CEVA=y +CONFIG_AHCI_MVEBU=y CONFIG_AHCI_XGENE=y CONFIG_SATA_RCAR=y CONFIG_PATA_PLATFORM=y @@ -132,6 +134,7 @@ CONFIG_SERIAL_MSM_CONSOLE=y CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_XILINX_PS_UART=y CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y +CONFIG_SERIAL_MVEBU_UART=y CONFIG_VIRTIO_CONSOLE=y # CONFIG_HW_RANDOM is not set CONFIG_I2C=y @@ -162,6 +165,8 @@ CONFIG_SND_SOC=y CONFIG_SND_SOC_RCAR=y CONFIG_SND_SOC_AK4613=y CONFIG_USB=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_XHCI_PLATFORM=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_HCD_PLATFORM=y CONFIG_USB_OHCI_HCD=y -- 2.5.0
[toc] | [prev] | [next] | [standalone]
| From | Gregory CLEMENT <gregory.clement@free-electrons.com> |
|---|---|
| Date | 2016-02-02 19:20 +0100 |
| Subject | [PATCH 06/10] devicetree: bindings: add DT binding for the Marvell Armada 3700 SoC family |
| Message-ID | <qXNIw-6Z3-69@gated-at.bofh.it> |
| In reply to | #1324346 |
The Marvell Armada 3700 is a family of ARMv8 CA53 SoCs. This commit introduces the Device Tree binding that documents the top-level compatible strings for Armada 3700 based platforms. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> --- .../devicetree/bindings/arm/marvell/armada-37xx.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt new file mode 100644 index 000000000000..5db9f1a90da2 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt @@ -0,0 +1,17 @@ +Marvell Armada 37xx Platforms Device Tree Bindings +-------------------------------------------------- + +Boards using a SoC of the Marvell Armada 37xx family must carry the +following root node property: + + - compatible: must contain "marvell,armada3700" + +In addition, depending on whether the Armada 3710 or Armada 3720 SoCs +are being used, the following root node property must be added: + + - compatible: must contain either "marvell,armada3710" or + "marvell,armada3720" + +Example: + +compatible = "marvell,armada-3720-db", "marvell,armada3720", "marvell,armada3700"; -- 2.5.0
[toc] | [prev] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2016-02-02 22:30 +0100 |
| Subject | Re: [PATCH 06/10] devicetree: bindings: add DT binding for the Marvell Armada 3700 SoC family |
| Message-ID | <qXQGn-FZ-35@gated-at.bofh.it> |
| In reply to | #1324381 |
On Tue, Feb 02, 2016 at 07:07:44PM +0100, Gregory CLEMENT wrote: > The Marvell Armada 3700 is a family of ARMv8 CA53 SoCs. This commit > introduces the Device Tree binding that documents the top-level > compatible strings for Armada 3700 based platforms. > > Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> > --- > .../devicetree/bindings/arm/marvell/armada-37xx.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt > > diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt > new file mode 100644 > index 000000000000..5db9f1a90da2 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt > @@ -0,0 +1,17 @@ > +Marvell Armada 37xx Platforms Device Tree Bindings > +-------------------------------------------------- > + > +Boards using a SoC of the Marvell Armada 37xx family must carry the > +following root node property: > + > + - compatible: must contain "marvell,armada3700" Is 3700 an actual chip? If not, please drop this. > + > +In addition, depending on whether the Armada 3710 or Armada 3720 SoCs > +are being used, the following root node property must be added: > + > + - compatible: must contain either "marvell,armada3710" or > + "marvell,armada3720" > + > +Example: > + > +compatible = "marvell,armada-3720-db", "marvell,armada3720", "marvell,armada3700"; > -- > 2.5.0 > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
[toc] | [prev] | [next] | [standalone]
| From | Gregory CLEMENT <gregory.clement@free-electrons.com> |
|---|---|
| Date | 2016-02-03 09:10 +0100 |
| Subject | Re: [PATCH 06/10] devicetree: bindings: add DT binding for the Marvell Armada 3700 SoC family |
| Message-ID | <qY0FJ-7K9-27@gated-at.bofh.it> |
| In reply to | #1324650 |
Hi Rob, On mar., févr. 02 2016, Rob Herring <robh@kernel.org> wrote: > On Tue, Feb 02, 2016 at 07:07:44PM +0100, Gregory CLEMENT wrote: >> The Marvell Armada 3700 is a family of ARMv8 CA53 SoCs. This commit >> introduces the Device Tree binding that documents the top-level >> compatible strings for Armada 3700 based platforms. >> >> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> >> --- >> .../devicetree/bindings/arm/marvell/armada-37xx.txt | 17 +++++++++++++++++ >> 1 file changed, 17 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt >> >> diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt >> new file mode 100644 >> index 000000000000..5db9f1a90da2 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.txt >> @@ -0,0 +1,17 @@ >> +Marvell Armada 37xx Platforms Device Tree Bindings >> +-------------------------------------------------- >> + >> +Boards using a SoC of the Marvell Armada 37xx family must carry the >> +following root node property: >> + >> + - compatible: must contain "marvell,armada3700" > > Is 3700 an actual chip? If not, please drop this. As for I know, it is not an actual chip, so I will remove it. Thanks, Gregory > >> + >> +In addition, depending on whether the Armada 3710 or Armada 3720 SoCs >> +are being used, the following root node property must be added: >> + >> + - compatible: must contain either "marvell,armada3710" or >> + "marvell,armada3720" >> + >> +Example: >> + >> +compatible = "marvell,armada-3720-db", "marvell,armada3720", "marvell,armada3700"; >> -- >> 2.5.0 >> >> -- >> To unsubscribe from this list: send the line "unsubscribe devicetree" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
[toc] | [prev] | [next] | [standalone]
| From | Gregory CLEMENT <gregory.clement@free-electrons.com> |
|---|---|
| Date | 2016-02-02 19:20 +0100 |
| Subject | [PATCH 03/10] arm64: add Armada 3700 architecture entry |
| Message-ID | <qXNIx-6Z3-91@gated-at.bofh.it> |
| In reply to | #1324346 |
The Armada 3700 is an mvebu ARM64 SoC using one or two Cortex-A53 cores depending of the variant. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- arch/arm64/Kconfig.platforms | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 21074f674bde..7da341f7b90d 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -1,5 +1,11 @@ menu "Platform selection" +config ARCH_ARMADA_3700 + bool "Armada 3700 SoC Family" + help + This enables support for Armada 3700 SoC Family. It is is an + ARMv8 based chipset belonging to the mvebu family. + config ARCH_BCM_IPROC bool "Broadcom iProc SoC Family" help -- 2.5.0
[toc] | [prev] | [next] | [standalone]
| From | Jisheng Zhang <jszhang@marvell.com> |
|---|---|
| Date | 2016-02-03 07:30 +0100 |
| Subject | Re: [PATCH 03/10] arm64: add Armada 3700 architecture entry |
| Message-ID | <qXZ6W-6G0-17@gated-at.bofh.it> |
| In reply to | #1324391 |
On Tue, 2 Feb 2016 19:07:41 +0100 Gregory CLEMENT wrote: > The Armada 3700 is an mvebu ARM64 SoC using one or two Cortex-A53 cores > depending of the variant. > > Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> > Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> > --- > arch/arm64/Kconfig.platforms | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms > index 21074f674bde..7da341f7b90d 100644 > --- a/arch/arm64/Kconfig.platforms > +++ b/arch/arm64/Kconfig.platforms > @@ -1,5 +1,11 @@ > menu "Platform selection" > > +config ARCH_ARMADA_3700 Would it be better to use ARCH_MVEBU? IMHO, there will be more ARMv8 SoCs from our EBU, do we plan to add one CONFIG_ARMADA_yyzz for each SoC? > + bool "Armada 3700 SoC Family" > + help > + This enables support for Armada 3700 SoC Family. It is is an > + ARMv8 based chipset belonging to the mvebu family. > + > config ARCH_BCM_IPROC > bool "Broadcom iProc SoC Family" > help
[toc] | [prev] | [next] | [standalone]
| From | Gregory CLEMENT <gregory.clement@free-electrons.com> |
|---|---|
| Date | 2016-02-03 09:00 +0100 |
| Subject | Re: [PATCH 03/10] arm64: add Armada 3700 architecture entry |
| Message-ID | <qY0w2-7rK-9@gated-at.bofh.it> |
| In reply to | #1324958 |
Hi Jisheng, On mer., févr. 03 2016, Jisheng Zhang <jszhang@marvell.com> wrote: > On Tue, 2 Feb 2016 19:07:41 +0100 Gregory CLEMENT wrote: > >> The Armada 3700 is an mvebu ARM64 SoC using one or two Cortex-A53 cores >> depending of the variant. >> >> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> >> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> >> --- >> arch/arm64/Kconfig.platforms | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms >> index 21074f674bde..7da341f7b90d 100644 >> --- a/arch/arm64/Kconfig.platforms >> +++ b/arch/arm64/Kconfig.platforms >> @@ -1,5 +1,11 @@ >> menu "Platform selection" >> >> +config ARCH_ARMADA_3700 > > Would it be better to use ARCH_MVEBU? IMHO, there will be more ARMv8 SoCs > from our EBU, do we plan to add one CONFIG_ARMADA_yyzz for each SoC? Not for each SoC but for each family, yes. As we did for the other mvebu SoC families. Gregory > >> + bool "Armada 3700 SoC Family" >> + help >> + This enables support for Armada 3700 SoC Family. It is is an >> + ARMv8 based chipset belonging to the mvebu family. >> + >> config ARCH_BCM_IPROC >> bool "Broadcom iProc SoC Family" >> help > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
[toc] | [prev] | [next] | [standalone]
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2016-02-03 10:20 +0100 |
| Subject | Re: [PATCH 03/10] arm64: add Armada 3700 architecture entry |
| Message-ID | <qY1Lr-8sb-1@gated-at.bofh.it> |
| In reply to | #1325004 |
On Wednesday 03 February 2016 08:55:22 Gregory CLEMENT wrote: > >> > >> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms > >> index 21074f674bde..7da341f7b90d 100644 > >> --- a/arch/arm64/Kconfig.platforms > >> +++ b/arch/arm64/Kconfig.platforms > >> @@ -1,5 +1,11 @@ > >> menu "Platform selection" > >> > >> +config ARCH_ARMADA_3700 > > > > Would it be better to use ARCH_MVEBU? IMHO, there will be more ARMv8 SoCs > > from our EBU, do we plan to add one CONFIG_ARMADA_yyzz for each SoC? > > Not for each SoC but for each family, yes. As we did for the other mvebu > SoC families. > We tend to use a little more general config strings for arm64 than we have for arm32. I think just using ARCH_MVEBU is fine here, no need to list the 3700 series separately. Arnd
[toc] | [prev] | [next] | [standalone]
| From | Gregory CLEMENT <gregory.clement@free-electrons.com> |
|---|---|
| Date | 2016-02-03 12:20 +0100 |
| Subject | Re: [PATCH 03/10] arm64: add Armada 3700 architecture entry |
| Message-ID | <qY3DA-1cM-9@gated-at.bofh.it> |
| In reply to | #1325075 |
Hi Arnd, On mer., févr. 03 2016, Arnd Bergmann <arnd@arndb.de> wrote: > On Wednesday 03 February 2016 08:55:22 Gregory CLEMENT wrote: >> >> >> >> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms >> >> index 21074f674bde..7da341f7b90d 100644 >> >> --- a/arch/arm64/Kconfig.platforms >> >> +++ b/arch/arm64/Kconfig.platforms >> >> @@ -1,5 +1,11 @@ >> >> menu "Platform selection" >> >> >> >> +config ARCH_ARMADA_3700 >> > >> > Would it be better to use ARCH_MVEBU? IMHO, there will be more ARMv8 SoCs >> > from our EBU, do we plan to add one CONFIG_ARMADA_yyzz for each SoC? >> >> Not for each SoC but for each family, yes. As we did for the other mvebu >> SoC families. >> > > We tend to use a little more general config strings for arm64 than we have > for arm32. I think just using ARCH_MVEBU is fine here, no need to list > the 3700 series separately. OK, for the arm32 mvebu SoC, the CONFIG_ARMADA_ were barely used, and CONFIG_ARCH_MVEBU is mostly use as a "depends on" and do not force anything. The only annoying point was with the irqchip, but thanks to the last series sent by Thomas irq-armada-370-xp.c won't be inconditionnaly built if CONFIG_ARCH_MVEBU is selected. So OK I will use CONFIG_ARCH_MVEBU. Thanks, Gregory > Arnd -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.kernel
csiph-web