Skip to content

Commit

Permalink
recomputer:A dd rts-gpio configuration for rs485
Browse files Browse the repository at this point in the history
  • Loading branch information
is-qian committed Mar 26, 2024
1 parent be2b8ea commit 481a410
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions overlays/rpi/reComputer-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -88,33 +88,33 @@
fragment@5 {
target = <&uart2>;
__overlay__ {
label = "RS485_1";
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;
// rts-gpios = <&gpio 6 1>;
status = "okay";
label = "RS485_1";
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;
rts-gpio = <&gpio 6 1>;
status = "okay";
};
};

fragment@6 {
target = <&uart3>;
__overlay__ {
label = "RS485_2";
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins>;
// rts-gpios = <&gpio 17 1>;
status = "okay";
label = "RS485_2";
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins>;
rts-gpio = <&gpio 17 1>;
status = "okay";
};
};

fragment@7 {
target = <&uart5>;
__overlay__ {
label = "RS485_3";
pinctrl-names = "default";
pinctrl-0 = <&uart5_pins>;
// rts-gpios = <&gpio 24 1>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart5_pins>;
rts-gpio = <&gpio 24 1>;
status = "okay";
};
};

Expand Down

0 comments on commit 481a410

Please sign in to comment.