From patchwork Thu Jul 15 18:53:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Schwierzeck X-Patchwork-Id: 1505866 X-Patchwork-Delegate: daniel.schwierzeck@googlemail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=YlqtmqNz; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GQk8H4G9gz9t23 for ; Fri, 16 Jul 2021 04:55:11 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 26C7A82E87; Thu, 15 Jul 2021 20:54:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="YlqtmqNz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 93AEB82A13; Thu, 15 Jul 2021 20:54:26 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6E37782BE8 for ; Thu, 15 Jul 2021 20:54:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=daniel.schwierzeck@gmail.com Received: by mail-ed1-x52d.google.com with SMTP id v1so9573414edt.6 for ; Thu, 15 Jul 2021 11:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=74Q6oryhzfHmDIcTQJaN9e5DEMaeAQYGcXX3nzz49eY=; b=YlqtmqNzkeAaP884dsHx1mh4NvAlCSqxDATrPF4yC7AysK6alBZiZfnYxkXKMPhCzd D4RLhnMeUC0FJRj2R8gdykXGqwjSAaIaHuC5hk2WmcyUtQ+q3qtBR+zn70iFbzwf1EqI 4yAXzluk3rsgmayOZlNlv4+ItmK+w+DSn8w80GNbGAKFHVyEVXewmz59V0C1ntCaalBr 2wQRKN5Klch0pxRkziFVNbCr6DAC2OFzarkfIp7uOjlgvVGh2AkY5Pys82yaiZnsUAlw ChLvXuV5U8PXaLPORCFV8YOrrdrBzMJSw6UCWF8DYfvAe4U9cViWxDDwaM3h7ERKI0Yz TISA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=74Q6oryhzfHmDIcTQJaN9e5DEMaeAQYGcXX3nzz49eY=; b=IiyD+7b8c/05etJr3p1ChXa7MY7bXkeLDYxm3KUMLWRMbSTzNUB/ZuHTyot/niA/Sd dm52leIq/zLJohZFdWcxR3cxAgOMlW7j12FdrlkgRdxDdiEXp3KBj3n3buukm9fabNP2 VH+1KOAYHnwEXno0cOCGGw2POO0UL+BFU0NACnge1C/dcCzGkCSvUwcOCI/6F8EUABiV 2Hw2dcOtsTYStFZDR8tPMyjc7hFS6Xk+VB3oi62jL+1CXHUclWubyS5AVifDQ4jV9Epy UIkix+AeVwqyW89ImIhipASTCUr1dMtGLKhVFyzwA9hhtymMIXHYr03mmjwqvRVSP6Xo rVNA== X-Gm-Message-State: AOAM531xul6wb+d1CWjtlRviE4Vx5oy+eE5s9GDfJrFf2A3zE5GAIiKY 4TJa3cidwACtZ7Sx99S2at/C2lA0YAs= X-Google-Smtp-Source: ABdhPJxXPuC0S1YUEvC6UnluHtKVCIgmAf2s0vhdrKT4KTGMTmj1WfPlnvyN2WBS5utka7PztLy5UQ== X-Received: by 2002:a50:fd1a:: with SMTP id i26mr8983458eds.372.1626375256146; Thu, 15 Jul 2021 11:54:16 -0700 (PDT) Received: from workstation.lan.schwierd.dedyn.io (i5E860616.versanet.de. [94.134.6.22]) by smtp.gmail.com with ESMTPSA id t17sm2803486edv.75.2021.07.15.11.54.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jul 2021 11:54:15 -0700 (PDT) From: Daniel Schwierzeck To: u-boot@lists.denx.de Cc: Simon Glass , Tom Rini , Stefan Roese , Daniel Schwierzeck Subject: [PATCH v2 4/6] MIPS: malta: add DT bindings for PCI host controller Date: Thu, 15 Jul 2021 20:53:59 +0200 Message-Id: <20210715185401.301211-5-daniel.schwierzeck@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715185401.301211-1-daniel.schwierzeck@gmail.com> References: <20210706142222.497569-1-daniel.schwierzeck@gmail.com> <20210715185401.301211-1-daniel.schwierzeck@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Add DT binding for GT64120 and MSC01 PCI controllers. Only GT64120 is enabled by default to support Qemu. The MSC01 node will be dynamically enabled by Malta board code dependent on the plugged core card. Signed-off-by: Daniel Schwierzeck --- (no changes since v1) arch/mips/dts/mti,malta.dts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/mips/dts/mti,malta.dts b/arch/mips/dts/mti,malta.dts index d339229c2a..ef47a340bb 100644 --- a/arch/mips/dts/mti,malta.dts +++ b/arch/mips/dts/mti,malta.dts @@ -29,4 +29,32 @@ u-boot,dm-pre-reloc; }; }; + + pci0@1bd00000 { + compatible = "mips,pci-msc01"; + device_type = "pci"; + reg = <0x1bd00000 0x2000>; + + #address-cells = <3>; + #size-cells = <2>; + bus-range = <0x0 0x0>; + ranges = <0x01000000 0 0x00000000 0x00000000 0 0x800000 /* I/O */ + 0x02000000 0 0x10000000 0xb0000000 0 0x10000000 /* MEM */>; + + status = "disabled"; + }; + + pci0@1be00000 { + compatible = "marvell,pci-gt64120"; + device_type = "pci"; + reg = <0x1be00000 0x2000>; + + #address-cells = <3>; + #size-cells = <2>; + bus-range = <0x0 0x0>; + ranges = <0x01000000 0 0x00000000 0x00000000 0 0x20000 /* I/O */ + 0x02000000 0 0x10000000 0x10000000 0 0x8000000 /* MEM */>; + + status = "okay"; + }; };