Skip to content

gps remaster#75

Open
CullenSharp wants to merge 4 commits intomasterfrom
gps-remaster
Open

gps remaster#75
CullenSharp wants to merge 4 commits intomasterfrom
gps-remaster

Conversation

@CullenSharp
Copy link
Copy Markdown
Contributor

@CullenSharp CullenSharp commented Apr 8, 2026

  • Refactor: Update dts to use gpiod
    • Split up pinmux for ma2771 and skytraq.
    • Add informative comments

@CullenSharp CullenSharp force-pushed the gps-remaster branch 3 times, most recently from 5d06cca to bd03b6c Compare April 8, 2026 22:49
- Split up pinmux for ma2771 and skytraq.
- Add informative comments
@CullenSharp
Copy link
Copy Markdown
Contributor Author

CullenSharp commented Apr 13, 2026

The gpio controllers probe in a different order from what's in the device tree. I could try to add a set of dts aliases to force the dts to refer to the way that gpio controllers are probed.

see https://www.spinics.net/lists/devicetree/msg134171.html, which contains the following example:

+Example of a machine having 4 GPIO banks.
+
+	/ {
+		aliases {
+			...
+			gpio0 = &gpio1;
+			gpio1 = &gpio2;
+			gpio2 = &gpio3;
+			gpio3 = &gpio4;
+		};
+	};
+

I found this forum thread a helpful aggregator of information about this: https://forum.beagleboard.org/t/wrong-order-of-gpiochip0-3/33852/4

@ThirteenFish
Copy link
Copy Markdown
Contributor

I dug into the aliasing a bit and I came up with the same answer, you can see in am33xx.dtsi in the beagleboard devicetrees the aliases for all the other peripheries too. Putting the gpio aliases in oresat-base.dtsi seems like the right place for it.

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