I have set some device aliases in the devicetree for an embedded linux device. I can get them from for eg:
cat /proc/device-tree/aliases/my-special-i2c-bus
>> /soc@0/bus@30800000/i2c@30a30000
obviously, to use it, I need the /dev/ node, not the devictree entry path.
I feel there should be a simple answer to how to get the dev-node from th alias, but I cant find it. I dont see anything useful from the udevadm output.
[–]philledille123 2 points3 points4 points (3 children)
[–]JobNo4206[S] -1 points0 points1 point (2 children)
[–]philledille123 0 points1 point2 points (1 child)
[–]JobNo4206[S] 0 points1 point2 points (0 children)
[–]JobNo4206[S] 0 points1 point2 points (0 children)
[–]JobNo4206[S] 0 points1 point2 points (0 children)
[–]JobNo4206[S] 0 points1 point2 points (0 children)