2022-05-31 17:18:06 +00:00
|
|
|
#include "mt7622-ubnt-unifi-6-lr.dtsi"
|
|
|
|
|
2023-08-27 23:14:10 +00:00
|
|
|
ð {
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <ð_pins>;
|
|
|
|
|
|
|
|
gmac0: mac@0 {
|
|
|
|
compatible = "mediatek,eth-mac";
|
|
|
|
reg = <0>;
|
|
|
|
|
|
|
|
phy-mode = "2500base-x";
|
|
|
|
phy-handle = <&phy0>;
|
|
|
|
phy-connection-type = "2500base-x";
|
|
|
|
};
|
|
|
|
|
|
|
|
mdio: mdio-bus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
phy0: ethernet-phy@8 {
|
|
|
|
compatible = "ethernet-phy-ieee802.3-c45";
|
|
|
|
reg = <0x8>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-05-31 17:18:06 +00:00
|
|
|
&i2c0 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c0_pins>;
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
led-controller@30 {
|
|
|
|
compatible = "ubnt,ledbar";
|
|
|
|
reg = <0x30>;
|
|
|
|
|
2022-09-11 19:24:05 +00:00
|
|
|
enable-gpio = <&pio 59 GPIO_ACTIVE_LOW>;
|
|
|
|
reset-gpio = <&pio 60 GPIO_ACTIVE_LOW>;
|
2022-05-31 17:18:06 +00:00
|
|
|
|
|
|
|
red {
|
|
|
|
label = "red";
|
|
|
|
};
|
|
|
|
|
|
|
|
green {
|
|
|
|
label = "green";
|
|
|
|
};
|
|
|
|
|
|
|
|
led_blue: blue {
|
|
|
|
label = "blue";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|