Commit Graph

23 Commits

Author SHA1 Message Date
schwar3kat
72a505d061
Merge pull request #4778 from schwar3kat/Tweak-orangepi-r1plus-lts-LEDs-and-networking
Tweak orangepi-r1plus-lts LEDs and networking.
2023-02-02 11:29:10 +13:00
schwar3kat
219bbfcf8a
add-rk3328-device-tree-overlay-uart1-i2c0 (#4776)
RK3328 UART1 and I2C0 are available on Orange Pi R1 Plus LTS 13 pin connector. Add device tree overlay files for rk3328 uart1 and i2c0.

Co-authored-by: schwar3kat <schwar3kat@armbian.com>
2023-02-01 20:22:26 +01:00
schwar3kat
9cd5c76b2e
Tweak orangepi-r1plus-lts LEDs and networking.
Add sys-triggered LED's, fix LAN LEDS, and improve Debian dual network function.
2023-02-01 17:52:18 +13:00
schwar3kat
73f4776bf2
Clean_up_mbox_format_in_general-add-overlay-configfs.patch (#4705)
For rockchip64 all applicable versions. No code changes. Prevents patching errors in armbian-next.
2023-01-17 19:30:22 +01:00
Konstantin Litvinov
6d20fa48ac
This code was added to the sources, which creates a mess in rk3399-rock-pi-4.dts (#4619)
Co-authored-by: Konstantin Litvinov <klitvinov@piesoft.us>
2022-12-28 17:28:55 +01:00
Konstantin Litvinov
68802d5c78
Disable patch breaks Bluetooth (#4620)
Co-authored-by: Konstantin Litvinov <klitvinov@piesoft.us>
2022-12-28 17:28:19 +01:00
Ricardo Pardini
eb4c090a38
tinkerboard-2: move to "legacy" 21.07 u-boot; firmware & kernel DTS fixes (5.18/19,6.0) (#4449)
- notes in the board file about the RAM issues (tested, confirmed working blob change of #4383 by @pinhaozhang working with u-boot 21.07; `blobless` also works with ATF v2.7 on my known-good-RAM boards)
- tinkerboard-2: add full firmware, for the rtl8822ce PCIe Wifi default card in the tb2 as shipped by ASUS
- tinkerboard-2: uboot: rename `TARGET_TINKER-2_RK3399` to `TARGET_TINKER2_RK3399` to avoid warnings all over
- tinkerboard-2: slower but working Tinkerboard 2S eMMC (HS400+ES to HS200)
  - both for u-boot and kernel.
  - should not affect 2, only 2S
2022-11-16 22:04:38 +01:00
Ricardo Pardini
834fab09d0
armbian,spi-dev hacks also for rockchip64-5.18, .19, and 6.0.y (#4450) 2022-11-16 18:39:47 +01:00
Igor Pečovnik
9780da320e
Add Radxa ROCK Pi 4C Plus (#4129)
* Add Rockpi 4C+

* add newer patches:

- apply patches from RadxaNaoki <noaki@radxa.com>
  - ref 5652d6f9c2a4e2c50ac1040c0388859381b0616f: arm64: dts: rockchip: add gmac for ROCK 4C+ (#17)
- apply latest patches from Marcone <marco.nelissen@gmail.com>
  - ref e39da181b099a86f5440ed1c08fc699d4a65aed7: arm64: dts: rockchip: Make Rock Pi 4C+ ethernet actually work
  - ref 8c519612eeb852268371b3c596eec4622460e5bf: arm64: dts: rockchip: add Rock Pi 4C+ LEDs
  - ref 726441afe687ea6059bac37f145ff204b75430f7: arm64: dts: rockchip: enable Rock Pi 4C+ wifi
  - ref caad7bef3b5558e2598480c0a0089e2ac3cedcdd: arm64: dts: rockchip: enable Rock Pi 4C+ nvme
  - ref 6cdc3215d1691bcd2a407a30e88efa0cec179eb2: arm64: dts: rockchip: enable Rock Pi 4C+ OTG

* default top USB3 port to host mode

* get 2nd HDMI port to work at least. :)

* revert OTG USB3.1 port back to otg mode

* [rockpi4c+] update board def.  add usb host overlay.

* remove redundant HDMI clocks and voltages

* enable test builds for Rock PI 4 C+

* [rockpi4c+] add USB host overlay

Co-authored-by: Joe Khoobyar <fourheads@gmail.com>
2022-11-02 06:58:31 +01:00
Igor Pečovnik
224b784d6c
Revert "Add an attempt counter, which helps buggy PCIe links. (#4308)" (#4369)
This reverts commit 27bbf8bbaa.
2022-10-30 10:55:13 +01:00
David Manouchehri
27bbf8bbaa
Add an attempt counter, which helps buggy PCIe links. (#4308)
* Add an attempt counter, which helps buggy PCIe links.

* Adjust patches

* Add PCIe retry patch for rockchip64-6.0.

Co-authored-by: Igor <igor@armbian.com>
2022-10-26 21:32:42 +02:00
David Manouchehri
504c8462f1 Fix filename typo. 2022-10-21 23:19:07 +02:00
David Manouchehri
78a406d73f Add rk3399's rng to kernel dts. 2022-10-21 23:19:07 +02:00
brentr
f6f3f1b8b0
Restored Hardware Random Number Generator from legacy (4.4) kernel (#4286)
so boot no longer starves for entropy, delaying for up to 15 seconds
Advances kernel to v5.19.15
2022-10-15 10:46:04 +02:00
brentr
d3a3afe385
Rockpis wifi fixes (#4008)
* RockPI-S board has no video I/O

* udev rule to fix MAC address of iface based on UUID

Deals with WiFi chip lacking any EEPROM to store its unique Ethernet MAC address
Generic mechanism -- could be utilized for other boards having similar issues

* Handy Device Tree overlays for the RockPI S

Use armbian-add-overlay to install these

Reduce CPU voltage for the RK3308 B-S
  Option to overclock RK3308 B-S to 1.3Ghz

Increase SDIO clock rate from 1Mhz to 10Mhz
  This increases WiFi throughput from 300K bytes/s to 2.4M bytes/s

* corrected comment

* No longer repeat standard opp's in this dts

Require that the standard bs dts already be installed

* User README for adding RockPI-S board variant specific dts overlays

* "enabled" --> "okay"

* added mention of sdnand.dts, fixed typo

* added p2p0 to interfaces whose MAC address should be "fixed"

* RK3308 CPU serial number in nvmem replaces UUID for derivation of fixed MAC addr
Restored use of install utility

* Use RK3308 specific CPU serial number

rather than rootfs UUID

* remove generic fixMACaddress

* Install fixMACaddr file-by-file via install utility

* Drive SDIO bus signals faster

setting RK3308_SOC_CON0_VCCIO3 reduces signal rise/fall times to WiFi SDIO chip
from 30ns to 5ns.
This odd fix forward ported from legacy kernel.
Allows Rock Pi-S WiFi to operate at full speed.

* Set RK3308 I/O voltage domains before SDIO initializes

This patch moves responibility form the io-domain to the pinctrl driver because
the io-domain driver is probed after the SDIO devices are discovered.
This was causing multiple SDIO I/O failures during boot.

A new pinctrl property is added:
io-1v8-domains
is a u32 interpreted as a bit mask where each set bit corresponds to
a 1.8V I/O domain (as opposed to the default of 3.3V for I/O)
The mask is writted to the RK3308_SOC_CON0 GRF register
(once) when the pinctrl driver starts

The default mask is 0x10 where only I/O domain 4 runs at 1.8V

This is necessary for the RockPI-S to run the SDIO clock at high (50Mhz) speed

* align whitespace

* factored rk3308bs overlays out up sdio speedup patch

* factored dts for RK3308 iodomains and pinctrl patches out of speedup patch

* remains of sdio speedup patch merely add iodomains support for rk3308

* factored rockpis dts modification out from rk3308 io voltage domains

replaced rk3308 support from iodomains with
new io-voltage-domains property added to pinctrl
io-voltage-domains specific to rk3308 for now, others SOCs may be added later.

* add sequence numbering to names of rk3308 patches

* corrected tab alignment
2022-10-13 18:34:43 +02:00
Paolo
f2ddee56a1
fix orangepi4-lts rk808 interrupt line, sdcard detection and wifi freq (#4278) 2022-10-13 18:17:46 +02:00
Paolo
78bbdf44d0
rockchip64: add ssv6051p wifi driver for current and edge kernel (#4269)
* Add ssv6051p wifi driver for rockchip64 current and edge kernel

 * also reorders and tidies device tree overlays for rk3318-box

* increase ssv6051 sdio bus to 50MHz in the driver
2022-10-12 11:22:33 +02:00
aiamadeus
8648dde23f
rockchip: fixes support for orangepi-r1plus (#4215)
* rockchip: replace r8152 patches with openwrt

* rockchip: fixes support for orangepi-r1plus

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2022-09-22 10:25:28 +02:00
Igor Pečovnik
2f1140edb1
Re-enable Neo3 in the EDGE kernel (#4193) 2022-09-20 08:50:23 +02:00
Igor Pečovnik
03dbd9d3a7
Move header revert patch under misc patches (#4128)
* Move header revert patch under misc patches as its only related to extra wifi drivers

* Update text
2022-08-29 08:44:21 +02:00
Paolo Sabatino
39760f3020 rockchip64: remove inno usb2 phy init code causing kernel fault 2022-08-23 21:36:43 +02:00
Paolo Sabatino
5326e1061f rk322x, rockchip64: fix edge patches preventing compilation 2022-08-18 16:32:43 +02:00
Jianfeng Liu
8c6641e7b7
update rockchip64 edge to 5.19 (#4039) 2022-08-03 22:22:55 +02:00