Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2890990pxb; Mon, 1 Nov 2021 04:04:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrTUKQ6QvjLFJH1ykBAIUjiPDVI3Z+yXAyZVULJ143ZriNQYO0rVqBFrRfLoWdNgdqp9ZG X-Received: by 2002:a05:6402:3554:: with SMTP id f20mr40101593edd.210.1635764673033; Mon, 01 Nov 2021 04:04:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635764673; cv=none; d=google.com; s=arc-20160816; b=GJU7clRnVrMyTG5MnRRtV1pcd88T9dau07XLSBFT74UWhWzL+HuK86Ei34TkVFEMdl qyjFXK8kHx7DjjiMPVIaX2XThSnZn2oZiqW8SUBx8zA1/bW+zjJ2+dpmdPYhESHdiXb0 8wTdImA3957b4opmW8edg/Mxv4vuTnr08HK37z1E17FVvd5JYmpZWAsXJqbfZn+eLiqj xazdGsNlRRmJep/KFfXxk+usTS4lwiqEkHShIMSvyudXd6r4+bqGtz6XKAy/N0Ug/vYS fVlqqV5wGOwqKdTlCIc0ihMe99UIlbb1VhuDmDQ4url7mVIbd9RkQvUTsrKGsTHJp+nQ 34fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=NuBeaNSMV4RGbPLKpmD54hqawLZ4RHB0I15GI7opFfI=; b=pvgaT1w7Zz1HtIUqUzAEP4mXFXOOzkMeQyynQZD1ktOnkR19iJAe8/Q5eYRMb/n/tn ih7aaO52jsqyjdKBQ10AoPAFdoADBipwLGvufZmVb4K1W0r1WOoIuzzx2/XSzXDFUPrD oP51rKIysNnyfS89ysW4aKdHsU7nGT4Zj9PsVfbaV54AqqlJwjE04pHBKszrU33yvLti bbVhjwPGl1mcO1V/ko9+PADAGukL5VneshYlwI6lnHZjnEulI0/vInwMRzAZRYoViVU1 UHs52BbhTuJS36XSD2hA0oftfuPhLw7+sFffVxk68Sx8XtfiRlaVt3j7E/SWNYxTaHUh PhAA== 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 k17si18256188edf.574.2021.11.01.04.04.05; Mon, 01 Nov 2021 04:04:33 -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 S232215AbhKALEu (ORCPT + 99 others); Mon, 1 Nov 2021 07:04:50 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:62756 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232183AbhKALEo (ORCPT ); Mon, 1 Nov 2021 07:04:44 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 1A1AcdFI037902; Mon, 1 Nov 2021 18:38:39 +0800 (GMT-8) (envelope-from tommy_huang@aspeedtech.com) Received: from tommy0527-VirtualBox.aspeedtech.com (192.168.2.141) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 1 Nov 2021 19:01:23 +0800 From: tommy-huang To: , , , , , , , , , CC: Subject: [PATCH 2/4] ARM: dts: aspeed: ast2600-evb: Enable GFX device Date: Mon, 1 Nov 2021 19:01:05 +0800 Message-ID: <20211101110107.29010-3-tommy_huang@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211101110107.29010-1-tommy_huang@aspeedtech.com> References: <20211101110107.29010-1-tommy_huang@aspeedtech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.2.141] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 1A1AcdFI037902 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joel Stanley Enable the GFX device with a framebuffer memory region. Signed-off-by: Joel Stanley Signed-off-by: tommy-huang --- arch/arm/boot/dts/aspeed-ast2600-evb.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts b/arch/arm/boot/dts/aspeed-ast2600-evb.dts index b7eb552640cb..e223dad2abd0 100644 --- a/arch/arm/boot/dts/aspeed-ast2600-evb.dts +++ b/arch/arm/boot/dts/aspeed-ast2600-evb.dts @@ -23,6 +23,19 @@ reg = <0x80000000 0x80000000>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + gfx_memory: framebuffer { + size = <0x01000000>; + alignment = <0x01000000>; + compatible = "shared-dma-pool"; + reusable; + }; + }; + vcc_sdhci0: regulator-vcc-sdhci0 { compatible = "regulator-fixed"; regulator-name = "SDHCI0 Vcc"; @@ -300,3 +313,8 @@ vqmmc-supply = <&vccq_sdhci1>; clk-phase-sd-hs = <7>, <200>; }; + +&gfx { + status = "okay"; + memory-region = <&gfx_memory>; +}; -- 2.17.1