aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi')
-rw-r--r--target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi17
1 files changed, 10 insertions, 7 deletions
diff --git a/target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi b/target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi
index 7095006454..5993c1b798 100644
--- a/target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi
@@ -39,15 +39,18 @@
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
};
-};
-&gpio1 {
- status = "okay";
+ gpio1: rtl8231-gpio {
+ compatible = "realtek,rtl8231-gpio";
+ #gpio-cells = <2>;
+ gpio-controller;
+ indirect-access-bus-id = <0>;
- poe_enable {
- gpio-hog;
- gpios = <13 0>;
- output-high;
+ poe_enable {
+ gpio-hog;
+ gpios = <13 GPIO_ACTIVE_HIGH>;
+ output-high;
+ };
};
};