forked from armbian/build
-
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.
Fix OPi5plus hym8563 pinctrls and poweroff support (armbian#6276)
- Fix hym8563 interrupt pinctrls - Support poweroff - Correct gpio_pwrctrl1 typo
- Loading branch information
1 parent
fa3c796
commit f9c3b6c
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
57 changes: 57 additions & 0 deletions
57
...l/rockchip-rk3588-edge/0034-arm64-dts-fix-rtc-add-poweroff-support-Orange-Pi-5-Plus.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,57 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: John Doe <[email protected]> | ||
Date: Mon, 29 Jan 2024 12:51:13 +0100 | ||
Subject: Patching kernel rockchip-rk3588 files | ||
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts | ||
|
||
Signed-off-by: John Doe <[email protected]> | ||
--- | ||
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts | 6 ++++-- | ||
1 file changed, 4 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts | ||
index 88bfce6237db..70cc6bd5a0af 100644 | ||
--- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts | ||
@@ -462,11 +462,11 @@ &pcie3x4 { | ||
}; | ||
|
||
&pinctrl { | ||
hym8563 { | ||
hym8563_int: hym8563-int { | ||
- rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; | ||
+ rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; | ||
}; | ||
}; | ||
|
||
leds { | ||
blue_led_pin: blue-led { | ||
@@ -572,10 +572,12 @@ pmic@0 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, | ||
<&rk806_dvs2_null>, <&rk806_dvs3_null>; | ||
spi-max-frequency = <1000000>; | ||
|
||
+ system-power-controller; | ||
+ | ||
vcc1-supply = <&vcc5v0_sys>; | ||
vcc2-supply = <&vcc5v0_sys>; | ||
vcc3-supply = <&vcc5v0_sys>; | ||
vcc4-supply = <&vcc5v0_sys>; | ||
vcc5-supply = <&vcc5v0_sys>; | ||
@@ -592,11 +594,11 @@ pmic@0 { | ||
|
||
gpio-controller; | ||
#gpio-cells = <2>; | ||
|
||
rk806_dvs1_null: dvs1-null-pins { | ||
- pins = "gpio_pwrctrl2"; | ||
+ pins = "gpio_pwrctrl1"; | ||
function = "pin_fun0"; | ||
}; | ||
|
||
rk806_dvs2_null: dvs2-null-pins { | ||
pins = "gpio_pwrctrl2"; | ||
-- | ||
Created with Armbian build tools https://github.com/armbian/build | ||
|