mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-09-24 23:54:24 +00:00
ENGR00120455-4 CAN: Pass the default setting through platform_data
Define the parameters's default value for MX35. Signed-off-by: William Lai <b04597@freescale.com>
This commit is contained in:
@@ -1063,13 +1063,37 @@ struct flexcan_platform_data flexcan_data[] = {
|
||||
.io_reg = NULL,
|
||||
.xcvr_enable = flexcan_xcvr_enable,
|
||||
.active = gpio_can_active,
|
||||
.inactive = gpio_can_inactive,},
|
||||
.inactive = gpio_can_inactive,
|
||||
.br_clksrc = 1,
|
||||
.br_rjw = 2,
|
||||
.br_presdiv = 6,
|
||||
.br_propseg = 4,
|
||||
.br_pseg1 = 4,
|
||||
.br_pseg2 = 7,
|
||||
.bcc = 1,
|
||||
.srx_dis = 1,
|
||||
.smp = 1,
|
||||
.boff_rec = 1,
|
||||
.ext_msg = 1,
|
||||
.std_msg = 1,},
|
||||
{
|
||||
.core_reg = "GPO2",
|
||||
.io_reg = NULL,
|
||||
.xcvr_enable = flexcan_xcvr_enable,
|
||||
.active = gpio_can_active,
|
||||
.inactive = gpio_can_inactive,},
|
||||
.inactive = gpio_can_inactive,
|
||||
.br_clksrc = 1,
|
||||
.br_rjw = 2,
|
||||
.br_presdiv = 6,
|
||||
.br_propseg = 4,
|
||||
.br_pseg1 = 4,
|
||||
.br_pseg2 = 7,
|
||||
.bcc = 1,
|
||||
.srx_dis = 1,
|
||||
.smp = 1,
|
||||
.boff_rec = 1,
|
||||
.ext_msg = 1,
|
||||
.std_msg = 1,},
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user