Skip to main content

Questions tagged [device-tree]

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

0 votes
0 answers
22 views

How to work around the lack of device tree on amd64 arch?

I have a mainboard with several I2C, SPI and I2S devices. It's a mainboard with a CPU/RAM daughterboard. I'm currently using arm64 CPUs (iMX8M). I let the kernel drivers know about the I2C addresses ...
fadedbee's user avatar
  • 971
0 votes
0 answers
14 views

Define GPIO name/status in Device Tree and have it accessible from userspace

I have a custom board with several GPIO. I'd like to: give them a friendly name be able to get the level at boot time define active high/low I defined the GPIO as hogs like this &gpio5 { ...
il_mix's user avatar
  • 101
0 votes
0 answers
17 views

Multiple I2C GPIO Expander give probing error due to shared reset pin

I'm editing the kernel device tree for a custom board. I have two GPIO expanders (pcal6416) connected to i2c3 bus. The two expanders share the same CPU pin as reset. Here is the initial device tree &...
il_mix's user avatar
  • 101
0 votes
0 answers
9 views

Fail to set a touchscreen in Device Tree

I'm trying to connect a touch controller via I2C to my DART6UL linux embedded board. The follwoing if what I add to my device tree; egalax_ts@2a { compatible = "eeti,egalax_ts"; ...
LittleSaints's user avatar
0 votes
0 answers
20 views

Unable to communicate with I2C fuel gauge

I'm trying to communicate with an LTC2959 (datasheet) battery fuel gauge via I2C from my linux-based SBC. I'm not succeeding and I suspect a hardware or device-tree issue. The IC address is 0xC6 which ...
davegravy's user avatar
  • 193
0 votes
0 answers
43 views

What is the best location to store binary overlays that are applied at runtime?

Binary overlays that are applied while booting would probably best be stored in /boot/overlays or similar. However, what is the best location for binary device-tree overlay files that are intended to ...
Lukas's user avatar
  • 1
0 votes
0 answers
26 views

How do I configure device nodes for simple-pm-bus probe?

Inside a soc node I have a watchdog node with a simple-mdf device. soc { #address-cells = <2>; #size-cells = <2>; compatible = "simple-bus"; ...
Bret Joseph's user avatar
0 votes
0 answers
92 views

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",...
Bret Joseph's user avatar
0 votes
0 answers
184 views

Will a platform device with waiting for supplier eventually probe?

I have defined a platform device in the Device tree. The following shows the file tree walk for its folder. /sys/devices/platform/device /sys/devices/platform/device/uevent /sys/devices/platform/...
Bret Joseph's user avatar
2 votes
0 answers
248 views

How do we configure musb-hdrc driver?

I would like to use a USB gadget device (phone) as a host via configfs. After setting up configfs, no gadget is being set up on the host peripheral (phone). The init script executes with the following ...
Bret Joseph's user avatar
0 votes
0 answers
86 views

dtb phandle Failed to add to the IOMMU

I have this error : (XEN) *** LOADING DOMAIN 0 *** (XEN) Loading d0 kernel from boot module @ 0000000018000000 (XEN) Allocating 1:1 mappings totalling 1024MB for dom0: (XEN) BANK[0] 0x00000020000000-...
rBeal's user avatar
  • 61
0 votes
2 answers
229 views

uboot kernel and dtb calculation

What is the method to calculate these parameters in uboot ? : bootm_low=0 bootm_size=7ff00000 fdt_addr_r=0x40000000 fdt_high=0x100000 fdt_size_r=0x400000 fdtcontroladdr=7bc971c0 kernel_addr_r=...
rBeal's user avatar
  • 61
0 votes
0 answers
63 views

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 ...
Bret Joseph's user avatar
0 votes
1 answer
191 views

unable to boot kernel on A53 (devicetree?)

I am trying to boot a Linux kernel on an A53 cpu (inside a ZU5 from xilinx). I have two hard. The first is a custom PCB with a ZU5. The second is the ZCU102 SDK with the zu9eg. Here the boot log : [ ...
rBeal's user avatar
  • 61
1 vote
0 answers
55 views

tlv320aicx(audio codec) device tree

I'm trying to get solve a kernel message that I'm getting from the tlv320aicx driver. (linux-5.4) The original error was Invalid supply voltage(s) AVDD: -22, DVDD: -22 I was able to locate to the ...
Dukel's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
10