Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp966920pxy; Thu, 22 Apr 2021 18:54:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzf9CPtpPJ4s5SFklA6uADVyCF8/L6PsvU6YIiksNzuBvbgOka6ePoZ5oeCEhTQjOPG35z+ X-Received: by 2002:a05:6402:440f:: with SMTP id y15mr1577029eda.145.1619142868002; Thu, 22 Apr 2021 18:54:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619142867; cv=none; d=google.com; s=arc-20160816; b=dybzBh+EdWge+ZDTcdnBEOP34p84LpBM5+qz0WnlsF4QscAddQGJZICOE3Kz3z/q+e Wy21V9aB2I3AEz0JOTflMuTinsGziUBXAP7EgiC9lE0RP/zs+DnruprEPEvrsz7X1Wq1 yeWJT76r/7AX8Gtch219jDMqpxUFTP8PW/TCSr3a91VaJhyacmFB/8rKKF68jfE+kExY 5s4ZLytjim9luKh6fDOVEnQHpztbKpjbaoEK/sz6cR7ozqfjAJ+m7l9zFBPN8K8Rt+39 84VcnCaEc/jOjU5D0bvf0Arj6vX2cn6fqiI8qnw6jWPal//wAgVyqP29gWQ3w09tEBSD PIwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=0tZwd2ujqQN12oHPGgpwRthFm1Ws7P4TAeXwVIUTb40=; b=pkNK9Y1iWS6NNLZYK2+fUml22GJ+bYC26/k5e7NeQzHMjQcxcGbpGRhnlvGttRm5IN nPwbxzRyrlQDdLTKaKvzd4Av4VhR9Lqw1gqeEBaik2kEo1YfKFu15tsbaGrpS8i6rQGR eWLlD3cPhCelvnNs+irJGbZUqRWFLbak7btcj5jun3rTRRl3SIrcqYB0GIglrxn6WnZc H3+zOkYa55TR3EuxKdlRyHOBkwkngZHND+1FFMiWTOnk85J4CLLNzx+MtlLBt2dra5WD dPdOMkxWKi5pgtPbQeoTfipX2hud7WHEn8e3Q+jMjBl1WcbUaUd6FcJZzy/r/7Gb9zfe f7kw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p4si3443205edq.332.2021.04.22.18.54.04; Thu, 22 Apr 2021 18:54:27 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240263AbhDWBxp (ORCPT + 99 others); Thu, 22 Apr 2021 21:53:45 -0400 Received: from mail.loongson.cn ([114.242.206.163]:54684 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S240162AbhDWBxo (ORCPT ); Thu, 22 Apr 2021 21:53:44 -0400 Received: from localhost.localdomain (unknown [58.249.121.165]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9AxLcl0KIJg9aoMAA--.16933S2; Fri, 23 Apr 2021 09:52:54 +0800 (CST) From: xiaochuan mao To: Rob Herring , Thomas Bogendoerfer , Qing Zhang , Jiaxun Yang Cc: devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, xiaochuan mao Subject: [PATCH] MIPS:DTS:Fix label name and interrupt number of ohci for Loongson-2K Date: Fri, 23 Apr 2021 09:52:34 +0800 Message-Id: <20210423015234.23870-1-maoxiaochuan@loongson.cn> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: AQAAf9AxLcl0KIJg9aoMAA--.16933S2 X-Coremail-Antispam: 1UD129KBjvdXoWrtF13CF4fCr47uw1DWrWkXrb_yoWkKrg_GF 929a1kGryfXFZakry7urs8JF13u3y7Ca4fCa42qry093s0vrs3GFWUCFWDGF93Wryjvrs3 X395Wr48Cry7KjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbcAFF20E14v26r4j6ryUM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_Ar0_tr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr1j 6F4UJwA2z4x0Y4vEx4A2jsIE14v26r4UJVWxJr1l84ACjcxK6I8E87Iv6xkF7I0E14v26F 4UJVW0owAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv 7VC0I7IYx2IY67AKxVWUXVWUAwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r 1j6r4UM4x0Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwCY02Avz4vE14v_ KwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r 1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij 64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr 0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6Fyj6rWUJwCI42IY6I8E87Iv67AKxVWUJVW8JwCI 42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjfUoPEfUUUUU X-CM-SenderInfo: xpdr5xxdrfx3ldqnw6o6or00hjvr0hdfq/ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org from Loongson-2K1000 user manual know that under pci bus the device num is 4, function number is 2 and register is 0x2200 is ohci. the ohci interrupt number is 51. because Loongson-2K1000 has 64 interrupt sources, 0-31 correspond to the device tree liointc0 device node, and the other correspond to liointc1 node. so it should be number 19 correspon to liointc1. Signed-off-by: xiaochuan mao --- arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi index fd0e99bfe57b..89f079097f32 100644 --- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi +++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi @@ -125,14 +125,14 @@ interrupt-parent = <&liointc1>; }; - ehci@4,2 { + ohci@4,2 { compatible = "pci0014,7a24.0", "pci0014,7a24", "pciclass0c0310", "pciclass0c03"; reg = <0x2200 0x0 0x0 0x0 0x0>; - interrupts = <17 IRQ_TYPE_LEVEL_LOW>; + interrupts = <19 IRQ_TYPE_LEVEL_LOW>; interrupt-parent = <&liointc1>; }; -- 2.17.1