Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mOsso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
mOsso
Commits
5b740209
Commit
5b740209
authored
Sep 11, 2016
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update devicetree
parent
053e09e7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
80 additions
and
12 deletions
+80
-12
README.md
README.md
+2
-1
MOSSO_BASE-00A0-v1.0.dts
devicetree/MOSSO_BASE-00A0-v1.0.dts
+3
-10
MOSSO_BASE-00A0-v1.0.hdmi.dts
devicetree/MOSSO_BASE-00A0-v1.0.hdmi.dts
+1
-1
MOSSO_BASE-00A0-v1.1.dts
devicetree/MOSSO_BASE-00A0-v1.1.dts
+74
-0
No files found.
README.md
View file @
5b740209
...
...
@@ -10,10 +10,11 @@ from usb or power connector on the beaglebone! )
Test Debian GNU/Linux install available: take a look at
https://git.nexlab.net/nexlab/Osso/wikis/Osso-Test-Installation
Devicetree file available i
n the devicetree directory,
[
mossotest.py
](
mossotest.py
)
script for python libraries
[
Devicetree files
](
devicetree/
)
available
n the devicetree directory,
[
mossotest.py
](
mossotest.py
)
script for python libraries
from https://github.com/adafruit/adafruit-beaglebone-io-python
Instruction on how to
[
enable devicetree here
](
https://git.nexlab.net/nexlab/mOsso/wikis/EnableDeviceTree
)
Please, take care that there are 2 different versions of the board ( 1.0 and 1.1 )
For more infos:
http://www.nexlab.net/
...
...
devicetree/MOSSO_BASE-00A0-v1.dts
→
devicetree/MOSSO_BASE-00A0-v1.
0.
dts
View file @
5b740209
...
...
@@ -5,7 +5,8 @@
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* compiling with /usr/local/bin/dtc -O dtb -o OSSO_BASE-00A0.dtbo -b 0 -@ OSSO_BASE-00A0.dts
* compiling with /usr/local/bin/dtc -O dtb -o MOSSO_BASE-00A0-v1.0.dtbo -b 0 -@ MOSSO_BASE-00A0-v1.0.dts
*
*/
/dts-v1/;
/plugin/;
...
...
@@ -49,19 +50,11 @@
0x028 0x37 /* INPUT MODE7 pullup */
0x034 0x37 /* INPUT MODE7 pullup */
0x03c 0x37 /* INPUT MODE7 pullup */
0x038 0x37 /* INPUT MODE7 pullup */
0x02c 0x37 /* INPUT MODE7 pullup */
0x08c 0x37 /* INPUT MODE7 pullup */
0x07c 0x37 /* INPUT MODE7 pullup */
0x078 0x07 /* OUTPUT MODE7, pulldown */
0x090 0x07 /* OUTPUT MODE7, pulldown */
0x040 0x07 /* OUTPUT MODE7, pulldown */
0x044 0x07 /* OUTPUT MODE7, pulldown */
0x09c 0x07 /* OUTPUT MODE7, pulldown */
0x1a4 0x07 /* OUTPUT MODE7, pulldown */
0x1b4 0x07 /* OUTPUT MODE7, pulldown */
0x164 0x07 /* OUTPUT MODE7, pulldown */
0x0e8 0x07 /* OUTPUT MODE7, pulldown */
0x0e8 0x07 /* OUTPUT MODE7, pulldown, rs485 ENA */
>;
};
};
...
...
devicetree/MOSSO_BASE-00A0-v
2
.dts
→
devicetree/MOSSO_BASE-00A0-v
1.0.hdmi
.dts
View file @
5b740209
...
...
@@ -5,7 +5,7 @@
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* compiling with /usr/local/bin/dtc -O dtb -o
OSSO_BASE-00A0.dtbo -b 0 -@ OSSO_BASE-00A0
.dts
* compiling with /usr/local/bin/dtc -O dtb -o
MOSSO_BASE-00A0-v1.1.dtbo -b 0 -@ MOSSO_BASE-00A0-v1.1
.dts
*/
/dts-v1/;
/plugin/;
...
...
devicetree/MOSSO_BASE-00A0-v1.1.dts
0 → 100644
View file @
5b740209
/* Copyright (c) 2013-2014 Unixmedia S.r.l. <info@unixmedia.it>
* Copyright (c) 2013-2014 Franco (nextime) Lanza <franco@unixmedia.it>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* compiling with /usr/local/bin/dtc -O dtb -o MOSSO_BASE-00A0-v1.1.dtbo -b 0 -@ MOSSO_BASE-00A0-v1.1.dts
*/
/dts-v1/;
/plugin/;
/ {
/* Identification */
compatible = "ti,beaglebone", "ti,beaglebone-black";
part-number = "MOSSO_BASE";
board-name = "mOsso";
manufacturer = "Nexlab";
version = "00A0";
/* BB Black uses (so, we cannot):
* P8 3-6, 20-25, 27-46
* P9 28,29,31
*/
/* pins needed by the cape */
exclusive-use =
"P8.12", /* Digital input 4 */
"P8.14", /* Digital input 3 */
"P8.11", /* Digital input 2 */
"P8.15", /* Digital input 1 */
"P9.12", /* Relay 1 */
"P9.15", /* Relay 2 */
"P9.23", /* Relay 3 */
"P8.9", /* Relay 4 */
"P8.26", /* RS485 ENA */
/* References:
https://github.com/derekmolloy/boneDeviceTree/blob/master/docs/BeagleboneBlackP8HeaderTable.pdf
https://github.com/derekmolloy/boneDeviceTree/blob/master/docs/BeagleboneBlackP9HeaderTable.pdf
*/
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
osso_base_pins: pinmux_osso_base_pins {
pinctrl-single,pins = <
0x030 0x37 /* INPUT MODE7 pullup IN 1 */
0x028 0x37 /* INPUT MODE7 pullup IN 2 */
0x034 0x37 /* INPUT MODE7 pullup IN 3 */
0x03c 0x37 /* INPUT MODE7 pullup IN 4 */
0x07c 0x07 /* OUTPUT MODE7 pulldown, RS485 ENA */
0x078 0x07 /* OUTPUT MODE7, pulldown REL 1 */
0x090 0x07 /* OUTPUT MODE7, pulldown REL 2 */
0x040 0x07 /* OUTPUT MODE7, pulldown REL 3 */
0x044 0x07 /* OUTPUT MODE7, pulldown REL 4 */
>;
};
};
};
fragment@1 {
target = <&ocp>;
__overlay__ {
test_helper: helper {
compatible = "bone-pinmux-helper";
pinctrl-names = "default";
pinctrl-0 = <&osso_base_pins>;
status = "okay";
};
};
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment