-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: dts: Sort out CM5 and I/O board I2C ports
There is a difference in I2C usage between CM4IO and CM5IO. Present a simple, consistent view of the world by moving the assignment of the bus IDs into carrier-specific files. CM5 has reduced connectivity on CM4IO - the DPHYs are connected to CAM1 and DISP1. Keep i2c-10 for use with that pair, as is the case for CM4 on CM4IO. Fixes: 36faab6 ("dts: bcm2712-rpi: Add aliases for the CSI/DSI I2Cs") See: #6421 Signed-off-by: Phil Elwell <[email protected]>
- Loading branch information
Showing
8 changed files
with
46 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
|
||
i2c_csi_dsi0: &i2c0 { // Note: For CAM0 and DISP0 connectors | ||
}; | ||
|
||
i2c_csi_dsi1: &i2c6 { // Note: For CAM1, DISP1, on-board RTC, and fan controller | ||
pinctrl-0 = <&rp1_i2c6_38_39>; | ||
pinctrl-names = "default"; | ||
clock-frequency = <100000>; | ||
symlink = "i2c-6"; | ||
}; | ||
|
||
i2c_csi_dsi: &i2c_csi_dsi1 { }; // The connector that needs no jumper to enable | ||
|
||
&aliases { | ||
/delete-property/ i2c11; | ||
i2c10 = &i2c_csi_dsi; | ||
}; | ||
|
||
// The RP1 USB3 interfaces are not usable on CM4IO | ||
|
||
&rp1_usb0 { | ||
status = "disabled"; | ||
}; | ||
|
||
&rp1_usb1 { | ||
status = "disabled"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
|
||
i2c_csi_dsi1: &i2c0 { // Note: This is for CAM/DISP 1 connector | ||
symlink = "i2c-11"; | ||
}; | ||
|
||
i2c_csi_dsi0: &i2c6 { // Note: This is for CAM/DISP 0 connector | ||
pinctrl-0 = <&rp1_i2c6_38_39>; | ||
pinctrl-names = "default"; | ||
clock-frequency = <100000>; | ||
symlink = "i2c-6"; | ||
}; | ||
|
||
i2c_csi_dsi: &i2c_csi_dsi0 { }; // The connector that needs no jumper to enable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters