Skip to contentSkip to conversation

ARM: meson: add p200 and p201 boards

PATCH Superseded Mohammad Rasim 2 participants 5 messages Mar 14, 2019 – Mar 15, 2019

Subsystems (2)

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v3 cover ARM: meson: add p200 and p201 boards

This adds support for p200 and p201 reference boards from amlogic

Mohammad Rasim (3):
ARM: dts: meson: add p200 and p201 boards
ARM: board: meson: add p201 board
ARM: board: meson: add p200 board

 arch/arm/dts/Makefile               |   2 +
 arch/arm/dts/meson-gxbb-p200.dts    |  99 +++++++++++
 arch/arm/dts/meson-gxbb-p201.dts    |  26 +++
 arch/arm/dts/meson-gxbb-p20x.dtsi   | 247 ++++++++++++++++++++++++++++
 board/amlogic/odroid-c2/MAINTAINERS |   1 +
 board/amlogic/odroid-c2/README.p200 | 103 ++++++++++++
 board/amlogic/p201/MAINTAINERS      |   5 +
 board/amlogic/p201/Makefile         |   5 +
 board/amlogic/p201/README.p201      | 103 ++++++++++++
 board/amlogic/p201/p201.c           |  43 +++++
 configs/p200_defconfig              |  41 +++++
 configs/p201_defconfig              |  41 +++++
 12 files changed, 716 insertions(+)
 create mode 100644 arch/arm/dts/meson-gxbb-p200.dts
 create mode 100644 arch/arm/dts/meson-gxbb-p201.dts
 create mode 100644 arch/arm/dts/meson-gxbb-p20x.dtsi
 create mode 100644 board/amlogic/odroid-c2/README.p200
 create mode 100644 board/amlogic/p201/MAINTAINERS
 create mode 100644 board/amlogic/p201/Makefile
 create mode 100644 board/amlogic/p201/README.p201
 create mode 100644 board/amlogic/p201/p201.c
 create mode 100644 configs/p200_defconfig
 create mode 100644 configs/p201_defconfig

--
2.21.0

#1 lore raw

PATCH v3 1/3 ARM: dts: meson: add p200 and p201 boards

This adds the device trees for p200 and p201 boards. Synced from kernel 5.0.0
Commit a667cb7a94d4 ("Merge branch 'akpm' (patches from Andrew)")

---
 arch/arm/dts/Makefile             |   2 +
 arch/arm/dts/meson-gxbb-p200.dts  |  99 ++++++++++++
 arch/arm/dts/meson-gxbb-p201.dts  |  26 ++++
 arch/arm/dts/meson-gxbb-p20x.dtsi | 247 ++++++++++++++++++++++++++++++
 4 files changed, 374 insertions(+)
 create mode 100644 arch/arm/dts/meson-gxbb-p200.dts
 create mode 100644 arch/arm/dts/meson-gxbb-p201.dts
 create mode 100644 arch/arm/dts/meson-gxbb-p20x.dtsi
arch/arm/dts/Makefile +2 -0
index 2a040b20a5..adf5f26fac 100644
@@ -60,6 +60,8 @@ dtb-$(CONFIG_ARCH_MESON) += \
 	meson-gxbb-nanopi-k2.dtb \
 	meson-gxbb-odroidc2.dtb \
 	meson-gxbb-nanopi-k2.dtb \
+	meson-gxbb-p200.dtb \
+	meson-gxbb-p201.dtb \
 	meson-gxl-s905x-p212.dtb \
 	meson-gxl-s905x-libretech-cc.dtb \
 	meson-gxl-s905x-khadas-vim.dtb \
arch/arm/dts/meson-gxbb-p200.dts new file +99 -0

99 lines not on this page · raw message

arch/arm/dts/meson-gxbb-p201.dts new file +26 -0
new file mode 100644
index 0000000000..56e0dd1ff5
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2016 Andreas Färber
+ * Copyright (c) 2016 BayLibre, Inc.
+ * Author: Kevin Hilman <[email protected]>
+ */
+
+/dts-v1/;
+
+#include "meson-gxbb-p20x.dtsi"
+
+/ {
+	compatible = "amlogic,p201", "amlogic,meson-gxbb";
+	model = "Amlogic Meson GXBB P201 Development Board";
+};
+
+&ethmac {
+	status = "okay";
+	pinctrl-0 = <&eth_rmii_pins>;
+	pinctrl-names = "default";
+	phy-mode = "rmii";
+
+	snps,reset-gpio = <&gpio GPIOZ_14 0>;
+	snps,reset-delays-us = <0 10000 1000000>;
+	snps,reset-active-low;
+};
arch/arm/dts/meson-gxbb-p20x.dtsi new file +247 -0

247 lines not on this page · raw message

--
2.21.0

#2 lore raw

PATCH v3 2/3 ARM: board: meson: add p201 board

