Mainline kernel wifi 的问题

gpu挺好,跑起来了
蓝牙和hdmi声卡3.5英寸输出也好了
唯一还惦记着的就是wifi还是rfkill搜索不到

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.6.11-00183-gaabff12c5db1-dirty (wwww@deepin) (gcc version 8.3.0 (Debian 8.3.0-6)) #9 SMP Sat May 16 19:06:37 CST 2020
[ 0.000000] Machine model: Radxa ROCK Pi 4
[ 0.000000] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options ‘’)
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] percpu: Embedded 30 pages/cpu s83880 r8192 d30808 u122880
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 999432
[ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 coherent_pool=1m earlyprintk console=ttyS2,1500000n8 rw root=PARTUUID=b921b045-1d rootfstype=ext4 init=/sbin/init rootwait
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x3ffbf000-0x3ffff000] (0MB)
[ 0.000000] Memory: 3959420K/4061184K available (12668K kernel code, 1850K rwdata, 4452K rodata, 1216K init, 541K bss, 101764K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[ 0.000000] ftrace: allocating 49135 entries in 192 pages
[ 0.000000] ftrace: allocated 192 pages with 2 groups
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 256 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[ 0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[ 0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @f2d80000 (flat, esz 8, psz 64K, shr 0)
[ 0.000000] ITS: using cache flushing for cmd queue
[ 0.000000] GICv3: using LPI property table @0x00000000f2d70000
[ 0.000000] GIC: using cache flushing for LPI property table
[ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f2e00000
[ 0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[ 0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[ 0.000000] random: get_random_bytes called from start_kernel+0x310/0x490 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.001771] Console: colour dummy device 80x25
[ 0.002211] Calibrating delay loop (skipped), value calculated using timer frequency… 48.00 BogoMIPS (lpj=96000)
[ 0.003151] pid_max: default: 32768 minimum: 301
[ 0.003736] LSM: Security Framework initializing
[ 0.004176] Yama: becoming mindful.
[ 0.004587] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.005279] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.008233] rcu: Hierarchical SRCU implementation.
[ 0.011156] Platform MSI: interrupt-controller@fee20000 domain created
[ 0.012135] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[ 0.013089] EFI services will not be available.
[ 0.013955] smp: Bringing up secondary CPUs …
[ 0.015082] Detected VIPT I-cache on CPU1
[ 0.015123] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[ 0.015140] GICv3: CPU1: using allocated LPI pending table @0x00000000f2e10000
[ 0.015185] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.015931] Detected VIPT I-cache on CPU2
[ 0.015963] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[ 0.015976] GICv3: CPU2: using allocated LPI pending table @0x00000000f2e20000
[ 0.016006] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.016691] Detected VIPT I-cache on CPU3
[ 0.016721] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[ 0.016733] GICv3: CPU3: using allocated LPI pending table @0x00000000f2e30000
[ 0.016762] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.020246] CPU features: detected: EL2 vector hardening
[ 0.020695] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[ 0.021083] CPU features: detected: ARM erratum 1319367
[ 0.021386] Detected PIPT I-cache on CPU4
[ 0.022901] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[ 0.023476] GICv3: CPU4: using allocated LPI pending table @0x00000000f2e40000
[ 0.024966] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[ 0.035086] Detected PIPT I-cache on CPU5
[ 0.036589] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[ 0.037124] GICv3: CPU5: using allocated LPI pending table @0x00000000f2e50000
[ 0.038431] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[ 0.044845] smp: Brought up 1 node, 6 CPUs
[ 0.058064] SMP: Total of 6 processors activated.
[ 0.058505] CPU features: detected: 32-bit EL0 Support
[ 0.058990] CPU features: detected: CRC32 instructions
[ 0.060834] CPU: All CPU(s) started at EL2
[ 0.061766] alternatives: patching kernel code
[ 0.066697] devtmpfs: initialized
[ 0.167028] Registered cp15_barrier emulation handler
[ 0.169564] Registered setend emulation handler
[ 0.190777] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.194267] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[ 0.212917] xor: measuring software checksum speed
[ 0.253566] 8regs : 40.000 MB/sec
[ 0.293676] 32regs : 47.000 MB/sec
[ 0.333913] arm64_neon: 43.000 MB/sec
[ 0.335154] xor: using function: 32regs (47.000 MB/sec)
[ 0.336872] pinctrl core: initialized pinctrl subsystem
[ 0.362409] thermal_sys: Registered thermal governor ‘fair_share’
[ 0.362626] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.396924] DMI not present or invalid.
[ 0.417436] NET: Registered protocol family 16
[ 0.475040] DMA: preallocated 1024 KiB pool for atomic allocations
[ 0.476974] audit: initializing netlink subsys (disabled)
[ 0.491476] audit: type=2000 audit(0.484:1): state=initialized audit_enabled=0 res=1
[ 0.557761] cpuidle: using governor ladder
[ 0.570280] cpuidle: using governor menu
[ 0.589553] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.598692] ASID allocator initialised with 65536 entries
[ 3.122610] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 3.125796] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 3.127682] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 3.130078] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 3.217956] cryptd: max_cpu_qlen set to 1000
[ 3.518549] raid6: neonx8 gen() 29 MB/s
[ 3.586924] raid6: neonx8 xor() 21 MB/s
[ 3.655488] raid6: neonx4 gen() 31 MB/s
[ 3.723498] raid6: neonx4 xor() 22 MB/s
[ 3.792110] raid6: neonx2 gen() 27 MB/s
[ 3.860302] raid6: neonx2 xor() 21 MB/s
[ 3.929194] raid6: neonx1 gen() 21 MB/s
[ 3.997551] raid6: neonx1 xor() 17 MB/s
[ 4.066064] raid6: int64x8 gen() 10 MB/s
[ 4.134723] raid6: int64x8 xor() 6 MB/s
[ 4.202668] raid6: int64x4 gen() 13 MB/s
[ 4.271103] raid6: int64x4 xor() 6 MB/s
[ 4.340384] raid6: int64x2 gen() 17 MB/s
[ 4.407984] raid6: int64x2 xor() 6 MB/s
[ 4.477087] raid6: int64x1 gen() 12 MB/s
[ 4.546725] raid6: int64x1 xor() 4 MB/s
[ 4.548360] raid6: using algorithm neonx4 gen() 31 MB/s
[ 4.549756] raid6: … xor() 22 MB/s, rmw enabled
[ 4.551045] raid6: using neon recovery algorithm
[ 4.609496] vcc5v0_sys: supplied by vcc12v_dcin
[ 4.669455] vcc3v3_pcie: supplied by vcc5v0_sys
[ 4.698748] vcc3v3_sys: supplied by vcc5v0_sys
[ 4.733470] vcc5v0_host: supplied by vcc5v0_sys
[ 4.747687] vcc_0v9: supplied by vcc3v3_sys
[ 4.771598] vcc5v0_typec: supplied by vcc5v0_sys
[ 4.841544] iommu: Default domain type: Translated
[ 4.989527] SCSI subsystem initialized
[ 5.014607] usbcore: registered new interface driver usbfs
[ 5.018923] usbcore: registered new interface driver hub
[ 5.026181] usbcore: registered new device driver usb
[ 5.032259] mc: Linux media interface: v0.10
[ 5.035593] videodev: Linux video capture interface: v2.00
[ 5.040406] pps_core: LinuxPPS API ver. 1 registered
[ 5.041820] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 5.045286] PTP clock support registered
[ 5.070468] Advanced Linux Sound Architecture Driver Initialized.
[ 5.103470] Bluetooth: Core ver 2.22
[ 5.107099] NET: Registered protocol family 31
[ 5.108414] Bluetooth: HCI device and connection manager initialized
[ 5.110907] Bluetooth: HCI socket layer initialized
[ 5.112519] Bluetooth: L2CAP socket layer initialized
[ 5.115257] Bluetooth: SCO socket layer initialized
[ 5.117894] NetLabel: Initializing
[ 5.119516] NetLabel: domain hash size = 128
[ 5.120686] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 5.125787] NetLabel: unlabeled traffic allowed by default
[ 5.160240] clocksource: Switched to clocksource arch_sys_counter
[ 16.068077] VFS: Disk quotas dquot_6.6.0
[ 16.073148] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 16.609239] NET: Registered protocol family 2
[ 16.652973] tcp_listen_portaddr_hash hash table entries: 2048 (order: 4, 81920 bytes, linear)
[ 16.660847] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 16.685400] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 16.734529] TCP: Hash tables configured (established 32768 bind 32768)
[ 16.744845] UDP hash table entries: 2048 (order: 5, 196608 bytes, linear)
[ 16.756755] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes, linear)
[ 16.777942] NET: Registered protocol family 1
[ 16.809391] PCI: CLS 0 bytes, default 64
[ 16.874154] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 16.898206] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 17.330081] Initialise system trusted keyrings
[ 17.341258] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 17.891828] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 17.923860] fuse: init (API version 7.31)
[ 17.958832] JFS: nTxBlock = 8192, nTxLock = 65536
[ 18.217717] SGI XFS with ACLs, security attributes, realtime, verbose warnings, quota, no debug enabled
[ 19.768434] NET: Registered protocol family 38
[ 19.769977] Key type asymmetric registered
[ 19.772295] Asymmetric key parser ‘x509’ registered
[ 19.776027] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 19.788804] io scheduler mq-deadline registered
[ 19.790245] io scheduler kyber registered
[ 20.441534] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 20.444571] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[ 20.557279] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 20.560278] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 20.597791] pwm-regulator: supplied by regulator-dummy
[ 20.633574] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[ 20.738530] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 38, base_baud = 1500000) is a 16550A
[ 20.849482] panfrost ff9a0000.gpu: clock rate = 500000000
[ 20.853686] panfrost ff9a0000.gpu: failed to get regulator: -517
[ 20.856162] panfrost ff9a0000.gpu: regulator init failed -517
[ 20.884841] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 20.933234] brd: module loaded
[ 21.516056] loop: module loaded
[ 21.541525] lkdtm: No crash points registered, enable through debugfs
[ 21.744971] libphy: Fixed MDIO Bus: probed
[ 21.748776] CAN device driver interface
[ 21.786187] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[ 21.788910] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[ 21.796917] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[ 21.806198] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[ 21.809102] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[ 21.810779] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[ 21.813259] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[ 21.818799] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[ 21.821401] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[ 21.829130] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[ 21.845720] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[ 21.848613] rk_gmac-dwmac fe300000.ethernet: DWMAC1000
[ 21.850132] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[ 21.852769] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[ 21.854713] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[ 21.856873] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[ 21.858761] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[ 21.862751] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[ 21.865159] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[ 21.866822] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 22.102198] libphy: stmmac: probed
[ 22.104662] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ 22.107920] mdio_bus stmmac-0:01: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[ 22.204374] usbcore: registered new interface driver cdc_ether
[ 22.208517] usbcore: registered new interface driver rndis_host
[ 22.296558] OF: graph: no port node found in /syscon@ff770000/usb2-phy@e450/otg-port
[ 22.465265] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 22.468439] ehci-pci: EHCI PCI platform driver
[ 22.473035] ehci-platform: EHCI generic platform driver
[ 22.492033] ehci-platform fe380000.usb: EHCI Host Controller
[ 22.505108] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[ 22.514639] ehci-platform fe380000.usb: irq 31, io mem 0xfe380000
[ 22.533381] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[ 22.552479] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
[ 22.554882] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 22.557583] usb usb1: Product: EHCI Host Controller
[ 22.559036] usb usb1: Manufacturer: Linux 5.6.11-00183-gaabff12c5db1-dirty ehci_hcd
[ 22.561640] usb usb1: SerialNumber: fe380000.usb
[ 22.593264] hub 1-0:1.0: USB hub found
[ 22.597338] hub 1-0:1.0: 1 port detected
[ 22.641283] ehci-platform fe3c0000.usb: EHCI Host Controller
[ 22.653544] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[ 22.662488] ehci-platform fe3c0000.usb: irq 33, io mem 0xfe3c0000
[ 22.681349] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[ 22.699008] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
[ 22.702163] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 22.704718] usb usb2: Product: EHCI Host Controller
[ 22.706189] usb usb2: Manufacturer: Linux 5.6.11-00183-gaabff12c5db1-dirty ehci_hcd
[ 22.708808] usb usb2: SerialNumber: fe3c0000.usb
[ 22.740171] hub 2-0:1.0: USB hub found
[ 22.744373] hub 2-0:1.0: 1 port detected
[ 22.786966] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 22.790120] ohci-platform: OHCI generic platform driver
[ 22.804615] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[ 22.817451] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[ 22.829464] ohci-platform fe3a0000.usb: irq 32, io mem 0xfe3a0000
[ 22.910151] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.06
[ 22.913328] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 22.915944] usb usb3: Product: Generic Platform OHCI controller
[ 22.917642] usb usb3: Manufacturer: Linux 5.6.11-00183-gaabff12c5db1-dirty ohci_hcd
[ 22.920242] usb usb3: SerialNumber: fe3a0000.usb
[ 22.950515] hub 3-0:1.0: USB hub found
[ 22.954196] hub 3-0:1.0: 1 port detected
[ 22.992740] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[ 23.005603] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[ 23.014051] ohci-platform fe3e0000.usb: irq 34, io mem 0xfe3e0000
[ 23.092139] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.06
[ 23.094420] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 23.096925] usb usb4: Product: Generic Platform OHCI controller
[ 23.098572] usb usb4: Manufacturer: Linux 5.6.11-00183-gaabff12c5db1-dirty ohci_hcd
[ 23.101126] usb usb4: SerialNumber: fe3e0000.usb
[ 23.130656] hub 4-0:1.0: USB hub found
[ 23.134326] hub 4-0:1.0: 1 port detected
[ 23.213788] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 23.225000] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[ 23.234195] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[ 23.238172] xhci-hcd xhci-hcd.0.auto: irq 227, io mem 0xfe800000
[ 23.264574] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
[ 23.266874] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 23.269515] usb usb5: Product: xHCI Host Controller
[ 23.270965] usb usb5: Manufacturer: Linux 5.6.11-00183-gaabff12c5db1-dirty xhci-hcd
[ 23.273552] usb usb5: SerialNumber: xhci-hcd.0.auto
[ 23.305653] hub 5-0:1.0: USB hub found
[ 23.309569] hub 5-0:1.0: 1 port detected
[ 23.341258] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 23.353595] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 6
[ 23.357065] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 23.363280] usb 3-1: new full-speed USB device number 2 using ohci-platform
[ 23.363872] usb usb6: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 23.376241] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.06
[ 23.377129] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 23.377810] usb usb6: Product: xHCI Host Controller
[ 23.378271] usb usb6: Manufacturer: Linux 5.6.11-00183-gaabff12c5db1-dirty xhci-hcd
[ 23.379180] usb usb6: SerialNumber: xhci-hcd.0.auto
[ 23.409175] hub 6-0:1.0: USB hub found
[ 23.413036] hub 6-0:1.0: 1 port detected
[ 23.452198] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 23.465325] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 7
[ 23.474735] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[ 23.481419] xhci-hcd xhci-hcd.1.auto: irq 228, io mem 0xfe900000
[ 23.506375] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
[ 23.509556] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 23.512149] usb usb7: Product: xHCI Host Controller
[ 23.513635] usb usb7: Manufacturer: Linux 5.6.11-00183-gaabff12c5db1-dirty xhci-hcd
[ 23.516201] usb usb7: SerialNumber: xhci-hcd.1.auto
[ 23.546641] hub 7-0:1.0: USB hub found
[ 23.550411] hub 7-0:1.0: 1 port detected
[ 23.577856] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 23.589615] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 8
[ 23.593043] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 23.595937] usb 3-1: New USB device found, idVendor=2516, idProduct=008d, bcdDevice= 0.10
[ 23.596758] usb 3-1: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[ 23.597430] usb 3-1: Product: SK650
[ 23.597759] usb 3-1: Manufacturer: Cooler Master Technology Inc.
[ 23.600005] usb usb8: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 23.613354] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.06
[ 23.616498] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 23.618440] usb usb8: Product: xHCI Host Controller
[ 23.620516] usb usb8: Manufacturer: Linux 5.6.11-00183-gaabff12c5db1-dirty xhci-hcd
[ 23.622543] usb usb8: SerialNumber: xhci-hcd.1.auto
[ 23.654636] hub 8-0:1.0: USB hub found
[ 23.658344] hub 8-0:1.0: 1 port detected
[ 23.733490] usbcore: registered new interface driver iforce
[ 23.746035] usbcore: registered new interface driver xpad
[ 23.756205] usbcore: registered new interface driver usbtouchscreen
[ 23.786035] i2c /dev entries driver
[ 23.938453] rk808 0-001b: chip id: 0x0
[ 24.017709] rk808-regulator rk808-regulator: there is no dvs0 gpio
[ 24.025339] rk808-regulator rk808-regulator: there is no dvs1 gpio
[ 24.032024] DCDC_REG1: supplied by vcc5v0_sys
[ 24.064195] DCDC_REG2: supplied by vcc5v0_sys
[ 24.091913] DCDC_REG3: supplied by vcc5v0_sys
[ 24.113549] DCDC_REG4: supplied by vcc5v0_sys
[ 24.138464] LDO_REG1: supplied by vcc5v0_sys
[ 24.169905] LDO_REG2: supplied by vcc5v0_sys
[ 24.198380] LDO_REG3: supplied by vcc5v0_sys
[ 24.228379] LDO_REG4: supplied by vcc5v0_sys
[ 24.258660] LDO_REG5: supplied by vcc5v0_sys
[ 24.288089] LDO_REG6: supplied by vcc5v0_sys
[ 24.318605] LDO_REG7: supplied by vcc5v0_sys
[ 24.348554] LDO_REG8: supplied by vcc5v0_sys
[ 24.378800] SWITCH_REG1: supplied by vcc3v3_sys
[ 24.404538] SWITCH_REG2: supplied by vcc3v3_sys
[ 24.504087] rk808-rtc rk808-rtc: registered as rtc0
[ 24.536228] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[ 24.540579] fan53555-reg: supplied by vcc5v0_sys
[ 24.559016] random: fast init done
[ 24.598335] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[ 24.602450] fan53555-reg: supplied by vcc5v0_sys
[ 24.703935] IR NEC protocol handler initialized
[ 24.705321] IR RC5(x/sz) protocol handler initialized
[ 24.706685] IR RC6 protocol handler initialized
[ 24.708568] IR JVC protocol handler initialized
[ 24.709824] IR Sony protocol handler initialized
[ 24.711674] IR SANYO protocol handler initialized
[ 24.712946] IR Sharp protocol handler initialized
[ 24.714192] IR MCE Keyboard/mouse protocol handler initialized
[ 24.716256] IR XMP protocol handler initialized
[ 24.740654] rockchip-rga ff680000.rga: HW Version: 0x03.02
[ 24.756166] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video0
[ 24.774816] usbcore: registered new interface driver uvcvideo
[ 24.777160] USB Video Class driver (1.1.1)
[ 25.029000] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com
[ 25.037577] Bluetooth: HCI UART driver ver 2.3
[ 25.038954] Bluetooth: HCI UART protocol H4 registered
[ 25.041183] Bluetooth: HCI UART protocol ATH3K registered
[ 25.046592] usbcore: registered new interface driver bfusb
[ 25.129918] energy_model: pd0: hertz/watts ratio non-monotonically decreasing: em_cap_state 1 >= em_cap_state0
[ 25.252953] cpufreq: cpufreq_online: CPU4: Running at unlisted freq: 12000 KHz
[ 25.257617] cpufreq: cpufreq_online: CPU4: Unlisted initial frequency changed to: 408000 KHz
[ 25.261773] sdhci: Secure Digital Host Controller Interface driver
[ 25.262360] sdhci: Copyright© Pierre Ossman
[ 25.262774] Synopsys Designware Multimedia Card Interface Driver
[ 25.263872] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[ 25.264537] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[ 25.265159] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[ 25.265701] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[ 25.267086] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[ 25.267748] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[ 25.268369] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[ 25.268905] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[ 25.269886] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[ 25.282947] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 25.295148] sdhci-pltfm: SDHCI platform and OF driver helper
[ 25.296190] mmc1: CQHCI version 5.10
[ 25.321986] mmc1: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
[ 25.323069] ledtrig-cpu: registered to indicate activity on CPUs
[ 25.323690] hid: raw HID events driver © Jiri Kosina
[ 25.329342] input: Cooler Master Technology Inc. SK650 as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.0/0003:2516:008D.0001/input/input0
[ 25.387150] hid-generic 0003:2516:008D.0001: input,hidraw0: USB HID v1.11 Keyboard [Cooler Master Technology Inc. SK650] on usb-fe3a0000.usb-1/input0
[ 25.391276] hid-generic 0003:2516:008D.0002: hiddev96,hidraw1: USB HID v1.11 Device [Cooler Master Technology Inc. SK650] on usb-fe3a0000.usb-1/input1
[ 25.395945] input: Cooler Master Technology Inc. SK650 System Control as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.2/0003:2516:008D.0003/input/input1
[ 25.420261] mmc1: Command Queue Engine enabled
[ 25.420681] mmc1: new HS400 Enhanced strobe MMC card at address 0001
[ 25.421590] mmcblk1: mmc1:0001 SLD64G 57.6 GiB
[ 25.422136] mmcblk1boot0: mmc1:0001 SLD64G partition 1 4.00 MiB
[ 25.422801] mmcblk1boot1: mmc1:0001 SLD64G partition 2 4.00 MiB
[ 25.423446] mmcblk1rpmb: mmc1:0001 SLD64G partition 3 4.00 MiB, chardev (243:0)
[ 25.427140] mmcblk1: p1 p2 p3 p4 p5
[ 25.455063] input: Cooler Master Technology Inc. SK650 Consumer Control as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.2/0003:2516:008D.0003/input/input2
[ 25.456454] input: Cooler Master Technology Inc. SK650 Mouse as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.2/0003:2516:008D.0003/input/input3
[ 25.457756] input: Cooler Master Technology Inc. SK650 Keyboard as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.2/0003:2516:008D.0003/input/input4
[ 25.459102] hid-generic 0003:2516:008D.0003: input,hidraw2: USB HID v1.11 Mouse [Cooler Master Technology Inc. SK650] on usb-fe3a0000.usb-1/input2
[ 25.460391] usbcore: registered new interface driver usbhid
[ 25.460906] usbhid: USB HID core driver
[ 25.462850] usbcore: registered new interface driver snd-usb-audio
[ 25.465372] u32 classifier
[ 25.465626] input device check on
[ 25.466088] Initializing XFRM netlink socket
[ 25.466739] NET: Registered protocol family 10
[ 25.467642] Segment Routing with IPv6
[ 25.468019] NET: Registered protocol family 17
[ 25.468439] NET: Registered protocol family 15
[ 25.468876] Bridge firewalling registered
[ 25.469247] can: controller area network core (rev 20170425 abi 9)
[ 25.469852] NET: Registered protocol family 29
[ 25.470337] Bluetooth: RFCOMM socket layer initialized
[ 25.470821] Bluetooth: RFCOMM ver 1.11
[ 25.471186] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 25.471737] Bluetooth: HIDP socket layer initialized
[ 25.472202] 8021q: 802.1Q VLAN Support v1.8
[ 25.472609] Key type dns_resolver registered
[ 25.473231] registered taskstats version 1
[ 25.473613] Loading compiled-in X.509 certificates
[ 25.474096] Key type ._fscrypt registered
[ 25.474470] Key type .fscrypt registered
[ 25.474835] Key type fscrypt-provisioning registered
[ 25.475764] Btrfs loaded, crc32c=crc32c-generic, integrity-checker=on
[ 25.476414] BTRFS: selftest: sectorsize: 4096 nodesize: 4096

