DietPi icon indicating copy to clipboard operation
DietPi copied to clipboard

Append rk3588-i2c5-m2.dtbo overlay

Open djdejawu opened this issue 2 months ago • 1 comments

Creating a feature request

Is your feature request related to a problem? Please describe:

  • I uses OrangePi 5 Ultra and i've been missing 1 overlay file in /boot/dtb folder: rk3588-i2c5-m2.dtbo (GPIO pins 37 and 12).

Describe the solution you'd like:

  • Add this overlay file
/dts-v1/;

/ {

	fragment@0 {
		target = <0xffffffff>;

		__overlay__ {
			status = "okay";
			pinctrl-names = "default";
			pinctrl-0 = <0xffffffff>;
		};
	};

	__fixups__ {
		i2c5 = "/fragment@0:target:0";
		i2c5m2_xfer = "/fragment@0/__overlay__:pinctrl-0:0";
	};
};

djdejawu avatar Nov 06 '25 09:11 djdejawu

Defined here:

https://github.com/armbian/linux-rockchip/blob/rk-6.1-rkr5.1/arch/arm64/boot/dts/rockchip/rk3588s-pinctrl.dtsi#L1008-L1014

Hence the overlay would be:

/dts-v1/;
/plugin/;
/ {
	fragment@0 {
		target = <&i2c5>;
		__overlay__ {
			status = "okay";
			pinctrl-names = "default";
			pinctrl-0 = <&i2c5m2_xfer>;
		};
	};
};

MichaIng avatar Nov 06 '25 14:11 MichaIng

still not added? why?

djdejawu avatar Dec 16 '25 10:12 djdejawu