Questions tagged [device-tree]
A data structure for describing hardware. passed in boot time to kernel
147 questions
0votes
0answers
10views
DTS parameters for USB3 in Xilinx ZynqMP
When setting USB3 in device tree, I've seen in dts of reference boards (for example DTS for zcu102-RevA) different parameters for setting PHY. there are two parameters in dts for USB: phys = <&...
1vote
0answers
17views
Adding MCP23017 to device-tree and accessing ICs connected to expander
I try access multiple ICs via I2C over the MCP23017 I/O Expander for a custom embedded board. I know ICs I2C adresses. How should I add the MCP23017 to the device-tree? I think I need to add the ICs ...
0votes
0answers
11views
Failed to use pinctrl/pinmux in port multiplexing
I am working on an embedded Linux system (kernel-5.10.24), and now I want to setup a UART port (with RXD/TXD/RTS/CTS) from 2 GPIO groups. The DTS is setting as follows, &pinctrl { uart0_pin: ...
0votes
0answers
138views
How to define GPIO pin as PPS source device
I'm using Linux in an embedded environment. I want to use a particular GPIO pin as a PPS source to be used with gpsd. I think the pin is configured correctly because I can see high/low transitions ...
0votes
1answer
59views
Are onboard hubs detected as USB root hubs or external devices?
I have connected an onboard hub to my microprocessor. The onboard hub is USB2514B and the microprocessor is a STM32MP1. I can specify the the connection to the onboard hub by using OHCI (Open Host ...
0votes
0answers
13views
device-tree entry for an i2c to spi multiplexer that shares logic with a GPIO multiplexer
I have the following setup (from external; this cannot be changed): +------+ I2C | I2C |--------------------- Device 0 --------| to |------------ Device 1 | MISO0 | SPI |--- ...
1vote
1answer
39views
I2S clock provider mode not supported - How to enable?
Introduktion: I having a HDMI PHY SII9022A. I want to enable audio on that PHY. Requriments: I need to create a proper device tree for the SII9022A. https://www.kernel.org/doc/Documentation/devicetree/...
0votes
0answers
34views
Chaining I2S with alsa
For one of the projects that I’m following for my job I’m supposed to define the device tree of a custom embedded board. The problem is that the audio stream for the board is structured as follows: ...
0votes
0answers
38views
How can pass to rmii from mii in ethernet chip?
I use ksz8081mnx mii ethernet chip.I made my ethernet configuration and it is succesful. I changed my ethernet chip with ksz8081rnb rmii.I organised dts file but my ethernet not working. sama5d2.dtsi ...
0votes
0answers
69views
Kernel panic - not syncing: Unable to initialise architected timer : unable to boot Android 14 with qemu-system-aarch64 on Ubuntu 24.04 X64 bit
I want to emulate Android 14 by KonstaKang using qemu-system-aarch64 with the virt model on Ubuntu 24.04 x64-bit, installed on my PC (Intel i9 + RTX 2080 Ti). I’ve chosen the boot parameters according ...
0votes
0answers
205views
Dummy sound codec devicetree node for Linux
I have an rk3588-based SBC. I need to output audio via I2S (specifically its I2S1 output). However, there is no "codec" device which Linux knows about; the system which receives the I2S ...
0votes
0answers
156views
Linux cannot "find" DTB provided by QEMU
I'm trying to use QEMU 9 to emulate a Versatile AB development board and boot Linux. I've grabbed vmlinuz and initrd.gz from the Debian Jessie netboot installer and the devicetree from contemporary ...
0votes
0answers
56views
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 ...
0votes
0answers
76views
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 { ...
0votes
0answers
116views
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 &...