Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5567662imm; Wed, 12 Sep 2018 07:54:25 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb8nEN24fTiLKcXMa0fMV+ZnATiojT7BWt6jhSbGv35jJt5PmFS73b5ohT3eGl0VaHh1stO X-Received: by 2002:a63:ad07:: with SMTP id g7-v6mr2760124pgf.19.1536764065890; Wed, 12 Sep 2018 07:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536764065; cv=none; d=google.com; s=arc-20160816; b=QiLBePdUBQBEYQrsqXfYN45k0WfdKgRz1zkcDf5zOTTHHc3mL7wG9KKCIYwSXQigyX y4w0R/6EGgtMPFfeAhqz7dEgLmFP55qZrCRvb/Ah5n3PWNp1YEjr5tn9E+89QZb/xvhe J3HjWo8WFH9H7OrS1pYsQCExJE9uU+jcRqlvQl/7WMBiQ9v4eV8oFwHCuVyPaRnhHkMS sKZbUTHJD/Ly8mWtlmWhHBC45/iNa7lQv6bWGtx1riqxygr6ECIDnrCwzp4bD9Dz8mas 8SMDvv+44lLKmanS/9YBilUHdC/yZY8vzeSOflYSAVxC1/0ALXXKZF1M6TqOBwh7Z6l9 LeXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from; bh=1LZd/+O3K+1OWGb/jcCv/c7BWh6bZB1yQ00dteaqw7g=; b=utzvBg+3w3vi41CXYJquTJjxbRRd3wKtspU/i7fc+xFkyzxZCQzCl/5+LkO+/+R1uS eL0QAAjYg5lVZrLKM2cL9UTDb/9yM9s3x86tG6K/ICydIGccve8C8Xx9afu1ZJsw/Nz+ T95gFpNkFK/NRDzzbUANjD6NkvLmzeM5GBLrlv3f4GGmiR7QW4ldCvqCuflVZOgh5Z3a 77iddw7rbnQdm4wxgbJXnZ5OqokfRW0i73gia2gqUBOzWzfZOxryzmWIgyJtuQ2m+cIx xYwgcPFa49qCjRaYabbib9K/52ctqNWFTN2OjeqPeqPAqQVU+Y5deDJ3njw3ErloLJYW OE7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x68-v6si1134590pfc.239.2018.09.12.07.54.07; Wed, 12 Sep 2018 07:54:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728379AbeILT6b (ORCPT + 99 others); Wed, 12 Sep 2018 15:58:31 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:56726 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727623AbeILT6a (ORCPT ); Wed, 12 Sep 2018 15:58:30 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.09927466|-1;CH=blue;FP=7424067145819829695|1|1|11|0|-1|-1|-1;HT=e02c03299;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=15;RT=15;SR=0;TI=SMTPD_---.CpxGAes_1536764003; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CpxGAes_1536764003) by smtp.aliyun-inc.com(10.147.43.230); Wed, 12 Sep 2018 22:53:24 +0800 From: Guo Ren To: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, daniel.lezcano@linaro.org, jason@lakedaemon.net, arnd@arndb.de, devicetree@vger.kernel.org, andrea.parri@amarulasolutions.com, peterz@infradead.org Cc: c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org, ren_guo@c-sky.com, green.hu@gmail.com Subject: [PATCH V4 21/27] dt-bindings: interrupt-controller: C-SKY APB intc Date: Wed, 12 Sep 2018 22:52:03 +0800 Message-Id: <78e2aaf5d1aa428f18c6aa9a1cfead1cc9b5af7d.1536758961.git.ren_guo@c-sky.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <93e8b592e429c156ad4d4ca5d85ef48fd0ab8b70.1536758961.git.ren_guo@c-sky.com> References: <93e8b592e429c156ad4d4ca5d85ef48fd0ab8b70.1536758961.git.ren_guo@c-sky.com> In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Guo Ren --- .../interrupt-controller/csky,apb-intc.txt | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt diff --git a/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt new file mode 100644 index 0000000..dbe55f9 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt @@ -0,0 +1,45 @@ +============================== +C-SKY APB Interrupt Controller +============================== + +C-SKY APB Interrupt Controller is a simple soc interrupt controller +on the apb bus and we only use it as root irq controller. + + - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums. + - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported. + - csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums. + +============================= +intc node bindings definition +============================= + + Description: Describes APB interrupt controller + + PROPERTIES + + - compatible + Usage: required + Value type: + Definition: must be "csky,apb-intc" + "csky,dual-apb-intc" + "csky,gx6605s-intc" + - #interrupt-cells + Usage: required + Value type: + Definition: must be <1> + - reg + Usage: required + Value type: + Definition: in soc from cpu view + - interrupt-controller: + Usage: required + +Examples: +--------- + + intc: interrupt-controller@500000 { + compatible = "csky,apb-intc"; + #interrupt-cells = <1>; + reg = <0x00500000 0x400>; + interrupt-controller; + }; -- 2.7.4