2017-04-20 22:53:03 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "PSG1218.dtsi"
|
|
|
|
|
|
|
|
/ {
|
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
|
|
|
|
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
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>;
|
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";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
|
2017-04-20 22:53:03 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
state_default: pinctrl0 {
|
|
|
|
gpio {
|
|
|
|
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
|
|
|
|
ralink,function = "gpio";
|
|
|
|
};
|
|
|
|
|
|
|
|
pa {
|
|
|
|
ralink,group = "pa";
|
|
|
|
ralink,function = "pa";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ðernet {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&ephy_pins>;
|
|
|
|
mtd-mac-address = <&factory 0x28>;
|
|
|
|
mediatek,portmap = "llllw";
|
|
|
|
};
|