ODROID-M1/M1S: dtb/dtbo: add to switch FIQ debug port to UART2

By default, the debug port is binded to /dev/ttyFIQ0 for the FIQ
debugger. In order to switch the port to generic UART port,
'fiq-debugger' must be disabled and 'uart2' is required to be enabled
with proper pins.

Change-Id: I213cd319a119bde044458a59b2b0a1bded1f9546
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
This commit is contained in:
Dongjin Kim
2023-10-06 12:16:42 +09:00
committed by codewalkerster
parent ffe1cd1da2
commit bca9e3dae9
4 changed files with 48 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP_ODROIDM1) += \
can0.dtbo \
dht11.dtbo \
display_vu8m.dtbo \
fiq0_to_uart2.dtbo \
hktft32.dtbo \
i2c0.dtbo \
i2c1.dtbo \

View File

@@ -0,0 +1,23 @@
/dts-v1/;
/plugin/;
/{
fragment@0 {
target = <&fiq_debugger>;
__overlay__ {
status = "disabled";
};
};
fragment@1 {
target = <&uart2>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart2m0_xfer>;
};
};
};

View File

@@ -7,6 +7,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP_ODROIDM1) += \
display_3_5.dtbo \
display_5_0.dtbo \
display_vu8s.dtbo \
fiq0_to_uart2.dtbo \
hktft32.dtbo \
i2c0.dtbo \
i2c1.dtbo \

View File

@@ -0,0 +1,23 @@
/dts-v1/;
/plugin/;
/{
fragment@0 {
target = <&fiq_debugger>;
__overlay__ {
status = "disabled";
};
};
fragment@1 {
target = <&uart2>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart2m0_xfer>;
};
};
};