Commit 2e78620b authored by Allen-KH Cheng's avatar Allen-KH Cheng Committed by Matthias Brugger

arm64: dts: Add MediaTek MT8186 dts and evaluation board and Makefile

MT8186 is a SoC based on 64bit ARMv8 architecture. It contains 6 CA55
and 2 CA76 cores. MT8186 share many HW IP with MT65xx series.

We add basic chip support for MediaTek MT8186 on evaluation board.
Signed-off-by: default avatarAllen-KH Cheng <Allen-KH.Cheng@mediatek.com>
Link: https://lore.kernel.org/r/20220825170448.17024-1-allen-kh.cheng@mediatek.comSigned-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent b852ee68
......@@ -37,6 +37,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kodama-sku32.dtb
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku0.dtb
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku176.dtb
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-pumpkin.dtb
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-evb.dtb
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-hayato-r1.dtb
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-spherion-r0.dtb
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-evb.dtb
......
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
/*
* Copyright (C) 2022 MediaTek Inc.
*/
/dts-v1/;
#include "mt8186.dtsi"
/ {
model = "MediaTek MT8186 evaluation board";
compatible = "mediatek,mt8186-evb", "mediatek,mt8186";
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:921600n8";
};
memory@40000000 {
device_type = "memory";
reg = <0 0x40000000 0 0x80000000>;
};
};
&i2c0 {
status = "okay";
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
};
&i2c1 {
status = "okay";
clock-frequency = <400000>;
i2c-scl-internal-delay-ns = <8000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
};
&i2c2 {
status = "okay";
clock-frequency = <400000>;
i2c-scl-internal-delay-ns = <10000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c2_pins>;
};
&i2c3 {
status = "okay";
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c3_pins>;
};
&i2c4 {
status = "okay";
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c4_pins>;
};
&i2c5 {
status = "okay";
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c5_pins>;
};
&i2c6 {
status = "okay";
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c6_pins>;
};
&i2c7 {
status = "okay";
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c7_pins>;
};
&i2c8 {
status = "okay";
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c8_pins>;
};
&i2c9 {
status = "okay";
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c9_pins>;
};
&pio {
i2c0_pins: i2c0-default-pins {
pins-bus {
pinmux = <PINMUX_GPIO128__FUNC_SDA0>,
<PINMUX_GPIO127__FUNC_SCL0>;
bias-disable;
drive-strength-microamp = <1000>;
input-enable;
};
};
i2c1_pins: i2c1-default-pins {
pins-bus {
pinmux = <PINMUX_GPIO130__FUNC_SDA1>,
<PINMUX_GPIO129__FUNC_SCL1>;
bias-disable;
drive-strength-microamp = <1000>;
input-enable;
};
};
i2c2_pins: i2c2-default-pins {
pins-bus {
pinmux = <PINMUX_GPIO132__FUNC_SDA2>,
<PINMUX_GPIO131__FUNC_SCL2>;
bias-disable;
drive-strength-microamp = <1000>;
input-enable;
};
};
i2c3_pins: i2c3-default-pins {
pins-bus {
pinmux = <PINMUX_GPIO134__FUNC_SDA3>,
<PINMUX_GPIO133__FUNC_SCL3>;
bias-disable;
drive-strength-microamp = <1000>;
input-enable;
};
};
i2c4_pins: i2c4-default-pins {
pins-bus {
pinmux = <PINMUX_GPIO136__FUNC_SDA4>,
<PINMUX_GPIO135__FUNC_SCL4>;
bias-disable;
drive-strength-microamp = <1000>;
input-enable;
};
};
i2c5_pins: i2c5-default-pins {
pins-bus {
pinmux = <PINMUX_GPIO138__FUNC_SDA5>,
<PINMUX_GPIO137__FUNC_SCL5>;
bias-disable;
drive-strength-microamp = <1000>;
input-enable;
};
};
i2c6_pins: i2c6-default-pins {
pins-bus {
pinmux = <PINMUX_GPIO140__FUNC_SDA6>,
<PINMUX_GPIO139__FUNC_SCL6>;
bias-pull-up = <MTK_PULL_SET_RSEL_001>;
drive-strength-microamp = <1000>;
input-enable;
};
};
i2c7_pins: i2c7-default-pins {
pins-bus {
pinmux = <PINMUX_GPIO142__FUNC_SDA7>,
<PINMUX_GPIO141__FUNC_SCL7>;
bias-disable;
drive-strength-microamp = <1000>;
input-enable;
};
};
i2c8_pins: i2c8-default-pins {
pins-bus {
pinmux = <PINMUX_GPIO144__FUNC_SDA8>,
<PINMUX_GPIO143__FUNC_SCL8>;
bias-disable;
drive-strength-microamp = <1000>;
input-enable;
};
};
i2c9_pins: i2c9-default-pins {
pins-bus {
pinmux = <PINMUX_GPIO146__FUNC_SDA9>,
<PINMUX_GPIO145__FUNC_SCL9>;
bias-pull-up = <MTK_PULL_SET_RSEL_001>;
drive-strength-microamp = <1000>;
input-enable;
};
};
};
&u3phy0 {
status = "okay";
};
&u3phy1 {
status = "okay";
};
&uart0 {
status = "okay";
};
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment