forked from RobertCNelson/bb.org-overlays
-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e25165
commit 06d5afb
Showing
5 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
* Copyright (C) 2020 Deepak Khatri <[email protected]> | ||
* | ||
* Virtual cape for /bone/uart/1 | ||
* Virtual cape for /dev/bone/uart/1 | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
|
@@ -21,11 +21,11 @@ | |
}; | ||
|
||
/* | ||
* Free up the pins used by the cape from the pinmux helpers. | ||
* Update the default pinmux of the pins. | ||
*/ | ||
&ocp { | ||
P9_24_pinmux { status = "disabled"; }; | ||
P9_26_pinmux { status = "disabled"; }; | ||
P9_24_pinmux { pinctrl-0 = <&P9_24_uart_pin>; }; /* UART TX*/ | ||
P9_26_pinmux { pinctrl-0 = <&P9_26_uart_pin>; }; /* UART RX*/ | ||
}; | ||
|
||
&bone_uart_1 { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
* Copyright (C) 2020 Deepak Khatri <[email protected]> | ||
* | ||
* Virtual cape for /bone/uart/2 | ||
* Virtual cape for /dev/bone/uart/2 | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
|
@@ -21,11 +21,11 @@ | |
}; | ||
|
||
/* | ||
* Free up the pins used by the cape from the pinmux helpers. | ||
* Update the default pinmux of the pins. | ||
*/ | ||
&ocp { | ||
P9_21_pinmux { status = "disabled"; }; | ||
P9_22_pinmux { status = "disabled"; }; | ||
P9_21_pinmux { pinctrl-0 = <&P9_21_uart_pin>; }; /* UART TX*/ | ||
P9_22_pinmux { pinctrl-0 = <&P9_22_uart_pin>; }; /* UART RX*/ | ||
}; | ||
|
||
&bone_uart_2 { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
* Copyright (C) 2020 Deepak Khatri <[email protected]> | ||
* | ||
* Virtual cape for /bone/uart/3 (only on BBB) | ||
* Virtual cape for /dev/bone/uart/3 (only on BBB) | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
|
@@ -21,10 +21,10 @@ | |
}; | ||
|
||
/* | ||
* Free up the pins used by the cape from the pinmux helpers. | ||
* Update the default pinmux of the pins. | ||
*/ | ||
&ocp { | ||
P9_42_pinmux { status = "disabled"; }; | ||
P9_42_pinmux { pinctrl-0 = <&P9_42_uart_pin>; }; /*UART TX*/ | ||
}; | ||
|
||
&bone_uart_3 { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
* Copyright (C) 2020 Deepak Khatri <[email protected]> | ||
* | ||
* Virtual cape for /bone/uart/4 | ||
* Virtual cape for /dev/bone/uart/4 | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
|
@@ -21,11 +21,11 @@ | |
}; | ||
|
||
/* | ||
* Free up the pins used by the cape from the pinmux helpers. | ||
* Update the default pinmux of the pins. | ||
*/ | ||
&ocp { | ||
P9_13_pinmux { status = "disabled"; }; | ||
P9_11_pinmux { status = "disabled"; }; | ||
P9_13_pinmux { pinctrl-0 = <&P9_13_uart_pin>; }; /* UART TX*/ | ||
P9_11_pinmux { pinctrl-0 = <&P9_11_uart_pin>; }; /* UART RX*/ | ||
}; | ||
|
||
&bone_uart_4 { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
* Copyright (C) 2020 Deepak Khatri <[email protected]> | ||
* | ||
* Virtual cape for /bone/uart/5 | ||
* Virtual cape for /dev/bone/uart/5 | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
|
@@ -21,11 +21,11 @@ | |
}; | ||
|
||
/* | ||
* Free up the pins used by the cape from the pinmux helpers. | ||
* Update the default pinmux of the pins. | ||
*/ | ||
&ocp { | ||
P9_37_pinmux { status = "disabled"; }; | ||
P9_38_pinmux { status = "disabled"; }; | ||
P9_37_pinmux { pinctrl-0 = <&P9_37_uart_pin>; }; /* UART TX*/ | ||
P9_38_pinmux { pinctrl-0 = <&P9_38_uart_pin>; }; /* UART RX*/ | ||
}; | ||
|
||
&bone_uart_5 { | ||
|