Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bone uart #180

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
27 changes: 27 additions & 0 deletions src/arm/BONE-UART1-00A0.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These filenames don't match the specification in the wiki: https://elinux.org/Beagleboard:BeagleBone_cape_interface_spec#.2Fdev.2Fbone.2Fuart.2F1

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't want to touch those as they are not interfering with these, people might want to use those. I was thinking of updating the links after the merge, else they will show 404 not found. Also, I am working on the tutorial/usage of these overlays :)

* Copyright (C) 2020 Deepak Khatri <[email protected]>
*
* Virtual cape for /bone/uart/1
jadonk marked this conversation as resolved.
Show resolved Hide resolved
*
* 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
* published by the Free Software Foundation.
*/

/dts-v1/;
/plugin/;

&{/chosen} {
overlays {
BONE-UART1-00A0 = __TIMESTAMP__;
};
};

&ocp {
P9_24_pinmux { status = "disabled"; };
P9_26_pinmux { status = "disabled"; };
};

&bone_uart_1 {
status = "okay";
lorforlinux marked this conversation as resolved.
Show resolved Hide resolved
};
27 changes: 27 additions & 0 deletions src/arm/BONE-UART2-00A0.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Copyright (C) 2020 Deepak Khatri <[email protected]>
*
* Virtual cape for /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
* published by the Free Software Foundation.
*/

/dts-v1/;
/plugin/;

&{/chosen} {
overlays {
BONE-UART2-00A0 = __TIMESTAMP__;
};
};

&ocp {
P9_21_pinmux { status = "disabled"; };
P9_22_pinmux { status = "disabled"; };
};

&bone_uart_2 {
status = "okay";
};
26 changes: 26 additions & 0 deletions src/arm/BONE-UART3-00A0.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Copyright (C) 2020 Deepak Khatri <[email protected]>
*
* Virtual cape for /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
* published by the Free Software Foundation.
*/

/dts-v1/;
/plugin/;

&{/chosen} {
overlays {
BONE-UART3-00A0 = __TIMESTAMP__;
};
};

&ocp {
P9_42_pinmux { status = "disabled"; };
};

&bone_uart_3 {
status = "okay";
jadonk marked this conversation as resolved.
Show resolved Hide resolved
};
27 changes: 27 additions & 0 deletions src/arm/BONE-UART4-00A0.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Copyright (C) 2020 Deepak Khatri <[email protected]>
*
* Virtual cape for /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
* published by the Free Software Foundation.
*/

/dts-v1/;
/plugin/;

&{/chosen} {
overlays {
BONE-UART4-00A0 = __TIMESTAMP__;
};
};

&ocp {
P9_13_pinmux { status = "disabled"; };
P9_11_pinmux { status = "disabled"; };
};

&bone_uart_4 {
status = "okay";
};
27 changes: 27 additions & 0 deletions src/arm/BONE-UART5-00A0.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Copyright (C) 2020 Deepak Khatri <[email protected]>
*
* Virtual cape for /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
* published by the Free Software Foundation.
*/

/dts-v1/;
/plugin/;

&{/chosen} {
overlays {
BONE-UART5-00A0 = __TIMESTAMP__;
};
};

&ocp {
P9_37_pinmux { status = "disabled"; };
P9_38_pinmux { status = "disabled"; };
};

&bone_uart_5 {
status = "okay";
lorforlinux marked this conversation as resolved.
Show resolved Hide resolved
};