linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add Mediatek X20 Development Board support
@ 2018-07-19 10:54 Manivannan Sadhasivam
  2018-07-19 10:54 ` [PATCH v3 1/2] dt-bindings: arm: mediatek: Document Mediatek X20 Development Board Manivannan Sadhasivam
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Manivannan Sadhasivam @ 2018-07-19 10:54 UTC (permalink / raw)
  To: matthias.bgg, robh+dt
  Cc: linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
	taiten.peng, daniel.thompson, amit.kucheria, manivannanece23,
	Manivannan Sadhasivam

Add devicetree support for Mediatek X20 Development Board by Archermind.
This board is based on the Deca-Core MT6797 SoC from Mediatek and is
one of the 96Boards Consumer Edition platform.

With this devicetree change, board can boot into initramfs.

More information about this board can be found in 96Boards product page:
https://www.96boards.org/product/mediatek-x20/

Thanks,
Mani

Changes in v3:

* Modified the memory size to 2GB (0x80000000) in board DTS

Changes in v2:

* Added documentation for board compatible
* Dropped vendor documetation patch since it got applied

Manivannan Sadhasivam (2):
  dt-bindings: arm: mediatek: Document Mediatek X20 Development Board
  arm64: dts: Add Mediatek X20 Development Board support

 Documentation/devicetree/bindings/arm/mediatek.txt |  3 ++
 arch/arm64/boot/dts/mediatek/Makefile              |  1 +
 arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts    | 33 ++++++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts

-- 
2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v3 1/2] dt-bindings: arm: mediatek: Document Mediatek X20 Development Board
  2018-07-19 10:54 [PATCH v3 0/2] Add Mediatek X20 Development Board support Manivannan Sadhasivam
@ 2018-07-19 10:54 ` Manivannan Sadhasivam
  2018-07-19 10:54 ` [PATCH v3 2/2] arm64: dts: Add Mediatek X20 Development Board support Manivannan Sadhasivam
  2018-07-20 15:47 ` [PATCH v3 0/2] " Matthias Brugger
  2 siblings, 0 replies; 4+ messages in thread
From: Manivannan Sadhasivam @ 2018-07-19 10:54 UTC (permalink / raw)
  To: matthias.bgg, robh+dt
  Cc: linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
	taiten.peng, daniel.thompson, amit.kucheria, manivannanece23,
	Manivannan Sadhasivam

Document Mediatek X20 Development Board which is a 96Boards Consumer
Edition platform based on MT6797 SoC.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/arm/mediatek.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt b/Documentation/devicetree/bindings/arm/mediatek.txt
index 7d21ab3..356df1e 100644
--- a/Documentation/devicetree/bindings/arm/mediatek.txt
+++ b/Documentation/devicetree/bindings/arm/mediatek.txt
@@ -47,6 +47,9 @@ Supported boards:
 - Evaluation board for MT6797(Helio X20):
     Required root node properties:
       - compatible = "mediatek,mt6797-evb", "mediatek,mt6797";
