Skip to content

Commit 06d5afb

Browse files
committed
Update bone bus UART DT overlays
1 parent 6e25165 commit 06d5afb

5 files changed

+19
-19
lines changed

src/arm/BONE-UART1-00A0.dts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright (C) 2020 Deepak Khatri <[email protected]>
33
*
4-
* Virtual cape for /bone/uart/1
4+
* Virtual cape for /dev/bone/uart/1
55
*
66
* This program is free software; you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License version 2 as
@@ -21,11 +21,11 @@
2121
};
2222

2323
/*
24-
* Free up the pins used by the cape from the pinmux helpers.
24+
* Update the default pinmux of the pins.
2525
*/
2626
&ocp {
27-
P9_24_pinmux { status = "disabled"; };
28-
P9_26_pinmux { status = "disabled"; };
27+
P9_24_pinmux { pinctrl-0 = <&P9_24_uart_pin>; }; /* UART TX*/
28+
P9_26_pinmux { pinctrl-0 = <&P9_26_uart_pin>; }; /* UART RX*/
2929
};
3030

3131
&bone_uart_1 {

src/arm/BONE-UART2-00A0.dts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright (C) 2020 Deepak Khatri <[email protected]>
33
*
4-
* Virtual cape for /bone/uart/2
4+
* Virtual cape for /dev/bone/uart/2
55
*
66
* This program is free software; you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License version 2 as
@@ -21,11 +21,11 @@
2121
};
2222

2323
/*
24-
* Free up the pins used by the cape from the pinmux helpers.
24+
* Update the default pinmux of the pins.
2525
*/
2626
&ocp {
27-
P9_21_pinmux { status = "disabled"; };
28-
P9_22_pinmux { status = "disabled"; };
27+
P9_21_pinmux { pinctrl-0 = <&P9_21_uart_pin>; }; /* UART TX*/
28+
P9_22_pinmux { pinctrl-0 = <&P9_22_uart_pin>; }; /* UART RX*/
2929
};
3030

3131
&bone_uart_2 {

src/arm/BONE-UART3-00A0.dts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright (C) 2020 Deepak Khatri <[email protected]>
33
*
4-
* Virtual cape for /bone/uart/3 (only on BBB)
4+
* Virtual cape for /dev/bone/uart/3 (only on BBB)
55
*
66
* This program is free software; you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License version 2 as
@@ -21,10 +21,10 @@
2121
};
2222

2323
/*
24-
* Free up the pins used by the cape from the pinmux helpers.
24+
* Update the default pinmux of the pins.
2525
*/
2626
&ocp {
27-
P9_42_pinmux { status = "disabled"; };
27+
P9_42_pinmux { pinctrl-0 = <&P9_42_uart_pin>; }; /*UART TX*/
2828
};
2929

3030
&bone_uart_3 {

src/arm/BONE-UART4-00A0.dts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright (C) 2020 Deepak Khatri <[email protected]>
33
*
4-
* Virtual cape for /bone/uart/4
4+
* Virtual cape for /dev/bone/uart/4
55
*
66
* This program is free software; you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License version 2 as
@@ -21,11 +21,11 @@
2121
};
2222

2323
/*
24-
* Free up the pins used by the cape from the pinmux helpers.
24+
* Update the default pinmux of the pins.
2525
*/
2626
&ocp {
27-
P9_13_pinmux { status = "disabled"; };
28-
P9_11_pinmux { status = "disabled"; };
27+
P9_13_pinmux { pinctrl-0 = <&P9_13_uart_pin>; }; /* UART TX*/
28+
P9_11_pinmux { pinctrl-0 = <&P9_11_uart_pin>; }; /* UART RX*/
2929
};
3030

3131
&bone_uart_4 {

src/arm/BONE-UART5-00A0.dts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright (C) 2020 Deepak Khatri <[email protected]>
33
*
4-
* Virtual cape for /bone/uart/5
4+
* Virtual cape for /dev/bone/uart/5
55
*
66
* This program is free software; you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License version 2 as
@@ -21,11 +21,11 @@
2121
};
2222

2323
/*
24-
* Free up the pins used by the cape from the pinmux helpers.
24+
* Update the default pinmux of the pins.
2525
*/
2626
&ocp {
27-
P9_37_pinmux { status = "disabled"; };
28-
P9_38_pinmux { status = "disabled"; };
27+
P9_37_pinmux { pinctrl-0 = <&P9_37_uart_pin>; }; /* UART TX*/
28+
P9_38_pinmux { pinctrl-0 = <&P9_38_uart_pin>; }; /* UART RX*/
2929
};
3030

3131
&bone_uart_5 {

0 commit comments

Comments
 (0)