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 15:01] – [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:// | ||
| - | < | + | |
| + | ==== 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 ==== | ||
| + | < | ||
| /dts-v1/; | /dts-v1/; | ||
| /plugin/; | /plugin/; | ||
| Line 10: | Line 18: | ||
| compatible = " | compatible = " | ||
| - | fragment@0 { | + | fragment@1 { |
| - | target-path = "/" | + | target = <& |
| __overlay__ { | __overlay__ { | ||
| - | pps_gpio: pps-gpio | + | rtc@52 |
| - | compatible = "pps-gpio"; | + | compatible = "microcrystal, |
| - | interrupt-parent | + | reg = <0x51>; |
| - | interrupts = <98 1>; | + | |
| - | assert-rising-edge; | + | |
| - | status = " | + | |
| }; | }; | ||
| }; | }; | ||
| Line 24: | Line 30: | ||
| }; | }; | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ==== PPS Pin 7 ==== | ||
| + | |||
| + | <file c pps_pin7.dts> | ||
| + | /dts-v1/; | ||
| + | /plugin/; | ||
| + | |||
| + | / { | ||
| + | compatible = " | ||
| + | |||
| + | fragment@0 { | ||
| + | target-path = "/"; | ||
| + | __overlay__ { | ||
| + | pps_gpio: pps-gpio { | ||
| + | compatible = " | ||
| + | gpios = <& | ||
| + | interrupt-parent = <& | ||
| + | interrupts = <98 1>; | ||
| + | assert-rising-edge; | ||
| + | status = " | ||
| + | }; | ||
| + | }; | ||
| + | }; | ||
| + | }; | ||
| + | </ | ||
| + | |||
| + | ==== Build & Merge ==== | ||
| + | |||
| + | < | ||
| + | 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: | ||
| + | < | ||
| + | / | ||
| + | |||
| + | merge: | ||
| + | < | ||
| + | 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.1698937306.txt.gz · Last modified: (external edit)
