currently i'm trying to load a dtbo to 4.19-rc4. attachted dts works and results in loading modul adv7180.
/dts-v1/;
/plugin/;
/ {
compatible = "friendlyelec,nanopc-t4", "rockchip,rk3399";
fragment@0 {
// target = <&i2c1>;
target-path = "/i2c@ff110000";
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
adv7282-m@20 {
status = "okay";
compatible = "adi,adv7282-m";
reg = <0x20>;
device_type = "v4l2-i2c-subdev";
// powerdown-gpios = <&gpio2 28 1>;// 92
// reset-gpios = <&adv_gpio2 27 1>; // 91
};
};
};
};
i need some advices for
- referencing by phandle (like target = <&i2c1>)
- defining gpios (commented out gpios)