|
|
@@ -38,29 +38,6 @@
|
|
|
};
|
|
|
};
|
|
|
|
|
|
- gpio1: rtl8231-gpio {
|
|
|
- compatible = "realtek,rtl8231-gpio";
|
|
|
- #gpio-cells = <2>;
|
|
|
- gpio-controller;
|
|
|
- indirect-access-bus-id = <0>;
|
|
|
-
|
|
|
- poe_enable {
|
|
|
- gpio-hog;
|
|
|
- gpios = <1 GPIO_ACTIVE_HIGH>;
|
|
|
- output-high;
|
|
|
- line-name = "poe-enable";
|
|
|
- };
|
|
|
-
|
|
|
- sff_p9_gpios {
|
|
|
- gpio-hog;
|
|
|
- gpios = < 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>,
|
|
|
- < 11 GPIO_ACTIVE_HIGH>, /* los-gpio */
|
|
|
- < 12 GPIO_ACTIVE_LOW>; /* mod-def0-gpio */
|
|
|
- input;
|
|
|
- line-name = "sff-p9-gpios";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
gpio-export {
|
|
|
compatible = "gpio-export";
|
|
|
|
|
|
@@ -119,6 +96,40 @@
|
|
|
};
|
|
|
};
|
|
|
|
|
|
+&mdio_aux {
|
|
|
+ status = "okay";
|
|
|
+
|
|
|
+ gpio1: expander@0 {
|
|
|
+ compatible = "realtek,rtl8231";
|
|
|
+ reg = <0>;
|
|
|
+
|
|
|
+ gpio-controller;
|
|
|
+ #gpio-cells = <2>;
|
|
|
+ gpio-ranges = <&gpio1 0 0 37>;
|
|
|
+
|
|
|
+ poe_enable {
|
|
|
+ gpio-hog;
|
|
|
+ gpios = <1 GPIO_ACTIVE_HIGH>;
|
|
|
+ output-high;
|
|
|
+ line-name = "poe-enable";
|
|
|
+ };
|
|
|
+
|
|
|
+ sff_p9_gpios {
|
|
|
+ gpio-hog;
|
|
|
+ gpios = < 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>,
|
|
|
+ < 11 GPIO_ACTIVE_HIGH>, /* los-gpio */
|
|
|
+ < 12 GPIO_ACTIVE_LOW>; /* mod-def0-gpio */
|
|
|
+ input;
|
|
|
+ line-name = "sff-p9-gpios";
|
|
|
+ };
|
|
|
+
|
|
|
+ led-controller {
|
|
|
+ compatible = "realtek,rtl8231-leds";
|
|
|
+ status = "disabled";
|
|
|
+ };
|
|
|
+ };
|
|
|
+};
|
|
|
+
|
|
|
&spi0 {
|
|
|
status = "okay";
|
|
|
|