+- Mediatek X20 Development Board:
+    Required root node properties:
+      - compatible = "archermind,mt6797-x20-dev", "mediatek,mt6797";
 - Reference board variant 1 for MT7622:
     Required root node properties:
       - compatible = "mediatek,mt7622-rfb1", "mediatek,mt7622";
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v3 2/2] arm64: dts: Add Mediatek X20 Development Board support
  2018-07-19 10:54 [PATCH v3 0/2] Add Mediatek X20 Development Board support Manivannan Sadhasivam
  2018-07-19 10:54 ` [PATCH v3 1/2] dt-bindings: arm: mediatek: Document Mediatek X20 Development Board Manivannan Sadhasivam
@ 2018-07-19 10:54 ` Manivannan Sadhasivam
  2018-07-20 15:47 ` [PATCH v3 0/2] " Matthias Brugger
  2 siblings, 0 replies; 4+ messages in thread
From: Manivannan Sadhasivam @ 2018-07-19 10:54 UTC (permalink / raw)
  To: matthias.bgg, robh+dt
  Cc: linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
	taiten.peng, daniel.thompson, amit.kucheria, manivannanece23,
	Manivannan Sadhasivam

Add initial device tree support for Mediatek X20 Development Board
based on MT6797 Deca core SoC. This board is one of the 96Boards
Consumer Edition platform.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
 arch/arm64/boot/dts/mediatek/Makefile           |  1 +
 arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts | 33 +++++++++++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts

diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile
index ac17f60..5b7fd6a 100644
--- a/arch/arm64/boot/dts/mediatek/Makefile
+++ b/arch/arm64/boot/dts/mediatek/Makefile
@@ -3,5 +3,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt2712-evb.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt6755-evb.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt6795-evb.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-evb.dtb
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-x20-dev.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-rfb1.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-evb.dtb
diff --git a/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts b/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts
new file mode 100644
index 0000000..742938a
--- /dev/null
+++ b/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts
@@ -0,0 +1,33 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Device Tree Source for MediaTek X20 Development Board
+ *
+ * Copyright (C) 2018, Linaro Ltd.
+ *
+ */
+
+/dts-v1/;
+
+#include "mt6797.dtsi"
+
+/ {
+	model = "Mediatek X20 Development Board";
+	compatible = "archermind,mt6797-x20-dev", "mediatek,mt6797";
+
+	aliases {
+		serial0 = &uart1;
+	};
+
+	memory@40000000 {
+		device_type = "memory";
+		reg = <0 0x40000000 0 0x80000000>;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+};
+
+&uart1 {
+	status = "okay";
+};
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v3 0/2] Add Mediatek X20 Development Board support
  2018-07-19 10:54 [PATCH v3 0/2] Add Mediatek X20 Development Board support Manivannan Sadhasivam
  2018-07-19 10:54 ` [PATCH v3 1/2] dt-bindings: arm: mediatek: Document Mediatek X20 Development Board Manivannan Sadhasivam
  2018-07-19 10:54 ` [PATCH v3 2/2] arm64: dts: Add Mediatek X20 Development Board support Manivannan Sadhasivam
@ 2018-07-20 15:47 ` Matthias Brugger
  2 siblings, 0 replies; 4+ messages in thread
From: Matthias Brugger @ 2018-07-20 15:47 UTC (permalink / raw)
  To: Manivannan Sadhasivam, robh+dt
  Cc: linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
	taiten.peng, daniel.thompson, amit.kucheria, manivannanece23



On 19/07/18 12:54, Manivannan Sadhasivam wrote:
> Add devicetree support for Mediatek X20 Development Board by Archermind.
> This board is based on the Deca-Core MT6797 SoC from Mediatek and is
> one of the 96Boards Consumer Edition platform.
> 
> With this devicetree change, board can boot into initramfs.
> 
> More information about this board can be found in 96Boards product page:
> https://www.96boards.org/product/mediatek-x20/
> 

Pushed both to v4.18-next/dts64

Thanks a lot!
Matthias

> Thanks,
> Mani
> 
> Changes in v3:
> 
> * Modified the memory size to 2GB (0x80000000) in board DTS
> 
> Changes in v2:
> 
> * Added documentation for board compatible
> * Dropped vendor documetation patch since it got applied
> 
> Manivannan Sadhasivam (2):
>   dt-bindings: arm: mediatek: Document Mediatek X20 Development Board
>   arm64: dts: Add Mediatek X20 Development Board support
> 
>  Documentation/devicetree/bindings/arm/mediatek.txt |  3 ++
>  arch/arm64/boot/dts/mediatek/Makefile              |  1 +
>  arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts    | 33 ++++++++++++++++++++++
>  3 files changed, 37 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-20 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-19 10:54 [PATCH v3 0/2] Add Mediatek X20 Development Board support Manivannan Sadhasivam
2018-07-19 10:54 ` [PATCH v3 1/2] dt-bindings: arm: mediatek: Document Mediatek X20 Development Board Manivannan Sadhasivam
2018-07-19 10:54 ` [PATCH v3 2/2] arm64: dts: Add Mediatek X20 Development Board support Manivannan Sadhasivam
2018-07-20 15:47 ` [PATCH v3 0/2] " Matthias Brugger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).