diff mbox series

[v2] arm64: dts: rockchip: Add some pins for NanoPi4

Message ID e870284a872567f163868b77267c01b77ed6f22a.1647381986.git.robin.murphy@arm.com (mailing list archive)
State New, archived
Headers show
Series [v2] arm64: dts: rockchip: Add some pins for NanoPi4 | expand

Commit Message

Robin Murphy March 15, 2022, 10:08 p.m. UTC
The NanoPi4 boards have the RK808's always-on 32KHz clock wired to the
SoC, so have it claim the relevant pinctrl to actually enable the
CLK32K_IN input. The RK808's SLEEP pin is also wired to the SoC's
AP_PWROFF output, so we may as well claim that too.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
---

v2: Fix embarrassingly silly mixup, and thoroughly build and
boot-test the actual patch rather than an "equivalent" local
hack...

 arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Heiko Stuebner March 15, 2022, 11:47 p.m. UTC | #1
On Tue, 15 Mar 2022 22:08:10 +0000, Robin Murphy wrote:
> The NanoPi4 boards have the RK808's always-on 32KHz clock wired to the
> SoC, so have it claim the relevant pinctrl to actually enable the
> CLK32K_IN input. The RK808's SLEEP pin is also wired to the SoC's
> AP_PWROFF output, so we may as well claim that too.

Applied, thanks!

[1/1] arm64: dts: rockchip: Add some pins for NanoPi4
      commit: 4588a0ca73e01164a4d1d8b754ba96e45f164ebb

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi
index 8c0ff6c96e03..248ad41a976b 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi
@@ -267,7 +267,7 @@  rk808: pmic@1b {
 		interrupt-parent = <&gpio1>;
 		interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
 		pinctrl-names = "default";
-		pinctrl-0 = <&pmic_int_l>;
+		pinctrl-0 = <&pmic_int_l>, <&ap_pwroff>, <&clk_32k>;
 		rockchip,system-power-controller;
 		wakeup-source;