Introduce new DT files for Meson-AXG SoC
Subsystems (2)
cover Introduce new DT files for Meson-AXG SoC
This attempt will try to add new DT files to support Meson-AXG SoC. Due to the AXG series has new memory layout, we decide to start a new DT structure without sharing with previous meson-gx.dtsi
1) in the first patch, we try to document the new Meson-AXG bindings
2) in the second patch, we try to bring up a minimal serial console, so it's capable of running a minimal system (in ramdisk).
Yixun Lan (2):
dt-bindings: arm: amlogic: Add Meson AXG binding
arm64: dts: meson-axg: add initial A113D SoC DT support
Documentation/devicetree/bindings/arm/amlogic.txt | 6 + arch/arm64/boot/dts/amlogic/Makefile | 1 + arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 22 +++ arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 204 ++++++++++++++++++++++ 4 files changed, 233 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-axg-s400.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-axg.dtsi
Signature · 1 line
2.14.1
PATCH 1/2 dt-bindings: arm: amlogic: Add Meson AXG binding
Introduce new bindings for the Meson AXG SoC which now have different memory layout.
--- Documentation/devicetree/bindings/arm/amlogic.txt | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/amlogic.txt +6 -0
@@ -41,6 +41,10 @@ Boards with the Amlogic Meson GXM S912 SoC shall have the following properties: Required root node property: compatible: "amlogic,s912", "amlogic,meson-gxm"; +Boards with the Amlogic Meson AXG A113D SoC shall have the following properties: + Required root node property: + compatible: "amlogic,a113d", "amlogic,meson-axg"; + Board compatible values (alphabetically, grouped by SoC): - "geniatech,atv1200" (Meson6)
@@ -74,6 +78,8 @@ Board compatible values (alphabetically, grouped by SoC): - "kingnovel,r-box-pro" (Meson gxm S912) - "nexbox,a1" (Meson gxm s912) + - "amlogic,s400" (Meson axg a113d) + Amlogic Meson Firmware registers Interface ------------------------------------------
Signature · 1 line
2.14.1
Rob Herring
maintainerPATCH 1/2 dt-bindings: arm: amlogic: Add Meson AXG binding
Quoted 7 lines · Yixun Lan
Introduce new bindings for the Meson AXG SoC which now have different memory layout.
Signed-off-by Yixun Lan <[email protected]>--- Documentation/devicetree/bindings/arm/amlogic.txt | 6 ++++++ 1 file changed, 6 insertions(+)
PATCH 2/2 arm64: dts: meson-axg: add initial A113D SoC DT support
In reply to Yixun LanTry to add basic DT support for the Amlogic's Meson-AXG A113D SoC, which describe components as follows: Reserve Memory, CPU, GIC, IRQ, Timer, UART. It's capable of booting up into the serial console.
--- arch/arm64/boot/dts/amlogic/Makefile | 1 + arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 22 +++ arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 204 +++++++++++++++++++++++++ 3 files changed, 227 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-axg-s400.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-axg.dtsi
arch/arm64/boot/dts/amlogic/Makefile +1 -0
@@ -1,3 +1,4 @@ +dtb-$(CONFIG_ARCH_MESON) += meson-axg-s400.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nanopi-k2.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nexbox-a95x.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-odroidc2.dtb
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts new file +22 -0
@@ -0,0 +1,22 @@ +/* + * Copyright (c) 2017 Amlogic, Inc. All rights reserved. + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "meson-axg.dtsi" + +/ { + compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg"; + model = "Amlogic Meson AXG S400 Development Board"; + + aliases { + serial0 = &uart_AO; + }; +}; + +&uart_AO { + status = "okay"; +};
arch/arm64/boot/dts/amlogic/meson-axg.dtsi new file +204 -0
204 lines not on this page · raw message
Signature · 1 line
2.14.1
cover Introduce new DT files for Meson-AXG SoC
In reply to Yixun LanAm 14.10.2017 um 01:13 schrieb Yixun Lan:
Quoted 4 lines
This attempt will try to add new DT files to support Meson-AXG SoC. Due to the AXG series has new memory layout, we decide to start a new DT structure without sharing with previous
meson-gx.dtsi
Quoted 8 lines
1) in the first patch, we try to document the new Meson-AXG bindings
2) in the second patch, we try to bring up a minimal serial console, so it's capable of running a minimal system (in ramdisk).Yixun Lan (2):
dt-bindings: arm: amlogic: Add Meson AXG binding
arm64: dts: meson-axg: add initial A113D SoC DT support
Regards,
Andreas
Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg)
cover Introduce new DT files for Meson-AXG SoC
In reply to Yixun LanQuoted 13 lines · Yixun Lan
This attempt will try to add new DT files to support Meson-AXG SoC. Due to the AXG series has new memory layout, we decide to start a new DT structure without sharing with previous
meson-gx.dtsi1) in the first patch, we try to document the new Meson-AXG bindings
2) in the second patch, we try to bring up a minimal serial console, so it's capable of running a minimal system (in ramdisk).Yixun Lan (2):
dt-bindings: arm: amlogic: Add Meson AXG binding
arm64: dts: meson-axg: add initial A113D SoC DT support
Quoted 8 lines
Documentation/devicetree/bindings/arm/amlogic.txt | 6 + arch/arm64/boot/dts/amlogic/Makefile | 1 + arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 22 +++ arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 204 ++++++++++++++++++++++ 4 files changed, 233 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-axg-s400.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-axg.dtsi
cover Introduce new DT files for Meson-AXG SoC
In reply to Yixun LanQuoted 11 lines · Yixun Lan
This attempt will try to add new DT files to support Meson-AXG SoC. Due to the AXG series has new memory layout, we decide to start a new DT structure without sharing with previous
meson-gx.dtsi1) in the first patch, we try to document the new Meson-AXG bindings
2) in the second patch, we try to bring up a minimal serial console, so it's capable of running a minimal system (in ramdisk).Yixun Lan (2):
dt-bindings: arm: amlogic: Add Meson AXG binding
arm64: dts: meson-axg: add initial A113D SoC DT support
Applied to v4.15/dt64 with reviews and acks.
Kevin