mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-13 07:54:14 +00:00
32 lines
539 B
Plaintext
32 lines
539 B
Plaintext
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
||
|
#include <dt-bindings/gpio/gpio.h>
|
||
|
|
||
|
&mdio_aux {
|
||
|
status = "okay";
|
||
|
|
||
|
reset-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
|
||
|
reset-delay-us = <1000>;
|
||
|
reset-post-delay-us = <10000>;
|
||
|
|
||
|
gpio1: expander@0 {
|
||
|
compatible = "realtek,rtl8231";
|
||
|
reg = <0x0>;
|
||
|
|
||
|
gpio-controller;
|
||
|
#gpio-cells = <2>;
|
||
|
gpio-ranges = <&gpio1 0 0 37>;
|
||
|
|
||
|
poe_enable {
|
||
|
gpio-hog;
|
||
|
gpios = <13 GPIO_ACTIVE_HIGH>;
|
||
|
output-high;
|
||
|
};
|
||
|
|
||
|
led-controller {
|
||
|
compatible = "realtek,rtl8231-leds";
|
||
|
status = "disabled";
|
||
|
};
|
||
|
};
|
||
|
};
|