Skip to content
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

Another rework of the Devicetree for the Beaglebone Blue #69

Merged
merged 7 commits into from
Dec 23, 2023
Merged

Conversation

menschel
Copy link
Contributor

@menschel menschel commented Dec 23, 2023

Hello,

this is the second and hopefully last rework of the devicetree for the beaglebone blue.

  • I missed the pin for the PRU_E_A encoder. I have no clue what is done with the PRU_E_B pin. It apparently is not pinmux-able to pru and I don't see it in 4.14 dts file.

  • I added the motor_pwms according to what kernel docs say. I was looking at some adafruit lcd dts file for reference and then found the greatly hidden correct kernel documentation.

  • I fixed the wrongly copied pull-configurations for the pwm and eqep pins. It took a while to reverse engineer the hardcoded numbers.

  • I finally sorted the device tree in some pseudo alpha-numeric order. I was tired to always scroll through 4 pages just to find the right entry while comparing two files.

Finally the intended purpose to get the motors running was achieved and description was added to
forum discussion .

There is an urgent topic that needs to be discussed, the pmic-shutdown controller entry. I opened an issue for that.

#68

Signed-off-by: Patrick Menschel <[email protected]>
Not sure if this does anything, but it is the 4.19 DTS.

Signed-off-by: Patrick Menschel <[email protected]>
It gets hard to find something in here.

Also add notes as guide to newbies.

Signed-off-by: Patrick Menschel <[email protected]>
Wrongly adapted from 4.14 dts file.

Signed-off-by: Patrick Menschel <[email protected]>
PRU_E_B is nowhere to be found in 4.14 dts file.
How does it work?

Signed-off-by: Patrick Menschel <[email protected]>
According to mailing list, this property actually pevents damage to devices
and uboot is build without rtc-only support anyways.

https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/arch/arm/boot/dts/am335x-bone-common.dtsi?h=linux-5.10.y&id=7a6cb0abe1aa63334f3ded6d2b6c8eca80e72302

After some tests, the led_red is off when shutdown. Only remaining issue is
that VDD_3V3AUX is still on after the device is supposed to have shutdown.
This is also present with the previous state.

Signed-off-by: Patrick Menschel <[email protected]>
@RobertCNelson
Copy link
Member

RobertCNelson commented Dec 23, 2023

all merged up! @menschel thank you so much! https://git.beagleboard.org/beagleboard/BeagleBoard-DeviceTrees/-/commits/v5.10.x-ti-unified/ will take a few minutes for github mirror to syn up..

PS, talked with @jadonk please go to http://bbb.io/give to see if we can send you a replacement blue..

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