ARM64: dts: Add support for Meson GXM
Subsystems (2)
v2 cover ARM64: dts: Add support for Meson GXM
The new Amlogic GXM SoC (S912) is part of the Meson GX family and is nearly identical to GXM but with a second Quad-A53 core cluster.
The GXM dtsi includes the GXL dtsi and the p20x dtsi is refactored in a common p20x/q20x to support the GXM Q200 and Q201 board that uses the exact same board layout since the S905D and S912 are pinout compatible.
The last patch adds support for the Nexbox A1 Set-Top-Box based on the S912.
Changes since v1 at [1] :
- Remove bad p200/p201 changes
- Fix cpu-map
Changes since RFC :
- Refactor the p20x/q20x dtsi into a single common file
- Add support for Nexbox A1
[1] http://lkml.kernel.org/r/20161121162905.14285-1-narmstrong at baylibre.com
Neil Armstrong (2):
ARM64: dts: Add support for Meson GXM
ARM64: dts: meson-gxm: Add support for the Nexbox A1
Documentation/devicetree/bindings/arm/amlogic.txt | 7 +
arch/arm64/boot/dts/amlogic/Makefile | 3 +
...gxl-s905d-p23x.dtsi => meson-gx-p23x-q20x.dtsi} | 4 +-
.../boot/dts/amlogic/meson-gxl-s905d-p230.dts | 3 +-
.../boot/dts/amlogic/meson-gxl-s905d-p231.dts | 3 +-
.../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 169 +++++++++++++++++++++
.../arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts | 77 ++++++++++
.../arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts | 58 +++++++
arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | 114 ++++++++++++++
9 files changed, 435 insertions(+), 3 deletions(-)
rename arch/arm64/boot/dts/amlogic/{meson-gxl-s905d-p23x.dtsi => meson-gx-p23x-q20x.dtsi} (97%)
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm.dtsiSignature · 1 line
2.7.0
PATCH v2 1/2 ARM64: dts: Add support for Meson GXM
Following the Amlogic Linux kernel, it seem the only differences between the GXL and GXM SoCs are the CPU Clusters.
This commit renames the gxl-s905d-p23x DTSI in a common file for S905D p23x and S912 q20x boards.
Then adds a meson-gxm dtsi and reproduce the P23x to Q20x boards dts files since the S905D and S912 SoCs shares the same pinout and the P23x and Q20x boards are identical.
---
Documentation/devicetree/bindings/arm/amlogic.txt | 6 ++
arch/arm64/boot/dts/amlogic/Makefile | 2 +
...gxl-s905d-p23x.dtsi => meson-gx-p23x-q20x.dtsi} | 4 +-
.../boot/dts/amlogic/meson-gxl-s905d-p230.dts | 3 +-
.../boot/dts/amlogic/meson-gxl-s905d-p231.dts | 3 +-
.../arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts | 77 ++++++++++++++
.../arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts | 58 +++++++++++
arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | 114 +++++++++++++++++++++
8 files changed, 264 insertions(+), 3 deletions(-)
rename arch/arm64/boot/dts/amlogic/{meson-gxl-s905d-p23x.dtsi => meson-gx-p23x-q20x.dtsi} (97%)
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm.dtsiDocumentation/devicetree/bindings/arm/amlogic.txt +6 -0
@@ -25,6 +25,10 @@ Boards with the Amlogic Meson GXL S905D SoC shall have the following properties: Required root node property: compatible: "amlogic,s905d", "amlogic,meson-gxl"; +Boards with the Amlogic Meson GXM S912 SoC shall have the following properties: + Required root node property: + compatible: "amlogic,s912", "amlogic,meson-gxm"; + Board compatible values: - "geniatech,atv1200" (Meson6) - "minix,neo-x8" (Meson8)
@@ -39,3 +43,5 @@ Board compatible values: - "amlogic,p212" (Meson gxl s905x) - "amlogic,p230" (Meson gxl s905d) - "amlogic,p231" (Meson gxl s905d) + - "amlogic,q200" (Meson gxm s912) + - "amlogic,q201" (Meson gxm s912)
arch/arm64/boot/dts/amlogic/Makefile +2 -0
@@ -8,6 +8,8 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-telos.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-p212.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxm-s912-q200.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxm-s912-q201.dtb always := $(dtb-y) subdir-y := $(dts-dirs)
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi renamed from arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p23x.dtsi +3 -1
@@ -41,7 +41,9 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include "meson-gxl-s905d.dtsi" +/* Common DTSI for same Amlogic Q200/Q201 and P230/P231 boards using either + * the pin-compatible S912 (GXM) or S905D (GXL) SoCs. + */ / { aliases {
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts +2 -1
@@ -43,7 +43,8 @@ /dts-v1/; -#include "meson-gxl-s905d-p23x.dtsi" +#include "meson-gxl-s905d.dtsi" +#include "meson-gx-p23x-q20x.dtsi" / { compatible = "amlogic,p230", "amlogic,s905d", "amlogic,meson-gxl";
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts +2 -1
@@ -43,7 +43,8 @@ /dts-v1/; -#include "meson-gxl-s905d-p23x.dtsi" +#include "meson-gxl-s905d.dtsi" +#include "meson-gx-p23x-q20x.dtsi" / { compatible = "amlogic,p231", "amlogic,s905d", "amlogic,meson-gxl";
arch/arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts new file +77 -0
77 lines not on this page · raw message
arch/arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts new file +58 -0
58 lines not on this page · raw message
arch/arm64/boot/dts/amlogic/meson-gxm.dtsi new file +114 -0
114 lines not on this page · raw message
Signature · 1 line
2.7.0
PATCH v2 2/2 ARM64: dts: meson-gxm: Add support for the Nexbox A1
In reply to Neil ArmstrongAdd support for the Nexbox A1 board based on the Amlogic S912 SoC.
--- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + arch/arm64/boot/dts/amlogic/Makefile | 1 + .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 169 +++++++++++++++++++++ 3 files changed, 171 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts
Documentation/devicetree/bindings/arm/amlogic.txt +1 -0
@@ -45,3 +45,4 @@ Board compatible values: - "amlogic,p231" (Meson gxl s905d) - "amlogic,q200" (Meson gxm s912) - "amlogic,q201" (Meson gxm s912) + - "nexbox,a1" (Meson gxm s912)
arch/arm64/boot/dts/amlogic/Makefile +1 -0
@@ -10,6 +10,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxm-s912-q200.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxm-s912-q201.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb always := $(dtb-y) subdir-y := $(dts-dirs)
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts new file +169 -0
169 lines not on this page · raw message
Signature · 1 line
2.7.0
Kevin Hilman
maintainerQuoted 11 lines · Neil Armstrong
Following the Amlogic Linux kernel, it seem the only differences between the GXL and GXM SoCs are the CPU Clusters.
This commit renames the gxl-s905d-p23x DTSI in a common file for S905D p23x and S912 q20x boards.
Then adds a meson-gxm dtsi and reproduce the P23x to Q20x boards dts files since the S905D and S912 SoCs shares the same pinout and the P23x and Q20x boards are identical.
Signed-off-by Neil Armstrong <[email protected]>
Applied v2 of both patches,
Kevin
Quoted 11 lines · Neil Armstrong
Following the Amlogic Linux kernel, it seem the only differences between the GXL and GXM SoCs are the CPU Clusters.
This commit renames the gxl-s905d-p23x DTSI in a common file for S905D p23x and S912 q20x boards.
Then adds a meson-gxm dtsi and reproduce the P23x to Q20x boards dts files since the S905D and S912 SoCs shares the same pinout and the P23x and Q20x boards are identical.
Signed-off-by Neil Armstrong <[email protected]>
I have tested this successfully on a Mecool BB2 (similar to the Q200 reference board).
Kevin Hilman
maintainerQuoted 12 lines · Martin Blumenstingl
Quoted 10 lines · Neil Armstrong
Following the Amlogic Linux kernel, it seem the only differences between the GXL and GXM SoCs are the CPU Clusters.
This commit renames the gxl-s905d-p23x DTSI in a common file for S905D p23x and S912 q20x boards.
Then adds a meson-gxm dtsi and reproduce the P23x to Q20x boards dts files since the S905D and S912 SoCs shares the same pinout and the P23x and Q20x boards are identical.
Quoted 5 lines
Quoted 1 line
Signed-off-by Neil Armstrong <[email protected]>Tested-by Martin Blumenstingl <[email protected]>I have tested this successfully on a Mecool BB2 (similar to the Q200 reference board).
Thanks for testing (and reporting),
Kevin