[MPC8272ADS]Can not configure the ttyCPM0

Jean-Michel Hautbois jhautbois at gmail.com
Sat Mar 14 01:20:24 EST 2009


2009/3/13 Laurent Pinchart <laurentp at cse-semaphore.com>:
> Hi Jean-Michel,
>
> Support for the modem control lines has been added in v2.6.27-rc2. You will
> need to declare the modem control lines in your device tree. See
> Documentation/powerpc/dts-bindings/fsl/cpm_qe/serial.txt for more information.
>
> Please note that hardware flow control is not supported by the CPM UART driver
> yet.
>

OK, this is not easy, to modify...
My DTS already contains a configuration for the CPM1 port...

			serial at 11a00 {
				device_type = "serial";
				compatible = "fsl,mpc8272-scc-uart",
				             "fsl,cpm2-scc-uart";
				reg = <0x11a00 0x20 0x8000 0x100>;
				interrupts = <40 8>;
				interrupt-parent = <&PIC>;
				fsl,cpm-brg = <1>;
				fsl,cpm-command = <0x800000>;
			};

			serial at 11a60 {
				device_type = "serial";
				compatible = "fsl,mpc8272-scc-uart",
				             "fsl,cpm2-scc-uart";
				reg = <0x11a60 0x20 0x8300 0x100>;
				interrupts = <43 8>;
				interrupt-parent = <&PIC>;
				fsl,cpm-brg = <4>;
				fsl,cpm-command = <0xce0000>;
			};

I can't see what I have to do...
This is not obvious ;).

JM



More information about the Linuxppc-dev mailing list