Questions tagged [device-tree]

a Device Tree (DT) is a description of the hardware in a system

source: https://www.raspberrypi.org/documentation/configuration/device-tree.md

71 questions
2
votes
1 answer

How to configure the device tree for the MAX30102?

I am trying to get the MAX30102 heart sensor to run and have recompiled the kernel with the necessary module. I have loaded the follwing modules to be sure i2c_dev i2c-bmc2708 i2c-bmc2835 industrialio max30102 I can verify this with lsmod Module …
neolith
  • 147
  • 1
  • 4
2
votes
0 answers

Applying dwc2.dtbo to bcm2711-rpi-4-b.dtb at build time triggering FDT_ERR_NOTFOUND

I'm trying to build a NixOS image for my Raspberry Pi 4b with the dwc2 device tree overlay applied. Per advice from the #nixos-aarch64 IRC channel, doing this the Nix Way calls for configuring hardware.deviceTree, and letting the build process apply…
2
votes
1 answer

Why DMA uses bus address rather than physical address?

Why DMA uses bus address rather than physical address? And do we provide bus address or physical address in the device tree? Where do we get to know these addresses that needs to be provided to the device tree?
1
vote
2 answers

How to detect a device tree overlay at run time?

What is the best way to check at run time if a device tree overlay is loaded? I've found info about checking individual GPIO pin status, and info about how to load the overlay (via config.txt), but I'm not finding info about how to check if the…
djulien
  • 21
  • 1
  • 6