We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce8864f commit 0e8af7eCopy full SHA for 0e8af7e
tp2bmc/board/tp2bmc/sun8i-t113s-turing-pi2.dtsi
@@ -122,6 +122,12 @@
122
vcc-pf-supply = <®_3v3>;
123
vcc-pg-supply = <®_3v3>;
124
125
+ gpio_pe12_pins: gpio-pe12-pins {
126
+ pins = "PE12", "PE13";
127
+ function = "gpio";
128
+ drive-strength = <10>;
129
+ };
130
+
131
i2c2_pe12_pins: i2c2-pe12-pins {
132
pins = "PE12", "PE13";
133
function = "i2c2";
@@ -205,8 +211,11 @@
205
211
&i2c2 {
206
212
status = "okay";
207
213
208
- pinctrl-names = "default";
214
+ pinctrl-names = "default", "gpio";
209
215
pinctrl-0 = <&i2c2_pe12_pins>;
216
+ pinctrl-1 = <&gpio_pe12_pins>;
217
+ scl-gpios = <&pio 4 12 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; /* PE12 */
218
+ sda-gpios = <&pio 4 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; /* PE13 */
210
219
220
clock-frequency = <100000>;
221
0 commit comments