Дерево устройств OrangePi Zero2


  clocks   |   soc@03000000   |   aliases   |   chosen   |   firmware   |   cpus   |   opp_l_table   |   psci   |   n_brom   |   s_brom   |   sram_ctrl   |   sram_a1   |   sram_a2   |   prcm   |   s_cpuscfg   |   ion   |   dram   |   memory@40000000   |   interrupt-controller@03020000   |   interrupt-controller@0   |   intc-nmi@07010320   |   sunxi-sid@03006000   |   sunxi-sid-ng@03006000   |   sunxi-chipid@03006200   |   timer_arch   |   pmu   |   dramfreq   |   uboot   |   iommu@030f0000   |   gpu@0x01800000   |   box_start_os0   |   __symbols__   |     Все узлы

Путь узла: / soc@03000000 / spi@05010000
Свойства (17):

1) #address-cells 1

2) #size-cells 0

3) clock-frequency 0x05f5e100
100000000 = 100 МГц ( 0, 1 ГГц )

4) clocks 0x00000002 0x0000007d

hex=0x00000002 | dec=2 | bin=10

hex=0x0000007d | dec=125 | bin=1111101


5) compatible allwinner, sun50i-spi

6) device_type spi0

7) interrupts 0x00000000 0x0000000c 0x00000004

hex=0x0000000c | dec=12 | bin=1100

hex=0x00000004 | dec=4 | bin=100


8) linux,phandle 0x00000142

hex=0x00000142 | dec=322 | bin=101000010


9) phandle 0x00000142

hex=0x00000142 | dec=322 | bin=101000010


10) pinctrl-0 0x0000007e 0x0000007f

hex=0x0000007e | dec=126 | bin=1111110

hex=0x0000007f | dec=127 | bin=1111111


11) pinctrl-1 0x00000080

hex=0x00000080 | dec=128 | bin=10000000


12) pinctrl-names default, sleep

13) reg 0x00000000 0x05010000 0x00000000 0x00001000
adr = 0x05010000 size = 0x1000 - 4096 (4 K)

14) spi0_cs_bitmap 0x00000001

hex=0x00000001 | dec=1 | bin=1


15) spi0_cs_number 0x00000001

hex=0x00000001 | dec=1 | bin=1


16) spi_slave_mode 0x00000000


17) status okay




Рейтинг@Mail.ru