ramips: Minor ramips_esw.c cleanup
[openwrt/staging/mkresin.git] / target / linux / ramips / files / arch / mips / ralink / rt305x / devices.c
index 2e884c39e23c8355394132af04a1c1db0affdd1d..07e950ad9b9bac2ce28e71378fa492bb133c7c0b 100644 (file)
@@ -156,8 +156,15 @@ static struct resource rt305x_esw_resources[] = {
 };
 
 struct rt305x_esw_platform_data rt305x_esw_data = {
+       /* All ports are LAN ports. */
        .vlan_config            = RT305X_ESW_VLAN_CONFIG_NONE,
        .reg_initval_fct2       = 0x00d6500c,
+       /*
+        * ext phy base addr 31, enable port 5 polling, rx/tx clock skew 1,
+        * turbo mii off, rgmi 3.3v off
+        * port5: disabled
+        * port6: enabled, gige, full-duplex, rx/tx-flow-control
+        */
        .reg_initval_fpa2       = 0x3f502b28,
 };