From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.chez-thomas.org (hermes.mlbassoc.com [76.76.67.137]) by ozlabs.org (Postfix) with ESMTP id E86A8B6F15 for ; Thu, 24 Jun 2010 22:55:02 +1000 (EST) Message-ID: <4C2355A3.8000708@mlbassoc.com> Date: Thu, 24 Jun 2010 06:54:59 -0600 From: Gary Thomas MIME-Version: 1.0 To: linuxppc-dev@lists.ozlabs.org Subject: Continuing UCC UART woes Content-Type: text/plain; charset=ISO-8859-1; format=flowed List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , I thought I had this working, but it seems to only work for UCC3. Sadly, I can't get it to work on UCC4/UCC5/UCC8 at all. Starting with UCC4, I have: /* ttyQE0 (UCC4) */ serial_qe0: serial@3200 { device_type = "serial"; compatible = "ucc_uart"; cell-index = <4>; reg = <0x3200 0x200>; interrupts = <35>; interrupt-parent = <&qeic>; port-number = <0>; rx-clock-name = "brg9"; tx-clock-name = "brg10"; soft-uart; }; With this setup, I can receive characters from the device, but no characters ever go out. Same behaviour as before - the output descriptors get filled, but no action seems to be taken, no interrupts, etc. Except randomly there will be output! For example, if I connect to the port with minicom, what I type is received by /dev/ttyQE2. On some rare occasions, what I type is also echoed back, but when this happens, it's only the first couple of characters, then nothing. I verified that the CMXUCR registers are being set per the DTS as well as the BRG registers. They all look correct: ucc_set_qe_mux_rxtx - CMX: 0x000a0000 root@ppc_target:~ stty