dts, restore pwm-fan
This commit is contained in:
parent
945572718a
commit
ead4b8fb4e
@ -21,7 +21,7 @@ new file mode 100644
|
||||
index 0000000..19a0256
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/armada-388-helios4.dts
|
||||
@@ -0,0 +1,333 @@
|
||||
@@ -0,0 +1,329 @@
|
||||
+/*
|
||||
+ * Device Tree file for Helios4
|
||||
+ * based on SolidRun Clearfog revision A1 rev 2.0 (88F6828)
|
||||
@ -142,17 +142,13 @@ index 0000000..19a0256
|
||||
+ };
|
||||
+
|
||||
+ fan1: j10-pwm {
|
||||
+ compatible = "gpio-fan";
|
||||
+ gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
|
||||
+ gpio-fan,speed-map = < 0 0
|
||||
+ 3800 1>;
|
||||
+ compatible = "pwm-fan";
|
||||
+ pwms = <&gpio1 9 3800>;
|
||||
+ };
|
||||
+
|
||||
+ fan2: j17-pwm {
|
||||
+ compatible = "gpio-fan";
|
||||
+ gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
|
||||
+ gpio-fan,speed-map = < 0 0
|
||||
+ 3800 1>;
|
||||
+ compatible = "pwm-fan";
|
||||
+ pwms = <&gpio1 23 3800>;
|
||||
+ };
|
||||
+
|
||||
+ usb2_phy: usb2-phy {
|
||||
|
||||
@ -1,26 +0,0 @@
|
||||
diff --git a/arch/arm/boot/dts/armada-388-helios4.dts b/arch/arm/boot/dts/armada-388-helios4.dts
|
||||
index ec7a5ce..1075535 100644
|
||||
--- a/arch/arm/boot/dts/armada-388-helios4.dts
|
||||
+++ b/arch/arm/boot/dts/armada-388-helios4.dts
|
||||
@@ -131,13 +131,17 @@
|
||||
};
|
||||
|
||||
fan1: j10-pwm {
|
||||
- compatible = "pwm-fan";
|
||||
- pwms = <&gpio1 9 3800>;
|
||||
+ compatible = "gpio-fan";
|
||||
+ gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
|
||||
+ gpio-fan,speed-map = < 0 0
|
||||
+ 3800 1>;
|
||||
};
|
||||
|
||||
fan2: j17-pwm {
|
||||
- compatible = "pwm-fan";
|
||||
- pwms = <&gpio1 23 3800>;
|
||||
+ compatible = "gpio-fan";
|
||||
+ gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
|
||||
+ gpio-fan,speed-map = < 0 0
|
||||
+ 3800 1>;
|
||||
};
|
||||
|
||||
usb2_phy: usb2-phy {
|
||||
Loading…
Reference in New Issue
Block a user