Need help with FDT overlay
Matwey V. Kornilov
matwey.kornilov at gmail.com
Sat Mar 21 13:54:49 CET 2026
Hello,
I am running U-boot 2026.01 with orangepi_zero2w config and I am
trying to apply my hand-written dtbo via fdt apply.
The issue is that the fdi apply command just hangs forever for me. The
issue only appears when I try to append a new node to the root. How
could I find what is going wrong here?
The overlay source is the following:
/dts-v1/;
/plugin/;
#include <dt-bindings/i2c/i2c.h>
#include <dt-bindings/gpio/gpio.h>
&i2c0 {
status = "okay";
};
&i2c1 {
status = "okay";
};
&{/} {
i2c_gpio: i2c-gpio {
compatible = "i2c-gpio";
sda-gpios = <&pio 8 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; // PI0 (29)
scl-gpios = <&pio 8 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; // PI15 (31)
i2c-gpio,delay-us = <2>; /* ~100 kHz */
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
};
};
--
With best regards,
Matwey V. Kornilov
More information about the U-Boot
mailing list