Questions tagged [device-tree]

A data structure for describing hardware. passed in boot time to kernel

136 questions
2
votes
0 answers

Device tree and passing parameter to serial driver from specyfic device overlay

I would like to pass linux,rs485-enabled-at-boot-time; flag/parameter to serial port driver configuration for sc16is752 device defined by this device tree overlay (unmodified file from Raspbian): /dts-v1/; /plugin/; / { compatible =…
Kamil
  • 749
  • 1
  • 8
  • 26
1
vote
0 answers

Devicetree parallel CSI OV7670

I'm currently trying to get an image with fswebcam out of my OV7670 camera, but I only get a completly green image. Could you look over my devicetree if I made some obvious mistakes? board-file.dts: &csi1 { status = "okay"; pinctrl-names =…
1
vote
1 answer

In Linux device tree syntax, what happens when duplicate labels appear?

I wonder if it is allowed and by this possible that duplicate labels within a *.dts device tree file appear and if so what happens then? Does a new label allow to overwrite/redefine the old label, for instance? To make the question more transparent…
0
votes
0 answers

What are pinctrl states and handles in relation to the device tree?

I have a node with the following mmc0: mmc@11230000 { compatible = "mediatek,mt8186-mmc", "mediatek,mt8183-mmc"; pinctrl-names = "default", "state_uhs", "state_eint"; pinctrl-0 = <&mmc0_default>; …
0
votes
0 answers

Can we automatically label device tree with symbols?

Is it possible to use device tree compiler to automatically label nodes when generating device tree source from device tree binary/source? I can assign the labels from the symbols to their respectful node paths using dtc -A for example. I would like…
0
votes
1 answer

Where is the device tree on the Linux machine, for e.g., Debian or Ubuntu?

These days we have device tree. I am wondering where can I see the device tree in my PC - i.e. Debian - Release: 9.11. When I look at the kernel config, I don't see the device tree. How come device tree isn't there in my PC. vi …
0
votes
1 answer

DeviceTree Overlay fails

Following setup here: TinkerBoard-S with rk3288 Chip running armbian with legacy Kernel 4.4.199 Now I would like to add an overlay to the existing one. Here is how the existing one looks like: dsi@ff960000 { reg = <0x0 0xff960000…