Commit Graph

6307 Commits

Author SHA1 Message Date
Shlomi Marco
8babf18aac rockchip64-6.18: nanopi-zero2: enable PCIe for M.2 WiFi slot
Enable the PCIe Gen2x1 controller and combo PHY on the NanoPi Zero2
to support the M.2 Key-E 2230 slot used for WiFi/BT cards (e.g. Intel
AX210).

The reset GPIO (gpio1 RK_PA2) and pinctrl (pciem1_pins) match the
vendor kernel device tree.

Note: Intel AX210 requires iwlwifi firmware >= v89
(iwlwifi-ty-a0-gf-a0-89.ucode) which may not be included in minimal
images. Install linux-firmware or armbian-firmware-full if needed.
Firmware available at:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/

Tested on hardware with Intel AX210 on kernel 6.18 (current branch).
2026-03-02 17:03:00 +01:00
Patrick Yavitz
15174efc6d SpacemiT: Add linux-7.0.y patch set
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-02 17:02:32 +01:00
Igor Pecovnik
f15c115b1e meson: freeze current kernel at 6.12.28 and fix HDMI PHY frequency limit
- Freeze KERNELBRANCH at v6.12.28 for current branch
- Fix max_hdmi_phy_freq value from 1650000000 to 1650000 Hz

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-03-02 17:01:34 +01:00
EvilOlaf
2653bd6f5b orangepi5: rewrite uboot patches against v2026.04-rc3 2026-03-02 16:15:15 +01:00
Igor
7972ddbc4c
Fix kernel 6.18/6.19 patch compilation and cleanup upstreamed patches (#9447)
* uefi-arm64-6.18: fix stmmac Phytium driver compilation

Remove obsolete 'has_gmac' member assignment from struct plat_stmmacenet_data.
The field was removed in newer kernels as MAC version detection is now
handled automatically from hardware registers.

Fixes compilation error:
  error: 'struct plat_stmmacenet_data' has no member named 'has_gmac'

* meson64-6.19: drop upstreamed odroid regulator boot-on patch

The Odroid HC4 regulator-boot-on fix has been upstreamed in kernel 6.19.

Original patch:
  Fixes: 164147f094ec ("arm64: dts: meson-sm1-odroid-hc4: add regulators")
  Fixes: 45d736ab17b4 ("arm64: dts: meson-sm1-odroid: add 5v regulator gpio")
  Fixes: 1f80a5cf74a6 ("arm64: dts: meson-sm1-odroid: add missing enable gpio")
  Fixes: 88d537bc92ca ("arm64: dts: meson: convert meson-sm1-odroid-c4 to dtsi")

* meson64-6.18: update meson-axg mmc phase configuration

Add amlogic,mmc-phase properties to sd_emmc_b and sd_emmc_c nodes
for proper MMC timing configuration on Amlogic AXG SoCs.

* Disable Pythium onboard nic driver
2026-03-01 01:19:43 +01:00
Mecid Urganci
3f22500237 qcs6490: Use 6.18.2 from radxa 2026-03-01 01:16:55 +01:00
Milivoje Legenovic
d68d84ae68 Odroid-M2: Enable HDMI audio
Signed-off-by: Milivoje Legenovic <m.legenovic@gmail.com>
2026-02-28 22:28:39 +01:00
EvilOlaf
8821837c01 orangepi5: bump u-boot to v2026.04-rc3 2026-02-28 22:28:29 +01:00
retro98boy
54ade91808 rockchip64: Drop upstreamed i2s-tdm patch 2026-02-28 08:42:08 +01:00
Ricardo Pardini
12f4e9f91b rockchip64-6.19: mekotronics-r58x-pro: fix LED swap
- LED on gpio3 RK_PC5 is actually the WIFI led (not 4G)
- 4G LED is routed into the mini-pci slot and not SoC-controllable
2026-02-25 07:49:59 -03:00
Ricardo Pardini
08d821437c rockchip64-6.19: mekotronics-r58x-pro: drop duplicate usb_host0_xhci & fix USB3 Type-A port
- that was for otg/ums bringup
- now `-u-boot.dts` does it instead
- add missing usbdp_phy0 with lane mux split with DP (type-c/DP)
- drop DP mux from usbdp_phy1 (which should just be type-a and no DP)
2026-02-25 07:49:59 -03:00
Ricardo Pardini
8f86f24f0f rockchip64-6.19: mekotronics-r58x-pro: add vk2c21 DT node
- for the LCD, using new bit-banging driver
2026-02-25 07:49:59 -03:00
Ricardo Pardini
5ee03afdb5 rockchip64-6.19: auxdisplay: add a driver for Vinka VK2C21 Segment LCD Controller
- for the Mekotronics R58X Pro LCD
- The Vinka VK2C21 (and pin-compatible VK2C21A/VK2C21B) is a memory-mapping
  segment LCD controller that communicates over I2C.  It can drive up to
  128 segments (e.g. 32 SEG × 4 COM in 1/3 bias mode).
- Some SBCs wire this chip to GPIO pins without I2C pull-up
  resistors, making the standard i2c-gpio (open-drain) driver unusable.
  This driver therefore bit-bangs I2C in push-pull mode directly via GPIO,
  requiring no external pull-ups.
- extra glyphs and fix for top-bar

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2026-02-25 07:49:59 -03:00
Ricardo Pardini
692583a57c mekotronics-r58x-pro: mainline u-boot v2026.04-rc2; mainline 6.19 kernel (edge)
- with its own defconfig (identical to r58x-4g)
- own DT symlink
- fix the vendor DT (was missing the `maizhuo` suffix - no dial gpio keys)
2026-02-25 07:49:59 -03:00
Ricardo Pardini
a1d85a2a3a rockchip64-6.19: mekotronics-r58x-pro: add gpio-keys for the big dial in the front 2026-02-25 07:49:59 -03:00
Ricardo Pardini
4db14082b8 rockchip64-6.19: mekotronics-r58x-pro: model/compatible 2026-02-25 07:49:59 -03:00
Ricardo Pardini
5c63ed9b3c rockchip64-6.19: mekotronics-r58x-pro: copy from r58x-4g
- it is very similar
- new DT name, as I will submit those to linux-rockchip eventually
2026-02-25 07:49:59 -03:00
EvilOlaf
ce2506ddf1 uefi-x86-current: rewrite patches 2026-02-24 15:01:53 +01:00
EvilOlaf
11823ab0d1 meson64-current: rewrite patches 2026-02-24 15:01:53 +01:00
EvilOlaf
20050860f0 rockchip64-edge: rewrite patches 2026-02-24 15:01:53 +01:00
EvilOlaf
15393d6dc6 rockchip64-current: rewrite patches 2026-02-24 15:01:53 +01:00
Patrick Yavitz
57694c740d Set devtype devnum and distro_bootpart var when booting from nvme
This will ensure future boot scripts should function correctly.

Tested-on: BPI-F3 and MusePi Pro
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-24 08:17:39 -05:00
Patrick Yavitz
a4de6bfd42 SpacemiT: Quiet MBR support
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-24 08:17:39 -05:00
Patrick Yavitz
0d8faf47da SpacemiT: Update OpenSBI/U-Boot to k1-bl-v2.2.9-release
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-24 08:17:39 -05:00
chainsx
fdc58def79 station-m2: fix sata 2026-02-23 23:05:36 +01:00
retro98boy
79910a5dd7 rockchip64: Fix RTL8211 phy LED dts setting patch 2026-02-23 23:00:14 +01:00
Martin Schmiedel
59b45120eb MBa8MPxL: update linux and u-boot
- update linux to 6.18.y
- use latest tq-uboot

Signed-off-by: Martin Schmiedel <martin.schmiedel@tq-group.com>
2026-02-23 22:59:11 +01:00
Vitalij Borissow
185f7978bf Add IOMMU GFP_DMA32 patch for RK3568 8GB systems
Force GFP_DMA32 allocation for Rockchip IOMMU v2 page tables to fix
NPU operation on systems with >4GB RAM. Without this patch, IOMMU
allocates page tables above 4GB which the NPU cannot access, causing
DMA mapping failures.

Tested on ODROID-M1 with 8GB RAM, kernel 6.18.9-current-rockchip64.
2026-02-23 00:40:34 +01:00
Mecid
77f919f6cd
Rock-4D: Add Edge + RK3576 Mainline U-Boot (with UFS support) (#9421)
* Rock-4D: Edge (u-boot and kernel)

* RK3576: Mainline u-boot ufs boot enablement patches

* Rock-4D: Use Mainline u-boot 2026.04-rc2

* Rock-4D: Update KERNEL_TEST_TARGET to edge

* Rock-4D: Use Mainline u-boot on vendor and edge

* Remove vendor branch check for mainline uboot
2026-02-20 21:55:32 +01:00
Sven-Ola Tuecke
db44df7501 Spacemit: fix high CPU load caused by rCPU remoteproc communication kthread
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
4367b85577 Spacemit: prevent uninitialized thread shutdown (triggerd by the rabbit)
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
77477699b2 OrangePi-RV2/R2V: fix copy/paste error in DT model string
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
1a129fb721 Spacemit: rename patch comment to match patch content
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
c630907ac6 Spacemit: HDMI audio fix, set highest realtime prio
Shoud prevent possible error in sched_setscheduler() says the rabbit.

Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
27dcadab8f Spacemit: re-add wrongly removed OrangePi RV2 flash chip
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
b99f4bc53b Spacemit: revert XMC flash chip addon, use .config instead 2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
6326273663 Patch fixup to prevent .orig
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
99ac3ea2d0 OrangePi-RV2/R2S: synchronize Eth/RGMII unit-address in DT
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
15cc508714 OrangePi-RV2: Completely disable unused pwr-gpios
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
71736aaa11 Spacemit: HDMI audio fix: revert busy-loop removal, apply 1 sec timeout
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
bfb16c7a7b OrangePi-RV2: fix internal audio, activate headphone gpio
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
4612a15fb2 Revert "Spacemit: temporarly revert kthread removal to fix HDMI audio"
This reverts commit 99ad08839e.
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
e873ba6cc9 Spacemit: temporarly revert kthread removal to fix HDMI audio
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
eeeae16755 Spacemit: fix HDMI audio (and rCPU communication)
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
0677c69089 General: do not use PCIe ASPM with Samsung 9b1 NVME
Note: have a 128Gb 2030 NVME that returns read errors with Active State PM

Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
d4c5fb249f OrangePi-R2S: Realtek 8125 Ethernet support
Driver for Ethernet/PCI as found with Xunlong/Ky on the
OrangePi RV2/R2S source tree. Added as kernel patch since
the current spacemit family has conflicting changes with
rtl8852bs when enabling EXTRAWIFI=yes

Note: on the Xunlong/Ky tree, there is also a realtek_pgtool/
subdir that compiles a pgdrv.ko. B/c this does not have a
license indication, is only needed e.g. for MAC address
programming of efuse / eeprom, and generally does not look
required this is ommited here. For details, you may refer
to https://github.com/redchenjs/rtnicpg

Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
7c0d37997c OrangePi-RV2: Add overlay dtbo files
This is for use with fdtoverlays directive in extlinux.conf
to enabled different configs for the Opi rv2 pin headers

Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
d68fb5d2d2 OrangePi-RV2: add missing interrupt for bcmdhd WLAN hostwake GPIO
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
51295805e2 Spacemit: HW crypto fixes / speedup.
Note: HW AES is really slow with LUKS2 when using default 512 byte block
size, regardless what cryptsetup benchmark prints out (this uses 65536
bytes). Performance is much better with luksFormat --sector-size 4096.

Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
2c8090aaaa OrangePi-RV2: u-boot FIT configs for rv2 and r2s (auto-selected via TLV chip setting)
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00