mob next [ci-skip] [ci skip] [skip ci]
lastFile:machines/anser/disable-scmi.dts
This commit is contained in:
@@ -7,4 +7,28 @@
|
|||||||
clan.core.settings.name = "anser";
|
clan.core.settings.name = "anser";
|
||||||
clan.core.settings.machine.description = "";
|
clan.core.settings.machine.description = "";
|
||||||
|
|
||||||
|
boot.loader.grub.enable = false;
|
||||||
|
boot.loader.generic-extlinux-compatible.enable = true;
|
||||||
|
|
||||||
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
||||||
|
boot.kernelParams = [
|
||||||
|
"console=ttyS2,1500000n8"
|
||||||
|
"loglevel=4"
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.deviceTree = {
|
||||||
|
enable = true;
|
||||||
|
filter = "*rk3566-radxa-zero-3*.dtb";
|
||||||
|
overlays = [
|
||||||
|
{
|
||||||
|
name = "disable-scmi";
|
||||||
|
dtsFile = ./disable-scmi.dts;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "enable-uart3";
|
||||||
|
dtsFile = ./enable-uart3.dts;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
/ {
|
||||||
|
compatible = "radxa,zero-3w", "rockchip,rk3566";
|
||||||
|
|
||||||
|
fragment@0 {
|
||||||
|
target-path = "/firmware/scmi";
|
||||||
|
__overlay__ {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
fragment@1 {
|
||||||
|
target-path = "/gpu@fde60000";
|
||||||
|
__overlay__ {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
/ {
|
||||||
|
compatible = "radxa,zero-3w", "rockchip,rk3566";
|
||||||
|
|
||||||
|
/* Enable UART3 on pins 3/5 (GPIO1_A0/A1) */
|
||||||
|
fragment@0 {
|
||||||
|
target = <&uart3>;
|
||||||
|
__overlay__ {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&uart3m0_xfer>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user