2016-09-30 11:41:12 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2017-04-20 22:53:03 +00:00
|
|
|
#include "PSG1218.dtsi"
|
2016-11-11 21:43:08 +00:00
|
|
|
|
2016-09-30 11:41:12 +00:00
|
|
|
/ {
|
|
|
|
compatible = "PSG1218", "ralink,mt7620a-soc";
|
|
|
|
model = "Phicomm PSG1218";
|
|
|
|
|
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
blue {
|
|
|
|
label = "psg1218:blue:status";
|
2016-10-21 09:06:39 +00:00
|
|
|
gpios = <&gpio0 10 1>;
|
2016-09-30 11:41:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
yellow {
|
|
|
|
label = "psg1218:yellow:status";
|
2016-10-21 09:06:39 +00:00
|
|
|
gpios = <&gpio0 11 1>;
|
2016-09-30 11:41:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
red {
|
|
|
|
label = "psg1218:red:status";
|
2017-04-20 22:53:03 +00:00
|
|
|
gpios = <&gpio0 8 0>;
|
2016-09-30 11:41:12 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
state_default: pinctrl0 {
|
|
|
|
gpio {
|
2017-04-20 22:53:03 +00:00
|
|
|
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "pa";
|
2016-09-30 11:41:12 +00:00
|
|
|
ralink,function = "gpio";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ðernet {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&ephy_pins>;
|
|
|
|
mtd-mac-address = <&factory 0x28>;
|
|
|
|
mediatek,portmap = "llllw";
|
|
|
|
};
|