Skip to content

boards: alif: ensemble: Add I2C2/I2C3 pinctrl nodes for appkits - #613

Open
Prabhakar-Alifsemi wants to merge 1 commit into
alifsemi:mainfrom
Prabhakar-Alifsemi:add-i2c2-i2c3-pinctrl-node-appkit
Open

boards: alif: ensemble: Add I2C2/I2C3 pinctrl nodes for appkits#613
Prabhakar-Alifsemi wants to merge 1 commit into
alifsemi:mainfrom
Prabhakar-Alifsemi:add-i2c2-i2c3-pinctrl-node-appkit

Conversation

@Prabhakar-Alifsemi

Copy link
Copy Markdown
Contributor

Add active and sleep pinctrl nodes for I2C2 and I2C3 to the Ensemble E7/E8 appkit common pin control files.

  • I2C2: P0_7 (SDA) / P0_6 (SCL)
  • I2C3: P1_0 (SDA) / P1_1 (SCL)

Sleep states release the pins to GPIO.

Add active and sleep pinctrl nodes for I2C2 and I2C3 to the
Ensemble E7/E8 appkit common pin control files.

- I2C2: P0_7 (SDA) / P0_6 (SCL)
- I2C3: P1_0 (SDA) / P1_1 (SCL)

Sleep states release the pins to GPIO.

Signed-off-by: Prabhakar Kumar <prabhakar.kumar@alifsemi.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds missing pinctrl state definitions for I2C2 and I2C3 on the Alif Ensemble E7/E8 AppKit boards so these buses can be enabled via devicetree without needing app-level overlays.

Changes:

  • Add pinctrl_i2c2 / pinctrl_i2c2_sleep using P0_7 (SDA) and P0_6 (SCL)
  • Add pinctrl_i2c3 / pinctrl_i2c3_sleep using P1_0 (SDA) and P1_1 (SCL)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
boards/alif/common/ensemble-e8-appkit-pinctrl.dtsi Adds active/sleep pinctrl groups for I2C2 and I2C3 for the E8 AppKit pinctrl set.
boards/alif/common/ensemble-e7-appkit-pinctrl.dtsi Adds active/sleep pinctrl groups for I2C2 and I2C3 for the E7 AppKit pinctrl set.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +202 to +206
pinctrl_i2c2: pinctrl_i2c2 {
group0 {
pinmux = <PIN_P0_7__I2C2_SDA_A>,
<PIN_P0_6__I2C2_SCL_A>;

Comment on lines +231 to +235
pinctrl_i2c2: pinctrl_i2c2 {
group0 {
pinmux = <PIN_P0_7__I2C2_SDA_A>,
<PIN_P0_6__I2C2_SCL_A>;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants