aml-s905x-cc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
aml-s905x-cc [2023/11/02 18:07] – [PPS] 69.53.43.57 | aml-s905x-cc [2024/11/14 02:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Libre Computer Le Potato AML-S905X-CC ====== | ====== Libre Computer Le Potato AML-S905X-CC ====== | ||
+ | Pretty much everything here should apply to the v2, as well. | ||
- | ===== PPS ===== | + | Pinout: |
+ | https:// | ||
- | <file c pps_pin13.dts> | + | |
+ | ==== TimePotato ==== | ||
+ | Pretty much everything here is standard, the main difference is loading the overlays for UART, RTC, and PPS. RTC and PPS must be manually compiled. | ||
+ | |||
+ | |||
+ | ==== RV-3032-C7 ==== | ||
+ | <file c i2c-ao-rv3032.dts> | ||
/dts-v1/; | /dts-v1/; | ||
/plugin/; | /plugin/; | ||
- | + | ||
+ | / { | ||
+ | compatible = " | ||
+ | |||
+ | fragment@1 { | ||
+ | target = <& | ||
+ | |||
+ | __overlay__ { | ||
+ | rtc@52 { | ||
+ | compatible = " | ||
+ | reg = < | ||
+ | }; | ||
+ | }; | ||
+ | }; | ||
+ | }; | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== PPS Pin 7 ==== | ||
+ | |||
+ | <file c pps_pin7.dts> | ||
+ | /dts-v1/; | ||
+ | /plugin/; | ||
/ { | / { | ||
compatible = " | compatible = " | ||
- | + | ||
fragment@0 { | fragment@0 { | ||
target-path = "/"; | target-path = "/"; | ||
Line 15: | Line 46: | ||
pps_gpio: pps-gpio { | pps_gpio: pps-gpio { | ||
compatible = " | compatible = " | ||
+ | gpios = <& | ||
interrupt-parent = <& | interrupt-parent = <& | ||
interrupts = <98 1>; | interrupts = <98 1>; | ||
Line 25: | Line 57: | ||
</ | </ | ||
- | build with | + | ==== Build & Merge ==== |
< | < | ||
- | dtc -I dts -O dtb pps_pin13.dts -o pps-pin13.dtbo | + | dtc -I dts -O dtb pps_pin7.dts -o pps-pin7.dtbo ; |
+ | dtc -I dts -O dtb i2c-ao-rv3032.dts -o i2c-ao-rv3032.dtbo | ||
</ | </ | ||
copy: | copy: | ||
- | < | + | < |
+ | / | ||
merge: | merge: | ||
< | < | ||
- | sudo ldto merge pps-pin13 | + | sudo ldto merge i2c-ao ; |
+ | sudo ldto merge uart-a ; | ||
+ | sudo ldto merge i2c-ao-rv3032 ; | ||
+ | sudo ldto merge pps-pin7 ; | ||
+ | sudo reboot | ||
+ | </ | ||
+ | |||
+ | Disable the SW RTC | ||
+ | < | ||
+ | echo " | ||
</ | </ |
aml-s905x-cc.1698948443.txt.gz · Last modified: 2024/11/14 02:30 (external edit)