[ 26.690768] Key type big_key registered
[ 26.691760] Key type encrypted registered
[ 26.708648] panfrost ff9a0000.gpu: clock rate = 500000000
[ 26.709442] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[ 26.710161] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000000,24040400
[ 26.710936] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[ 26.712037] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[ 26.713649] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on minor 0
[ 26.714957] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[ 26.715625] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[ 26.716249] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[ 26.716790] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[ 26.718766] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[ 26.719441] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[ 26.720061] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[ 26.720593] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[ 26.723044] rk808-rtc rk808-rtc: setting system clock to 2020-05-16T13:53:28 UTC (1589637208)
[ 26.723919] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 26.725531] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’

设备树只是稍微改了下,

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*

/dts-v1/;
#include “dt-bindings/input/linux-event-codes.h”
#include “dt-bindings/pwm/pwm.h”
#include “rk3399.dtsi”
#include “rk3399-opp.dtsi”

/ {
model = “Radxa ROCK Pi 4”;
compatible = “radxa,rockpi4”, “rockchip,rk3399”;

chosen {
	stdout-path = "serial2:1500000n8";
};

clkin_gmac: external-gmac-clock {
	compatible = "fixed-clock";
	clock-frequency = <125000000>;
	clock-output-names = "clkin_gmac";
	#clock-cells = <0>;
};

sdio_pwrseq: sdio-pwrseq {
	compatible = "mmc-pwrseq-simple";
	clocks = <&rk808 1>;
	clock-names = "ext_clock";
	pinctrl-names = "default";
	pinctrl-0 = <&wifi_enable_h>;
	reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
};

vcc12v_dcin: dc-12v {
	compatible = "regulator-fixed";
	regulator-name = "vcc12v_dcin";
	regulator-always-on;
	regulator-boot-on;
	regulator-min-microvolt = <12000000>;
	regulator-max-microvolt = <12000000>;
};

vcc5v0_sys: vcc-sys {
	compatible = "regulator-fixed";
	regulator-name = "vcc5v0_sys";
	regulator-always-on;
	regulator-boot-on;
	regulator-min-microvolt = <5000000>;
	regulator-max-microvolt = <5000000>;
	vin-supply = <&vcc12v_dcin>;
};

vcc_0v9: vcc-0v9 {
	compatible = "regulator-fixed";
	regulator-name = "vcc_0v9";
	regulator-always-on;
	regulator-boot-on;
	regulator-min-microvolt = <900000>;
	regulator-max-microvolt = <900000>;
	vin-supply = <&vcc3v3_sys>;
};

vcc3v3_pcie: vcc3v3-pcie-regulator {
	compatible = "regulator-fixed";
	enable-active-high;
	gpio = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
	pinctrl-names = "default";
	pinctrl-0 = <&pcie_pwr_en>;
	regulator-name = "vcc3v3_pcie";
	regulator-always-on;
	regulator-boot-on;
	vin-supply = <&vcc5v0_sys>;
};

vcc3v3_sys: vcc3v3-sys {
	compatible = "regulator-fixed";
	regulator-name = "vcc3v3_sys";
	regulator-always-on;
	regulator-boot-on;
	regulator-min-microvolt = <3300000>;
	regulator-max-microvolt = <3300000>;
	vin-supply = <&vcc5v0_sys>;
};

vcc5v0_host: vcc5v0-host-regulator {
	compatible = "regulator-fixed";
	enable-active-high;
	gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>;
	pinctrl-names = "default";
	pinctrl-0 = <&vcc5v0_host_en>;
	regulator-name = "vcc5v0_host";
	regulator-always-on;
	vin-supply = <&vcc5v0_sys>;
};

vcc5v0_typec: vcc5v0-typec-regulator {
	compatible = "regulator-fixed";
	enable-active-high;
	gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>;
	pinctrl-names = "default";
	pinctrl-0 = <&vcc5v0_typec_en>;
	regulator-name = "vcc5v0_typec";
	regulator-always-on;
	vin-supply = <&vcc5v0_sys>;
};

vcc_lan: vcc3v3-phy-regulator {
	compatible = "regulator-fixed";
	regulator-name = "vcc_lan";
	regulator-always-on;
	regulator-boot-on;
	regulator-min-microvolt = <3300000>;
	regulator-max-microvolt = <3300000>;

	regulator-state-mem {
		regulator-off-in-suspend;
	};
};

hdmi_sound: hdmi-sound {
	status = "disabled";
	compatible = "simple-audio-card";
	simple-audio-card,format = "i2s";
	simple-audio-card,mclk-fs = <256>;
	simple-audio-card,name = "rockchip,hdmi";

	simple-audio-card,cpu {
		sound-dai = <&i2s2>;
	};
	simple-audio-card,codec {
		sound-dai = <&dw_hdmi_audio>;
	};
};

dw_hdmi_audio: dw-hdmi-audio {
	status = "disabled";
	compatible = "rockchip,dw-hdmi-audio";
	#sound-dai-cells = <0>;
};

hdmi_codec: hdmi-codec {
	compatible = "simple-audio-card";
	simple-audio-card,format = "i2s";
	simple-audio-card,mclk-fs = <256>;
	simple-audio-card,name = "HDMI-CODEC";

	simple-audio-card,cpu {
		sound-dai = <&i2s2>;
	};

	simple-audio-card,codec {
		sound-dai = <&hdmi>;
	};
};

vdd_log: vdd-log {
	compatible = "pwm-regulator";
	pwms = <&pwm2 0 25000 1>;
	regulator-name = "vdd_log";
	regulator-always-on;
	regulator-boot-on;
	regulator-min-microvolt = <800000>;
	regulator-max-microvolt = <1400000>;
	vin-supply = <&vcc5v0_sys>;
};

};

