mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 18:19:28 +09:00
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:
committed by
codewalkerster
parent
ffe1cd1da2
commit
bca9e3dae9
@@ -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 \
|
||||
|
||||
@@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -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 \
|
||||
|
||||
@@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user