Revert faulty tree push
[oweals/openwrt.git] / target / linux / ramips / dts / mt7620a_phicomm_psg1218a.dts
1 /dts-v1/;
2
3 #include "mt7620a_phicomm_psg1218.dtsi"
4
5 / {
6         compatible = "phicomm,psg1218a", "phicomm,psg1218", "ralink,mt7620a-soc";
7         model = "Phicomm PSG1218 rev.A";
8
9         aliases {
10                 led-boot = &led_blue;
11                 led-failsafe = &led_blue;
12                 led-running = &led_blue;
13                 led-upgrade = &led_blue;
14         };
15
16         leds {
17                 compatible = "gpio-leds";
18                 led_blue: blue {
19                         label = "psg1218a:blue:status";
20                         gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
21                         default-state = "on";
22                 };
23
24                 yellow {
25                         label = "psg1218a:yellow:status";
26                         gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
27                 };
28
29                 red {
30                         label = "psg1218a:red:status";
31                         gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
32                 };
33         };
34 };
35
36 &pinctrl {
37         state_default: pinctrl0 {
38                 gpio {
39                         ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
40                         ralink,function = "gpio";
41                 };
42         };
43 };
44
45 &ethernet {
46         pinctrl-names = "default";
47         pinctrl-0 = <&ephy_pins>;
48         mtd-mac-address = <&factory 0x28>;
49         mediatek,portmap = "llllw";
50 };
51
52 &wmac {
53         pinctrl-names = "default";
54         pinctrl-0 = <&pa_pins>;
55 };