Commit 06d5afb 1 parent 6e25165 commit 06d5afb Copy full SHA for 06d5afb
File tree 5 files changed +19
-19
lines changed
5 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
* Copyright (C) 2020 Deepak Khatri <
[email protected] >
3
3
*
4
- * Virtual cape for /bone/uart/1
4
+ * Virtual cape for /dev/ bone/uart/1
5
5
*
6
6
* This program is free software; you can redistribute it and/or modify
7
7
* it under the terms of the GNU General Public License version 2 as
21
21
};
22
22
23
23
/*
24
- * Free up the pins used by the cape from the pinmux helpers .
24
+ * Update the default pinmux of the pins .
25
25
*/
26
26
&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*/
29
29
};
30
30
31
31
&bone_uart_1 {
Original file line number Diff line number Diff line change 1
1
/*
2
2
* Copyright (C) 2020 Deepak Khatri <
[email protected] >
3
3
*
4
- * Virtual cape for /bone/uart/2
4
+ * Virtual cape for /dev/ bone/uart/2
5
5
*
6
6
* This program is free software; you can redistribute it and/or modify
7
7
* it under the terms of the GNU General Public License version 2 as
21
21
};
22
22
23
23
/*
24
- * Free up the pins used by the cape from the pinmux helpers .
24
+ * Update the default pinmux of the pins .
25
25
*/
26
26
&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*/
29
29
};
30
30
31
31
&bone_uart_2 {
Original file line number Diff line number Diff line change 1
1
/*
2
2
* Copyright (C) 2020 Deepak Khatri <
[email protected] >
3
3
*
4
- * Virtual cape for /bone/uart/3 (only on BBB)
4
+ * Virtual cape for /dev/ bone/uart/3 (only on BBB)
5
5
*
6
6
* This program is free software; you can redistribute it and/or modify
7
7
* it under the terms of the GNU General Public License version 2 as
21
21
};
22
22
23
23
/*
24
- * Free up the pins used by the cape from the pinmux helpers .
24
+ * Update the default pinmux of the pins .
25
25
*/
26
26
&ocp {
27
- P9_42_pinmux { status = "disabled" ; };
27
+ P9_42_pinmux { pinctrl-0 = <&P9_42_uart_pin> ; }; /*UART TX*/
28
28
};
29
29
30
30
&bone_uart_3 {
Original file line number Diff line number Diff line change 1
1
/*
2
2
* Copyright (C) 2020 Deepak Khatri <
[email protected] >
3
3
*
4
- * Virtual cape for /bone/uart/4
4
+ * Virtual cape for /dev/ bone/uart/4
5
5
*
6
6
* This program is free software; you can redistribute it and/or modify
7
7
* it under the terms of the GNU General Public License version 2 as
21
21
};
22
22
23
23
/*
24
- * Free up the pins used by the cape from the pinmux helpers .
24
+ * Update the default pinmux of the pins .
25
25
*/
26
26
&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*/
29
29
};
30
30
31
31
&bone_uart_4 {
Original file line number Diff line number Diff line change 1
1
/*
2
2
* Copyright (C) 2020 Deepak Khatri <
[email protected] >
3
3
*
4
- * Virtual cape for /bone/uart/5
4
+ * Virtual cape for /dev/ bone/uart/5
5
5
*
6
6
* This program is free software; you can redistribute it and/or modify
7
7
* it under the terms of the GNU General Public License version 2 as
21
21
};
22
22
23
23
/*
24
- * Free up the pins used by the cape from the pinmux helpers .
24
+ * Update the default pinmux of the pins .
25
25
*/
26
26
&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*/
29
29
};
30
30
31
31
&bone_uart_5 {
You can’t perform that action at this time.
0 commit comments