&cpu_l0 {
cpu-supply = <&vdd_cpu_l>;
};

&cpu_l1 {
cpu-supply = <&vdd_cpu_l>;
};

&cpu_l2 {
cpu-supply = <&vdd_cpu_l>;
};

&cpu_l3 {
cpu-supply = <&vdd_cpu_l>;
};

&cpu_b0 {
cpu-supply = <&vdd_cpu_b>;
};

&cpu_b1 {
cpu-supply = <&vdd_cpu_b>;
};

&emmc_phy {
status = “okay”;
};

&gmac {
assigned-clocks = <&cru SCLK_RMII_SRC>;
assigned-clock-parents = <&clkin_gmac>;
clock_in_out = “input”;
phy-supply = <&vcc_lan>;
phy-mode = “rgmii”;
pinctrl-names = “default”;
pinctrl-0 = <&rgmii_pins>;
snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
snps,reset-active-low;
snps,reset-delays-us = <0 10000 50000>;
tx_delay = <0x28>;
rx_delay = <0x11>;
status = “okay”;
};

&gpu {
mali-supply = <&vdd_gpu>;
status = “okay”;
};

&hdmi {
ddc-i2c-bus = <&i2c3>;
pinctrl-names = “default”;
pinctrl-0 = <&hdmi_cec>;
status = “okay”;
};