In reply to Mohammad Rasim
---
 board/amlogic/p201/MAINTAINERS |   5 ++
 board/amlogic/p201/Makefile    |   5 ++
 board/amlogic/p201/README.p201 | 103 +++++++++++++++++++++++++++++++++
 board/amlogic/p201/p201.c      |  43 ++++++++++++++
 configs/p201_defconfig         |  41 +++++++++++++
 5 files changed, 197 insertions(+)
 create mode 100644 board/amlogic/p201/MAINTAINERS
 create mode 100644 board/amlogic/p201/Makefile
 create mode 100644 board/amlogic/p201/README.p201
 create mode 100644 board/amlogic/p201/p201.c
 create mode 100644 configs/p201_defconfig
board/amlogic/p201/MAINTAINERS new file +5 -0
new file mode 100644
index 0000000000..3e84a8e2a2
@@ -0,0 +1,5 @@
+P201
+M:	Neil Armstrong <[email protected]>
+S:	Maintained
+F:	board/amlogic/p201/
+F:	configs/p201_defconfig
board/amlogic/p201/Makefile new file +5 -0
new file mode 100644
index 0000000000..11de5396ab
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# (C) Copyright 2016 Beniamino Galvani <[email protected]>
+
+obj-y	:= p201.o
board/amlogic/p201/README.p201 new file +103 -0

103 lines not on this page · raw message

board/amlogic/p201/p201.c new file +43 -0

43 lines not on this page · raw message

configs/p201_defconfig new file +41 -0

41 lines not on this page · raw message

--
2.21.0

#3 lore raw

PATCH v3 3/3 ARM: board: meson: add p200 board

In reply to Mohammad Rasim
---
 board/amlogic/odroid-c2/MAINTAINERS |   1 +
 board/amlogic/odroid-c2/README.p200 | 103 ++++++++++++++++++++++++++++
 configs/p200_defconfig              |  41 +++++++++++
 3 files changed, 145 insertions(+)
 create mode 100644 board/amlogic/odroid-c2/README.p200
 create mode 100644 configs/p200_defconfig
board/amlogic/odroid-c2/MAINTAINERS +1 -0
index 6a853066d7..617d9c7045 100644
@@ -6,3 +6,4 @@ F:	board/amlogic/odroid-c2/
 F:	include/configs/odroid-c2.h
 F:	configs/nanopi-k2_defconfig
 F:	configs/odroid-c2_defconfig
+F:	configs/p200_defconfig
board/amlogic/odroid-c2/README.p200 new file +103 -0

103 lines not on this page · raw message

configs/p200_defconfig new file +41 -0

41 lines not on this page · raw message

--
2.21.0

#4 lore raw

v3 cover ARM: meson: add p200 and p201 boards

In reply to Mohammad Rasim

Hi,

Thanks for the reactivity !

Quoted 31 lines · Mohammad Rasim

This adds support for p200 and p201 reference boards from amlogic

Mohammad Rasim (3):
ARM: dts: meson: add p200 and p201 boards
ARM: board: meson: add p201 board
ARM: board: meson: add p200 board

 arch/arm/dts/Makefile               |   2 +
 arch/arm/dts/meson-gxbb-p200.dts    |  99 +++++++++++
 arch/arm/dts/meson-gxbb-p201.dts    |  26 +++
 arch/arm/dts/meson-gxbb-p20x.dtsi   | 247 ++++++++++++++++++++++++++++
 board/amlogic/odroid-c2/MAINTAINERS |   1 +
 board/amlogic/odroid-c2/README.p200 | 103 ++++++++++++
 board/amlogic/p201/MAINTAINERS      |   5 +
 board/amlogic/p201/Makefile         |   5 +
 board/amlogic/p201/README.p201      | 103 ++++++++++++
 board/amlogic/p201/p201.c           |  43 +++++
 configs/p200_defconfig              |  41 +++++
 configs/p201_defconfig              |  41 +++++
 12 files changed, 716 insertions(+)
 create mode 100644 arch/arm/dts/meson-gxbb-p200.dts
 create mode 100644 arch/arm/dts/meson-gxbb-p201.dts
 create mode 100644 arch/arm/dts/meson-gxbb-p20x.dtsi
 create mode 100644 board/amlogic/odroid-c2/README.p200
 create mode 100644 board/amlogic/p201/MAINTAINERS
 create mode 100644 board/amlogic/p201/Makefile
 create mode 100644 board/amlogic/p201/README.p201
 create mode 100644 board/amlogic/p201/p201.c
 create mode 100644 configs/p200_defconfig
 create mode 100644 configs/p201_defconfig
Quoted 3 lines

--
2.21.0

Nearly perfect, but :
- can you add a small text in the commits logs of patches 2 & 3 ?
- can you add a patch adding arch/arm/dts/meson-gxbb-p200-u-boot.dtsi and arch/arm/dts/meson-gxbb-p201-u-boot.dtsi based on arch/arm/dts/meson-gx-u-boot.dtsi ?

With these I'll take them !

Thanks,
Neil