2017-04-20 22:53:03 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2019-07-03 21:22:25 +00:00
|
|
|
#include "mt7620a_phicomm_psg1218.dtsi"
|
2017-04-20 22:53:03 +00:00
|
|
|
|
|
|
|
/ {
|
2017-07-29 02:14:07 +00:00
|
|
|
compatible = "phicomm,psg1218a", "phicomm,psg1218", "ralink,mt7620a-soc";
|
2017-04-21 00:47:44 +00:00
|
|
|
model = "Phicomm PSG1218 rev.A";
|
2017-04-20 22:53:03 +00:00
|
|
|
|
2018-07-16 08:27:22 +00:00
|
|
|
aliases {
|
2018-08-28 04:54:27 +00:00
|
|
|
led-boot = &led_blue;
|
|
|
|
led-failsafe = &led_blue;
|
|
|
|
led-running = &led_blue;
|
|
|
|
led-upgrade = &led_blue;
|
2018-07-16 08:27:22 +00:00
|
|
|
};
|
|
|
|
|
2018-12-30 11:42:53 +00:00
|
|
|
leds {
|
2017-04-20 22:53:03 +00:00
|
|
|
compatible = "gpio-leds";
|
2019-09-20 12:03:02 +00:00
|
|
|
|
2018-07-16 08:27:22 +00:00
|
|
|
led_blue: blue {
|
2017-04-21 00:47:44 +00:00
|
|
|
label = "psg1218a:blue:status";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
|
2018-08-18 10:22:25 +00:00
|
|
|
default-state = "on";
|
2017-04-20 22:53:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
yellow {
|
2017-04-21 00:47:44 +00:00
|
|
|
label = "psg1218a:yellow:status";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
|
2017-04-20 22:53:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
red {
|
2017-04-21 00:47:44 +00:00
|
|
|
label = "psg1218a:red:status";
|
2018-08-18 10:22:25 +00:00
|
|
|
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
|
2017-04-20 22:53:03 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-12-22 20:26:01 +00:00
|
|
|
&state_default {
|
|
|
|
gpio {
|
2020-04-12 12:58:29 +00:00
|
|
|
groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
|
|
|
|
function = "gpio";
|
2017-04-20 22:53:03 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ðernet {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&ephy_pins>;
|
|
|
|
mtd-mac-address = <&factory 0x28>;
|
|
|
|
mediatek,portmap = "llllw";
|
|
|
|
};
|
2017-11-18 21:05:16 +00:00
|
|
|
|
|
|
|
&wmac {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pa_pins>;
|
|
|
|
};
|