Skip to content

Commit f65c52c

Browse files
Phil Elwellpopcornmix
Phil Elwell
authored andcommitted
overlays: Remove hack from uart0 overlay
The uart0 overlay contained a hack to return GPIOs 14 and 15 to inputs when the UART0 function was moved to alternative pins. This has the unwanted side effect of claiming GPIOs 14 & 15, preventing them being used for something else. See: #2856 https://www.raspberrypi.org/forums/viewtopic.php?f=98&t=252911 Signed-off-by: Stefan Enge <[email protected]> Signed-off-by: Phil Elwell <[email protected]>
1 parent 15df39b commit f65c52c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

arch/arm/boot/dts/overlays/uart0-overlay.dts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,16 @@
1717
target = <&gpio>;
1818
__overlay__ {
1919
uart0_pins: uart0_pins {
20-
brcm,pins = <14 15 14 15>;
21-
brcm,function = <0 0 4 4>; /* alt0 */
22-
brcm,pull = <0 0 0 2>;
20+
brcm,pins = <14 15>;
21+
brcm,function = <4>; /* alt0 */
22+
brcm,pull = <0 2>;
2323
};
2424
};
2525
};
2626

2727
__overrides__ {
28-
txd0_pin = <&uart0_pins>,"brcm,pins:8";
29-
rxd0_pin = <&uart0_pins>,"brcm,pins:12";
30-
pin_func = <&uart0_pins>,"brcm,function:8",
31-
<&uart0_pins>,"brcm,function:12";
28+
txd0_pin = <&uart0_pins>,"brcm,pins:0";
29+
rxd0_pin = <&uart0_pins>,"brcm,pins:4";
30+
pin_func = <&uart0_pins>,"brcm,function:0";
3231
};
3332
};

0 commit comments

Comments
 (0)