···181181fsl,mpc5200-mscan nodes182182-----------------------183183In addition to the required compatible-, reg- and interrupt-properites, you can184184-also specify which clock shall be used for the bus:184184+also specify which clock source shall be used for the controller:185185186186-- fsl,mscan-clk-src - a string describing the clock source. Valid values187187- are "ip" for IP_CLK and "sys" for SYS_XTAL.188188- "sys" is the default in case the property is not186186+- fsl,mscan-clock-source- a string describing the clock source. Valid values187187+ are: "ip" for ip bus clock188188+ "ref" for reference clock (XTAL)189189+ "ref" is default in case this property is not189190 present.
+1-2
drivers/net/can/mscan/mpc52xx_can.c
···130130 * choice as it has less jitter. For this reason, it is selected131131 * by default.132132 */133133- clk_src = of_get_property(np, "fsl,mscan-clk-src", NULL);133133+ clk_src = of_get_property(np, "fsl,mscan-clock-source", NULL);134134 if (clk_src && strcmp(clk_src, "ip") == 0)135135 clock_src = MSCAN_CLKSRC_BUS;136136 else···227227228228static struct of_device_id __devinitdata mpc5xxx_can_table[] = {229229 {.compatible = "fsl,mpc5200-mscan"},230230- {.compatible = "fsl,mpc5200b-mscan"},231230 {},232231};233232