projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
oxnas: fix gpio-fan on kd20
[openwrt.git]
/
target
/
linux
/
oxnas
/
files
/
arch
/
arm
/
boot
/
dts
/
ox820-kd20.dts
diff --git
a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
index
e7ee587
..
217d812
100644
(file)
--- a/
target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
+++ b/
target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
@@
-26,6
+26,7
@@
sata@45900000 {
status = "okay";
sata@45900000 {
status = "okay";
+ nr-ports = <2>;
};
nand@41000000 {
};
nand@41000000 {
@@
-106,6
+107,7
@@
hdd1blue {
label = "kd20:blue:hdd1";
gpios = <&GPIOA 27 0>;
hdd1blue {
label = "kd20:blue:hdd1";
gpios = <&GPIOA 27 0>;
+ linux,default-trigger = "ata1";
};
hdd1red {
label = "kd20:red:hdd1";
};
hdd1red {
label = "kd20:red:hdd1";
@@
-114,6
+116,7
@@
hdd2blue {
label = "kd20:blue:hdd2";
gpios = <&GPIOB 6 0>;
hdd2blue {
label = "kd20:blue:hdd2";
gpios = <&GPIOB 6 0>;
+ linux,default-trigger = "ata2";
};
hdd2red {
label = "kd20:red:hdd2";
};
hdd2red {
label = "kd20:red:hdd2";
@@
-123,14
+126,22
@@
label = "kd20:blue:usb";
gpios = <&GPIOB 8 0>;
};
label = "kd20:blue:usb";
gpios = <&GPIOB 8 0>;
};
- buzzer {
- label = "kd20:buzzer";
- gpios = <&GPIOB 11 0>;
- };
+ };
+
+ beeper: beeper {
+ compatible = "gpio-beeper";
+ gpios = <&GPIOB 11 0>;
};
gpio-fan {
compatible = "gpio-fan";
gpios = <&GPIOA 2 1>;
};
gpio-fan {
compatible = "gpio-fan";
gpios = <&GPIOA 2 1>;
+ gpio-fan,speed-map = <0 0
+ 3000 1>;
+ };
+
+ gpio-poweroff {
+ compatible = "gpio-poweroff";
+ gpios = <&GPIOA 9 0>;
};
};
};
};