From patchwork Wed Sep 28 03:40:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qiang Zhao X-Patchwork-Id: 9353089 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0C3AB6077B for ; Wed, 28 Sep 2016 03:54:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 015F129321 for ; Wed, 28 Sep 2016 03:54:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EA0BF29323; Wed, 28 Sep 2016 03:54:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AED8D29322 for ; Wed, 28 Sep 2016 03:54:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bp5vq-00013k-UB; Wed, 28 Sep 2016 03:53:18 +0000 Received: from mail-bn3nam01on0055.outbound.protection.outlook.com ([104.47.33.55] helo=NAM01-BN3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bp5vl-00012y-Rv for linux-arm-kernel@lists.infradead.org; Wed, 28 Sep 2016 03:53:15 +0000 Received: from BN6PR03CA0020.namprd03.prod.outlook.com (10.168.230.158) by CY4PR03MB2616.namprd03.prod.outlook.com (10.173.43.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5; Wed, 28 Sep 2016 03:52:51 +0000 Received: from BL2FFO11FD013.protection.gbl (2a01:111:f400:7c09::194) by BN6PR03CA0020.outlook.office365.com (2603:10b6:404:23::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5 via Frontend Transport; Wed, 28 Sep 2016 03:52:51 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD013.mail.protection.outlook.com (10.173.160.221) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.629.5 via Frontend Transport; Wed, 28 Sep 2016 03:52:51 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u8S3qk5Y006282; Tue, 27 Sep 2016 20:52:47 -0700 From: Zhao Qiang To: Subject: [PATCH 1/3] ls1043ardb: add qe node to ls1043ardb Date: Wed, 28 Sep 2016 11:40:36 +0800 Message-ID: <1475034038-7217-1-git-send-email-qiang.zhao@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131195083713325683; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(4326007)(106466001)(229853001)(36756003)(189998001)(110136003)(2351001)(5660300001)(86362001)(69596002)(47776003)(77096005)(97736004)(105606002)(50986999)(104016004)(87936001)(305945005)(19580395003)(85426001)(19580405001)(2906002)(33646002)(8676002)(92566002)(586003)(8936002)(7846002)(356003)(81156014)(48376002)(68736007)(5003940100001)(8666005)(50226002)(11100500001)(50466002)(626004)(81166006)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2616; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD013; 1:M36ICp8nN4deDebBTPOHPcMbQNigyhKivtaVZw9+4dfH31ANdlEg23MoeWslNxRdQPWpQ5wKvwXRMlAL8CZ2ZphOVihksdEDioXJrtTS/2JMn1Q3p84skqYpwMgzNLtC9JUFJ+2ncAhQtBs2xMUgeT4A74KA2q8ckLl6DzwWwavnP7jQjbCybHyeiqnbhm1H+jbuLTz4khOKbsCcJVBDGeHgPCoumF6eQrigsD3QgXwsnsMVA3mVk5A7Ocur6XWTWJy7xUnOolg4V07VUoxEpp8WQiP9UrbZNzD8HmnqWedpR3f4adIiOL6lm2pmMZOQUAFJ8HF2UK+byo6lse6fyjdp25NtyqQSDl2wbUijF9ON9PACHERvw+L9weZuip0JRDXl880ttUA8kGYXnRgKs1mNHZ5DeUUOn7K+cTURMo3//Z4vts/Zxu5aru/l/vw+4fYNO42yOKxPvZPcLZDCGKB0yjrdJ0prSM4vSWDNIcSVO2spIU8Jv4xgpDuvzvfRe5w5h7zEJxA+MpR69DIeAxHE1qo8lFoVeVuB9LAIA8otlE3mip6KwJJ1cnYjfiCG/mP5SkKoxZB0a1q//p+cjWnDOb9RAh9488Qm9M8YSyDf5RdKe6z/JCKLoB9m6hE9qINzdd14POOAR0GisrF9o583ikFNcIKLL1Wu0ds8zPDXFo5pHeF2Pam8Tgrryu8+rEQs2Ny+4KbqvS1TO2t+XSfkhuBDcQZYulvRSW5X01m/oEnBMqX6wDw7d80eFDXi MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: efc97bbc-88e9-4324-4912-08d3e752eb77 X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2616; 2:DY9TC7gDCr7RXxk18oGfty07rbyzuNxuhue2HVc2e6jTfgisEH8OzHNpkfUM8n4NZ77OEoBJzdMHqptl71odwwXDHiLykOKJd3O49PVIWJK8gnYT7jiWO946iUMzQjG3F1QlLujCH+8S5bFgdwxfM8T/XJebE1uEKkzAfMI5bu/e6OoL9Vfb1Mkk9liseIpC; 3:2HM0H59IwRvtowM3V5MWrNQoJHkFLxr6s2L9t3mbcMwPnXi8JAsbDzuK/49SfRj+fh9L9vknuwidKiMISQnJCbaUNypiNQn/umOjNATZhpUh6YO4lcAjBJqOdYDBMDYWNDS7AjBRf/9IN8ydsAapZvn/Cg/sUrPHnKa0sHqKCsDNGWYJIB2U6qh/x77V4m2UhdxPHaxnl/XJJnawApz078XQu3PyLgh0TYF8iC5r5dA= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY4PR03MB2616; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2616; 25:RsKf6GWjL6P99DjVN3ouGQK/uD/tIfFZk73hOG3OCY1rkGr1r2KydQQ2/lVcZzeFEodA776CiDUDl/xm1iFcXqx7OW7P05JlMfKm877HFQbwAhEsHkfJxXkosuFn/RCCHSKSVS0kRknxjycubJ8UnDlGbN93N8EtyVGtOTS+tt5weS0aqJbeOYDrDsglyMS2UXqV1k0GUKl+jOn9ZO8MjTxOkGOBahTtEqU5yGwUBDQVVpGSybwHpf6XIeOsKSx1S76DVfYggumDK1vzQfS0Fpb5Xs3ZcoCpQLu0wGPOduQDaNytR8EQniuRz4a/e6VTtSPHicqFwh34uSyPFsMHqUZZSgWoDtTF+zH31wjn1bOxiZ3hAKSian6/dCNoOHaYZ5xhCRNGexXyEV1o7MOSgFxLUMITT3aRrF7FlGLEkMfW68qoQ0K0ap90NSUhNDhoG+12mvZ8xjPqgrzKz81jyOKRqRgKeMpSAzciyjiGheJ4xvpA/edxRqRfq11JY7XLVCu9dxWghzPAuBByVTp/MmT2pYe42zPs6IJKlPVwEUN8895wQjUzbkIj8J/u547iqT8bGN4CA/lpAJzZ72aemWvKPMhtm1bei+emfpdOguO2XngAzS7dZKNeaggq5TY5NonjYPTNo69udQQIb2Pko3mhCUgs30blfJTBxTeyNsuwjgaayaYzoH5Drjp1THrO0Dy5Yqx9TuzLcFRPj6pNFA==; 31:JLyzRyAXlgJPAU6k4mLW+/q271FWx/XfKUFSZfOPK1/lhJckmijAEkTC6hsr97WzguLPRQx+BfJ466icokPcyFPXE0xiIuEMp9SE8DGErz7Io/MPH3jNZ3tMm0M5m2G+qVVtuenloQ/jQk7JCDLHCBvKH7zgogdVU5FMUWWSvAWhry+gngqowEQP4huy8od9KRqrmSHTutRtYG/Tmw3CKeHfrxJjZ3PGo7g2az/iHFQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(13023025)(13018025)(13024025)(13015025)(13017025)(10201501046)(3002001)(6055026); SRVR:CY4PR03MB2616; BCL:0; PCL:0; RULEID:(400006); SRVR:CY4PR03MB2616; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2616; 4:CJN37qCnRB74oIPqauhQEFH9lfmFSrREFcSA6bJW4Vx/edCc+K1zPdmnoL1gMTHEOhRt6Cs1OlsYqwPRrhWMCP3pQWH9eaoZcbiSKg9t5cj/RyZe9d5/G0pww6l2n/sxhJTrelXS1HAH8EJf8sQ8cZAVh/M45zg3kRtxT6hh0iiMbxBx9bMKJRl/ZItJNT1KyWFI8yG/LckpZq0MF4WnQAPmpjjIGPW78rb/RY5xwWE8T4eL4Q+fbeTROV7qX7wbkmsOWdBsIAkb70wlSJuxEyWZ6uNHz35vmz7kjXgu+GKoHB/BFvIiOwPLnftIoqzDnMqHssCkpUGNKYV6ALO9BoOZMO0obZ4bP7/VfsEZNV2Z8XV4J2gIg4CONABNqzSjqzoKkEMDMfCrgLRsfMeSktzItPM2JYefGWRhGGYgk+th0R/T1fUB+laTR0Q4yeNvKRA0O5N2C2FnWdvb7FqvXMOpGVPi+NblktJ0DxS4E0C29x6n+PfYOP6imwOoRIvsM7z1BZT24PysSbt1GNRLROgRGRhT6D9ziCzNGdikG4A= X-Forefront-PRVS: 0079056367 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2616; 23:ek4iVu1m8ynJwrFV7+YDON+LqKGy8dT1ZpNcAWQwc?= =?us-ascii?Q?uS3XV55VNlGVq7dubTxRkkFsSTLlUY1STAwk1VshVtKPSInHvwATteCPbqg7?= =?us-ascii?Q?7GjyEUrgVsA+BiX1rptoeHziCJbQb9/oR1hZMMJjRD+UOl4btskFql64hsLw?= =?us-ascii?Q?1MKAeH+KYXuI5E1RFa0fBJSJXnTmh5/Zk6WYakaIrU7mOECWSPT0Kt+gKRUl?= =?us-ascii?Q?/Xb2C7y94yI5rbUYfSml6uINB3P0oaxOA+KjizMWToVy72q+M5v8+h2kKBIo?= =?us-ascii?Q?vs79oz65rUiSYTdX3Pea9g9T/B/fShn+gyM21nKoFH/q8GiGUUDZAhy7LoEk?= =?us-ascii?Q?YsjM2wx6WV4PqPD1e9xQEqhVPTSgqNuObI3OyDVZC2euqljGukhL7EiERAp0?= =?us-ascii?Q?LgsSSFQjkZNAtDo+SnJJXr+QgqtjVadXWQpeb5FPJA5FvgWMzaTHtZAeucRB?= =?us-ascii?Q?/qrcGBEqYEQcgLTVQZiiBlxuwZVah02pLqPkK5Wbx6br7ShbUEGAmtdVfR+i?= =?us-ascii?Q?Bgw+PcsCJS4oCqVvtQYOWTK2PyV3PI/m/ZmwL+mEpcT9QXaZ87kXQ0g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LsvAGDjoetJrYXvtmjbdZ8FJ1SWvoxtbVIaooe4m7oJIHEfbXzSU0FxVA0BBe83oeJQyG5XmOQg3MkyYjIqUz+SxHQJp+uO9rR0PS7nVO2J09aYVFSvVRyVCv+pdJ2sfKvrBkorLsuWJ+fDaA=; 24:mreuI/nHuN01H4cmzk1LsNdfj1eJ+55adViYRbSHQur1AMBpE8xKJ0m72EnI7QwnWWuASadTT21lDV2Y+tjcbgW9r24Wtxt5oxteaO6jmrw=; 7:ppQazdrjKSfnFGJl3+Sw/6V6GBeUIZcuXzS35Fk/z7snGK/TopLl4qvP2wr6EuOXYfO788AgayFFXzk1/yK8LNR9mrp5rh8O1WcGp43cNFXbexK1XgHHdsuHmsUD3u8l3dUwF2aCJedRezcQUQ3+2EIcRrBGbVaRd7dlwja9RaXC0aLt1pBmEkD0S5AejFJbadwQABjyDj6bxJJkYCVP6hkPS2vNdVn/fOX5VofmeGQk79FO+wuHys3ImLRshWSip8OVYOAJlvNSGHPo1WD1JM/WcJim4/Zh/Qink3FKep7WtsVJsW2HWCgEW/qySNeo SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2016 03:52:51.0985 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2616 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160927_205314_161211_461C19D4 X-CRM114-Status: UNSURE ( 8.05 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, xiaobo.xie@nxp.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Zhao Qiang Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Zhao Qiang --- arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 16 ++++++ arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 66 +++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts index 4084631..4fc60e7 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts @@ -124,6 +124,22 @@ }; }; +&uqe { + ucc_hdlc: ucc@2000 { + compatible = "fsl,ls1043-ucc-hdlc", "fsl,ucc-hdlc"; + rx-clock-name = "clk8"; + tx-clock-name = "clk9"; + fsl,rx-sync-clock = "rsync_pin"; + fsl,tx-sync-clock = "tsync_pin"; + fsl,tx-timeslot-mask = <0xfffffffe>; + fsl,rx-timeslot-mask = <0xfffffffe>; + fsl,tdm-framer-type = "e1"; + fsl,tdm-id = <0>; + fsl,siram-entry-id = <0>; + fsl,tdm-interface; + }; +}; + &duart0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index e669fbd..f6b6775 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -388,6 +388,72 @@ #interrupt-cells = <2>; }; + uqe: uqe@2400000 { + #address-cells = <1>; + #size-cells = <1>; + device_type = "qe"; + compatible = "fsl,qe", "simple-bus"; + ranges = <0x0 0x0 0x2400000 0x40000>; + reg = <0x0 0x2400000 0x0 0x480>; + brg-frequency = <100000000>; + bus-frequency = <200000000>; + + fsl,qe-num-riscs = <1>; + fsl,qe-num-snums = <28>; + + qeic: qeic@80 { + compatible = "fsl,qe-ic"; + reg = <0x80 0x80>; + #address-cells = <0>; + interrupt-controller; + #interrupt-cells = <1>; + interrupts = <0 77 0x04 0 77 0x04>; + }; + + si1: si@700 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,ls1043-qe-si", + "fsl,t1040-qe-si"; + reg = <0x700 0x80>; + }; + + siram1: siram@1000 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "fsl,ls1043-qe-siram", + "fsl,t1040-qe-siram"; + reg = <0x1000 0x800>; + }; + + ucc@2000 { + cell-index = <1>; + reg = <0x2000 0x200>; + interrupts = <32>; + interrupt-parent = <&qeic>; + }; + + ucc@2200 { + cell-index = <3>; + reg = <0x2200 0x200>; + interrupts = <34>; + interrupt-parent = <&qeic>; + }; + + muram@10000 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "fsl,qe-muram", "fsl,cpm-muram"; + ranges = <0x0 0x10000 0x6000>; + + data-only@0 { + compatible = "fsl,qe-muram-data", + "fsl,cpm-muram-data"; + reg = <0x0 0x6000>; + }; + }; + }; + lpuart0: serial@2950000 { compatible = "fsl,ls1021a-lpuart"; reg = <0x0 0x2950000 0x0 0x1000>;