Add UART sensor support with MS overlay and diagnostics

Group UART sensors into channel slots and add an MS board overlay
with per-port speed and sensor mode configuration. Also add optional
per-second channel diagnostic output controlled by APP_DEBUG_PRINT.
This commit is contained in:
zhangyisong
2026-08-06 20:10:08 +08:00
parent 0e5d15c814
commit 214af410e4
8 changed files with 125 additions and 4 deletions
View File
+71
View File
@@ -0,0 +1,71 @@
&ch9438_uart0 {
status = "okay";
current-speed = <9600>;
};
&gd_sensor0 {
mode = "wrist";
};
&ch9438_uart1 {
status = "okay";
current-speed = <9600>;
};
&gd_sensor1 {
mode = "wrist";
};
&ch9438_uart2 {
status = "okay";
current-speed = <9600>;
};
&gd_sensor2 {
mode = "wrist";
};
&ch9438_uart3 {
status = "okay";
current-speed = <9600>;
};
&gd_sensor3 {
mode = "wrist";
};
&ch9438_uart4 {
status = "okay";
current-speed = <9600>;
};
&gd_sensor4 {
mode = "wrist";
};
&ch9438_uart5 {
status = "okay";
current-speed = <9600>;
};
&gd_sensor5 {
mode = "wrist";
};
&ch9438_uart6 {
status = "okay";
current-speed = <9600>;
};
&gd_sensor6 {
mode = "wrist";
};
&ch9438_uart7 {
status = "okay";
current-speed = <9600>;
};
&gd_sensor7 {
mode = "wrist";
};