Skip to content

Commit 78197c6

Browse files
Ayush1325henrikbrixandersen
authored andcommitted
boards: beagle: pocketbeagle_2: a53: Enable I2C3
- I2C3 is the default config for P2.09 and P2.11 according to schematic. Signed-off-by: Ayush Singh <[email protected]>
1 parent b951602 commit 78197c6

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

boards/beagle/pocketbeagle_2/pocketbeagle_2_am62_a53-common.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@
8787
status = "okay";
8888
};
8989

90+
&main_i2c3 {
91+
pinctrl-0 = <&P2_09_A15_i2c3_scl &P2_11_B15_i2c3_sda>;
92+
pinctrl-names = "default";
93+
status = "okay";
94+
};
95+
9096
&main_gpio0 {
9197
pinctrl-0 = <&led_pins_default>;
9298
pinctrl-names = "default";

boards/beagle/pocketbeagle_2/pocketbeagle_2_am62_a53-pinctrl.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,11 @@
262262
pinmux = <K3_PINMUX(0x01D0, PIN_INPUT, MUX_MODE_7)>;
263263
};
264264

265+
P2_09_A15_i2c3_scl: P2-09-A15-i2c3-scl-pins {
266+
/* (A15) UART0_CTSn.I2C3_SCL */
267+
pinmux = <K3_PINMUX(0x01D0, PIN_INPUT_PULLUP, MUX_MODE_2)>;
268+
};
269+
265270
P2_10_gpio: P2-10-gpio-pins {
266271
/* (AD21) RGMII2_TD2.GPIO0_91 */
267272
pinmux = <K3_PINMUX(0x0174, PIN_INPUT, MUX_MODE_7)>;
@@ -272,6 +277,11 @@
272277
pinmux = <K3_PINMUX(0x01D4, PIN_INPUT, MUX_MODE_7)>;
273278
};
274279

280+
P2_11_B15_i2c3_sda: P2-11-B15-i2c3-sda-pins {
281+
/* (B15) UART0_RTSn.I2C3_SDA */
282+
pinmux = <K3_PINMUX(0x01D4, PIN_INPUT_PULLUP, MUX_MODE_2)>;
283+
};
284+
275285
P2_17_gpio: P2-17-gpio-pins {
276286
/* (AC24) VOUT0_PCLK.GPIO0_64 */
277287
pinmux = <K3_PINMUX(0x0104, PIN_INPUT, MUX_MODE_7)>;

0 commit comments

Comments
 (0)