We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82e1baa commit 4fbf028Copy full SHA for 4fbf028
boards/ti/lp_em_cc2340r5/lp_em_cc2340r5-pinctrl.dtsi
@@ -142,4 +142,18 @@
142
pinmux = <23 DIO23_T3_C2N>;
143
bias-disable;
144
};
145
+
146
+ /* I2C0 */
147
+ i2c0_scl_default: i2c0_scl_default {
148
+ pinmux = <24 DIO24_I2C0_SCL>;
149
+ bias-pull-up;
150
+ drive-open-drain;
151
+ input-enable;
152
+ };
153
+ i2c0_sda_default: i2c0_sda_default {
154
+ pinmux = <0 DIO0_I2C0_SDA>;
155
156
157
158
159
boards/ti/lp_em_cc2340r5/lp_em_cc2340r5.dts
@@ -145,3 +145,11 @@
pinctrl-names = "default";
status = "okay";
+&i2c0 {
+ status = "okay";
+ pinctrl-0 = <&i2c0_scl_default
+ &i2c0_sda_default>;
+ clock-frequency = <100000>;
+ pinctrl-names = "default";
+};
0 commit comments