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