ipq807x: Enabled the 8033 phy support for DB-HK02

Change-Id: Ifa9fcb7ee3f9263e97d81dd8ea984a2c9923af2a
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
This commit is contained in:
Sham Muthayyan 2017-08-18 12:43:05 +05:30 committed by Gerrit - the friendly Code Review server
parent 20da321f4a
commit 643f0acddf
2 changed files with 9 additions and 1 deletions

View file

@ -25,5 +25,12 @@
pci0 = "/pci@20000000";
pci1 = "/pci@10000000";
};
ess-switch {
switch_mac_mode = <0x0>;
switch_mac_mode1 = <0x2>;
switch_mac_mode2 = <0x1>;
8033_port = <5>;
};
};

View file

@ -998,6 +998,7 @@ void ipq807x_ppe_provision_init(void)
ipq807x_ppe_vp_port_tbl_set(3, 2);
ipq807x_ppe_vp_port_tbl_set(4, 2);
ipq807x_ppe_vp_port_tbl_set(5, 2);
ipq807x_ppe_vp_port_tbl_set(6, 2);
#else
ipq807x_ppe_vp_port_tbl_set(1, 2);
@ -1055,7 +1056,7 @@ void ipq807x_ppe_provision_init(void)
ipq807x_ppe_reg_write(0x060038, 0xc0);
#ifdef CONFIG_IPQ807X_BRIDGED_MODE
ipq807x_vsi_setup(2, 0x3f);
ipq807x_vsi_setup(2, 0x7f);
#else
ipq807x_vsi_setup(2, 0x03);
ipq807x_vsi_setup(3, 0x05);