1
0
Fork 0

reMarkable2 patch to view console on serial port from remarkablewiki.com/tech/rm2_otg_pogo

redonkable
jebba 2021-06-26 16:56:05 -06:00
parent 709f38bd49
commit 2682167b2d
1 changed files with 13 additions and 4 deletions

View File

@ -50,7 +50,7 @@
compatible = "fsl,imx7d-sdb", "fsl,imx7d";
chosen {
stdout-path = &uart1;
stdout-path = &uart6;
};
memory {
@ -648,7 +648,8 @@
};
&uart6 {
/* Pinctrl is defined under 'otgcontrol' driver, which will switch the pinmuxing as required */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart6>;
assigned-clocks = <&clks IMX7D_UART6_ROOT_SRC>;
assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
status = "okay";
@ -823,6 +824,13 @@
>;
};
pinctrl_uart6: uart6grp {
fsl,pins = <
MX7D_PAD_EPDC_DATA09__UART6_DCE_TX 0x79
MX7D_PAD_EPDC_DATA08__UART6_DCE_RX 0x79
>;
};
pinctrl_usdhc2: usdhc2grp {
fsl,pins = <
MX7D_PAD_SD2_CMD__SD2_CMD 0x59
@ -944,13 +952,14 @@
pinctrl_one_wire_uart6_tx: one_wire_uart6_tx_grp {
fsl,pins = <
MX7D_PAD_EPDC_DATA08__GPIO2_IO8 0x00000004
MX7D_PAD_EPDC_DATA09__UART6_DCE_TX 0x00000004
MX7D_PAD_EPDC_DATA09__UART6_DCE_TX 0x00000079
>;
};
pinctrl_one_wire_uart6_rx: one_wire_uart6_rx_grp {
fsl,pins = <
MX7D_PAD_EPDC_DATA08__UART6_DCE_RX 0x00000004
MX7D_PAD_EPDC_DATA08__UART6_DCE_RX 0x00000079
MX7D_PAD_EPDC_DATA09__GPIO2_IO9 0x00000004
>;
};