Add the DB120 specific hints for the AR8327.
Tested: * DB120
This commit is contained in:
parent
f9950f9ac8
commit
c25a0a83ca
@ -21,30 +21,32 @@ hint.arswitch.0.numphys=5
|
||||
hint.arswitch.0.phy4cpu=0
|
||||
hint.arswitch.0.is_rgmii=1
|
||||
hint.arswitch.0.is_gmii=0
|
||||
# XXX other AR8327 configuration parameters
|
||||
|
||||
# pad0 cfg:
|
||||
# .mode = AR8327_PAD_MAC_RGMII,
|
||||
# .txclk_delay_en = true,
|
||||
# .rxclk_delay_en = true,
|
||||
# .txclk_delay_sel = AR8327_CLK_DELAY_SEL1,
|
||||
# .rxclk_delay_sel = AR8327_CLK_DELAY_SEL2,
|
||||
# Other AR8327 configuration parameters
|
||||
|
||||
# .led_ctrl0 = 0x00000000,
|
||||
# .led_ctrl1 = 0xc737c737,
|
||||
# .led_ctrl2 = 0x00000000,
|
||||
# .led_ctrl3 = 0x00c30c00,
|
||||
# .open_drain = true,
|
||||
# AR8327_PAD_MAC_RGMII
|
||||
hint.arswitch.0.pad.0.mode=6
|
||||
hint.arswitch.0.pad.0.txclk_delay_en=1
|
||||
hint.arswitch.0.pad.0.rxclk_delay_en=1
|
||||
# AR8327_CLK_DELAY_SEL1
|
||||
hint.arswitch.0.pad.0.txclk_delay_sel=1
|
||||
# AR8327_CLK_DELAY_SEL2
|
||||
hint.arswitch.0.pad.0.rxclk_delay_sel=2
|
||||
|
||||
# .port0_cfg = {
|
||||
# .force_link = 1,
|
||||
# .speed = AR8327_PORT_SPEED_1000,
|
||||
# .duplex = 1,
|
||||
# .txpause = 1,
|
||||
# .rxpause = 1,
|
||||
# },
|
||||
# XXX there's no LED management just yet!
|
||||
hint.arswitch.0.led.ctrl0=0x00000000
|
||||
hint.arswitch.0.led.ctrl1=0xc737c737
|
||||
hint.arswitch.0.led.ctrl2=0x00000000
|
||||
hint.arswitch.0.led.ctrl3=0x00c30c00
|
||||
hint.arswitch.0.led.open_drain=1
|
||||
|
||||
# port6 cfg?
|
||||
# force_link=1 is required for the rest of the parameters
|
||||
# to be configured.
|
||||
hint.arswitch.0.port.0.force_link=1
|
||||
hint.arswitch.0.port.0.speed=1000
|
||||
hint.arswitch.0.port.0.duplex=1
|
||||
hint.arswitch.0.port.0.txpause=1
|
||||
hint.arswitch.0.port.0.rxpause=1
|
||||
|
||||
# XXX OpenWRT DB120 BSP doesn't have media/duplex set?
|
||||
hint.arge.0.phymask=0x0
|
||||
|
Loading…
x
Reference in New Issue
Block a user