&hdmi_sound {
status = “okay”;
};

&i2c0 {
clock-frequency = <400000>;
i2c-scl-rising-time-ns = <168>;
i2c-scl-falling-time-ns = <4>;
status = “okay”;

rk808: pmic@1b {
	compatible = "rockchip,rk808";
	reg = <0x1b>;
	interrupt-parent = <&gpio1>;
	interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
	#clock-cells = <1>;
	clock-output-names = "xin32k", "rk808-clkout2";
	pinctrl-names = "default";
	pinctrl-0 = <&pmic_int_l>;
	rockchip,system-power-controller;
	wakeup-source;

	vcc1-supply = <&vcc5v0_sys>;
	vcc2-supply = <&vcc5v0_sys>;
	vcc3-supply = <&vcc5v0_sys>;
	vcc4-supply = <&vcc5v0_sys>;
	vcc6-supply = <&vcc5v0_sys>;
	vcc7-supply = <&vcc5v0_sys>;
	vcc8-supply = <&vcc3v3_sys>;
	vcc9-supply = <&vcc5v0_sys>;
	vcc10-supply = <&vcc5v0_sys>;
	vcc11-supply = <&vcc5v0_sys>;
	vcc12-supply = <&vcc3v3_sys>;
	vddio-supply = <&vcc_1v8>;

	regulators {
		vdd_center: DCDC_REG1 {
			regulator-name = "vdd_center";
			regulator-always-on;
			regulator-boot-on;
			regulator-min-microvolt = <750000>;
			regulator-max-microvolt = <1350000>;
			regulator-ramp-delay = <6001>;
			regulator-state-mem {
				regulator-off-in-suspend;
			};
		};

		vdd_cpu_l: DCDC_REG2 {
			regulator-name = "vdd_cpu_l";
			regulator-always-on;
			regulator-boot-on;
			regulator-min-microvolt = <750000>;
			regulator-max-microvolt = <1350000>;
			regulator-ramp-delay = <6001>;
			regulator-state-mem {
				regulator-off-in-suspend;
			};
		};

		vcc_ddr: DCDC_REG3 {
			regulator-name = "vcc_ddr";
			regulator-always-on;
			regulator-boot-on;
			regulator-state-mem {
				regulator-on-in-suspend;
			};
		};

		vcc_1v8: DCDC_REG4 {
			regulator-name = "vcc_1v8";
			regulator-always-on;
			regulator-boot-on;
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
			regulator-state-mem {
				regulator-on-in-suspend;
				regulator-suspend-microvolt = <1800000>;
			};
		};

		vcc1v8_codec: LDO_REG1 {
			regulator-name = "vcc1v8_codec";
			regulator-always-on;
			regulator-boot-on;
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
			regulator-state-mem {
				regulator-off-in-suspend;
			};
		};

		vcc1v8_hdmi: LDO_REG2 {
			regulator-name = "vcc1v8_hdmi";
			regulator-always-on;
			regulator-boot-on;
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
			regulator-state-mem {
				regulator-off-in-suspend;
			};
		};

		vcca_1v8: LDO_REG3 {
			regulator-name = "vcca_1v8";
			regulator-always-on;
			regulator-boot-on;
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
			regulator-state-mem {
				regulator-on-in-suspend;
				regulator-suspend-microvolt = <1800000>;
			};
		};

		vcc_sdio: LDO_REG4 {
			regulator-name = "vcc_sdio";
			regulator-always-on;
			regulator-boot-on;
			regulator-min-microvolt = <3000000>;
			regulator-max-microvolt = <3000000>;
			regulator-state-mem {
				regulator-on-in-suspend;
				regulator-suspend-microvolt = <3000000>;
			};
		};

		vcca3v0_codec: LDO_REG5 {
			regulator-name = "vcca3v0_codec";
			regulator-always-on;
			regulator-boot-on;
			regulator-min-microvolt = <3000000>;
			regulator-max-microvolt = <3000000>;
			regulator-state-mem {
				regulator-off-in-suspend;
			};
		};

		vcc_1v5: LDO_REG6 {
			regulator-name = "vcc_1v5";
			regulator-always-on;
			regulator-boot-on;
			regulator-min-microvolt = <1500000>;
			regulator-max-microvolt = <1500000>;
			regulator-state-mem {
				regulator-on-in-suspend;
				regulator-suspend-microvolt = <1500000>;
			};
		};

		vcc0v9_hdmi: LDO_REG7 {
			regulator-name = "vcc0v9_hdmi";
			regulator-always-on;
			regulator-boot-on;
			regulator-min-microvolt = <900000>;
			regulator-max-microvolt = <900000>;
			regulator-state-mem {
				regulator-off-in-suspend;
			};
		};

		vcc_3v0: LDO_REG8 {
			regulator-name = "vcc_3v0";
			regulator-always-on;
			regulator-boot-on;
			regulator-min-microvolt = <3000000>;
			regulator-max-microvolt = <3000000>;
			regulator-state-mem {
				regulator-on-in-suspend;
				regulator-suspend-microvolt = <3000000>;
			};
		};

		vcc_cam: SWITCH_REG1 {
			regulator-name = "vcc_cam";
			regulator-always-on;
			regulator-boot-on;
			regulator-min-microvolt = <3300000>;
			regulator-max-microvolt = <3300000>;
			regulator-state-mem {
				regulator-off-in-suspend;
			};
		};

		vcc_mipi: SWITCH_REG2 {
			regulator-name = "vcc_mipi";
			regulator-always-on;
			regulator-boot-on;
			regulator-min-microvolt = <3300000>;
			regulator-max-microvolt = <3300000>;
			regulator-state-mem {
				regulator-off-in-suspend;
			};
		};
	};
};

vdd_cpu_b: regulator@40 {
	compatible = "silergy,syr827";
	reg = <0x40>;
	fcs,suspend-voltage-selector = <1>;
	pinctrl-names = "default";
	pinctrl-0 = <&vsel1_gpio>;
	regulator-name = "vdd_cpu_b";
	regulator-min-microvolt = <712500>;
	regulator-max-microvolt = <1500000>;
	regulator-ramp-delay = <1000>;
	regulator-always-on;
	regulator-boot-on;
	vin-supply = <&vcc5v0_sys>;

	regulator-state-mem {
		regulator-off-in-suspend;
	};
};

vdd_gpu: regulator@41 {
	compatible = "silergy,syr828";
	reg = <0x41>;
	fcs,suspend-voltage-selector = <1>;
	pinctrl-names = "default";
	pinctrl-0 = <&vsel2_gpio>;
	regulator-name = "vdd_gpu";
	regulator-min-microvolt = <712500>;
	regulator-max-microvolt = <1500000>;
	regulator-ramp-delay = <1000>;
	regulator-always-on;
	regulator-boot-on;
	vin-supply = <&vcc5v0_sys>;

	regulator-state-mem {
		regulator-off-in-suspend;
	};
};

};

