openwrt/target/linux/realtek
Markus Stockhausen 23faf4c485 realtek: activate MIPS power cluster controller for RTL931x
The SMP environment is prepared well for the RTL93X. Now describe the
power cluster controller in the DTS. Tested on RTL9311 based Linksys
LGS352C.

Without patch:

root@OpenWrt:~# dmesg | grep CPU
[    0.140425] CPU1 revision is: 0001a120 (MIPS interAptiv (multi))
[    0.191952] Synchronize counters for CPU 1: done.
[    1.232191] CPU2: failed to start
[    1.237863] No online CPU in core 1 to start CPU3
[    2.273784] CPU3: failed to start
[    2.277589] smp: Brought up 1 node, 2 CPUs

root@OpenWrt:~# cat /proc/cpuinfo  | grep -E "model|proc"
processor               : 0
cpu model               : MIPS interAptiv (multi) V2.0
processor               : 1
cpu model               : MIPS interAptiv (multi) V2.0

With patch:

root@OpenWrt:~# dmesg | grep CPU
[    0.000000] CPU0 revision is: 0001a120 (MIPS interAptiv (multi))
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Failed to get CPU clock: -2
[    0.000000] CPU frequency from device tree: 1000MHz
[    0.133360] smp: Bringing up secondary CPUs ...
[    0.140418] CPU1 revision is: 0001a120 (MIPS interAptiv (multi))
[    0.191950] Synchronize counters for CPU 1: done.
[    0.230103] CPU2 revision is: 0001a120 (MIPS interAptiv (multi))
[    0.289220] Synchronize counters for CPU 2: done.
[    0.326189] CPU3 revision is: 0001a120 (MIPS interAptiv (multi))
[    0.378861] Synchronize counters for CPU 3: done.
[    0.413829] smp: Brought up 1 node, 4 CPUs

processor               : 0
cpu model               : MIPS interAptiv (multi) V2.0
processor               : 1
cpu model               : MIPS interAptiv (multi) V2.0
processor               : 2
cpu model               : MIPS interAptiv (multi) V2.0
processor               : 3
cpu model               : MIPS interAptiv (multi) V2.0

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19110
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-06-19 21:56:49 +02:00
..
base-files realtek: add support for TP-Link TL-ST1008F v2.0 2025-06-16 13:30:52 +02:00
dts realtek: activate MIPS power cluster controller for RTL931x 2025-06-19 21:56:49 +02:00
files/firmware/rtl838x_phy
files-6.6 realtek: 6.12: restore files-6.6 2025-06-11 22:27:21 +02:00
files-6.12 realtek: rtl931x: fix I2C sda pin 2025-06-19 19:31:41 +02:00
image realtek: Add support for Zyxel XGS1210-12 Switch 2025-06-16 13:46:51 +02:00
patches-6.6 realtek: 6.12: restore patches-6.6 2025-06-11 22:27:21 +02:00
patches-6.12 generic: 6.12: backport accepted BCM5325 patches 2025-06-18 11:11:54 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: activate i2c-gpio-shared driver 2025-06-17 10:52:42 +02:00
rtl839x realtek: activate i2c-gpio-shared driver 2025-06-17 10:52:42 +02:00
rtl930x realtek: activate i2c-gpio-shared driver 2025-06-17 10:52:42 +02:00
rtl931x realtek: activate i2c-gpio-shared driver 2025-06-17 10:52:42 +02:00
Makefile realtek: 6.12: activate testing kernel 2025-06-11 22:27:22 +02:00