Where is the source for this overlay? Do you only set status of pci2 to disabled?
Yes, src - me =)
/dts-v1/;
/plugin/;
/ {
compatible = "bananapi,bpi-r4", "mediatek,mt7988";
fragment@0 {
target = <&pcie2>;
__overlay__ {
status = "disabled";
};
};
};
You could convert it like this (imho much more readable) and upstream it with description why this is useful
https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
Thanks for the advice, but I have absolutely no experience with this. Could I ask you to do this, if it’s not too much trouble, thank you!
Should look like something like this
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
* Copyright (C) 2023 MediaTek Inc.
*/
/dts-v1/;
/plugin/;
/ {
compatible = "bananapi,bpi-r4", "mediatek,mt7988a";
};
&{/soc/pcie@11280000} {
status = "disabled";
};
Put in the directory where mt7988a.dtsi is and add line in Makefile to let it compile like in my patch above
edit: added overlay to my repo
1 Like