&i2c1 {
i2c-scl-rising-time-ns = <300>;
i2c-scl-falling-time-ns = <15>;
status = “okay”;
};

&i2c3 {
i2c-scl-rising-time-ns = <450>;
i2c-scl-falling-time-ns = <15>;
status = “okay”;
};

&i2c4 {
i2c-scl-rising-time-ns = <600>;
i2c-scl-falling-time-ns = <20>;
status = “okay”;
};

&i2s0 {
rockchip,playback-channels = <8>;
rockchip,capture-channels = <8>;
status = “okay”;
};

&i2s1 {
rockchip,playback-channels = <2>;
rockchip,capture-channels = <2>;
status = “okay”;
};

&i2s2 {
status = “okay”;
};

&io_domains {
status = “okay”;

bt656-supply = <&vcc_3v0>;
audio-supply = <&vcc_3v0>;
sdmmc-supply = <&vcc_sdio>;
gpio1830-supply = <&vcc_3v0>;

};

&pmu_io_domains {
status = “okay”;

pmu1830-supply = <&vcc_3v0>;

};

&pcie_phy {
status = “okay”;
};

&pcie0 {
ep-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>;
max-link-speed = <2>;
num-lanes = <4>;
pinctrl-0 = <&pcie_clkreqnb_cpm>;
pinctrl-names = “default”;
vpcie0v9-supply = <&vcc_0v9>;
vpcie1v8-supply = <&vcc_1v8>;
vpcie3v3-supply = <&vcc3v3_pcie>;
status = “okay”;
};

