arm64: dts: rockchip: Add some pins for NanoPi4
authorRobin Murphy <robin.murphy@arm.com>
Tue, 15 Mar 2022 22:08:10 +0000 (22:08 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 4 Apr 2022 08:01:53 +0000 (10:01 +0200)
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>
Link: https://lore.kernel.org/r/e870284a872567f163868b77267c01b77ed6f22a.1647381986.git.robin.murphy@arm.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi

index 8c0ff6c..248ad41 100644 (file)
                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;