ramips: split Phicomm PSG1218 and PSG1218K2C
[openwrt/staging/noltari.git] / target / linux / ramips / dts / PSG1218.dts
1 /dts-v1/;
2
3 #include "PSG1218.dtsi"
4
5 / {
6 compatible = "PSG1218", "ralink,mt7620a-soc";
7 model = "Phicomm PSG1218";
8
9 gpio-leds {
10 compatible = "gpio-leds";
11 blue {
12 label = "psg1218:blue:status";
13 gpios = <&gpio0 10 1>;
14 };
15
16 yellow {
17 label = "psg1218:yellow:status";
18 gpios = <&gpio0 11 1>;
19 };
20
21 red {
22 label = "psg1218:red:status";
23 gpios = <&gpio0 8 0>;
24 };
25 };
26 };
27
28 &pinctrl {
29 state_default: pinctrl0 {
30 gpio {
31 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "pa";
32 ralink,function = "gpio";
33 };
34 };
35 };
36
37 &ethernet {
38 pinctrl-names = "default";
39 pinctrl-0 = <&ephy_pins>;
40 mtd-mac-address = <&factory 0x28>;
41 mediatek,portmap = "llllw";
42 };