&pinctrl {
bt {
bt_enable_h: bt-enable-h {
rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
};

	bt_host_wake_l: bt-host-wake-l {
		rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
	};

	bt_wake_l: bt-wake-l {
		rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
	};
};

pcie {
	pcie_pwr_en: pcie-pwr-en {
		rockchip,pins = <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
	};
};

sdio0 {
	sdio0_bus4: sdio0-bus4 {
		rockchip,pins = <2 RK_PC4 1 &pcfg_pull_up_20ma>,
				<2 RK_PC5 1 &pcfg_pull_up_20ma>,
				<2 RK_PC6 1 &pcfg_pull_up_20ma>,
				<2 RK_PC7 1 &pcfg_pull_up_20ma>;
	};

	sdio0_cmd: sdio0-cmd {
		rockchip,pins = <2 RK_PD0 1 &pcfg_pull_up_20ma>;
	};

	sdio0_clk: sdio0-clk {
		rockchip,pins = <2 RK_PD1 1 &pcfg_pull_none_20ma>;
	};
};

pmic {
	pmic_int_l: pmic-int-l {
		rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
	};

	vsel1_gpio: vsel1-gpio {
		rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
	};

	vsel2_gpio: vsel2-gpio {
		rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
	};
};

usb-typec {
	vcc5v0_typec_en: vcc5v0-typec-en {
		rockchip,pins = <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
	};
};

usb2 {
	vcc5v0_host_en: vcc5v0-host-en {
		rockchip,pins = <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
	};
};

wifi {
	wifi_enable_h: wifi-enable-h {
		rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
	};

	wifi_host_wake_l: wifi-host-wake-l {
		rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
	};
};

};

