-
Notifications
You must be signed in to change notification settings - Fork 86
ARM: dts: am335x: Enable PMIC shutdown controller for BeagleBone Blue #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
immortal71
wants to merge
2
commits into
beagleboard:v6.12.x-Beagle
from
immortal71:fix-boneblue-shutdown-issue
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,90 @@ | ||
| // SPDX-License-Identifier: GPL-2.0 | ||
| /* | ||
| * DT Overlay for RPi Camera V2.1 (IMX219) on CSI1 connector | ||
| * of BeagleBone AI-64 board. | ||
| * | ||
| * Copyright (C) 2025 BeagleBoard.org Foundation | ||
| * | ||
| * Camera Schematics: https://datasheets.raspberrypi.com/camera/camera-v2-schematics.pdf | ||
| */ | ||
|
|
||
| /dts-v1/; | ||
| /plugin/; | ||
|
|
||
| #include <dt-bindings/gpio/gpio.h> | ||
|
|
||
| /* | ||
| * Helper to show loaded overlays under: /proc/device-tree/chosen/overlays/ | ||
| */ | ||
| &{/chosen} { | ||
| overlays { | ||
| BBAI64-CSI1-imx219.kernel = __TIMESTAMP__; | ||
| }; | ||
| }; | ||
|
|
||
| &{/} { | ||
| clk_csi1_imx219_fixed: csi1-imx219-xclk { | ||
| compatible = "fixed-clock"; | ||
| #clock-cells = <0>; | ||
| clock-frequency = <24000000>; | ||
| }; | ||
| }; | ||
|
|
||
| &main_gpio0 { | ||
| status = "okay"; | ||
| }; | ||
|
|
||
| &main_i2c6 { | ||
| status = "okay"; | ||
| #address-cells = <1>; | ||
| #size-cells = <0>; | ||
|
|
||
| imx219_1: sensor@10 { | ||
| compatible = "sony,imx219"; | ||
| reg = <0x10>; | ||
|
|
||
| clocks = <&clk_csi1_imx219_fixed>; | ||
| clock-names = "xclk"; | ||
|
|
||
| pinctrl-names = "default"; | ||
| pinctrl-0 = <&csi1_gpio_pins_default>; | ||
|
|
||
| enable-gpios = <&main_gpio0 101 GPIO_ACTIVE_HIGH>; | ||
|
|
||
| port { | ||
| csi2_cam1: endpoint { | ||
| remote-endpoint = <&csi2rx1_in_sensor>; | ||
| link-frequencies = /bits/ 64 <456000000>; | ||
| clock-lanes = <0>; | ||
| data-lanes = <1 2>; | ||
| }; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| &cdns_csi2rx1 { | ||
| ports { | ||
| #address-cells = <1>; | ||
| #size-cells = <0>; | ||
|
|
||
| csi1_port0: port@0 { | ||
| reg = <0>; | ||
| status = "okay"; | ||
|
|
||
| csi2rx1_in_sensor: endpoint { | ||
| remote-endpoint = <&csi2_cam1>; | ||
| bus-type = <4>; /* CSI2 DPHY */ | ||
| clock-lanes = <0>; | ||
| data-lanes = <1 2>; | ||
| }; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| &ti_csi2rx1 { | ||
| status = "okay"; | ||
| }; | ||
|
|
||
| &dphy1 { | ||
| status = "okay"; | ||
| }; | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file appears to be unrelated to the PR's stated purpose. The PR title and description are about "Enable PMIC shutdown controller for BeagleBone Blue" to fix shutdown issues, but this file adds camera support for BeagleBone AI-64.
Consider moving this file to a separate PR focused on adding IMX219 camera support for BBAI64, or update the PR description to explain why both changes are included together.