diff mbox series

[2/2] arm64: dts: Add Mediatek X20 Development Board support

Message ID 20180529045258.1415-3-manivannan.sadhasivam@linaro.org
State Accepted
Commit a873996921296ad74941017bf00884f14e10dffd
Headers show
Series [1/2] dt-bindings: Add vendor prefix for ArcherMind | expand

Commit Message

Manivannan Sadhasivam May 29, 2018, 4:52 a.m. UTC
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 +
 .../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

-- 
2.17.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Rob Herring (Arm) May 31, 2018, 5:17 p.m. UTC | #1
tOn Tue, May 29, 2018 at 10:22:58AM +0530, Manivannan Sadhasivam wrote:
> 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 +

>  .../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 ac17f60f998c..5b7fd6ad96e4 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 000000000000..2c09ca95d9e2

> --- /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";


The board compatible needs documenting.

> +

> +	aliases {

> +		serial0 = &uart1;

> +	};

> +

> +	memory@40000000 {

> +		device_type = "memory";

> +		reg = <0 0x40000000 0 0x1e605000>;

> +	};

> +

> +	chosen {

> +		stdout-path = "serial0:115200n8";

> +	};

> +};

> +

> +&uart1 {

> +	status = "okay";

> +};

> -- 

> 2.17.0

> 

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile
index ac17f60f998c..5b7fd6ad96e4 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 000000000000..2c09ca95d9e2
--- /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 0x1e605000>;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+};
+
+&uart1 {
+	status = "okay";
+};