&pwm2 {
status = “okay”;
};

&saradc {
status = “okay”;

vref-supply = <&vcc_1v8>;

};

&sdio0 {
#address-cells = <1>;
#size-cells = <0>;
bus-width = <4>;
clock-frequency = <50000000>;
cap-sdio-irq;
cap-sd-highspeed;
keep-power-in-suspend;
mmc-pwrseq = <&sdio_pwrseq>;
non-removable;
pinctrl-names = “default”;
pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
sd-uhs-sdr104;
status = “okay”;

brcmf: wifi@1 {
	compatible = "brcm,bcm4329-fmac";
	reg = <1>;
	interrupt-parent = <&gpio0>;
	interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
	interrupt-names = "host-wake";
	pinctrl-names = "default";
	pinctrl-0 = <&wifi_host_wake_l>;
};

};

&sdmmc {
bus-width = <4>;
cap-mmc-highspeed;
cap-sd-highspeed;
cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
disable-wp;
max-frequency = <150000000>;
pinctrl-names = “default”;
pinctrl-0 = <&sdmmc_clk &sdmmc_cd &sdmmc_cmd &sdmmc_bus4>;
status = “okay”;
};

&sdhci {
bus-width = <8>;
mmc-hs400-1_8v;
mmc-hs400-enhanced-strobe;
non-removable;
status = “okay”;
};

