compatible = "phicomm,psg1218a", "phicomm,psg1218", "ralink,mt7620a-soc";
model = "Phicomm PSG1218 rev.A";
+ aliases {
+ led-boot = &led_blue;
+ led-failsafe = &led_blue;
+ led-running = &led_blue;
+ led-upgrade = &led_blue;
+ };
+
gpio-leds {
compatible = "gpio-leds";
- blue {
+ led_blue: blue {
label = "psg1218a:blue:status";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
+ default-state = "on";
};
yellow {
red {
label = "psg1218a:red:status";
- gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
};
};
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
ralink,function = "gpio";
};
-
- pa {
- ralink,group = "pa";
- ralink,function = "pa";
- };
};
};
mtd-mac-address = <&factory 0x28>;
mediatek,portmap = "llllw";
};
+
+&wmac {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pa_pins>;
+};