Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2088305pxa; Fri, 7 Aug 2020 02:51:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypvTN4VljBI27E/a1y53ketYlGF7aCXNFoE7U1ba69Ha+XQ8usFStxUl5xYZ58jebd/wv7 X-Received: by 2002:aa7:d758:: with SMTP id a24mr1068049eds.379.1596793904243; Fri, 07 Aug 2020 02:51:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596793904; cv=none; d=google.com; s=arc-20160816; b=aBhAdunINad5H6g5Xa372pCrDagxQSSs9PpPrJo3YZJixG4ztxPxXXs96/tmPexc/M 6X0Sw3jF/Vdf499BpahOC2v3SJzXewJwhJMxJ59vMVdej9OQDwfdV+pEMnCr2EevjbUd qvdELFm7I04XxgxpJ2h0JEGv+5TATaT3Xq2gB1pvjgc1hu8UwkvXb4h9C9FMUMPWGs2H DD8cjZ7k+3lRYPQd5Jg3p+bg563zdjL0KNDDA1c2pT8tA7l9nEWGVsraUt49XAFmc7Ul JPgnt4lB2WmaVkAwfW1Kb/zLuXgDm3BBrDISvH35RCTSjDrUoVW9eG5xvJKF9VHQ4M+W EjIw== 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; bh=02o/duJFuPsa51rahLQuUkgKqOgWknYxohHZSpeLSFM=; b=OK539PyuQVlSF4arBzpHX1RA+oJ6bbXRpJPwqSEVhOD1um4o8gZvUtE67lh0eGB7Oc 00zp8UOjZnUm7tVKIVUBT2KiMEe1SfZRbOcByMzDEv7U2/9aV4m0rBSisu8DM8eFsnqN LWiS61YTDXtCW9pLRR/ij2o7VoCpK8XMkL4yFMdmoSXU0gnLLPJavId6pmPI2GQWa15o hnlyjAU378dz9LY2HDVMsorshucUXa2PkhNyM4XpBiwL6oskg5/yC2rszJ0ZQIcG3yxL tdfMJdGkCjqwF6IVYkix2yLiodNNquUW222o0HkDkdv1Z52jtb+Zk1flvAzaPWBC2S1Y erJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=RGpxzowG; 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 c21si4972384ejm.385.2020.08.07.02.51.21; Fri, 07 Aug 2020 02:51:44 -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=@amarulasolutions.com header.s=google header.b=RGpxzowG; 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 S1728259AbgHGJsr (ORCPT + 99 others); Fri, 7 Aug 2020 05:48:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728036AbgHGJsq (ORCPT ); Fri, 7 Aug 2020 05:48:46 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17BCFC061574 for ; Fri, 7 Aug 2020 02:48:46 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id y206so713789pfb.10 for ; Fri, 07 Aug 2020 02:48:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=02o/duJFuPsa51rahLQuUkgKqOgWknYxohHZSpeLSFM=; b=RGpxzowGLm/VGCRGVp5wBW5ZhuH3Ip5LxyD9aPh4uqdx8ec1ZZ6pdaOFgmgn29Imy+ QL2UE3qUKUuqcdYeFeUsX/wDny/mfbkSsoj98Q6RfZoz5WsrhzImURmBc9r3Rg4XMA2H DapvsItYXeFiMP1dT6Tk8D6/dqUhY2cDbIvEs= 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=02o/duJFuPsa51rahLQuUkgKqOgWknYxohHZSpeLSFM=; b=MJUQ5aNQiHCyrs71wQoGcpsUjTdjQmjINHWjOYGsYSzLetO5yYY12BJNeTZkUxzQRq n3oO7oIl7iATFsO/Rn7srgd+O0UhRNMc7QML3mkpF0ysal0gVSc0ydUWpUqePyfRuxLT hVVTFCyMvKEl8SK/rzCgsAfQOtSCm6JoGnuCD2dv6byIjQU9nt5g0P3xYt0CpNycQKjB w8TqImESw6R9Nvftz78q6g9eJoWQIya/mMIJc7lq8lV0fv2+dJ2Vdpaos7KPdvpJ7zEu JyX4Zm0Ze96N1DzAdDUzQkQztENvia1afbtVHqN4WFvNgQ9rs9eIJnBsB+8tDNS9/h++ Cu5Q== X-Gm-Message-State: AOAM531dIMN5imWJV9/IwnuKId0zR3cm6csDZY/ZVtHkE006oKUn8N0q EcIecZcb/JWmc/5DEomQNJFeGQ== X-Received: by 2002:a62:cfc1:: with SMTP id b184mr11610684pfg.262.1596793724650; Fri, 07 Aug 2020 02:48:44 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:6097:2d32:26bb:64fe]) by smtp.gmail.com with ESMTPSA id d65sm11412112pfc.97.2020.08.07.02.48.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Aug 2020 02:48:43 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Suniel Mahesh , Michael Trimarchi , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula , Jagan Teki Subject: [PATCH v4 2/4] arm64: dts: rockchip: Mark rock-pi-4 as rock-pi-4a dts Date: Fri, 7 Aug 2020 15:18:24 +0530 Message-Id: <20200807094826.12019-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200807094826.12019-1-jagan@amarulasolutions.com> References: <20200807094826.12019-1-jagan@amarulasolutions.com> 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 ROCKPi 4 has 3 variants of hardware platforms called RockPI 4A, 4B, and 4C. - ROCKPi 4A has no Wif/BT. - ROCKPi 4B has AP6256 Wifi/BT, PoE. - ROCKPi 4C has AP6256 Wifi/BT, PoE, miniDP, USB Host enabled GPIO pin change compared to 4B, 4C So move common nodes, properties into dtsi file and include on respective variant dts files. Signed-off-by: Jagan Teki --- Changes for v4, v3: - none Changes for v2: - update commit message - add radxa,rockpi4a arch/arm64/boot/dts/rockchip/Makefile | 2 +- .../{rk3399-rock-pi-4.dts => rk3399-rock-pi-4.dtsi} | 3 --- arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dts | 13 +++++++++++++ 3 files changed, 14 insertions(+), 4 deletions(-) rename arch/arm64/boot/dts/rockchip/{rk3399-rock-pi-4.dts => rk3399-rock-pi-4.dtsi} (99%) create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index b87b1f773083..42f9e1861461 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -33,7 +33,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-pinebook-pro.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-puma-haikou.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc-mezzanine.dtb -dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4a.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock960.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rockpro64-v2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rockpro64.dtb diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi similarity index 99% rename from arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts rename to arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi index 60f98a3e19d8..e163f438f836 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi @@ -11,9 +11,6 @@ #include "rk3399-opp.dtsi" / { - model = "Radxa ROCK Pi 4"; - compatible = "radxa,rockpi4", "rockchip,rk3399"; - chosen { stdout-path = "serial2:1500000n8"; }; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dts new file mode 100644 index 000000000000..89f2af5e111d --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dts @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Akash Gajjar + * Copyright (c) 2019 Pragnesh Patel + */ + +/dts-v1/; +#include "rk3399-rock-pi-4.dtsi" + +/ { + model = "Radxa ROCK Pi 4A"; + compatible = "radxa,rockpi4a", "radxa,rockpi4", "rockchip,rk3399"; +}; -- 2.25.1