ramips: update device tree source files
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / PSG1218B.dts
1 /dts-v1/;
2
3 #include "PSG1218.dtsi"
4
5 / {
6 compatible = "phicomm,psg1218b", "phicomm,psg1218", "ralink,mt7620a-soc";
7 model = "Phicomm PSG1218 rev.B";
8
9 gpio-leds {
10 compatible = "gpio-leds";
11 blue {
12 label = "psg1218b:blue:status";
13 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
14 };
15
16 yellow {
17 label = "psg1218b:yellow:status";
18 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
19 };
20
21 red {
22 label = "psg1218b:red:status";
23 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
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 };