Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752071AbcCGCxa (ORCPT ); Sun, 6 Mar 2016 21:53:30 -0500 Received: from mail-bn1bon0095.outbound.protection.outlook.com ([157.56.111.95]:23168 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751809AbcCGCx3 (ORCPT ); Sun, 6 Mar 2016 21:53:29 -0500 X-Greylist: delayed 927 seconds by postgrey-1.27 at vger.kernel.org; Sun, 06 Mar 2016 21:53:29 EST 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=none action=none header.from=nxp.com; From: Zhao Qiang To: CC: , , , , , , Zhao Qiang Subject: [PATCH v4 5/8] T104xD4RDB: Add qe node to t104xd4rdb Date: Mon, 7 Mar 2016 10:28:05 +0800 Message-ID: <1457317688-20330-5-git-send-email-qiang.zhao@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1457317688-20330-1-git-send-email-qiang.zhao@nxp.com> References: <1457317688-20330-1-git-send-email-qiang.zhao@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131017918801885223;(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)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(4326007)(11100500001)(2906002)(1096002)(1220700001)(189998001)(36756003)(2950100001)(105606002)(5003940100001)(47776003)(110136002)(76176999)(586003)(33646002)(106466001)(50986999)(50466002)(104016004)(48376002)(50226001)(85426001)(229853001)(87936001)(6806005)(19580395003)(2351001)(19580405001)(81166005)(92566002)(77096005)(86362001)(575784001)(5008740100001)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR03MB312;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:sfv;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD010;1:IbXBi3sRLeSkvgfvA0S8e94Jq3GWeg/v5m2596/Em9pabUhyEuObNzOhAwVnXcGiHM4RQSaLVa8MotDRZu/PLneLkLiZ/IUBcPTXTGCFjACVN3KW245iwMQ0ZYNWtIWTUw0Hfp/SUXC7LDB2pR4Ul/JSiyEG/ggnaP8PrETZhgfIIteqm7alGnWGhPTEXBeuA6i//mthb4X+TaMs+wgTswV+l4tJu1611rgu37HTMC0HJuAqfqKl8MQUFVY8O67azCNfD2+uP4V+0ODCISJespMEzY6YNa9wKtrPSBTr218zoK6xbZnewgnQjobS07voZkKpC+/pos/2VGsWIwfIKvcJiPTxmdFK0wVfkc21pvcxYRh96cQI1g9WZQyMJ1adDPtEjPX4o7ybHNDh9nXZ/ERFbcxWEwEsoKmz/6S7oEIakIgZtkIMJFHlXdZ45WMVfiSi7jwrGq6EkYZUJHINqQdDJqRRDdbWR2OkpVWhxcDWb2TNgaf1wpLr7wN8rWvxX8j8v2/Qw8GU0ThOz3U2NFxJQOiK7pBdRf+7ixMZpyF7qwU2rx3WNcUqL+u19YPzuuaTNJbR+ffXqSIkYjobs6/fjxg2h8wcj51vUkxrfjI= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 54a3d0f8-d7d9-4ae2-56c6-08d346317fda X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB312;2:TWDtHCyIfatdXBExm2wXqRewULDDKPYa56/plYv/Q3HSXwAkLBkEt9LNLyIvtmSRtnliElm0X/0SBgsmqyQy6j4Q1zIaq1jaaUcVrrMfVqEDA9zlz60z4W7wNyZLqIjLGzBJN/4FyCUG85VInS0eeBSxOCt87gaV1TVAQCKMfhwu8FezUEnKFs8QRbgSrbmm;3:8UF9TN2OcHD1jHL++59MLf3BZkeyPL0HciBvSnXKKvEiD1YCU5CJrMxeeOEhOJPAUPAb3oF9HNnnNrvN0OOC3/OgDM+5d6OY3UodaNCJK+cKILztu0KJ2zUSD4bmqqHBUTHskCE6FgIAsyl8ZHPYrTREZRl1q7iI0eJJPpD2x8vcva5tmoWXM15r9fmuhr9HKsgOb+tuVRWYxfoRXUYNJpjeM4qxdEngHBbwiQKu1Dk=;25:QzSekdP30ncRAVsi3iXQ2AuYudv6bkU9Pcktarc5iyA8qtasdkDGQ0azgjz/ArasOTDhxAN2DuugYloXB9/u6728DNdbdFdJVjCc+imuAnphGKKLCWI5R28/A7r+tSlxiy2pCyjxD3QW2/SZYvLmxlJDcvXf9VZAYh2X2NDzZZC7Pw5+AiR4SNDhqgxs3ntB2jRwl/ARGbzojRJBsalrbh29qfCIqw0Czv0Rc1IG6u04N21X75aDM58NVFIAWesSL/93so/5XSDq1HuWPf/6FZCma7vEEs/oML5n6Wrzvy2GAYXb5Laimtsq5SyhMQDwRBx9fKOK9PU2zM1C09L88w== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB312; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(13018025)(13017025)(13015025)(13024025)(13023025)(8121501046)(3002001)(10201501046);SRVR:BLUPR03MB312;BCL:0;PCL:0;RULEID:(400006);SRVR:BLUPR03MB312; X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB312;4:JDlgpliBWpyZsjQcHLnHWM60gMHyCZJe6xRZGGjetU7Itt1LuXa0ZRf4ij/ltjvmX3iE8Sk0ORWq2ER9Ky/N0N6KO5pyPn+HxcbGT8TafcXkcRZ3cOSmWusXtzSs82l/wAM6TbchErUFL11PiQCtz+bAG+qk3RflfpW2XSrZnEYbO36hXREciKHBVTIQ4/rV8n3D5CiQnuMI0ESY+B+AIcvm9yT+VredXFy3Hgvh3Me6wlLiSTAZyvXvealu6re5PyRlwIC3y6e7nQZKxWQWkV830izo+1AXmDNq1ZhyJJqSbpus8o4rAlXZP1+TxlPdByz4IbSv1eUOfNbbihrMWuJKzru51QPTCxfeok15uM+xJV+53PeBNDPeC0M9p9F1Y9ZS9rpr20Xrky5kJz2XbTt0kC8IbrktPOGnbkZzYJN02fD01x7+e0YrBKqiEwIrvDmWNYG9PVLOYm7BjZBmyA== X-Forefront-PRVS: 087474FBFA X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR03MB312;23:0baQlL+T/Ede74R1A/v71Y7xJC6bVoRVKsTCJxgMhR?= =?us-ascii?Q?vm8own48VFA0Yv1vJvg28Vo0Xj6I4PYItpTjKUQHpY2EiWUEQM9aLnKWKCx9?= =?us-ascii?Q?3PqZ/u005sf8Zw0dem+O0WthxXsNtPSZCN5LILsoAP/6Oiu8TiJxiUD/TfUL?= =?us-ascii?Q?eXpC2+3qnAb8waC8ScQfFn394eAnxkx15f4n6rRSmZR2FE1Uv6kEPoak3A5J?= =?us-ascii?Q?EFZFJhgyxIskrrhRyAD2LM/dMiYuD16yiDdadZTZl+zsFM2jkSHqxNk0tqrv?= =?us-ascii?Q?FHrBKovCWYHCNP6xhwgRUSL4PPWmwyg1wjZREgMIwLMfjPnbJid72ghyrHrV?= =?us-ascii?Q?j47N/m1FiotxrcLJPoFX7+YRrUTRt5Nri9xhv7VH/7OeEzu498DZ9vPRm0pB?= =?us-ascii?Q?Gqx2+AchdiinMAN2LzbRnzO28sFZWOHQubovIoBl9v4yhc2C9yo3Nkn4PLIZ?= =?us-ascii?Q?3UZa+tqtWws8R66Mebj1L7osWFLGrghoBKnkHjqZ8lJiVHA12rRaRbSI0oIP?= =?us-ascii?Q?vuRTrOV0h4ecxR8+1lrfybokqj+/DNfjaMMxdL9Vf6bOWn+qp5EsOkq0yjio?= =?us-ascii?Q?s3HqVCW8e4qfNxmJc8DonGfJlbn3bKsEr6gg8IsAuWuF0zp8p1wiuIl2mqWC?= =?us-ascii?Q?dlT5r65OSbFaoXh/GEsdynJgAd6zUm6//9FWqZGnVjnNWE//q/IbTPJDx4UL?= =?us-ascii?Q?llte2NmmIjjCd3sL0s0jaePrinBSzyd/QTVCnc8vovH5agR7zDsLfFgMLUyV?= =?us-ascii?Q?Q/8FRpreY2HCbuQHXgvDaYsxEdvzeBdyQj69r/NVTsIIr3XJD5+rWJQnmViR?= =?us-ascii?Q?38cxrX4ZdPqMpZEd0z+vwiK47KSf12yCVlCQf3iLHB8aCrvvE+jc8oKXd3Br?= =?us-ascii?Q?AKoeGFyUkqrkPUgBzO7ExFgEtnOB6iKtEhmfAKIdEoxy44yrPXY4+XwFzjE3?= =?us-ascii?Q?NS+bdv3TeSXHxVYYTK5VlR7m1Mz7J6BJUChlDgAFt4w29y33g5YUC0vE5rKF?= =?us-ascii?Q?rtkT5JPSMaO4y8e5WWYzOq9R4rBNf6T8aeD0IUkX62+fc1lVx+fhgNo4Ubho?= =?us-ascii?Q?HVxeouf0qhgyh7oOMvSGUvTEkW6KoBVy7Tf2iFmrx2TIsloQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB312;5:SXAODLfIAO8k+hqYw+Mgz5OC8Jwx2XZS4fJplXn8om/VCzh+GethiriSKUKCSmctMcD1lvETZoaKuZX2y+AAp/gybkfV93zciisXHiEyg1rz7TQfHjpx4PJjn5MgkIR6h3tjmeP04hflBCdTN7xT6gUtZpV8NdSsx5TYEzo1U0Q=;24:ntP0M0k81yYrVJlHtxh+cu6igZAyltc/uMZ3dU6EM/W3l7FdmMrMtULhH8dQ5ojLbqRQCrUtLE+rAtJgtcMap7LUV5IiPxJXOPRQfy2MHhQ= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2016 02:38:00.0013 (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: BLUPR03MB312 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2700 Lines: 117 add qe node to t104xd4rdb.dtsi and t1040si-post.dtsi. Signed-off-by: Zhao Qiang --- Changes for v2 - rebase Changes for v3 - rebase Changes for v4 - rebase arch/powerpc/boot/dts/fsl/t1040si-post.dtsi | 45 +++++++++++++++++++++++++++++ arch/powerpc/boot/dts/fsl/t104xd4rdb.dtsi | 38 ++++++++++++++++++++++++ 2 files changed, 83 insertions(+) diff --git a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi index e0f4da5..012f813 100644 --- a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi @@ -673,3 +673,48 @@ }; }; }; + +&qe { + #address-cells = <1>; + #size-cells = <1>; + device_type = "qe"; + compatible = "fsl,qe"; + fsl,qe-num-riscs = <1>; + fsl,qe-num-snums = <28>; + + qeic: interrupt-controller@80 { + interrupt-controller; + compatible = "fsl,qe-ic"; + #address-cells = <0>; + #interrupt-cells = <1>; + reg = <0x80 0x80>; + interrupts = <95 2 0 0 94 2 0 0>; //high:79 low:78 + }; + + 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>; + }; + }; +}; diff --git a/arch/powerpc/boot/dts/fsl/t104xd4rdb.dtsi b/arch/powerpc/boot/dts/fsl/t104xd4rdb.dtsi index 3f6d7c6..41ed3a6 100644 --- a/arch/powerpc/boot/dts/fsl/t104xd4rdb.dtsi +++ b/arch/powerpc/boot/dts/fsl/t104xd4rdb.dtsi @@ -212,4 +212,42 @@ 0 0x00010000>; }; }; + + qe: qe@ffe140000 { + ranges = <0x0 0xf 0xfe140000 0x40000>; + reg = <0xf 0xfe140000 0 0x480>; + brg-frequency = <0>; + bus-frequency = <0>; + + si1: si@700 { + compatible = "fsl,t1040-qe-si"; + reg = <0x700 0x80>; + }; + + siram1: siram@1000 { + compatible = "fsl,t1040-qe-siram"; + reg = <0x1000 0x800>; + }; + + 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; + }; + + ucc_serial: ucc@2200 { + compatible = "t1040-ucc-uart"; + port-number = <0>; + rx-clock-name = "brg2"; + tx-clock-name = "brg2"; + }; + }; }; -- 2.1.0.27.g96db324