summaryrefslogtreecommitdiffstats
path: root/target/linux/rockchip
Commit message (Collapse)AuthorAgeFilesLines
* rockchip: fix sysupgrade for Radxa ROCK Pi SFUKAUMI Naoki3 days1-0/+1
| | | | | | | | SUPPORTED_DEVICES is required for Radxa ROCK Pi S. Signed-off-by: FUKAUMI Naoki <naoki@radxa.com> Link: https://github.com/openwrt/openwrt/pull/16167 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rockchip: add led and network config to nanopi r6sBen Whitten6 days3-2/+12
| | | | | | | | | We need to configure the led and network config for this board on start as per the others Signed-off-by: Ben Whitten <ben.whitten@gmail.com> Link: https://github.com/openwrt/openwrt/pull/15607 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rockchip: add NanoPi R6S supportBen Whitten6 days9-0/+1076
| | | | | | | | | Add patches for the nanopi r6s board, backporting from 6.9 where basic support is landing. Signed-off-by: Ben Whitten <ben.whitten@gmail.com> Link: https://github.com/openwrt/openwrt/pull/15607 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rockchip: rock 3a: fix image check failedTomas Lara9 days1-0/+1
| | | | | | | | | | | Fixes the image check failed on system upgrade "Image check failed: upgrade: Device radxa,rock3a not supported by this image upgrade: Supported devices: radxa,rock-3a" Signed-off-by: Tomas Lara <tl849670@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16064 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 6.6 to 6.6.44John Audia12 days9-303/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.44 Removed upstreamed: rockchip/patches-6.6/044-v6.11-arm64-dts-rockchip-Add-sdmmc-related-properties-on-r.patch[1] rockchip/patches-6.6/045-v6.11-arm64-dts-rockchip-Add-pinctrl-for-UART0-to-rk3308-r.patch[2] rockchip/patches-6.6/046-v6.11-arm64-dts-rockchip-Add-mdio-and-ethernet-phy-nodes-t.patch[3] rockchip/patches-6.6/048-v6.11-arm64-dts-rockchip-Update-WIFi-BT-related-nodes-on-r.patch[4] rockchip/patches-6.6/310-PCI-dw-rockchip-Fix-initial-PERST-GPIO-value.patch[5] Manually rebased: bcm27xx/patches-6.6/950-0526-mfd-Add-rp1-driver.patch ramips/patches-6.6/810-uvc-add-iPassion-iP2970-support.patch All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.44&id=96155dc8c99e76a0e58932ca5f88148a37af3617 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.44&id=30ee9e5ecc5fd6854a1690ab11e6e6b4851ac9ab 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.44&id=0c4c1b7daf23bccf0da5b65b3cd5b32bfa5a5af4 4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.44&id=a86a5685675834732789df202e73153db59d8dcc 5. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.44&id=a30211c6704899de0616ac0f97601122d899c86d Build system: x86/64 Build-tested: x86/64/AMD Cezanne Run-tested: x86/64/AMD Cezanne Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/16061 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rockchip: add RTL8723DU support for Radxa ROCK Pi E v3.0FUKAUMI Naoki2024-08-011-1/+1
| | | | | | | | | Radxa ROCK Pi E v3.0 has a RTL8723DU Wi-Fi 4 on-board device. enable it. Signed-off-by: FUKAUMI Naoki <naoki@radxa.com> Link: https://github.com/openwrt/openwrt/pull/15910 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rockchip: add RTL8723DS support for Radxa ROCK Pi SFUKAUMI Naoki2024-08-016-4/+250
| | | | | | | | Radxa ROCK Pi S has a RTL8723DS Wi-Fi 4 on-board device. enable it. Signed-off-by: FUKAUMI Naoki <naoki@radxa.com> Link: https://github.com/openwrt/openwrt/pull/15910 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rockchip: dw-rockchip: Fix initial PERST# GPIO valueDaniel Golle2024-07-301-0/+76
| | | | | | | | | | | Import patch from mainline Linux to fix issue with PERST# signal polarity. Quote from commit message: "This extra, very short, PERST# assertion + deassertion has been reported to cause issues with certain WLAN controllers, e.g. RTL8822CE." Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* rockchip: only use HWRNG on RK3568 for nowDaniel Golle2024-07-303-175/+118
| | | | | | | | | | | Testing turned out that the HWRNG quality varies greatly on RK3566, even on supposedly identical boards and SoC revisions. Hence enable the HWRNG driver only on RK3568 for now. Allow users to simply tune sample_count and quality to allow easily testing results on different boards and SoCs. Link: https://patchwork.kernel.org/project/linux-arm-kernel/cover/cover.1720969799.git.daniel@makrotopia.org/ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* rockchip: drop redundant definitions for ROCK Pi SFUKAUMI Naoki2024-07-291-2/+0
| | | | | | | | default values should be fine. Signed-off-by: FUKAUMI Naoki <naoki@radxa.com> Link: https://github.com/openwrt/openwrt/pull/16029 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rockchip: add support for Radxa ROCK Pi E v3.0FUKAUMI Naoki2024-07-293-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Radxa ROCK Pi E v3.0 is a compact networking SBC[1] using the Rockchip RK3328 SoC. Hardware -------- - Rockchip RK3328 SoC - Quad A53 CPU - 512MB/1GB/2GB DDR4 RAM - 4/8/16/32GB eMMC - Micro SD Card slot - WiFi 4 and BT 4, or WiFi 5 and BT 5 (not supported yet) - 1x 1000M Ethernet with PoE support (additional PoE HAT required) - 1x 100M Ethernet - 1x USB 3.0 Type-A port (Host) - 1x 4-ring 3.5mm headphone jack - 40 Pin GPIO header [1] https://radxa.com/products/rockpi/pie Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: FUKAUMI Naoki <naoki@radxa.com> Link: https://github.com/openwrt/openwrt/pull/15984 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rockchip: add support for Radxa ROCK 3AFUKAUMI Naoki2024-07-252-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Radxa ROCK 3A is a credit card sized SBC with rich interfaces[1] using the Rockchip RK3328 SoC. Hardware -------- - Rockchip RK3568 SoC - Quad Cortex-A55 CPU - Mail G52 GPU - 1 TOPs NPU - 2/4/8GB LPDDR4 RAM - 1x eMMC connector - 1x M.2 M Key (2-lane PCIe 3.0) supporting NVMe SSD - 1x Micro SD card slot - 1x 1000M Ethernet with PoE support (additional PoE HAT required) - 1x USB 3.0 Type-A port (Host) - 1x USB 3.0 Type-A port (OTG) - 2x USB 2.0 Type-A ports (Host) - 40 pin color GPIO header [1] https://radxa.com/products/rock3/3a Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: FUKAUMI Naoki <naoki@radxa.com> Link: https://github.com/openwrt/openwrt/pull/15985 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rockchip: add support for Radxa ROCK Pi SFUKAUMI Naoki2024-07-248-0/+416
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Radxa ROCK Pi S is a small in size, full in features SBC[1] using the Rockchip RK3308B SoC. Hardware -------- - Rockchip RK3308B SoC - Quad A35 CPU - 256/512MB DDR3 RAM - Optional 4/8GB eMMC - Micro SD Card slot - Optional WiFi 4 and BT 4 (not supported yet) - 1x 100M Ethernet with PoE support (additional PoE HAT required) - 1x USB 2.0 Type-A port (Host) - 1x USB 2.0 Type-C port (OTG) - 2x 26 Pin GPIO header [1] https://radxa.com/products/rockpi/pis Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: FUKAUMI Naoki <naoki@radxa.com> Link: https://github.com/openwrt/openwrt/pull/15933 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rockchip: make SATA(AHCI) really work on Radxa E25FUKAUMI Naoki2024-07-211-1/+1
| | | | | | | | | kmod-ahci-dwc is required to use SATA(AHCI) on Radxa E25. Fixes: f7c732bf9e ("rockchip: add Radxa E25 board support") Signed-off-by: FUKAUMI Naoki <naoki@radxa.com> Link: https://github.com/openwrt/openwrt/pull/15923 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rockchip: stop "heartbeat" LED for Radxa CM3I(E25)FUKAUMI Naoki2024-07-121-0/+11
| | | | | | | | | stop "heartbeat" which happens before OpenWrt controls LED. instead, just turn LED on. Signed-off-by: FUKAUMI Naoki <naoki@radxa.com> Link: https://github.com/openwrt/openwrt/pull/15913 Signed-off-by: Robert Marko <robimarko@gmail.com>
* rockchip: fix baudrate for Radxa E25Tianling Shen2024-07-102-0/+8
| | | | | | | | | | | | | | | | | | According to the documentation[1], the serial baudrate of E25 is 115.2 Kbps, and setting it to 1.5 Mbps will cause onboard CH340B USB-UART chip unstable. Since mainline TPL is yet available, download patched TPL binary from Radxa. 1. https://wiki.radxa.com/Rock3/CM/CM3I/E25/getting_started Fixes: https://github.com/openwrt/openwrt/issues/15814 Fixes: f7c732bf9ed9 ("rockchip: add Radxa E25 board support") Tested-by: FUKAUMI Naoki <naoki@radxa.com> Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/15870 Signed-off-by: Robert Marko <robimarko@gmail.com>
* uboot-rockchip: use u-boot-rockchip.binFUKAUMI Naoki2024-07-041-4/+3
| | | | | | | | | | | | use u-boot-rockchip.bin to copy SPL/TPL/U-Boot to the image. since binman was used in mainline u-boot for rockchip, we can use u-boot-rockchip.bin instead of idbloader.img and u-boot.itb. Reviewed-by: Tianling Shen <cnsztl@immortalwrt.org> Signed-off-by: FUKAUMI Naoki <naoki@radxa.com> Link: https://github.com/openwrt/openwrt/pull/15815 Signed-off-by: Robert Marko <robimarko@gmail.com>
* rockchip: Add cache information to the SoC dtsi for RK356xMilinda Brantini2024-06-162-1/+128
| | | | | Fix cacheinfo: Unable to detect cache hierarchy for CPU 0. Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
* rockchip: switch to kernel 6.6Tianling Shen2024-05-0944-6494/+1
| | | | | | | Switch to Linux kernel version 6.6 and drop configs, files and patches for Linux 6.1. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: add kernel 6.6 as testing kernelAntonio Flores2024-05-071-0/+1
| | | | | | Add kernel 6.6 as testing kernel Signed-off-by: Antonio Flores <antflores627@gmail.com>
* rockchip: refresh config 6.6Antonio Flores2024-05-071-18/+38
| | | | | | Refresh config 6.6 (make kernel_oldconfig). Signed-off-by: Antonio Flores <antflores627@gmail.com>
* rockchip: refresh 6.6 patchesAntonio Flores2024-05-0730-5000/+6
| | | | | | | Refresh kernel 6.6 patches. Removed backpored patches. Signed-off-by: Antonio Flores <antflores627@gmail.com>
* kernel/rockchip: Restore kernel files for v6.1Antonio Flores2024-05-0743-0/+6492
| | | | | | | | | | This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html for the original discussion. Signed-off-by: Antonio Flores <antflores627@gmail.com>
* kernel/rockchip: Create kernel files for v6.6 (from v6.1)Antonio Flores2024-05-0743-0/+0
| | | | | | | | This is an automatically generated commit. When doing `git bisect`, consider `git bisect --skip`. Signed-off-by: Antonio Flores <antflores627@gmail.com>
* rockchip: add Bananapi-R2 Pro board supportAntonio Flores2024-05-056-2/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware spec: - Rockchip RK3568 Quad-core ARM Cortex-A55 CPU 2GHz - GPU Mali-G52 1-Core-2EE OpenGL ES3.2 Vu1kn 1.1 OpenCL 2.0 - Memory2G DDR3 SDRAM (option 4G) - Storage Onboard 16GB eMMC Flash, Micro SD-Card slot, SATA 3.0 Port,SPI flash - Network 5 x 10/100/1000 Mbit/s Ethernet MT7531 - Display 1 HDMI port, 2 DSI interface(1 DSI can change to LVDS by software) - Camera 1 CSI camera interface - Audio Output HDMI & I2S & Speaker & Headphone - USB port USB 3.0 PORT (x2), micro USB OTG (x1) - PCIE 1 mini pcie interface & 1 M.2 key-e interface - Remote IR Receiver (x1) - GPIO 40 Pin Header : GPIO (x28) and Power (+5V, +3.3V and GND). - Switches Reset button, Power button, U-boot button - LED Power Status - Power Source 12 volt 2A via DC Power Installation: Uncompress the OpenWrt sysupgrade and write image to the SD card using dd (dd if=*.img of=/*) Boot from the SD card 1-hold down the MaskRom button 2-Connect DC power 3-Wait 5 seconds, release the button. eMMC Installation: 1-Uncompress the OpenWrt sysupgrade image 2-fash to eMMC dd if=openwrt-rockchip-armv8-sinovoip_bpi-r2-pro-squashfs-sysupgrade.img of=/dev/mmcblk1 sync 3-remove SD card reboot Signed-off-by: Antonio Flores <antflores627@gmail.com>
* rockchip: enable MT7531 and RTC driversAntonio Flores2024-05-051-0/+10
| | | | | | This patch enable MT7531 switch and RTC drivers for BPI-R2 Pro. Signed-off-by: Antonio Flores <antflores627@gmail.com>
* rockchip: add driver for hardware RNGDaniel Golle2024-05-043-0/+397
| | | | | | | | | | | | | | | | Rockchip SoCs used to have a random number generator as part of their crypto device, and support for it has to be added to the corresponding driver. Newer Rockchip SoCs like the RK3568 have an independent True Random Number Generator device. Import pending patchset which adds a driver for it, include it in Kconfig and enable it in the device tree. Doing so significantly reduces the time needed to boot devices based on those SoCs, from about 27 seconds until Ethernet is up and running to less than 13 seconds with a minimal snapshot image. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* rockchip: remove redundant 'console' parameter from boot scriptTianling Shen2024-03-291-1/+1
| | | | | | | | ttyS2 is the default console used for all rockchip boards. The redundant 'console=tty1' parameter now breaks the console due to recent procd update. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: remove 'swiotlb' parameter from boot scriptTianling Shen2024-03-291-1/+1
| | | | | | | | | | | | | | We have hardware IOMMU support and this is totally unnecessary. The given value is also unreasonable, it's too small and causes kernel panic in some cases: [ 5706.856473] sdhci-dwcmshc fe310000.mmc: swiotlb buffer is full (sz: 28672 bytes), total 512 (slots), used 498 (slots) [ 5706.864451] sdhci-dwcmshc fe310000.mmc: swiotlb buffer is full (sz: 65536 bytes), total 512 (slots), used 464 (slots) This parameter seems to be added by mistake, so remove it. Fixes: e35c7ab51fd1 ("rockchip: merge bootscript") Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: add Radxa E25 board supportMarius Durbaca2024-03-2310-2/+958
| | | | | | | | | | | | | | | | | | | | | | Radxa E25 is a network application carrier board for the Radxa CM3 Industrial (CM3I) SoM, which is based on the Rockchip RK3568 SoC. It has the following features: - MicroSD card socket, on board eMMC flash - 2x 2.5GbE Realtek RTL8125B Ethernet transceiver - 1x USB Type-C port (Power and Serial console) - 1x USB 3.0 OTG port - mini PCIe socket (USB or PCIe) - ngff PCIe socket (USB or SATA) - 1x User LED and 16x RGB LEDs - 26-pin expansion header Installation: Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: Marius Durbaca <mariusd84@gmail.com>
* rockchip: fix device packages for nanopi r4s enterprise editionTianling Shen2024-02-251-1/+1
| | | | | | | | In official OpenWrt we use kmod-r8169 driver provided by upstream kernel instead of kmod-r8168 driver from Realtek. Fixes: afca1236f318 ("rockchip: add NanoPi R4S Enterprise Edition build") Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: remove LED label hackTianling Shen2024-02-226-86/+30
| | | | | | | Now we support parsing the color and function properties. Ref: e814acc59948 ("base-files: support parse DT LED color and function") Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: add Radxa CM3 IO board supportMarius Durbaca2024-02-2111-0/+1063
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware -------- RockChip RK3566 ARM64 (4 cores) - up to 8GB LPDDR4X - 1x HDMI, - 2x MIPI DSI - 2x MIPI CSI2 - 1x eDP - 1x PCIe card - 2x SATA - 2x USB 2.0 Host - 1x USB 3.0 - 1x USB 2.0 OTG - 10/100/1000 Base-T - microSD slot - 40-pin GPIO expansion header - 12V DC Radxa CM3 needs to mount on top of this IO board in order to create complete Radxa CM3 IO board platform. Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Reviewed-by: Tianling Shen <cnsztl@immortalwrt.org> Signed-off-by: Marius Durbaca <mariusd84@gmail.com>
* rockchip: add NanoPi R4S Enterprise Edition buildTianling Shen2024-02-196-62/+24
| | | | | | | | | | | FriendlyElec renamed the NanoPi R4S board with EEPROM (mac address) to "enterprise" edition, and it was added as a "new" board in upstream kernel. This patch switched to use that upstreamed dts and removed local EEPROM patch. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: add NanoPi R2C Plus supportTianling Shen2024-02-195-0/+75
| | | | | | | | | | | | The NanoPi R2C Plus is a small variant of NanoPi R2C with a on-board eMMC flash (8G) included. Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: fix boot from non-MMC devicesJustin Klaassen2024-01-192-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Booting from non-MMC devices on Rockchip targets without this change results in a boot failure: Model: FriendlyElec NanoPi R5S Net: eth0: ethernet@fe2a0000 Hit any key to stop autoboot: 0 ** Booting bootflow 'nvme#0.blk#1.bootdev.part_1' with script ** No partition table - mmc 0 ** ** No partition table - mmc 0 ** Couldn't find partition mmc 0:1 Can't set block device Wrong Image Type for bootm command ERROR -91: Protocol wrong type for socket: can't get kernel image! Boot failed (err=1) This change fixes the default boot script for Rockchip targets to support booting from non-MMC devices such as NVMe or USB drives. Some targets with only a boot rom (e.g. NanoPi R5S) may require u-boot to be installed on the eMMC or a MicroSD card in order to boot from non-MMC devices. Fixes: #14420 Reviewed-by: Tianling Shen <cnsztl@immortalwrt.org> Signed-off-by: Justin Klaassen <justin@tidylabs.app>
* rockchip: configure eth pad driver strength for orangepi r1 plus ltsTianling Shen2024-01-041-0/+33
| | | | | | | | | | | The default strength is not enough to provide stable connection under 3.3v LDO voltage. Fixes: 32d5921b8b55 ("rockchip: add Orange Pi R1 Plus LTS support") Fixes: #13117 Fixes: #13759 Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: make SMP affinity of RTL8152 on XHCI more robustFurong Xu2023-12-151-2/+2
| | | | | | | XHCI bus numbers are assigned dynamically, it may varies among boards, match the device irq name with regexp, drop the hardcoded name. Signed-off-by: Furong Xu <xfr@outlook.com>
* rockchip: fix eth1 irq affinityFurong Xu2023-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NanoPi R2S and some other RK3328 boards use RTL8152 as eth1, which is connected to xhci-hcd:usb1 but not xhci-hcd:usb3 |:~# cat /proc/interrupts | CPU0 CPU1 CPU2 CPU3 | 11: 53449 171813 129595 87823 GICv2 30 Level arch_timer | 18: 0 0 0 0 GICv2 94 Level rockchip_usb2phy | 19: 0 0 0 0 GICv2 32 Level ff1f0000.dma-controller | 20: 0 0 0 0 GICv2 33 Level ff1f0000.dma-controller | 21: 4 0 0 0 GICv2 89 Level ttyS2 | 22: 0 0 0 0 GICv2 43 Level ff350800.iommu | 23: 0 0 0 0 GICv2 106 Level ff360480.iommu | 24: 0 1417932 0 0 GICv2 56 Level eth0 | 25: 334 0 0 4422194 GICv2 99 Level xhci-hcd:usb1 | 26: 0 0 0 0 GICv2 48 Level ehci_hcd:usb3 | 27: 0 0 0 0 GICv2 49 Level ohci_hcd:usb2 | 28: 3285 0 0 0 GICv2 69 Level ff160000.i2c | 29: 0 0 0 0 rockchip_gpio_irq 24 Level rk805 | 30: 0 0 0 0 rk805 0 Edge rk805_pwrkey_fall | 35: 0 0 0 0 rk805 5 Edge RTC alarm | 37: 0 0 0 0 rk805 7 Edge rk805_pwrkey_rise | 38: 0 0 0 0 GICv2 90 Level rockchip_thermal | 39: 0 0 0 0 GICv2 72 Edge ff1a0000.watchdog | 40: 2601 0 0 0 GICv2 44 Level dw-mci | 41: 0 0 0 0 rockchip_gpio_irq 0 Edge keys |IPI0: 1559 1208 893 1131 Rescheduling interrupts |[...] Fix 40-net-smp-affinity to match the correct device irq name. Signed-off-by: Furong Xu <xfr@outlook.com>
* rockchip: require image metadataDavid Bauer2023-11-271-0/+2
| | | | | | | | | All devices in the rockchip target have appended image-metadata. Enforce the presence of this metadata to avoid flashing incomplete images. This is the de-facto standard for almost all OpenWrt targets. Signed-off-by: David Bauer <mail@david-bauer.net>
* rockchip: add NanoPi R5C supportTianling Shen2023-11-267-0/+247
| | | | | | | | | | | | | | | | | | | | | Hardware -------- RockChip RK3568 ARM64 (4 cores) 1GB or 4GB LPDDR4X RAM 2x 2500 Base-T 4 LEDs (LAN / WAN / WIFI / POWER) 1 Button (Reset) 8GB or 32GB eMMC on-board Micro-SD Slot M.2 Slot 2x USB 3.0 Port Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: add NanoPi R5S supportTianling Shen2023-11-269-0/+2156
| | | | | | | | | | | | | | | | | | | | | | Hardware -------- RockChip RK3568 ARM64 (4 cores) 2GB or 4GB LPDDR4X RAM 1x 1000 Base-T 2x 2500 Base-T 4 LEDs (LAN1 / LAN2 / WAN / POWER) 8GB eMMC on-board Micro-SD Slot M.2 Slot 2x USB 3.0 Port Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Tested-by: Packet Please <pktpls@systemli.org> Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: armv8: broaden boardnameTianling Shen2023-11-261-1/+1
| | | | | | Now we have rk356x support :-) Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: enable drivers for rk356xTianling Shen2023-11-263-5/+131
| | | | | | | Enable all necessary drivers for the rk356x SoCs, including PHY, SCMI, SPI etc. Also backport 2 upstream patches for sdhci fixes. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: remove kernel 5.15 patches and configTianling Shen2023-11-2612-1451/+0
| | | | | | As we switched to kernel 6.1, these files can go. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: switch to kernel 6.1Tianling Shen2023-11-261-2/+1
| | | | | | Required by the following rk3568 support. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: move image generation command to defaultTianling Shen2023-11-262-13/+2
| | | | | | | | It's applicable for all devices so move it to default to reduce redudant code. Addtionally introduce a new variable `BOOT_SCRIPT` to allow custom boot script (if necessary). Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* treewide: disable CONFIG_SLUB_DEBUG in target configsRafał Miłecki2023-11-092-3/+0
| | | | | | | | | | | From the symbol help message: > SLUB has extensive debug support features. Disabling these can result > in significant savings in code size. There seems to be no need to enable those debugging features for standard use. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* rockchip: refresh kernel configRafał Miłecki2023-11-072-13/+1
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* rockchip: add support for Radxa ROCK Pi EJayantajit Gogoi2023-09-051-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for Radxa ROCK Pi E, rockchip rk3328 board. Specification: - CPU: Rockchip RK3328 64-bit Quad-core - RAM: DDR3 256MB ~ 2GB - Network: 1 x 10/100/1000M Ethernet 1 x 10/100M Ethernet - Storage: 1 x MicroSD Slot 1 x eMMC Module Slot - USB Host/OTG: 1 x USB3.0 Type A HOST 1 x USB2.0 HOST (40-pin pin-header) - Wireless RTL8723DU/RTL8821CU - Debug Serial: 1500000 baud at UART2 ( 40-pin pin-header) - Power Supply: Type-C 5V Optionally PoE Installation: - Write image to SD Card or EMMC with dd - Boot ROCK Pi E from the SD Card Signed-off-by: Jayantajit Gogoi <jayanta.gogoi525@gmail.com>