sata@45900000 {
status = "okay";
+ nr-ports = <2>;
};
nand@41000000 {
hdd1blue {
label = "kd20:blue:hdd1";
gpios = <&GPIOA 27 0>;
+ linux,default-trigger = "ata1";
};
hdd1red {
label = "kd20:red:hdd1";
hdd2blue {
label = "kd20:blue:hdd2";
gpios = <&GPIOB 6 0>;
+ linux,default-trigger = "ata2";
};
hdd2red {
label = "kd20:red:hdd2";
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-poweroff {
+ compatible = "gpio-poweroff";
+ gpios = <&GPIOA 9 0>;
+ };
};