1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2/* 3 * Copyright (C) 2022 MediaTek Inc. 4 */ 5/dts-v1/; 6#include "mt8186.dtsi" 7 8/ { 9 model = "MediaTek MT8186 evaluation board"; 10 compatible = "mediatek,mt8186-evb", "mediatek,mt8186"; 11 12 aliases { 13 serial0 = &uart0; 14 }; 15 16 chosen { 17 stdout-path = "serial0:921600n8"; 18 }; 19 20 memory@40000000 { 21 device_type = "memory"; 22 reg = <0 0x40000000 0 0x80000000>; 23 }; 24}; 25 26&i2c0 { 27 status = "okay"; 28 29 clock-frequency = <400000>; 30 pinctrl-names = "default"; 31 pinctrl-0 = <&i2c0_pins>; 32}; 33 34&i2c1 { 35 status = "okay"; 36 37 clock-frequency = <400000>; 38 i2c-scl-internal-delay-ns = <8000>; 39 pinctrl-names = "default"; 40 pinctrl-0 = <&i2c1_pins>; 41}; 42 43&i2c2 { 44 status = "okay"; 45 46 clock-frequency = <400000>; 47 i2c-scl-internal-delay-ns = <10000>; 48 pinctrl-names = "default"; 49 pinctrl-0 = <&i2c2_pins>; 50}; 51 52&i2c3 { 53 status = "okay"; 54 55 clock-frequency = <400000>; 56 pinctrl-names = "default"; 57 pinctrl-0 = <&i2c3_pins>; 58}; 59 60&i2c4 { 61 status = "okay"; 62 63 clock-frequency = <400000>; 64 pinctrl-names = "default"; 65 pinctrl-0 = <&i2c4_pins>; 66}; 67 68&i2c5 { 69 status = "okay"; 70 71 clock-frequency = <400000>; 72 pinctrl-names = "default"; 73 pinctrl-0 = <&i2c5_pins>; 74}; 75 76&i2c6 { 77 status = "okay"; 78 79 clock-frequency = <400000>; 80 pinctrl-names = "default"; 81 pinctrl-0 = <&i2c6_pins>; 82}; 83 84&i2c7 { 85 status = "okay"; 86 87 clock-frequency = <400000>; 88 pinctrl-names = "default"; 89 pinctrl-0 = <&i2c7_pins>; 90}; 91 92&i2c8 { 93 status = "okay"; 94 95 clock-frequency = <400000>; 96 pinctrl-names = "default"; 97 pinctrl-0 = <&i2c8_pins>; 98}; 99 100&i2c9 { 101 status = "okay"; 102 103 clock-frequency = <400000>; 104 pinctrl-names = "default"; 105 pinctrl-0 = <&i2c9_pins>; 106}; 107 108&pio { 109 i2c0_pins: i2c0-default-pins { 110 pins-bus { 111 pinmux = <PINMUX_GPIO128__FUNC_SDA0>, 112 <PINMUX_GPIO127__FUNC_SCL0>; 113 bias-disable; 114 drive-strength-microamp = <1000>; 115 input-enable; 116 }; 117 }; 118 119 i2c1_pins: i2c1-default-pins { 120 pins-bus { 121 pinmux = <PINMUX_GPIO130__FUNC_SDA1>, 122 <PINMUX_GPIO129__FUNC_SCL1>; 123 bias-disable; 124 drive-strength-microamp = <1000>; 125 input-enable; 126 }; 127 }; 128 129 i2c2_pins: i2c2-default-pins { 130 pins-bus { 131 pinmux = <PINMUX_GPIO132__FUNC_SDA2>, 132 <PINMUX_GPIO131__FUNC_SCL2>; 133 bias-disable; 134 drive-strength-microamp = <1000>; 135 input-enable; 136 }; 137 }; 138 139 i2c3_pins: i2c3-default-pins { 140 pins-bus { 141 pinmux = <PINMUX_GPIO134__FUNC_SDA3>, 142 <PINMUX_GPIO133__FUNC_SCL3>; 143 bias-disable; 144 drive-strength-microamp = <1000>; 145 input-enable; 146 }; 147 }; 148 149 i2c4_pins: i2c4-default-pins { 150 pins-bus { 151 pinmux = <PINMUX_GPIO136__FUNC_SDA4>, 152 <PINMUX_GPIO135__FUNC_SCL4>; 153 bias-disable; 154 drive-strength-microamp = <1000>; 155 input-enable; 156 }; 157 }; 158 159 i2c5_pins: i2c5-default-pins { 160 pins-bus { 161 pinmux = <PINMUX_GPIO138__FUNC_SDA5>, 162 <PINMUX_GPIO137__FUNC_SCL5>; 163 bias-disable; 164 drive-strength-microamp = <1000>; 165 input-enable; 166 }; 167 }; 168 169 i2c6_pins: i2c6-default-pins { 170 pins-bus { 171 pinmux = <PINMUX_GPIO140__FUNC_SDA6>, 172 <PINMUX_GPIO139__FUNC_SCL6>; 173 bias-pull-up = <MTK_PULL_SET_RSEL_001>; 174 drive-strength-microamp = <1000>; 175 input-enable; 176 }; 177 }; 178 179 i2c7_pins: i2c7-default-pins { 180 pins-bus { 181 pinmux = <PINMUX_GPIO142__FUNC_SDA7>, 182 <PINMUX_GPIO141__FUNC_SCL7>; 183 bias-disable; 184 drive-strength-microamp = <1000>; 185 input-enable; 186 }; 187 }; 188 189 i2c8_pins: i2c8-default-pins { 190 pins-bus { 191 pinmux = <PINMUX_GPIO144__FUNC_SDA8>, 192 <PINMUX_GPIO143__FUNC_SCL8>; 193 bias-disable; 194 drive-strength-microamp = <1000>; 195 input-enable; 196 }; 197 }; 198 199 i2c9_pins: i2c9-default-pins { 200 pins-bus { 201 pinmux = <PINMUX_GPIO146__FUNC_SDA9>, 202 <PINMUX_GPIO145__FUNC_SCL9>; 203 bias-pull-up = <MTK_PULL_SET_RSEL_001>; 204 drive-strength-microamp = <1000>; 205 input-enable; 206 }; 207 }; 208}; 209 210&u3phy0 { 211 status = "okay"; 212}; 213 214&u3phy1 { 215 status = "okay"; 216}; 217 218&uart0 { 219 status = "okay"; 220}; 221