|
|
@@ -5,8 +5,37 @@
|
|
|
/ {
|
|
|
compatible = "hpe,1920-48g-poe", "realtek,rtl8393-soc";
|
|
|
model = "HPE 1920-48G-PoE (JG928A)";
|
|
|
+
|
|
|
+ gpio_fan_array {
|
|
|
+ compatible = "gpio-fan";
|
|
|
+
|
|
|
+ gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
|
|
|
+ gpio-fan,speed-map = <5000 0>,
|
|
|
+ <8200 1>;
|
|
|
+
|
|
|
+ alarm-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
|
|
|
+ #cooling-cells = <2>;
|
|
|
+ };
|
|
|
};
|
|
|
|
|
|
&uart1 {
|
|
|
status = "okay";
|
|
|
};
|
|
|
+
|
|
|
+&mdio_aux {
|
|
|
+ status = "okay";
|
|
|
+
|
|
|
+ gpio1: expander@0 {
|
|
|
+ compatible = "realtek,rtl8231";
|
|
|
+ reg = <0>;
|
|
|
+
|
|
|
+ gpio-controller;
|
|
|
+ #gpio-cells = <2>;
|
|
|
+ gpio-ranges = <&gpio1 0 0 37>;
|
|
|
+
|
|
|
+ led-controller {
|
|
|
+ compatible = "realtek,rtl8231-leds";
|
|
|
+ status = "disabled";
|
|
|
+ };
|
|
|
+ };
|
|
|
+};
|