ARM64: dts: Add support for Meson GXM
Subsystems (2)
RFC PATCH 1/1 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.
Simply add 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 + .../arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts | 76 +++++++++ .../arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts | 57 +++++++ .../boot/dts/amlogic/meson-gxm-s912-q20x.dtsi | 188 +++++++++++++++++++++ arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | 114 +++++++++++++ 6 files changed, 443 insertions(+) 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-s912-q20x.dtsi create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm.dtsi
Documentation/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-gxm-s912-q200.dts new file +76 -0
76 lines not on this page · raw message
arch/arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts new file +57 -0
57 lines not on this page · raw message
arch/arm64/boot/dts/amlogic/meson-gxm-s912-q20x.dtsi new file +188 -0
188 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
Kevin Hilman
maintainerQuoted 6 lines · Neil Armstrong
Following the Amlogic Linux kernel, it seem the only differences between the GXL and GXM SoCs are the CPU Clusters.
Simply add 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.
Since the P23x and Q20x boards are identical, should we just come up with a singel dtsi for them all? e.g move the -p23x.dtsi to -pq2xx.dtsi or something?
I don't think it's a big deal, but it does seem like we should avoid the copy/paste wherever possible.
Kevin
Quoted 8 lines · Neil Armstrong
Following the Amlogic Linux kernel, it seem the only differences between the GXL and GXM SoCs are the CPU Clusters.
Simply add 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]>
Quoted 12 lines
--- Documentation/devicetree/bindings/arm/amlogic.txt | 6 + arch/arm64/boot/dts/amlogic/Makefile | 2 + .../arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts | 76 +++++++++ .../arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts | 57 +++++++ .../boot/dts/amlogic/meson-gxm-s912-q20x.dtsi | 188 +++++++++++++++++++++ arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | 114 +++++++++++++ 6 files changed, 443 insertions(+) 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-s912-q20x.dtsi create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm.dtsi