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