From patchwork Tue Oct 1 18:35:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 174929 Delivered-To: patches@linaro.org Received: by 2002:ac9:19ad:0:0:0:0:0 with SMTP id d45csp8500114oce; Tue, 1 Oct 2019 11:35:40 -0700 (PDT) X-Received: by 2002:a63:5946:: with SMTP id j6mr31547875pgm.66.1569954940263; Tue, 01 Oct 2019 11:35:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569954940; cv=none; d=google.com; s=arc-20160816; b=sv5iGIIlmiMyr6oU/U0vcIOH4YogcL0wyrWHnXw16kywFpzc7Xj2eY2VpbbsrGK+Eo dU/2Carr6h36T/1mZ1ZVXKyNMZ8Js+Q6StMdD4VeHz+JFNCN3eRxJGScYQ6TxwNrPyqQ JRaDQZE0H9DqmJH5BOT3X0ZzJJw3zq/aCxm/UkiQgupPLwiB2UOE6V+0uwxLYviIkxa4 c44uAqNKycudc59IpnCKM4E0SlW1J+CUbPuWtcd9PeKbloeMKrxLtdlmewwufMd+4/HD O8AC9Nq7YsvqUm39IL3h7RckXdGWqYE5DrVfvWCWmDDnmhACodRYOrGRpnwRuGbPasy9 7KSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=6OmoG9nmfnxp1hTQSnSmg1pG2i9ciIUjtqDNmRYZw6w=; b=OGhDlvKUHf5WiVwo1SP7J9ax+Zg8Yfmq4MsFwuZVxM9vy6F0JCLR0Or8YTEh6AX0E6 m0bDewXdI4OQak/PAi/ZAXvNTqtxW1beLdP0fE6eGw+Pm20rPVF0CAxeVDrRF8VnINxX 1S+VWsb2MEkumxREAxKOPqf7VNTWSkJ3YnG7CfVEFQ86yCdjezJ6HiO678t1cbwc1rUn 1n5dJqTokdCZOfBuk8DYCO/tUCL9Fy3s4DtMP7lD2XIRoTKt9y5ih/RM7JlyofQ4exAO f1c7yg67MJyYSxxcKCZq8Eh+6qVS2g1uz/ZO1M62CdfliarLgs41EbkH525O1wLnehAP h7YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PMFyjHJw; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id m89sor4675043pjm.7.2019.10.01.11.35.40 for (Google Transport Security); Tue, 01 Oct 2019 11:35:40 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PMFyjHJw; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=6OmoG9nmfnxp1hTQSnSmg1pG2i9ciIUjtqDNmRYZw6w=; b=PMFyjHJwQLR9BN/b+vKadsnTfwLbbJmf2zBAgtox4/WCysbzBXr8UFaVyYm7ToqSKi r6Ats7g3lDQbweDGfkQYRnWxPKkcAFEaLonbBCGxWk/H/hDrDIpoO7n/ZQAT+ZUKDIcl NCmCrRgDiNaxWHyAAkV4ByoKEOW8XuYmdTpyW95FhtBf0t4cnbtPLDHeX4q9lCutRRR4 JgGIhWuy/PonjWTOqUK9YdqMDaWfllC7lt1SvYnMVr9vWxEtuMC1uqAjscmjmaMgVMTE 25nwLkmrQwphR2/y53BHm6iCbd0QsDV1f5fjQi+HUaLbog1hbM5wBs4+lBDwWysejKqS m5gw== 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; bh=6OmoG9nmfnxp1hTQSnSmg1pG2i9ciIUjtqDNmRYZw6w=; b=BCUf5ku9rDFCKLXFm6O9vvA5/e2jVDA1F2jSwW+/RPegsYDgInSMfMRqqNU7+1sNit Yx0BUVWU9kcDLqiuSvL7cgVEWVn6hWyLMTCnQXzqRIHDWMmV70hxX+yNwaiENdBaW/9I eqQIEZ8pTy9gIlt2OeV+T1lRw+xF0KADqpRAkkTA9XAGTE1fZf1oKw6/U4774aTGaZXG 1lsRPaLW0ha6lIukG8WYLQrdideJgaWCIxXDvhw/lCGtBUGCDS+uPn0/vizh+osw+GQ9 RSX7PfKvyHSHOHj5YC4Ud49c8aR6taDVeQ2omZB6g0ESTW9nUM3lyZdRI0OBuJuWX5Pc 1Bbg== X-Gm-Message-State: APjAAAWbsVa0T5suOhdEpK9ZiFyU6vIIVmhEUYt8zAhserhOpvOJ4I6v ePXCzs/M5AR+Esv75JH92xioMv4p X-Google-Smtp-Source: APXvYqwufTWDovtqMSDCdgIffp1MdomqxuofdL0vq4XG3lfejHVLVq3PhYVe2oAkWLjpOOUbVa2DRw== X-Received: by 2002:a17:90a:178d:: with SMTP id q13mr7189954pja.134.1569954939726; Tue, 01 Oct 2019 11:35:39 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id j10sm16803222pfn.128.2019.10.01.11.35.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 11:35:38 -0700 (PDT) From: John Stultz To: lkml Cc: Peter Griffin , Wei Xu , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, John Stultz Subject: [PATCH] arm64: dts: hisilicon: Add Mali-450 MP4 GPU DT entry Date: Tue, 1 Oct 2019 18:35:35 +0000 Message-Id: <20191001183535.70835-1-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 From: Peter Griffin hi6220 has a Mali450 MP4 so lets add it into the DT. Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Signed-off-by: Peter Griffin Signed-off-by: John Stultz --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 38 +++++++++++++++++++++++ 1 file changed, 38 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 108e2a4227f6..2072b637b5af 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -260,6 +260,7 @@ compatible = "hisilicon,hi6220-aoctrl", "syscon"; reg = <0x0 0xf7800000 0x0 0x2000>; #clock-cells = <1>; + #reset-cells = <1>; }; sys_ctrl: sys_ctrl@f7030000 { @@ -1021,6 +1022,43 @@ clock-names = "apb_pclk"; cpu = <&cpu7>; }; + + mali: gpu@f4080000 { + compatible = "hisilicon,hi6220-mali", "arm,mali-450"; + reg = <0x0 0xf4080000 0x0 0x00040000>; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + , + , + , + ; + + interrupt-names = "gp", + "gpmmu", + "pp", + "pp0", + "ppmmu0", + "pp1", + "ppmmu1", + "pp2", + "ppmmu2", + "pp3", + "ppmmu3"; + clocks = <&media_ctrl HI6220_G3D_CLK>, + <&media_ctrl HI6220_G3D_PCLK>; + clock-names = "core", "bus"; + assigned-clocks = <&media_ctrl HI6220_G3D_CLK>, + <&media_ctrl HI6220_G3D_PCLK>; + assigned-clock-rates = <500000000>, <144000000>; + reset-names = "ao_g3d", "media_g3d"; + resets = <&ao_ctrl AO_G3D>, <&media_ctrl MEDIA_G3D>; + }; }; };