&tcphy0 {
status = “okay”;
};

&tcphy1 {
status = “okay”;
};

&tsadc {
status = “okay”;

/* tshut mode 0:CRU 1:GPIO */
rockchip,hw-tshut-mode = <1>;
/* tshut polarity 0:LOW 1:HIGH */
rockchip,hw-tshut-polarity = <1>;

};

&u2phy0 {
status = “okay”;

u2phy0_otg: otg-port {
	status = "okay";
};

u2phy0_host: host-port {
	phy-supply = <&vcc5v0_host>;
	status = "okay";
};

};

&u2phy1 {
status = “okay”;

u2phy1_otg: otg-port {
	status = "okay";
};

u2phy1_host: host-port {
	phy-supply = <&vcc5v0_host>;
	status = "okay";
};

};

&uart0 {
pinctrl-names = “default”;
pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
status = “okay”;

bluetooth {
	compatible = "brcm,bcm43438-bt";
	clocks = <&rk808 1>;
	clock-names = "ext_clock";
	device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
	host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
	shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
	pinctrl-names = "default";
	pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
};

};

&uart2 {
status = “okay”;
};

&usb_host0_ehci {
status = “okay”;
};

&usb_host0_ohci {
status = “okay”;
};

&usb_host1_ehci {
status = “okay”;
};

&usb_host1_ohci {
status = “okay”;
};

&usbdrd3_0 {
status = “okay”;
};

&usbdrd_dwc3_0 {
status = “okay”;
dr_mode = “otg”;
};

&usbdrd3_1 {
status = “okay”;
};

&usbdrd_dwc3_1 {
status = “okay”;
dr_mode = “host”;
};

&vopb {
status = “okay”;
};

&vopb_mmu {
status = “okay”;
};

&vopl {
status = “okay”;
};

&vopl_mmu {
status = “okay”;
};

还有就是,这里是硬件设计上的问题么
[ 20.853686] panfrost ff9a0000.gpu: failed to get regulator: -517
[ 20.856162] panfrost ff9a0000.gpu: regulator init failed -517

这个只是个软件报错,应该不影响。

https://apt.armbian.com/pool/main/a/armbian-firmware-full/
armbian解决了这个问题,安装 armbian-firmware-full_20.05.0-trunk_all.deb
然后把对应的驱动复制到/etc/firmware,就完美解决

1 Like

大佬,看见你发的帖子,你那个竖的屏幕在哪里买的,怎么竖起来的