Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1053414ybh; Sun, 19 Jul 2020 07:14:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwphzHG/S51s3i8lwCQBV2aQ91Pp4i/QTixW01if0/H2+plh7NNRgDJJebyaGcrPHYRSvyl X-Received: by 2002:a17:906:5fc4:: with SMTP id k4mr16623511ejv.94.1595168055977; Sun, 19 Jul 2020 07:14:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595168055; cv=none; d=google.com; s=arc-20160816; b=G46QI9hcpeA0ihcKfrNIIF/qUuMO7GIHPV3QByyWBfRD6IDGIkO+1Bl3G4ekPC9gR9 BjCxLDoBwjb7+kR666rVmdD99YvvLXaEmpTvNy3b7vyKS17w6z4LZ/nqloxAfKXjTxIj lPXHLdB2lCAXlgZVph44IRoX19Dt3ArvGpDu6XcaUW6jGlMU4P4TU634DFvkZuTcwrF0 qAef0RuIPR3TzjDmKc6PznSp0Md+I0sFxpOW2Ow5QUiRQ1Dzv3Xs/bKUlG4YL+/OsKB/ OW4rO87XYebkMcBdjuAiwGPGRorVr0GCrYA8GqKtlYGbnuu1HvcoHoELpxj2Jc0ljw4N rjQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=BO3/npBe/d3IU+Xb/V+yWFJYQheJQv/P5LLMxy6zjOI=; b=ePLdooPIM4b803MlGF7vTYaywIfnc0wDEYxPkYzK81t8S2Eapoh2XVYEq+ZNMXrLHl quNGoovqRVgDGxqhw+cJyUxDWkIsou71bw8Ij/j2eKCQZDHRmGesYObW2hLn1YBQQpI3 CCeN2k7jpyNaBXP2iIeHuFSOwjRxg6x3HUuNLMHQ1rbeuq6vcnXb6mBwNxYel1jy4EjJ Qkx+EfOzAqt2k3/LWM2HzU+1CCsXkKqQknes8lf7/PatHSG8fDd0rRDQD0vkxTso2oXz MIaNgp/1JrO+/5Sdj0v59NpAxS5+EH9LWwMO6dgWvbto7zqi/9TyAW9vAYnngdSoCEsO IoZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DS1kNoof; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g12si8819570edn.412.2020.07.19.07.13.53; Sun, 19 Jul 2020 07:14:15 -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=@gmail.com header.s=20161025 header.b=DS1kNoof; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726577AbgGSOKs (ORCPT + 99 others); Sun, 19 Jul 2020 10:10:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725988AbgGSOKr (ORCPT ); Sun, 19 Jul 2020 10:10:47 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30D1FC0619D2; Sun, 19 Jul 2020 07:10:47 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id o11so15378590wrv.9; Sun, 19 Jul 2020 07:10:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BO3/npBe/d3IU+Xb/V+yWFJYQheJQv/P5LLMxy6zjOI=; b=DS1kNoof5nEfvtqD86NpiQvO/pKycqZpLQzz8mUB3MWCkvVyMJmRQ1FbhDzVqfrp/6 laMgFtXMutsiEfpZtMG8O5zv2v7Hgm9R1JHkdUp/eGAD1S4BLt32HCwzuoS+LDECAuUp OJ1rqdgCZBWhI9KbCEshgetYXCa6/HWhX24XTjk3eh/xU8X781tF2AytCVqTOCDomH7c ev+gtrNpA+urtRvUWMynwGeoRwTQOupGV5ItsQj7FTuLnO8Ts3Wh/WWGSkH3DRCRVDHT 1Tl7iTcwy7I2wWGZ0XX9HWJkmYrgOal+usAs164luVeeqbShAFEJ3WLYSZhTYJIDX2Dz HEgA== 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; bh=BO3/npBe/d3IU+Xb/V+yWFJYQheJQv/P5LLMxy6zjOI=; b=VMgVm5rlVITuTfpzD1K3/dpIn24ezCGXOeaSNjiJN7fhr1eySMsKvuLUpJYSQ31IVZ aQbaNPc7y9tTBLSKN3tr22zA0TivRtGyn/2gn4ZYucMcTD4zSPCR03xMN3cXMfx7vcja Eb4gipQ40wpIaS4C8Sh7/byNyyWLRIrDFYvy626Gh6ZOWw6aRzFgt1wXRLg6qfTMGx7q CtNX+Uf16eRbTE3lASbsZPgHwVYotMKRcAqZyanaMe10tXyksv8HGN+2wwrZWhnt1oPP Onl/1gZj9oY+WgTY7dML1rPn5BIT8ODSc90ONtsgZ/B2T1X/CHNTBZ4McDU2mFWvZKy5 mlUA== X-Gm-Message-State: AOAM532T7B1cBCGFNLLtNrLdCKtTAp6PYuwPnv4xlapugEdq5PjzJDV6 8PXl8ZeDrfkxxWCz+tuKSdi2eLKn X-Received: by 2002:adf:d084:: with SMTP id y4mr17959433wrh.161.1595167845879; Sun, 19 Jul 2020 07:10:45 -0700 (PDT) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id y11sm9215554wrs.80.2020.07.19.07.10.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jul 2020 07:10:45 -0700 (PDT) From: Christian Hewitt To: Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Christian Hewitt , Dongjin Kim Subject: [PATCH 3/3] arm64: dts: meson: add support for the ODROID-N2+ Date: Sun, 19 Jul 2020 14:10:34 +0000 Message-Id: <20200719141034.8403-4-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200719141034.8403-1-christianshewitt@gmail.com> References: <20200719141034.8403-1-christianshewitt@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org HardKernel ODROID-N2+ uses an Amlogic S922X rev. C chip capable of higher clock speeds than the original ODROID-N2. Hardkernel supports the big cpu cluster at 2.4GHz and the little cpu cluster at 2.0GHz. Opp points and regulator changess are from the HardKernel Linux kernel sources. Suggested-by: Dongjin Kim Signed-off-by: Christian Hewitt --- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../dts/amlogic/meson-g12b-odroid-n2-plus.dts | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile index 5cac4d1d487d..6dc508b80133 100644 --- a/arch/arm64/boot/dts/amlogic/Makefile +++ b/arch/arm64/boot/dts/amlogic/Makefile @@ -8,6 +8,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-g12b-gtking-pro.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-a311d-khadas-vim3.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-s922x-khadas-vim3.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2-plus.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-ugoos-am6.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-kii-pro.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nanopi-k2.dtb diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts new file mode 100644 index 000000000000..99e96be509f8 --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts @@ -0,0 +1,53 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 BayLibre, SAS + * Author: Neil Armstrong + */ + +/dts-v1/; + +#include "meson-g12b-odroid-n2.dtsi" + +/ { + compatible = "hardkernel,odroid-n2-plus", "amlogic,s922x", "amlogic,g12b"; + model = "Hardkernel ODROID-N2+"; + + vddcpu_a: regulator-vddcpu-a { + regulator-min-microvolt = <680000>; + regulator-max-microvolt = <1040000>; + + pwms = <&pwm_ab 0 1500 0>; + }; + + vddcpu_b: regulator-vddcpu-b { + regulator-min-microvolt = <680000>; + regulator-max-microvolt = <1040000>; + + pwms = <&pwm_AO_cd 1 1500 0>; + }; + + cpu_opp_table_0: opp-table-0 { + opp-1908000000 { + opp-hz = /bits/ 64 <1908000000>; + opp-microvolt = <1030000>; + }; + + opp-2016000000 { + opp-hz = /bits/ 64 <2016000000>; + opp-microvolt = <1040000>; + }; + }; + + cpub_opp_table_1: opp-table-1 { + opp-2304000000 { + opp-hz = /bits/ 64 <2304000000>; + opp-microvolt = <1030000>; + }; + + opp-2400000000 { + opp-hz = /bits/ 64 <2400000000>; + opp-microvolt = <1040000>; + }; + }; +}; + -- 2.17.1