User Tools

Site Tools

Translations of this page?:

en:odroid-xu4

This is an old revision of the document!


Jednodeskový ARM počítač ODROID-XU4

Periferie

SPI

sudo apt-get install device-tree-compiler
sudo -s
fdtput -t x /media/boot/exynos5422-odroidxu3.dtb /spi@12d30000 samsung,spi-src-clk 0
fdtput -t x /media/boot/exynos5422-odroidxu3.dtb /spi@12d30000 num-cs 0
fdtput -c /media/boot/exynos5422-odroidxu3.dtb /spi@12d30000/spidev
fdtput -t s /media/boot/exynos5422-odroidxu3.dtb /spi@12d30000/spidev compatible "spidev"
fdtput -t x /media/boot/exynos5422-odroidxu3.dtb /spi@12d30000/spidev reg 0
fdtput -t i /media/boot/exynos5422-odroidxu3.dtb /spi@12d30000/spidev spi-max-frequency 20000000
fdtput -c /media/boot/exynos5422-odroidxu3.dtb /spi@12d30000/spidev/controller-data
fdtput -t x /media/boot/exynos5422-odroidxu3.dtb /spi@12d30000/spidev/controller-data cs-gpio 0x46, 0x5, 0x0
fdtput -t x /media/boot/exynos5422-odroidxu3.dtb /spi@12d30000/spidev/controller-data samsung,spi-feedback-delay 0

source

en/odroid-xu4.1458821469.txt.gz · Last modified: 2016/03/24 13:11 (external edit)