From 6f0273dde7ed289d0eaddb5427539bb92fccc75f Mon Sep 17 00:00:00 2001 From: baiywt Date: Mon, 25 Dec 2023 16:43:43 +0800 Subject: [PATCH] arm64: dts: rockchip: Update rk3588s-orangepi-5.dts for rev 1.3.2 --- .../boot/dts/rockchip/rk3588s-orangepi-5.dts | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts b/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts index 83154b6e3ad7..75732b85f4c3 100755 --- a/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts @@ -49,7 +49,7 @@ enable-active-high; regulator-boot-on; regulator-always-on; - gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; + gpios = <&gpio2 RK_PA1 GPIO_ACTIVE_HIGH>; startup-delay-us = <50000>; vin-supply = <&vcc5v0_sys>; }; @@ -67,6 +67,22 @@ linux,default-trigger-delay-ms = <0>; }; }; + + fan: pwm-fan { + compatible = "pwm-fan"; + #cooling-cells = <2>; + pwms = <&pwm12 0 50000 0>; + cooling-levels = <0 50 100 150 200 255>; + rockchip,temp-trips = < + 50000 1 + 55000 2 + 60000 3 + 65000 4 + 70000 5 + >; + + status = "okay"; + }; }; &gmac1 { @@ -214,6 +230,12 @@ pinctrl-0 = <&uart1m1_xfer>; }; +&pwm12 { + status = "okay"; + pinctrl-names = "active"; + pinctrl-0 = <&pwm12m1_pins>; +}; + &pwm13 { status = "disabled"; pinctrl-names = "active";