Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754254AbcJICj5 (ORCPT ); Sat, 8 Oct 2016 22:39:57 -0400 Received: from mail-sn1nam01on0062.outbound.protection.outlook.com ([104.47.32.62]:28016 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753428AbcJICjz (ORCPT ); Sat, 8 Oct 2016 22:39:55 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) 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; From: Zhao Qiang To: CC: , , , , , , Zhao Qiang Subject: [PATCH v2 1/2] ls1043ardb: add qe node to ls1043ardb Date: Sun, 9 Oct 2016 10:12:38 +0800 Message-ID: <1475979159-20597-1-git-send-email-qiang.zhao@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131204535010359880;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(5003940100001)(8936002)(586003)(19580405001)(19580395003)(87936001)(5660300001)(50466002)(189998001)(48376002)(50986999)(68736007)(104016004)(6666003)(50226002)(86362001)(92566002)(47776003)(2906002)(626004)(11100500001)(2351001)(105606002)(106466001)(7846002)(229853001)(8666005)(85426001)(4326007)(33646002)(81166006)(81156014)(77096005)(110136003)(305945005)(97736004)(356003)(8676002)(36756003)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR03MB2438;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD028;1:AF0Pl4e5GHiWlUClctXc/nCV/e1VDc2Vmrh/5EqO0/0M3FnoWERHTrhAGCTlZ76fWAfrOI6VvZQ/8OZyrP00RnwUYG+tGvbZmKs57cLOzHmXXtZB755kxoCtNV3K1BEW0fFpHHOPmAYZWtHQzoUyBJ1Qm3v0+hgabkiIqgwrlP43Vrgv/h5slt08bbLmABKNdR0tTP7sh/izoiUiS2EJq0YQ0ee3DGkUdRJfYmtUwFrrLdOwibDX0YktDb5g7GruQqmH07PLtC0grXUmP9WA/NqgpAKT3dCNqrTfJ3CIXqBoFatvuWvjKK0tjVhw+7oPluNzMVImqC1NEHyB/aPQC0oegZLaYO03CPAtUAUlC/KKljQib1UjYn76pI3xf5fgvRY7l1uoyOyyNctDwSHKPnNRXbHzDCJDBUGrP078dilxtWco4oK6Ohsq7vMUZNhyrxPHbM7m7cEuIGkoPc0y/mjJ3iLtjKvwbLOn+oRVWfPp2JsvcBZjsIa0An/GptJvKky4n1wSHh7r8mqxD+O3QHsn39//r5AALw/t7mXSjSKjEBpB41tV1uFA5cFkxiP8A7W5BMAXDQuZKYkjuvPhTsjjZd7POpoIymC3SDKeY1RyV3QgFfZhyEerVBfRRSKRa8jigyhvrWSsRAcH98FT+SHWXMt9wrrUekxd2K4M2mW5E9AplwdquNii+1lcEPITPdvlV7Ikx1eaZu9QlWq2Qwu1lhKnx4ZX2+k0Sd5fgGccGqV+lyjAMKC8YH4AfXu4 MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: cc8281af-e7e6-4e7c-7a48-08d3efeb78ad X-Microsoft-Exchange-Diagnostics: 1;CY4PR03MB2438;2:rqSOfNh+ge25DkNvNZWwKuytTth4NcHI6/MVjXz2kTX8BXJpGxqnx1KqXt5bq4yNWSMa4pKwSIIK0OJ6ly+F6c/SWmNaF7mZ0Lfx1TbF5xHFzyA9/0E7+bzk8enBs3eIFw+8jyhjMfXc8xafPxxiXXwcn3pd84lVx2Lp3lyRPbaej4VsrrJKWNaaVBAbA6td1p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+pP0Q1aPhfHIUD7CpQPqd+XuS+dxXiDKebA3ZtxBEgc+/51MtyAmtOBvjtugncvDAthtk6UJWKJVdA3C8gcD+XLVjKZvvIi1CG5sfKJXOfptzZQuN0mLRU2szz6l8DCcRmsVVE4vpA6thhEU9yQx9RJY95w9I80pKTLOzpH0A/BoEvg4usUVJjdRuuRa2IIUgROpAvJs9FLdWlOxHF43wu8EClFVT5fe4LeuBS5G8jcS3LVxBeiOEYPTWRmWxxlyoTFnpjTVg6Gd0GNshlf6gcwMWeJPZI2f7vnwR1KdiLmLyu+XB5YkGM/Q7a60pq5fBl4HtJ0z6/T+YBLHce2xxHZsfj1Qp1bEMNO6NUZGRa/q2MxP3zmxnYjGl8fY1rrflKJccbjcrjGT0GvRMPrjgNmAqrP0N1VdeLdfLau+Eoe5RJElLNzm1YeINptCA4UKdeL1abWJsk78r+jp16Ddf80qypvnVD5jpxQIAaKZ2JRjI/To1J8i/NEHyupIyhknXlCiwmF4gAviTFTAAF8ijCqJbNIw39rZR0e+rqIk4svFbCz3gB2q 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)(13023025)(13024025)(13015025)(13017025)(13018025)(8121501046)(5005006)(10201501046)(3002001)(6055026);SRVR:CY4PR03MB2438;BCL:0;PCL:0;RULEID:(400006);SRVR:CY4PR03MB2438; X-Forefront-PRVS: 00909363D5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY4PR03MB2438;23:3QEReHBxtbtCzaBfYSMJ3n8aM9pKb3Yz2vNoylQA6?= =?us-ascii?Q?X6ErcpeTa9FTqHXaxkwwzIUtKV4+pzr22tnx/FcKB6jBvZnwfc+VC5YffQvC?= =?us-ascii?Q?UfVvDULI5rxzPV0b19B/a+VYf2jXGpcMsJCSQ4OI9O+Hp/roG/h6cNDbIxGN?= =?us-ascii?Q?l0UZV/tMWIY2pg2PW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Yqz89s9AKrLbZN1xYPvZ6yzGwecP1Fuw== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2016 02:25:00.8643 (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.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2438 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2869 Lines: 115 Signed-off-by: Zhao Qiang --- Changes for v2: - use "fsl,ucc-hdlc" directly 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..a6a39fc 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,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>; -- 2.1.0.27.g96db324