-
Notifications
You must be signed in to change notification settings - Fork 615
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
Rockpi S #1110
Open
ChangPaul
wants to merge
6
commits into
eclipse:master
Choose a base branch
from
ChangPaul:rockpi
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Rockpi S #1110
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
42ad029
rockpis: Modified rockpi4 to be compatible with Rock Pi S
ChangPaul b6ebc76
rockpi: Renamed rockpi4 to rockpi (since S is now also supported)
ChangPaul 58a1544
rockpi: Added documentation and java support
ChangPaul b1d7e0e
rockpi: fixed type constants in api
ChangPaul b48c54b
Merge branch 'master' into rockpi
ChangPaul fc9c7d9
Merge branch 'master' into rockpi
ChangPaul File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
Rock Pi S Single Board Computer {#_rockpi} | ||
============================= | ||
|
||
ROCK Pi S is a Rockchip RK3308 based SBC(Single Board Computer) by Radxa. It equips a 64bits quad core processor, USB, ethernet, wireless connectivity and voice detection engine at the size of 1.7 inch, make it perfect for IoT and voice applications. ROCK Pi S comes in two ram sizes 256MB or 512MB DDR3, and uses uSD card for OS and storage. Optionally, ROCK Pi S can provide on board storage version with 1Gb/2Gb/4Gb/8Gb NAND flash. | ||
|
||
ROCK Pi S board comes with different versions. When you get the board, you need to know the hardware version like 'ROCK PI S V12', which is printed in the top side of the board. | ||
|
||
Board Support | ||
------------- | ||
|
||
- [ROCK Pi S](https://wiki.radxa.com/RockpiS) | ||
|
||
Interface notes | ||
--------------- | ||
|
||
- **UART**: ttyS0, ttyS2, and ttyS4 | ||
- UART0 is enabled as U-boot and Linux serial console by default. Check RockpiS/dev/serial-console to use. Check /Device-tree-overlays to disable serial console on UART0. | ||
- Function marked with color orange is the default function of this pin. | ||
- Except Pins for power supply, all pins are laid out directly to Soc RK3308. | ||
- RK3308 have two IO voltages, 1.8V/3.3V. For ROCK Pi S, the voltage level of GPIOs showed in the tables above are 3.3V and tolerance of those are 3.63V. For hardware V11 and V12, an ADC input is included (ADC_IN0). This ADC has an input voltage range of 0-1.8V. | ||
- The pins, PIN#2 and PIN#4, can supply power of 5V. The maximum current that can output depends on the power adapter. | ||
- The pins, PIN#1 and PIN#17, can supply power of 3.3V. The maximum current that can output is 200mA. | ||
|
||
Pin Mapping | ||
----------- | ||
|
||
ROCK Pi 4 has two 26-pin expansion headers. Each pin is distinguished by color. | ||
The function of each pin depends on the board version. The common functions between boards V11 to V13 on header 1 are shown below. GPIO names vary between board versions (V13 names are used below)), see /RockpiS/hardware/gpio. | ||
|
||
| Additional FunctionS | Primary Function| PIN | PIN | Primary Function | Additional Functions | | ||
|----------------------|------------------|:------|------:|--------------------|----------------------| | ||
| | | +3.3V | 1 | 2 | +5.0V | | | | ||
| | | I2C1_SDA | 3 | 4 | +5.0V | | | | ||
| | | I2C1_SCL | 5 | 6 | GND | | | | ||
| | | GPIO2_A4 | 7 | 8 | UART0_TXD | | | | ||
| | | GND | 9 | 10 | UART0_RXD | | | | ||
| | | PWM2 | 11 | 12 | GPIO2_A5 | | | | ||
| | | PWM3 | 13 | 14 | GND | | | | ||
| | | GPIO0_C1 | 15 | 16 | GPIO2_B2 | | | | ||
| | | +3.3V | 17 | 18 | GPIO2_B1 | | | | ||
| | UART2_TXD | SPI2_TXD | 19 | 20 | GND | | | | ||
| | UART2_RXD | SPI2_RXD | 21 | 22 | GPIO2_A7 | | | | ||
| I2C0_SDA | UART1_RXD | SPI2_CLK | 23 | 24 | SPI2_CSn | UART1_TXD | I2C0_SCL | | ||
| | | GND | 25 | 26 | ADC_IN0 | | | | ||
|
||
Resources | ||
--------- | ||
|
||
The following links will take you to additional Rock Pi S resources | ||
|
||
- [Armbian for Rock Pi S](https://www.armbian.com/rockpi-s/) | ||
- [Forums](https://forum.radxa.com/c/rockpiS) | ||
- [Github Repo](https://github.com/radxa) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest AGAINST changing existing constant's value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, Please dont ever change these constants. There might be downstream code that depends on it.