Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp749338ybh; Wed, 22 Jul 2020 12:10:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXfXKFzv/pYTtsTpX4j5bCO9Dj4+0ua9nddkCUjEFyoacF6gUmZ6BCVz5IAEGbO2WqOstm X-Received: by 2002:a17:906:40cb:: with SMTP id a11mr995291ejk.340.1595445044629; Wed, 22 Jul 2020 12:10:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595445044; cv=none; d=google.com; s=arc-20160816; b=bQF6kaPmelUWElABEmvBY/7XOHKz65BMfnRksomHDNc2auFYpSb1amQddjcroQh97e DfHueWoNbSI1+SsG881xT04UYWPGma3OlkpisKEvdDjT/zc4RXge2UkamBFb20jpWhY7 /6BhbWScfbHBI8wBGVadruzEZ8LRWRLfb+2KWj2JzI7NXM9l4EpA+zGPZeYfgcxY2rln 8H1HyALw5GM9lpCDhucb95YE/x4DpUY+Y0RIGwijg1whcPyW5eoaDX4g2k854fazlidy Mh3kAtrk/yTay8KT2ydRSSMgi1kF1rB40tZYueBOfRditdRpwDM1Uib5f4z8NLKLuQhh trFQ== 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=hfiWO0Ph160Ftuv8im+r8mR8zkoGr6zHq96rgtWc2ok=; b=BpwLK8FjzBTZLZFDQxTbgsE9YTS4TVwai3Dy4csq/rBEhkP0cK/3CNA2WSpyezij9n caK9M1J7HxzDxCCTy8dotBRujcOkHkU4eBOX0VjMJ4Ikp0D77ujCOLCGku/MTMN2lWGm 8QMixBsm95c4lQ/BK+OwIxwwD5LBpliUWDdy9y2lPxGVBEjOwZ9A+X0elS1UQ5FXKUH0 6tsYAtSBlMvxu27Do/caYAyse262NY+Pe07RNUKiCJ5rEXLV4/rKMion9E36iH69NsgW UqDxZzCZ22VwnoBRP09Jcp/oPvzPyS2Vyh1qWvjiCGtsfJeT4f0p7zJ8AK6Ni81Ecsia yWvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hsLEdP4d; 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 yd6si526454ejb.326.2020.07.22.12.10.21; Wed, 22 Jul 2020 12:10: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=hsLEdP4d; 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 S1731927AbgGVTKG (ORCPT + 99 others); Wed, 22 Jul 2020 15:10:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726157AbgGVTKF (ORCPT ); Wed, 22 Jul 2020 15:10:05 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 974FDC0619E0 for ; Wed, 22 Jul 2020 12:10:05 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id 72so1466107ple.0 for ; Wed, 22 Jul 2020 12:10:05 -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=hfiWO0Ph160Ftuv8im+r8mR8zkoGr6zHq96rgtWc2ok=; b=hsLEdP4dUtwdgrJsxvKlKP2QHJz5nqQV2c2qUVh+RA+tlnhhxqzrsVcm57gom3vYtg s+sqfGhXC92GFYs42DIwZ6C3nBRlbE8w3uEzI/pbHTcI1fJrFUzghA+4/SRtXrH01Dkd Y/4Hk1jOXg3zW7uo4CNaaSsSo8y93jhyXyAW0= 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=hfiWO0Ph160Ftuv8im+r8mR8zkoGr6zHq96rgtWc2ok=; b=XHB7QqD3yGyMHqaYdaGt+x8l1Fg8Mbuo9sLpiRbhbPFPWNO/+4z4pHxXIwG1NpNG/I xWSMS2Qqnf7VFY/jt4W8c4XD5j+rzo4Gu/h1ZouXNcMtclRXbVOTKbCPVbY5Hzv1BBrx JfGufhSkHU80eG10oue4M8SdiLa8dCG25c5y6w1rVaPWVM2SDo1Mlt0TyesSYDGrEke3 SvLW1ug9CHsGEZebUvQDhLYz4vTzdkaT/pcXwL0OY7LILeqRTXGFLz/H27TITwTRHc1L LitZxYCaohBGYRz0qWxsKkwKo3AG1uEr8KoLNN+BYkR9xD/zWAlCVIrdAmiJblvBkdSv Ofeg== X-Gm-Message-State: AOAM532nN2Wom0MIdrwkdo78jTAsNJqYBFOF+WhRCcoukAWR/Et3YqJr keBScnSreg0Vql8f1vFzoYyfzg== X-Received: by 2002:a17:902:b113:: with SMTP id q19mr789986plr.170.1595445005086; Wed, 22 Jul 2020 12:10:05 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:fda7:aaf8:9d1a:6749]) by smtp.gmail.com with ESMTPSA id n137sm342398pfd.194.2020.07.22.12.10.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 12:10:04 -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 v2 2/6] arm64: dts: rockchip: Mark rock-pi-4 as rock-pi-4a dts Date: Thu, 23 Jul 2020 00:39:45 +0530 Message-Id: <20200722190949.215656-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200722190949.215656-1-jagan@amarulasolutions.com> References: <20200722190949.215656-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 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 2ab77206699b..1250c62205a4 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -35,7 +35,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