Дерево устройств 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@05011000
Свойства (17):

1) #address-cells 1

2) #size-cells 0

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

4) clocks 0x00000002 0x00000081

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

hex=0x00000081 | dec=129 | bin=10000001


5) compatible allwinner, sun50i-spi

6) device_type spi1

7) interrupts 0x00000000 0x0000000d 0x00000004

hex=0x0000000d | dec=13 | bin=1101

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


8) linux,phandle 0x00000143

hex=0x00000143 | dec=323 | bin=101000011


9) phandle 0x00000143

hex=0x00000143 | dec=323 | bin=101000011


10) pinctrl-0 0x00000082 0x00000083

hex=0x00000082 | dec=130 | bin=10000010

hex=0x00000083 | dec=131 | bin=10000011


11) pinctrl-1 0x00000084

hex=0x00000084 | dec=132 | bin=10000100


12) pinctrl-names default, sleep

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

14) spi1_cs_bitmap 0x00000002

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


15) spi1_cs_number 0x00000002

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


16) spi_slave_mode 0x00000000


17) status okay