Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp235894ybk; Tue, 19 May 2020 21:09:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsua7lGMCr3gJH+k+Qr5RhePE02L/2sF7gZuqcQVzQVxPriWg+GRKCMnuRNzNZmbk5o7Ru X-Received: by 2002:a05:6402:cb1:: with SMTP id cn17mr1575181edb.382.1589947745064; Tue, 19 May 2020 21:09:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589947745; cv=none; d=google.com; s=arc-20160816; b=U0F3Hqi2W1tlP5aqMoX9+I30vq4eVTmKiBM+6beL657I3NrU0tDq/lDBJYVcGT12Bd BBAjN3i+Hr8szEoAoMuuOQV2pvUAcZxorCrOxtm0ZmdJYhRn7ODSM/QD31AbU971QiXx jmPKZzGqDlNtt+SQL8AM2waimqmfOH48Jyk9io4YtrNaAZ4jfN7HgTwRA8ENXveeI9+m 8CoVn5FGKRRO/zVaRrp3YviNEcTzs/TzzFxfpii1xWZ65cfT3H+ju0sfwiwVojiNY+Cl N4RBt0dxwMn0EgEPQQu4E0uYHbiNkXo+o78NYaLWQpSiRHzom2rY32uUe/BbvZkuJzZI lLQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=RoqB1t/h0gZ+JkRDxROXc334gYERlmkcwSPVaROqmt4=; b=lvXVuLyH3wTQ4tOUTg5LzdMlbfTqSSHowbO5Gm1u3t5BW8mcgOvLnPg9fARZceolbL Kx9S0zMuvl0EeEbYzbvml3jjE7flcOI9tmBB48Qqsn3WiuK0GbbLHFB7++Z/4tQrjoNq MSRuffedEUrAVR93SalnP1QWJtvYjme6mpY4bgyCebkCWWm1h0WDSGH1CGGo+vusfuzU bzP9WlhTtQKIgztT3r8juqGaALK1OYKhdHM87kRAf1SZrXl3kUjwUhjPRJqYOe6PGx8H u0UJi1bL9aBxziONHltsf+b/tbYfKz+7P4o7tRk22tdHZQcMwcVP6TNzqOn8K3yiDlM5 KWGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id aq18si1087313ejc.123.2020.05.19.21.08.42; Tue, 19 May 2020 21:09:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726544AbgETEHX (ORCPT + 99 others); Wed, 20 May 2020 00:07:23 -0400 Received: from inva021.nxp.com ([92.121.34.21]:42628 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725785AbgETEHX (ORCPT ); Wed, 20 May 2020 00:07:23 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 93AFD2001D3; Wed, 20 May 2020 06:07:20 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 367E22001D4; Wed, 20 May 2020 06:07:18 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 5A691402A6; Wed, 20 May 2020 12:07:14 +0800 (SGT) From: Qiang Zhao To: shawnguo@kernel.org Cc: leoyang.li@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Zhao Qiang Subject: [PATCH v3 1/2] arm64: dts: add qe node to ls1043ardb Date: Wed, 20 May 2020 12:02:20 +0800 Message-Id: <20200520040221.10536-1-qiang.zhao@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zhao Qiang Add qe node to fsl-ls1043a.dtsi and fsl-ls1043a-rdb.dts Signed-off-by: Zhao Qiang --- v2: - add commit msg and drop a new blank line v3: - Keep labeling node sort alphabetically - remove unused device_type - use GIC_SPI and IRQ_TYPE_LEVEL_HIGH - use "arm64: dts:" format for subject arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 16 ++++++ arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 65 +++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts index dde50c8..44d9343 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts @@ -176,3 +176,19 @@ }; }; }; + +&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; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index c084c7a4..3b641bd 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -525,6 +525,71 @@ #interrupt-cells = <2>; }; + uqe: uqe@2400000 { + #address-cells = <1>; + #size-cells = <1>; + 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 = , + ; + }; + + 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.7.4