mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
51 lines
831 B
Plaintext
51 lines
831 B
Plaintext
|
#include "mt7622-ubnt-unifi-6-lr.dtsi"
|
||
|
|
||
|
/ {
|
||
|
aliases {
|
||
|
led-boot = &led_white;
|
||
|
led-failsafe = &led_white;
|
||
|
led-running = &led_blue;
|
||
|
led-upgrade = &led_blue;
|
||
|
};
|
||
|
|
||
|
gpio-leds {
|
||
|
compatible = "gpio-leds";
|
||
|
|
||
|
led_white: dome_white {
|
||
|
label = "white:dome";
|
||
|
gpios = <&pio 0x43 GPIO_ACTIVE_LOW>;
|
||
|
};
|
||
|
|
||
|
led_blue: dome_blue {
|
||
|
label = "blue:dome";
|
||
|
gpios = <&pio 0x44 GPIO_ACTIVE_HIGH>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
ð {
|
||
|
status = "okay";
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <ð_pins>;
|
||
|
|
||
|
gmac0: mac@0 {
|
||
|
compatible = "mediatek,eth-mac";
|
||
|
reg = <0>;
|
||
|
|
||
|
phy-mode = "sgmii";
|
||
|
phy-handle = <&phy0>;
|
||
|
phy-connection-type = "sgmii";
|
||
|
managed = "in-band-status";
|
||
|
};
|
||
|
|
||
|
mdio: mdio-bus {
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
|
||
|
phy0: ethernet-phy@0 {
|
||
|
compatible = "ethernet-phy-ieee802.3-c22";
|
||
|
reg = <0x0>;
|
||
|
};
|
||
|
};
|
||
|
};
|