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