12e78620bSAllen-KH Cheng// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 22e78620bSAllen-KH Cheng/* 32e78620bSAllen-KH Cheng * Copyright (C) 2022 MediaTek Inc. 42e78620bSAllen-KH Cheng */ 52e78620bSAllen-KH Cheng/dts-v1/; 62e78620bSAllen-KH Cheng#include "mt8186.dtsi" 72e78620bSAllen-KH Cheng 82e78620bSAllen-KH Cheng/ { 92e78620bSAllen-KH Cheng model = "MediaTek MT8186 evaluation board"; 10*380d18fbSAngeloGioacchino Del Regno chassis-type = "embedded"; 112e78620bSAllen-KH Cheng compatible = "mediatek,mt8186-evb", "mediatek,mt8186"; 122e78620bSAllen-KH Cheng 132e78620bSAllen-KH Cheng aliases { 142e78620bSAllen-KH Cheng serial0 = &uart0; 152e78620bSAllen-KH Cheng }; 162e78620bSAllen-KH Cheng 172e78620bSAllen-KH Cheng chosen { 182e78620bSAllen-KH Cheng stdout-path = "serial0:921600n8"; 192e78620bSAllen-KH Cheng }; 202e78620bSAllen-KH Cheng 212e78620bSAllen-KH Cheng memory@40000000 { 222e78620bSAllen-KH Cheng device_type = "memory"; 232e78620bSAllen-KH Cheng reg = <0 0x40000000 0 0x80000000>; 242e78620bSAllen-KH Cheng }; 252e78620bSAllen-KH Cheng}; 262e78620bSAllen-KH Cheng 272e78620bSAllen-KH Cheng&i2c0 { 282e78620bSAllen-KH Cheng status = "okay"; 292e78620bSAllen-KH Cheng 302e78620bSAllen-KH Cheng clock-frequency = <400000>; 312e78620bSAllen-KH Cheng pinctrl-names = "default"; 322e78620bSAllen-KH Cheng pinctrl-0 = <&i2c0_pins>; 332e78620bSAllen-KH Cheng}; 342e78620bSAllen-KH Cheng 352e78620bSAllen-KH Cheng&i2c1 { 362e78620bSAllen-KH Cheng status = "okay"; 372e78620bSAllen-KH Cheng 382e78620bSAllen-KH Cheng clock-frequency = <400000>; 392e78620bSAllen-KH Cheng i2c-scl-internal-delay-ns = <8000>; 402e78620bSAllen-KH Cheng pinctrl-names = "default"; 412e78620bSAllen-KH Cheng pinctrl-0 = <&i2c1_pins>; 422e78620bSAllen-KH Cheng}; 432e78620bSAllen-KH Cheng 442e78620bSAllen-KH Cheng&i2c2 { 452e78620bSAllen-KH Cheng status = "okay"; 462e78620bSAllen-KH Cheng 472e78620bSAllen-KH Cheng clock-frequency = <400000>; 482e78620bSAllen-KH Cheng i2c-scl-internal-delay-ns = <10000>; 492e78620bSAllen-KH Cheng pinctrl-names = "default"; 502e78620bSAllen-KH Cheng pinctrl-0 = <&i2c2_pins>; 512e78620bSAllen-KH Cheng}; 522e78620bSAllen-KH Cheng 532e78620bSAllen-KH Cheng&i2c3 { 542e78620bSAllen-KH Cheng status = "okay"; 552e78620bSAllen-KH Cheng 562e78620bSAllen-KH Cheng clock-frequency = <400000>; 572e78620bSAllen-KH Cheng pinctrl-names = "default"; 582e78620bSAllen-KH Cheng pinctrl-0 = <&i2c3_pins>; 592e78620bSAllen-KH Cheng}; 602e78620bSAllen-KH Cheng 612e78620bSAllen-KH Cheng&i2c4 { 622e78620bSAllen-KH Cheng status = "okay"; 632e78620bSAllen-KH Cheng 642e78620bSAllen-KH Cheng clock-frequency = <400000>; 652e78620bSAllen-KH Cheng pinctrl-names = "default"; 662e78620bSAllen-KH Cheng pinctrl-0 = <&i2c4_pins>; 672e78620bSAllen-KH Cheng}; 682e78620bSAllen-KH Cheng 692e78620bSAllen-KH Cheng&i2c5 { 702e78620bSAllen-KH Cheng status = "okay"; 712e78620bSAllen-KH Cheng 722e78620bSAllen-KH Cheng clock-frequency = <400000>; 732e78620bSAllen-KH Cheng pinctrl-names = "default"; 742e78620bSAllen-KH Cheng pinctrl-0 = <&i2c5_pins>; 752e78620bSAllen-KH Cheng}; 762e78620bSAllen-KH Cheng 772e78620bSAllen-KH Cheng&i2c6 { 782e78620bSAllen-KH Cheng status = "okay"; 792e78620bSAllen-KH Cheng 802e78620bSAllen-KH Cheng clock-frequency = <400000>; 812e78620bSAllen-KH Cheng pinctrl-names = "default"; 822e78620bSAllen-KH Cheng pinctrl-0 = <&i2c6_pins>; 832e78620bSAllen-KH Cheng}; 842e78620bSAllen-KH Cheng 852e78620bSAllen-KH Cheng&i2c7 { 862e78620bSAllen-KH Cheng status = "okay"; 872e78620bSAllen-KH Cheng 882e78620bSAllen-KH Cheng clock-frequency = <400000>; 892e78620bSAllen-KH Cheng pinctrl-names = "default"; 902e78620bSAllen-KH Cheng pinctrl-0 = <&i2c7_pins>; 912e78620bSAllen-KH Cheng}; 922e78620bSAllen-KH Cheng 932e78620bSAllen-KH Cheng&i2c8 { 942e78620bSAllen-KH Cheng status = "okay"; 952e78620bSAllen-KH Cheng 962e78620bSAllen-KH Cheng clock-frequency = <400000>; 972e78620bSAllen-KH Cheng pinctrl-names = "default"; 982e78620bSAllen-KH Cheng pinctrl-0 = <&i2c8_pins>; 992e78620bSAllen-KH Cheng}; 1002e78620bSAllen-KH Cheng 1012e78620bSAllen-KH Cheng&i2c9 { 1022e78620bSAllen-KH Cheng status = "okay"; 1032e78620bSAllen-KH Cheng 1042e78620bSAllen-KH Cheng clock-frequency = <400000>; 1052e78620bSAllen-KH Cheng pinctrl-names = "default"; 1062e78620bSAllen-KH Cheng pinctrl-0 = <&i2c9_pins>; 1072e78620bSAllen-KH Cheng}; 1082e78620bSAllen-KH Cheng 1092e78620bSAllen-KH Cheng&pio { 1102e78620bSAllen-KH Cheng i2c0_pins: i2c0-default-pins { 1112e78620bSAllen-KH Cheng pins-bus { 1122e78620bSAllen-KH Cheng pinmux = <PINMUX_GPIO128__FUNC_SDA0>, 1132e78620bSAllen-KH Cheng <PINMUX_GPIO127__FUNC_SCL0>; 1142e78620bSAllen-KH Cheng bias-disable; 1152e78620bSAllen-KH Cheng drive-strength-microamp = <1000>; 1162e78620bSAllen-KH Cheng input-enable; 1172e78620bSAllen-KH Cheng }; 1182e78620bSAllen-KH Cheng }; 1192e78620bSAllen-KH Cheng 1202e78620bSAllen-KH Cheng i2c1_pins: i2c1-default-pins { 1212e78620bSAllen-KH Cheng pins-bus { 1222e78620bSAllen-KH Cheng pinmux = <PINMUX_GPIO130__FUNC_SDA1>, 1232e78620bSAllen-KH Cheng <PINMUX_GPIO129__FUNC_SCL1>; 1242e78620bSAllen-KH Cheng bias-disable; 1252e78620bSAllen-KH Cheng drive-strength-microamp = <1000>; 1262e78620bSAllen-KH Cheng input-enable; 1272e78620bSAllen-KH Cheng }; 1282e78620bSAllen-KH Cheng }; 1292e78620bSAllen-KH Cheng 1302e78620bSAllen-KH Cheng i2c2_pins: i2c2-default-pins { 1312e78620bSAllen-KH Cheng pins-bus { 1322e78620bSAllen-KH Cheng pinmux = <PINMUX_GPIO132__FUNC_SDA2>, 1332e78620bSAllen-KH Cheng <PINMUX_GPIO131__FUNC_SCL2>; 1342e78620bSAllen-KH Cheng bias-disable; 1352e78620bSAllen-KH Cheng drive-strength-microamp = <1000>; 1362e78620bSAllen-KH Cheng input-enable; 1372e78620bSAllen-KH Cheng }; 1382e78620bSAllen-KH Cheng }; 1392e78620bSAllen-KH Cheng 1402e78620bSAllen-KH Cheng i2c3_pins: i2c3-default-pins { 1412e78620bSAllen-KH Cheng pins-bus { 1422e78620bSAllen-KH Cheng pinmux = <PINMUX_GPIO134__FUNC_SDA3>, 1432e78620bSAllen-KH Cheng <PINMUX_GPIO133__FUNC_SCL3>; 1442e78620bSAllen-KH Cheng bias-disable; 1452e78620bSAllen-KH Cheng drive-strength-microamp = <1000>; 1462e78620bSAllen-KH Cheng input-enable; 1472e78620bSAllen-KH Cheng }; 1482e78620bSAllen-KH Cheng }; 1492e78620bSAllen-KH Cheng 1502e78620bSAllen-KH Cheng i2c4_pins: i2c4-default-pins { 1512e78620bSAllen-KH Cheng pins-bus { 1522e78620bSAllen-KH Cheng pinmux = <PINMUX_GPIO136__FUNC_SDA4>, 1532e78620bSAllen-KH Cheng <PINMUX_GPIO135__FUNC_SCL4>; 1542e78620bSAllen-KH Cheng bias-disable; 1552e78620bSAllen-KH Cheng drive-strength-microamp = <1000>; 1562e78620bSAllen-KH Cheng input-enable; 1572e78620bSAllen-KH Cheng }; 1582e78620bSAllen-KH Cheng }; 1592e78620bSAllen-KH Cheng 1602e78620bSAllen-KH Cheng i2c5_pins: i2c5-default-pins { 1612e78620bSAllen-KH Cheng pins-bus { 1622e78620bSAllen-KH Cheng pinmux = <PINMUX_GPIO138__FUNC_SDA5>, 1632e78620bSAllen-KH Cheng <PINMUX_GPIO137__FUNC_SCL5>; 1642e78620bSAllen-KH Cheng bias-disable; 1652e78620bSAllen-KH Cheng drive-strength-microamp = <1000>; 1662e78620bSAllen-KH Cheng input-enable; 1672e78620bSAllen-KH Cheng }; 1682e78620bSAllen-KH Cheng }; 1692e78620bSAllen-KH Cheng 1702e78620bSAllen-KH Cheng i2c6_pins: i2c6-default-pins { 1712e78620bSAllen-KH Cheng pins-bus { 1722e78620bSAllen-KH Cheng pinmux = <PINMUX_GPIO140__FUNC_SDA6>, 1732e78620bSAllen-KH Cheng <PINMUX_GPIO139__FUNC_SCL6>; 1742e78620bSAllen-KH Cheng bias-pull-up = <MTK_PULL_SET_RSEL_001>; 1752e78620bSAllen-KH Cheng drive-strength-microamp = <1000>; 1762e78620bSAllen-KH Cheng input-enable; 1772e78620bSAllen-KH Cheng }; 1782e78620bSAllen-KH Cheng }; 1792e78620bSAllen-KH Cheng 1802e78620bSAllen-KH Cheng i2c7_pins: i2c7-default-pins { 1812e78620bSAllen-KH Cheng pins-bus { 1822e78620bSAllen-KH Cheng pinmux = <PINMUX_GPIO142__FUNC_SDA7>, 1832e78620bSAllen-KH Cheng <PINMUX_GPIO141__FUNC_SCL7>; 1842e78620bSAllen-KH Cheng bias-disable; 1852e78620bSAllen-KH Cheng drive-strength-microamp = <1000>; 1862e78620bSAllen-KH Cheng input-enable; 1872e78620bSAllen-KH Cheng }; 1882e78620bSAllen-KH Cheng }; 1892e78620bSAllen-KH Cheng 1902e78620bSAllen-KH Cheng i2c8_pins: i2c8-default-pins { 1912e78620bSAllen-KH Cheng pins-bus { 1922e78620bSAllen-KH Cheng pinmux = <PINMUX_GPIO144__FUNC_SDA8>, 1932e78620bSAllen-KH Cheng <PINMUX_GPIO143__FUNC_SCL8>; 1942e78620bSAllen-KH Cheng bias-disable; 1952e78620bSAllen-KH Cheng drive-strength-microamp = <1000>; 1962e78620bSAllen-KH Cheng input-enable; 1972e78620bSAllen-KH Cheng }; 1982e78620bSAllen-KH Cheng }; 1992e78620bSAllen-KH Cheng 2002e78620bSAllen-KH Cheng i2c9_pins: i2c9-default-pins { 2012e78620bSAllen-KH Cheng pins-bus { 2022e78620bSAllen-KH Cheng pinmux = <PINMUX_GPIO146__FUNC_SDA9>, 2032e78620bSAllen-KH Cheng <PINMUX_GPIO145__FUNC_SCL9>; 2042e78620bSAllen-KH Cheng bias-pull-up = <MTK_PULL_SET_RSEL_001>; 2052e78620bSAllen-KH Cheng drive-strength-microamp = <1000>; 2062e78620bSAllen-KH Cheng input-enable; 2072e78620bSAllen-KH Cheng }; 2082e78620bSAllen-KH Cheng }; 2092e78620bSAllen-KH Cheng}; 2102e78620bSAllen-KH Cheng 2112e78620bSAllen-KH Cheng&u3phy0 { 2122e78620bSAllen-KH Cheng status = "okay"; 2132e78620bSAllen-KH Cheng}; 2142e78620bSAllen-KH Cheng 2152e78620bSAllen-KH Cheng&u3phy1 { 2162e78620bSAllen-KH Cheng status = "okay"; 2172e78620bSAllen-KH Cheng}; 2182e78620bSAllen-KH Cheng 2192e78620bSAllen-KH Cheng&uart0 { 2202e78620bSAllen-KH Cheng status = "okay"; 2212e78620bSAllen-KH Cheng}; 222