Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752004AbcCIBwY (ORCPT ); Tue, 8 Mar 2016 20:52:24 -0500 Received: from mail-bn1bon0082.outbound.protection.outlook.com ([157.56.111.82]:19136 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750981AbcCIBwI (ORCPT ); Tue, 8 Mar 2016 20:52:08 -0500 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nxp.com; From: Zhao Qiang To: CC: , , , , , , Zhao Qiang Subject: [PATCH v5 5/7] T104xD4RDB: Add qe node to t104xd4rdb Date: Wed, 9 Mar 2016 09:21:32 +0800 Message-ID: <1457486494-11377-5-git-send-email-qiang.zhao@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1457486494-11377-1-git-send-email-qiang.zhao@nxp.com> References: <1457486494-11377-1-git-send-email-qiang.zhao@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131019619246681721;(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)(1109001)(1110001)(339900001)(199003)(189002)(81166005)(110136002)(76176999)(1220700001)(1096002)(36756003)(85426001)(2906002)(106466001)(33646002)(19580395003)(575784001)(105606002)(86362001)(19580405001)(5008740100001)(2351001)(5003940100001)(229853001)(104016004)(87936001)(11100500001)(50466002)(50226001)(189998001)(47776003)(2950100001)(6806005)(4326007)(50986999)(92566002)(586003)(48376002)(77096005)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR0301MB2117;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:sfv;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;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YCfnk3Iv6VWUZJG0=;25:C35ScZPQgdhjZbAi+GtCj9L1mEm+5jvUwl0R98WYcT1nWDkVtfzqZEsZ5xm3lE5F1dd44sBGxXmO3NSVwQewtM92fhnau/r3YMSzxc6qz6nSyhzdDdL3oIuJ+jFRYJfw8WD3EXChWXf7cnWo5wP5Utrr6kz0PyUOfQd5bQXY0Mn5j8fAX/ogtC7onaJLxUhStKSIyc+AGxPv8gbPHvWw0FRcJazjICbJz1h75po2mXBT2WDBuechBnMdao93SQ+2cFSBbd+8HIgkq+8cDO7+D5utg0BMUqzpRDtrdn33KvHZnwSz32MPnJtwJeXrJ5V7OshxydE0CJrdqjNW/qO/mA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB2117; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(13024025)(13015025)(13017025)(13023025)(5005006)(13018025)(8121501046)(3002001)(10201501046);SRVR:BY2PR0301MB2117;BCL:0;PCL:0;RULEID:(400006);SRVR:BY2PR0301MB2117; X-Microsoft-Exchange-Diagnostics: 1;BY2PR0301MB2117;4:NlCm2f1wIFmVgMFsBkx31MpPzbUOGc2+MjNwvVzNOdpA3MeRusfpCP+2ND81WiepilTH0BXpYT6phgmOF/XoFHsvd6B7depU453iV607W4HdVzEmCiudXQdsPfTZBt/lwZ4S9k3lnnhfdqg75REZ0si12lLf27tQiTgqi9HQ7qnKbX4gc2KhQK6zRKw1dyOkPxU7+KAAUlDT/CD9N8gxfCizLg4CWrOlpo54+vV5jcNieLeDkYQgpxt7F+jD/KrNl/KbGr88Oob2pAqFS/3c3+5kw9VIGwezM/bYLpdfOPYCSZTP6fDoRR4WVtnVHvzp8i7Ct+SSijYdlmKVh7HtRTaIctanDhWE8jGGA7TwGEPoGOsoa0xGrxt7Z5Kn7IkL9gCfTe47dWmHTJofU52UTH0l9FllxmG/PiaIFC7KpWslwU32n68UCb1FZBePXZPeZQL1JY8INi0c18zuOsl0uA== X-Forefront-PRVS: 0876988AF0 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY2PR0301MB2117;23:adUel/2PkQMXGFD6GaqiN/+pzoymQT60wXaX7LJ?= =?us-ascii?Q?Tt89fu6KGJKsZ6Dss+/MA9F1lebzBbubygJvymQyZ9pWpfDOheyxsH6UeL99?= =?us-ascii?Q?HG5+MKzjbfSgzVHgCreSzp8DMncacDO/CxYElrnaCahAe6sQLzM5YNiqgiPZ?= =?us-ascii?Q?0lNYiwGrAn8jCrWRr+pO9H4ykqymgG1NwsQeIgiZuDRV+n7ygwuZ32px54W5?= =?us-ascii?Q?/4CCGy/jPtjMHkrelf3vC7hRKgoWzDWhmB1Za0MumWZ1pbjp3KkIfAbZ5a6D?= =?us-ascii?Q?pkQk6zql6nqBFs+t1ePr3rBCFKglxLUnXg9p86qAkreEXYry10iyhaaTFi5d?= =?us-ascii?Q?VJr2o3+uvs0C9Ol0cedienNrrMeZxJlg3SzAWTt1owd2TzfzpkuZKGYjtZ+N?= =?us-ascii?Q?RQ4B6I0Zk081JIth5djmgc0GENbSR0AXfn7m0BkPdFAvir4YnzvyXLedNQdS?= =?us-ascii?Q?59aphAUOIkTMk6abmJxs2yX1WWzRrXtmaeDlCh+F5wO7PyOqZt4/OdbDDFDR?= =?us-ascii?Q?wfFd9qIbCXkNX90xv5CdVpNybDFfIBs71c5qaYOA+p5SVCl1ovnP6NHBvYgA?= =?us-ascii?Q?Q7xPmdO3A18xJLZ/VxnORdnGsZR+QJsqUSSlyBzNRNLEM8x59gocGEMSXjaW?= =?us-ascii?Q?/BNwjbRy2z0vcVuJdzZNi8vufkj6XHvjx8j7KCXtN0pNFVx+Ryay6bYui9Se?= =?us-ascii?Q?zfstZVFdoCmi5CPFjI6m1VrqDNpr60iHD+rAm9Uvn1QReZ+n3Wdq5Ci5Yp5N?= =?us-ascii?Q?G1UU4Oh5NpMb2HypvMGUPzD0n1EHufuKtzzSi2DuuiYfCsMk8V5CMR8S/Bgc?= =?us-ascii?Q?JpPcvChgxsrv5/NInzc9qQ4TA7dfd5ZAoDRagNAN/JG/sASWq8BRfCVpYsKj?= =?us-ascii?Q?WuT6dEWqLl3aiFnOu9R+iMb9BC+QVlNekR/cxNv/9W0nQXrqis+r4YXU3QNw?= =?us-ascii?Q?icXDId3t2xTBJa2ZcTdUHfMGu1xQJRf1pS4dAzbC2eJjHNYTgbnItRQGqeFd?= =?us-ascii?Q?8y6M8za/CHXcI2ZSg50yT6SqeNkNs3G92QXWDKmhv5IKehfGPyHri/f/DYkQ?= =?us-ascii?Q?QEckbQmcHeWPSKipqmvxjowt6aMPCksbyj8FA/HgDB77wbofScQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;BY2PR0301MB2117;5:r2VTYeJ98FjCwIdj77uDWAwPUDJtmxH9Ti+IEkS4bgaBbx+bjx+rCTAolBXrvKCz2KPs7oD+DF9TjDCdiaHRBUct2tz29ZzrBODYqwaTvG86MB8t1SoRe0piC2mEiiTdhZ8qTvpzD5zKLXNgv4x6QA8g3MMngOqQA5byBl7ea0Y=;24:xXnurg/n4vm8kBgvAm0hhFrxpyRC4Sdiwa2ynEXwm7X7+wUg5VJf0V1X8pQngwojo2NiAGtSKmBD+BdeujpQs2tKPckfgP8cfqf0luAMhuA= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Mar 2016 01:52:04.4185 (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: BY2PR0301MB2117 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2729 Lines: 119 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 Changes for v5 - 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..7cc3596 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 = "fsl,t1040-ucc-uart"; + port-number = <0>; + rx-clock-name = "brg2"; + tx-clock-name = "brg2"; + }; + }; }; -- 2.1.0.27.g96db324