forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: rockchip: sync upstream 6.6 source code
- Loading branch information
Showing
6 changed files
with
65 additions
and
27 deletions.
There are no files selected for viewing
Empty file modified
0
target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3399-king3399.dts
100755 → 100644
Empty file.
Empty file modified
0
target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3566-panther-x2.dts
100755 → 100644
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
...linux/rockchip/patches-6.6/114-arm64-dts-rockchip-Update-LED-properties-for-Orange-.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
From d2166e3b3680bd2b206aebf1e1ce4c0d346f3c50 Mon Sep 17 00:00:00 2001 | ||
From: Tianling Shen <[email protected]> | ||
Date: Fri, 19 May 2023 12:10:52 +0800 | ||
Subject: [PATCH] arm64: dts: rockchip: Update LED properties for Orange Pi R1 | ||
Plus | ||
|
||
Add OpenWrt's LED aliases for showing system status. | ||
|
||
Signed-off-by: Tianling Shen <[email protected]> | ||
--- | ||
.../dts/rockchip/rk3328-orangepi-r1-plus.dts | 17 +++++++++-------- | ||
1 file changed, 9 insertions(+), 8 deletions(-) | ||
|
||
--- a/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dts | ||
@@ -17,6 +17,11 @@ | ||
aliases { | ||
ethernet1 = &rtl8153; | ||
mmc0 = &sdmmc; | ||
+ | ||
+ led-boot = &status_led; | ||
+ led-failsafe = &status_led; | ||
+ led-running = &status_led; | ||
+ led-upgrade = &status_led; | ||
}; | ||
|
||
chosen { | ||
@@ -41,11 +46,10 @@ | ||
gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>; | ||
}; | ||
|
||
- led-1 { | ||
+ status_led: led-1 { | ||
function = LED_FUNCTION_STATUS; | ||
color = <LED_COLOR_ID_RED>; | ||
gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>; | ||
- linux,default-trigger = "heartbeat"; | ||
}; | ||
|
||
led-2 { |
24 changes: 24 additions & 0 deletions
24
...linux/rockchip/patches-6.6/115-arm64-dts-rockchip-add-LED-configuration-to-Orange-P.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From b46a530d12ada422b9d5b2b97059e0d3ed950b40 Mon Sep 17 00:00:00 2001 | ||
From: Tianling Shen <[email protected]> | ||
Date: Fri, 19 May 2023 12:38:04 +0800 | ||
Subject: [PATCH] arm64: dts: rockchip: add LED configuration to Orange Pi R1 | ||
Plus | ||
|
||
Add the correct value for the RTL8153 LED configuration register to | ||
match the blink behavior of the other port on the device. | ||
|
||
Signed-off-by: Tianling Shen <[email protected]> | ||
--- | ||
arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dts | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
--- a/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dts | ||
@@ -365,6 +365,7 @@ | ||
rtl8153: device@2 { | ||
compatible = "usbbda,8153"; | ||
reg = <2>; | ||
+ realtek,led-data = <0x87>; | ||
}; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,8 +17,8 @@ Signed-off-by: hmz007 <[email protected]> | |
--- a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts | ||
@@ -7,6 +7,7 @@ | ||
|
||
#include <dt-bindings/input/input.h> | ||
#include <dt-bindings/leds/common.h> | ||
#include <dt-bindings/gpio/gpio.h> | ||
+#include "rk3328-dram-default-timing.dtsi" | ||
#include "rk3328.dtsi" | ||
|