mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Add a directory by kernel instead of a common root, add qnap-301w and rpi4 kernel 6.1 suppport
This commit is contained in:
parent
e910436a7a
commit
46837ec4c0
9459 changed files with 362648 additions and 116345 deletions
|
|
@ -0,0 +1,37 @@
|
|||
From 32047ab4823483605df394a767ec4793dde58d6c Mon Sep 17 00:00:00 2001
|
||||
From: Phil Elwell <phil@raspberrypi.com>
|
||||
Date: Wed, 14 Dec 2022 15:28:16 +0000
|
||||
Subject: [PATCH 532/726] dts: bcm2711: Add 'eee' dtparam
|
||||
|
||||
The 'eee' dtparam allows EEE to be disabled on the onboard Ethernet
|
||||
controller. Adding 'dtparam=eee=off' to config.txt causes
|
||||
'genet.eee=N' to be added to the kernel command line, which in turn
|
||||
tells the Genet driver to disable EEE.
|
||||
|
||||
See: https://github.com/raspberrypi/linux/issues/4289
|
||||
|
||||
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
||||
---
|
||||
arch/arm/boot/dts/bcm2711-rpi-ds.dtsi | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/bcm2711-rpi-ds.dtsi b/arch/arm/boot/dts/bcm2711-rpi-ds.dtsi
|
||||
index 5f9a5bad98ad..f342e8547a8e 100644
|
||||
--- a/arch/arm/boot/dts/bcm2711-rpi-ds.dtsi
|
||||
+++ b/arch/arm/boot/dts/bcm2711-rpi-ds.dtsi
|
||||
@@ -2,8 +2,12 @@
|
||||
#include "bcm270x-rpi.dtsi"
|
||||
|
||||
/ {
|
||||
+ chosen: chosen {
|
||||
+ };
|
||||
+
|
||||
__overrides__ {
|
||||
arm_freq;
|
||||
+ eee = <&chosen>,"bootargs{on='',off='genet.eee=N'}";
|
||||
hdmi = <&hdmi0>,"status",
|
||||
<&hdmi1>,"status";
|
||||
pcie = <&pcie0>,"status";
|
||||
--
|
||||
2.33.1
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue