arm64: dts: rockchip: Add pwm-fan for rk3588 evb

Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Change-Id: Ia0cf7c9ba9e53e427631a1068ebfc8fb315afb29
This commit is contained in:
Weixin Zhou
2021-11-29 15:49:15 +08:00
committed by Tao Huang
parent 6e6c4d831e
commit b874d148dc
7 changed files with 80 additions and 4 deletions

View File

@@ -43,6 +43,12 @@
};
};
fan: pwm-fan {
compatible = "pwm-fan";
#cooling-cells = <2>;
pwms = <&pwm9 0 50000 0>;
};
pcie20_avdd0v85: pcie20-avdd0v85 {
compatible = "regulator-fixed";
regulator-name = "pcie20_avdd0v85";
@@ -421,6 +427,11 @@
pinctrl-0 = <&pwm3m1_pins>;
};
&pwm9 {
pinctrl-0 = <&pwm9m2_pins>;
status = "okay";
};
&sata0 {
status = "okay";
};

View File

@@ -44,6 +44,12 @@
};
};
fan: pwm-fan {
compatible = "pwm-fan";
#cooling-cells = <2>;
pwms = <&pwm6 0 50000 0>;
};
hall_sensor: hall-mh248 {
compatible = "hall-mh248";
pinctrl-names = "default";
@@ -1096,6 +1102,11 @@
};
};
&pwm6 {
pinctrl-0 = <&pwm6m1_pins>;
status = "okay";
};
&pwm15 {
pinctrl-0 = <&pwm15m1_pins>;
status = "okay";

View File

@@ -10,6 +10,12 @@
#include "rk3588-rk806-single.dtsi"
/ {
fan: pwm-fan {
compatible = "pwm-fan";
#cooling-cells = <2>;
pwms = <&pwm14 0 50000 0>;
};
pcie30_avdd1v8: pcie30-avdd1v8 {
compatible = "regulator-fixed";
regulator-name = "pcie30_avdd1v8";
@@ -317,6 +323,11 @@
status = "okay";
};
&pwm14 {
pinctrl-0 = <&pwm14m1_pins>;
status = "okay";
};
&u2phy2 {
status = "disabled";
};

View File

@@ -24,6 +24,12 @@
};
};
fan: pwm-fan {
compatible = "pwm-fan";
#cooling-cells = <2>;
pwms = <&pwm9 0 50000 0>;
};
pcie20_avdd0v85: pcie20-avdd0v85 {
compatible = "regulator-fixed";
regulator-name = "pcie20_avdd0v85";
@@ -191,6 +197,11 @@
status = "okay";
};
&pwm9 {
pinctrl-0 = <&pwm9m2_pins>;
status = "okay";
};
&spdif_tx1 {
status = "okay";
pinctrl-names = "default";

View File

@@ -62,6 +62,12 @@
};
};
fan: pwm-fan {
compatible = "pwm-fan";
#cooling-cells = <2>;
pwms = <&pwm11 0 50000 0>;
};
hall_sensor: hall-mh248 {
compatible = "hall-mh248";
pinctrl-names = "default";
@@ -434,6 +440,11 @@
};
};
&pwm11 {
pinctrl-0 = <&pwm11m1_pins>;
status = "okay";
};
&pwm12 {
pinctrl-0 = <&pwm12m1_pins>;
status = "okay";

View File

@@ -28,6 +28,12 @@
vin-supply = <&avcc_1v8_s0>;
};
fan: pwm-fan {
compatible = "pwm-fan";
#cooling-cells = <2>;
pwms = <&pwm7 0 50000 0>;
};
vcc3v3_pcie20: vcc3v3-pcie20 {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_pcie20";
@@ -207,10 +213,6 @@
status = "disabled";
};
&sdmmc {
status = "okay";
};
&pcie2x1l2 {
reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
vpcie3v3-supply = <&vcc3v3_pcie20>;
@@ -243,6 +245,14 @@
};
};
&pwm11 {
status = "okay";
};
&sdmmc {
status = "okay";
};
&sata2 {
status = "okay";
};

View File

@@ -62,6 +62,12 @@
};
};
fan: pwm-fan {
compatible = "pwm-fan";
#cooling-cells = <2>;
pwms = <&pwm11 0 50000 0>;
};
rk_headset: rk-headset {
status = "okay";
compatible = "rockchip_headset";
@@ -588,6 +594,11 @@
};
};
&pwm11 {
pinctrl-0 = <&pwm11m1_pins>;
status = "okay";
};
&pwm13 {
status = "okay";
pinctrl-names = "active";