mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
2e715fb4fc
Add support for BCM2712 (Raspberry Pi 5).
3bb5880ab3
Patches were generated from the diff between linux kernel branch linux-6.1.y
and rpi-6.1.y from raspberry pi kernel source:
- git format-patch linux-6.1.y...rpi-6.1.y
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2710/RPi3B, bcm2711/RPi4B
Signed-off-by: Marty Jones <mj8263788@gmail.com>
[Remove applied and reverted patches, squash patches and config commits]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
57 lines
2.4 KiB
Diff
57 lines
2.4 KiB
Diff
From eeb5969ae34df16024f39a77496a44ae94bfab13 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Thu, 4 Jan 2024 13:56:39 +0000
|
|
Subject: [PATCH] ARM: dts: bcm2712-rpi-5-b: Add eth_ledx parameters
|
|
|
|
Include the dtparams controlling the Ethernet jack LEDs, as used on
|
|
other Pis.
|
|
|
|
See: https://github.com/raspberrypi/linux/issues/5825
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/bcm2712-rpi-5-b.dts | 2 ++
|
|
arch/arm/boot/dts/overlays/README | 6 +++---
|
|
2 files changed, 5 insertions(+), 3 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/bcm2712-rpi-5-b.dts
|
|
+++ b/arch/arm/boot/dts/bcm2712-rpi-5-b.dts
|
|
@@ -830,6 +830,8 @@ spi10_cs_pins: &spi10_cs_gpio1 {};
|
|
act_led_trigger = <&act_led>, "linux,default-trigger";
|
|
pwr_led_activelow = <&pwr_led>, "gpios:8";
|
|
pwr_led_trigger = <&pwr_led>, "linux,default-trigger";
|
|
+ eth_led0 = <&phy1>,"led-modes:0";
|
|
+ eth_led1 = <&phy1>,"led-modes:4";
|
|
drm_fb0_rp1_dsi0 = <&aliases>, "drm-fb0=",&dsi0;
|
|
drm_fb0_rp1_dsi1 = <&aliases>, "drm-fb0=",&dsi1;
|
|
drm_fb0_rp1_dpi = <&aliases>, "drm-fb0=",&dpi;
|
|
--- a/arch/arm/boot/dts/overlays/README
|
|
+++ b/arch/arm/boot/dts/overlays/README
|
|
@@ -207,7 +207,7 @@ Params:
|
|
0 means never downshift (default 2). Pi3B+ only.
|
|
|
|
eth_led0 Set mode of LED0 - amber on Pi3B+ (default "1"),
|
|
- green on Pi4 (default "0").
|
|
+ green on Pi4/5 (default "0").
|
|
The legal values are:
|
|
|
|
Pi3B+
|
|
@@ -217,7 +217,7 @@ Params:
|
|
4=link100/1000/activity 5=link10/1000/activity
|
|
6=link10/100/activity 14=off 15=on
|
|
|
|
- Pi4
|
|
+ Pi4/5
|
|
|
|
0=Speed/Activity 1=Speed
|
|
2=Flash activity 3=FDX
|
|
@@ -226,7 +226,7 @@ Params:
|
|
8=Link 9=Activity
|
|
|
|
eth_led1 Set mode of LED1 - green on Pi3B+ (default "6"),
|
|
- amber on Pi4 (default "8"). See eth_led0 for
|
|
+ amber on Pi4/5 (default "8"). See eth_led0 for
|
|
legal values.
|
|
|
|
eth_max_speed Set the maximum speed a link is allowed
|