Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp752210ybt; Wed, 8 Jul 2020 10:45:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXXGzQssw3CXejx1GCCMwuzkKeQurhIrdi9985vR7IqoEJBIqD3HErWMDwXk+5F0giY1Ft X-Received: by 2002:a17:906:1f0d:: with SMTP id w13mr55261129ejj.0.1594230356873; Wed, 08 Jul 2020 10:45:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594230356; cv=none; d=google.com; s=arc-20160816; b=aK8QFTrNvSdMifr3+7IpsSm56eRbBN7G/UZoYTlrk5MzPsOs4h+Coluv5I4c2xHHnW EEzm0puEYFgvXmqbZuFS4naJDIDklfj3aPtfHuFZ0T7Xnyq3U4kuDUQWUIGkTFpwJ0ia ofS6B10zJ/FFrM7wVTgcw++BVDFO2GV86VFnEUcc5Af2uCTRLmZqVGEepzgI//5Hy85G 1xEzVZlJZlDelcquOcCsoNkg5OlGWFfiWh1m0tjxeWfyHvPkoDB2n0otpaNeqgYDGqqc HfPgLkuTz2q+g63IVEffffR2mfS9NbOIetIuijHzNZRtIHGUGQI9JvSupv2p2N+yEa3l i6Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=Pr2wD0aIesVA7VhHrZ3ZAGxgmjMS1TPzBhQ+Exq5jlg=; b=xMb+RTmZMZP+6Aibwj0oj/8OKZbZkxZ+hBNMZ6GC0FGwYMQwVy0XyAPnNYBD/zIvUk EDlvqZ7miNDqUBusHHQxV0FQic5/E8KYq7fZ3kOXKEUAhwLsLGDxUxDDH1yGMFnDBK61 UBOuuNAOWd2XaWqmCBsFf9cs0AKA0P/gecXNkJgxFvDNN5u/fiX75s0Wv+vzhi24lfhu 30D1t1Lw7J42jNWvj7aTSCQnFsMDftcwPaZguldB29D2eEXcdhJSurIqW1kzT83xGzq8 oC2TCop2AQo7Ia/jCe+3/miMnC9Z2zRzw0ThXHXKxMSeutBcdJSCMRux4VCJgh2CuN/J KI4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=Qw+OiyWN; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=VopLKxvN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w10si340966ejv.343.2020.07.08.10.45.33; Wed, 08 Jul 2020 10:45:56 -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; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=Qw+OiyWN; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=VopLKxvN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728135AbgGHRoa (ORCPT + 99 others); Wed, 8 Jul 2020 13:44:30 -0400 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]:35667 "EHLO wnew4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728080AbgGHRoZ (ORCPT ); Wed, 8 Jul 2020 13:44:25 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.west.internal (Postfix) with ESMTP id 1F3C31092; Wed, 8 Jul 2020 13:44:24 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 08 Jul 2020 13:44:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=Pr2wD0aIesVA7 VhHrZ3ZAGxgmjMS1TPzBhQ+Exq5jlg=; b=Qw+OiyWNTDl6OxGhGmECmnyPn7W0T wxXn307c/f3sAnK6JkArJ7CHiTK6zFxZ2xASI5I2KaigPa1Cb+X4Dx1FZhUUsvSD k/7uOkcjcUdgSerpeJxmy9ihG9GQVbbLdJ+tr1ndL9cgbsMX7wSCCUU07j0McrlT jheo5k/vAFwygN0wn9NfjpjqaEoR7QoCKie6HZvimC6bHVDI2VHHN9JZDUB+WrVC cnZRPP90kha08oO334KT7Eqi+1Glfbxyr4fJjGZMw9PIWegtAbgX8nR1nQ2GcaYr GbiJrlNm3KaZ/EanWMa6vMYNzD6KvAS6MGSifs2HlQoFHv4S/XUbQrghg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=Pr2wD0aIesVA7VhHrZ3ZAGxgmjMS1TPzBhQ+Exq5jlg=; b=VopLKxvN ONr5XEdbMDdQUUTKH16UoYAlvvy51keqrTMGFmcPdlgYrFHxvzK/Cm+A1rybMeH/ 4B0vxAKmHOpeXC0tVNzjHlrkqB9ilo8XMjtMgb40chhS6lF7yrgFclZVr6C4ociU c5e9GHN6LzP4PPXhxcJtNLKQr2dv3ULD2yCJEfu/hMCluY2MSdT8lg/rG+2sl47G bzrqmIIhp6D2pslVGAxs3K/hkRdArl5KgXIKtMtazX8AWssgAb/Hv4AeY+ScAo8E e/PSLvfcnFyrXJZYI4LFy8NNVy/fPbbQKHaQeodp9dOZEGkewNXKFaQ5J76zL0CB uvUguDxfUWwyTg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudejgdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepvdekleevfeffkeejhfffueelteelfeduieefheduudfggffhhfffheevveeh hedvnecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgepjedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 5CE3B328005E; Wed, 8 Jul 2020 13:44:23 -0400 (EDT) From: Maxime Ripard To: Nicolas Saenz Julienne , Eric Anholt Cc: dri-devel@lists.freedesktop.org, linux-rpi-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Dave Stevenson , Tim Gover , Phil Elwell , Maxime Ripard Subject: [PATCH v4 78/78] ARM: dts: bcm2711: Enable the display pipeline Date: Wed, 8 Jul 2020 19:42:26 +0200 Message-Id: <768aa056fded89f2ee59b4bdc32223955bb8ffe2.1594230107.git-series.maxime@cerno.tech> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that all the drivers have been adjusted for it, let's bring in the necessary device tree changes. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 46 +++++++++++- arch/arm/boot/dts/bcm2711.dtsi | 115 ++++++++++++++++++++++++++- 2 files changed, 160 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts index 222d7825e1ab..b93eb30e1ddb 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts @@ -68,6 +68,14 @@ }; }; +&ddc0 { + status = "okay"; +}; + +&ddc1 { + status = "okay"; +}; + &firmware { firmware_clocks: clocks { compatible = "raspberrypi,firmware-clocks"; @@ -163,6 +171,36 @@ "RGMII_TXD3"; }; +&hdmi0 { + clocks = <&firmware_clocks 13>, <&dvp 0>; + status = "okay"; +}; + +&hdmi1 { + clocks = <&firmware_clocks 13>, <&dvp 1>; + status = "okay"; +}; + +&hvs { + clocks = <&firmware_clocks 4>; +}; + +&pixelvalve0 { + status = "okay"; +}; + +&pixelvalve1 { + status = "okay"; +}; + +&pixelvalve2 { + status = "okay"; +}; + +&pixelvalve4 { + status = "okay"; +}; + &pwm1 { pinctrl-names = "default"; pinctrl-0 = <&pwm1_0_gpio40 &pwm1_1_gpio41>; @@ -231,3 +269,11 @@ &vchiq { interrupts = ; }; + +&vc4 { + status = "okay"; +}; + +&vec { + status = "disabled"; +}; diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi index 00bcaed1be32..e637378650f6 100644 --- a/arch/arm/boot/dts/bcm2711.dtsi +++ b/arch/arm/boot/dts/bcm2711.dtsi @@ -12,6 +12,11 @@ interrupt-parent = <&gicv2>; + vc4: gpu { + compatible = "brcm,bcm2711-vc5"; + status = "disabled"; + }; + clk_108MHz: clk-108M { #clock-cells = <0>; compatible = "fixed-clock"; @@ -238,6 +243,27 @@ status = "disabled"; }; + pixelvalve0: pixelvalve@7e206000 { + compatible = "brcm,bcm2711-pixelvalve0"; + reg = <0x7e206000 0x100>; + interrupts = ; + status = "disabled"; + }; + + pixelvalve1: pixelvalve@7e207000 { + compatible = "brcm,bcm2711-pixelvalve1"; + reg = <0x7e207000 0x100>; + interrupts = ; + status = "disabled"; + }; + + pixelvalve2: pixelvalve@7e20a000 { + compatible = "brcm,bcm2711-pixelvalve2"; + reg = <0x7e20a000 0x100>; + interrupts = ; + status = "disabled"; + }; + pwm1: pwm@7e20c800 { compatible = "brcm,bcm2835-pwm"; reg = <0x7e20c800 0x28>; @@ -248,10 +274,25 @@ status = "disabled"; }; - hvs@7e400000 { + pixelvalve4: pixelvalve@7e216000 { + compatible = "brcm,bcm2711-pixelvalve4"; + reg = <0x7e216000 0x100>; + interrupts = ; + status = "disabled"; + }; + + hvs: hvs@7e400000 { + compatible = "brcm,bcm2711-hvs"; interrupts = ; }; + pixelvalve3: pixelvalve@7ec12000 { + compatible = "brcm,bcm2711-pixelvalve3"; + reg = <0x7ec12000 0x100>; + interrupts = ; + status = "disabled"; + }; + dvp: clock@7ef00000 { compatible = "brcm,brcm2711-dvp"; reg = <0x7ef00000 0x10>; @@ -259,6 +300,78 @@ #clock-cells = <1>; #reset-cells = <1>; }; + + hdmi0: hdmi@7ef00700 { + compatible = "brcm,bcm2711-hdmi0"; + reg = <0x7ef00700 0x300>, + <0x7ef00300 0x200>, + <0x7ef00f00 0x80>, + <0x7ef00f80 0x80>, + <0x7ef01b00 0x200>, + <0x7ef01f00 0x400>, + <0x7ef00200 0x80>, + <0x7ef04300 0x100>, + <0x7ef20000 0x100>; + reg-names = "hdmi", + "dvp", + "phy", + "rm", + "packet", + "metadata", + "csc", + "cec", + "hd"; + clock-names = "hdmi", "clk-108M"; + resets = <&dvp 0>; + ddc = <&ddc0>; + dmas = <&dma 10>; + dma-names = "audio-rx"; + status = "disabled"; + }; + + ddc0: i2c@7ef04500 { + compatible = "brcm,bcm2711-hdmi-i2c"; + reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>; + reg-names = "bsc", "auto-i2c"; + clock-frequency = <97500>; + status = "disabled"; + }; + + hdmi1: hdmi@7ef05700 { + compatible = "brcm,bcm2711-hdmi1"; + reg = <0x7ef05700 0x300>, + <0x7ef05300 0x200>, + <0x7ef05f00 0x80>, + <0x7ef05f80 0x80>, + <0x7ef06b00 0x200>, + <0x7ef06f00 0x400>, + <0x7ef00280 0x80>, + <0x7ef09300 0x100>, + <0x7ef20000 0x100>; + reg-names = "hdmi", + "dvp", + "phy", + "rm", + "packet", + "metadata", + "csc", + "cec", + "hd"; + ddc = <&ddc1>; + clock-names = "hdmi", "clk-108M"; + resets = <&dvp 1>; + dmas = <&dma 17>; + dma-names = "audio-rx"; + status = "disabled"; + }; + + ddc1: i2c@7ef09500 { + compatible = "brcm,bcm2711-hdmi-i2c"; + reg = <0x7ef09500 0x100>, <0x7ef05b00 0x300>; + reg-names = "bsc", "auto-i2c"; + clock-frequency = <97500>; + status = "disabled"; + }; }; /* -- git-series 0.9.1