From patchwork Wed Jul 22 19:09:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1558 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 096FD3F03F for ; Wed, 22 Jul 2020 21:10:04 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id e127sf2352199pgc.2 for ; Wed, 22 Jul 2020 12:10:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595445002; cv=pass; d=google.com; s=arc-20160816; b=FIzCMbFv67Z44qoadkCNpjMkaQH9rfbO6YnurTFkRGhXnMpcLbiqHBVG4RiRSgXUFV Ic2swp5d+bAhEObIoCDg39IMBWeojUSN9++PjcPBKPy4DFOP8741qFDeGBKn0F/gfvFF B3UdxEyCgJ/ACzkzLuTk1XVL/5J7EPuYizy67de8XQjCJcH0aJPRhohQqpifk+1QuFB1 0cmSoiXcqfjyRtukP+8Gc9aqY62GkjOiahOJcWiHypq0qeA0l5mudirbY0foayzu5qym srQGAjACe49WawnlobB/srT/K3DXMgl8VeBSXX9Hg87R0LnWY3WK0cQfNde/ZT/YpTtm EkRA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=XPXEeRi/ekW+L3GGdtIS27DOqqtC8wiEv5BGVyiSa/E=; b=KuxwwltKWdyPow1/Zvq3KBRhHFV7NDV1YYLLKBsqWoL7t9zbpuSY7LOQIL5GaoueWS tg+9veRxiATr/zPTztBsA0jO0bKmr9vez5wt5Qryp58oVhHjfnlGqZeSay+WbhDCodt5 VwE0TApGM6WBKX8zUd9EQ2ADcVCyQ1TJHTl+ZLktBYsH91mM1J+V6+JtXAYyZ6em65/d Tmk1XtKQznYjTN1aIBVvqevhW/Q4hfyInVI4ERAE/7olcuBfFLygMVwjhsepDpmXZaVM /P0uFeNmbz8Pgbt9yUT52xkDbMmTC2oHj2QnJxeGKKg00OVInn11rxUC8MOM2rtQpAiT /KCg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=d9mR8BMy; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=XPXEeRi/ekW+L3GGdtIS27DOqqtC8wiEv5BGVyiSa/E=; b=d4Jbj5whkSIOzRBPr9OUVIXunyGQzCwpfHcQInpKPcJMCphFeqVEKtQ8vDEITu8DS5 aCw56Zs3APesR+RUSVgRSpwKHaLouSMpAIGVaguR0EQz8+3PwG4zKcWDvgtMQbj3YgfW U7QIjL1ycNibQVpPuYOW14daJ1kTtImaT/Dd8= 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:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=XPXEeRi/ekW+L3GGdtIS27DOqqtC8wiEv5BGVyiSa/E=; b=KSRocwtbbM8gc5qa+D73BvTnduaF21rNXttqLPr7wDpALKMOCVQZyb9lw9uzHiEFRT VdqD9PaS8q19SsldyIZp6EX3Kk7CiMrsxzWtYdf04AH4V5RhbDTqoxWSZB7GB4YhrIG8 C8bu18wTFCiLbQQ9gywz4DQSkAiL4GCub4yFfyC0WOyOO+UKDSSSqSM4g605I6QHyNsq VN08NCESW7o0TPtEA214PPhFdSdQs/Tq9J+U5YoCdnPM1Z/o5MXrh51vleskVKz1zxxs Sg4oPIR4KDj8DqctI/tpCj48iYXN66MU38W7lloqGQH+C0dQehBUZ5Qfe8HsvNosMkxD 6bvQ== X-Gm-Message-State: AOAM53298rntLza+6DTCpQDVA8f/1pe6K1GrVubsMiGqiP9DyI3SfovJ UXkyx/vfEZbUWk6ryhcwBRyPVIJJ X-Google-Smtp-Source: ABdhPJzdrrCOgGGogIWbfKXWYcqcZjr6oTiLBAxAMhyHE6Eks+E/Kso8OW6CRcUV/7v0HsGhIVasZg== X-Received: by 2002:a17:90a:df88:: with SMTP id p8mr823474pjv.84.1595445001970; Wed, 22 Jul 2020 12:10:01 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:864e:: with SMTP id a14ls1032851pfo.7.gmail; Wed, 22 Jul 2020 12:10:01 -0700 (PDT) X-Received: by 2002:a63:3ece:: with SMTP id l197mr1104810pga.313.1595445001494; Wed, 22 Jul 2020 12:10:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595445001; cv=none; d=google.com; s=arc-20160816; b=HQFXPw9Ku5G5CFvC9SrQKTm8n4IaOGSMCIVkYk7Gn7fLxpKjOqTfYpVOLCGbgswz0l VEJMb2deYXtPtyaHTIOyyuDM+L0X6TKp+K2IEeR/f7f+NHmFrIaedmHiIGJKMa2Je/Bq aoi0kmVtaeer8Vd4gU9q+KUzb0/qn51raUzMLAc0niRXg9PgTpsbBCsblEdlTZ8Wgt8j bPtVy3McJqZ4yLpJmmyQhkWGlRZ4t7Zm0eOtW7ThwxjJ483+ePUE7d7GliNbiRUrnccW wiO8I32mIf+uyPJkT3PCpS7J3f+5qhh4pEKdi9AfC0cbxSyy+uAz0nACafWRVkryhmPP etYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=WuJDZTXppS2/lPeSSOe4OB8nx8zh/tKr/I+u+TYREG8=; b=tm3ghFrS9wmv1qSH6A6QrOK50Q/2Idl6133C6/uAzEs4u0dG+To0w7a8HrNXDE8SgB ZO+MTkYoqmUKPG/Uu2es6VMikzamJfsvE2ZAaRkgW6h1/DB00/zipAbBOWX5pW8b+EVD YplVBGCMr6j+gzMJhtcfvFtGyrX8Orox9zUSBbydBiGzC672gaapdylBtX7u9QLExiR1 jrZ+aHnkWX7FV+vMlqak6pQ+2iea26gJ6k9tR4a1lTIEYpFp+4GXRpOHHFRYwQkmlGO9 q85OM2jIoUCulNLVNcrpfU6AI55qSPzBhkcN75ugJeLKtUPaFP71tG92GA5OIbjDiXIs 3EYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=d9mR8BMy; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id u10sor612820pfk.100.2020.07.22.12.10.00 for (Google Transport Security); Wed, 22 Jul 2020 12:10:00 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:aa7:91cd:: with SMTP id z13mr995868pfa.133.1595445000304; Wed, 22 Jul 2020 12:10:00 -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.09.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 12:09:59 -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 1/6] dt-bindings: arm: rockchip: Update ROCKPi 4 with 4A binding Date: Thu, 23 Jul 2020 00:39:44 +0530 Message-Id: <20200722190949.215656-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=d9mR8BMy; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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, update the existing ROCKPi 4 with ROCKPi 4A binding. Signed-off-by: Jagan Teki --- Changes for v2: - new patch Documentation/devicetree/bindings/arm/rockchip.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index 41f919de1ad4..36057c9e4b83 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -442,9 +442,10 @@ properties: - const: radxa,rock - const: rockchip,rk3188 - - description: Radxa ROCK Pi 4 + - description: Radxa ROCK Pi 4A items: - const: radxa,rockpi4 + - const: radxa,rockpi4a - const: rockchip,rk3399 - description: Radxa ROCK Pi N8 From patchwork Wed Jul 22 19:09:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1559 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D606A3F03F for ; Wed, 22 Jul 2020 21:10:07 +0200 (CEST) Received: by mail-pj1-f72.google.com with SMTP id jx16sf2350275pjb.6 for ; Wed, 22 Jul 2020 12:10:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595445006; cv=pass; d=google.com; s=arc-20160816; b=ayqhE8zE84MEm+u1+KRd7kB4PMq7QnNMtEh6Tcr76cW1YYMpVS9gNG0OqQhzv7gRvY QCqzz/ZqoF1sTTGHHk402My2XHmGWHbcNHN5ab6FgdzFpKMujSQgvnrMgtzYmNXXj9BO s6Lsf4tNOXxpl6sMrh6AwUJ/PrQC4Z+d0elt+Wv5LKIuQAYcq9j3Bvd10KekHQxtqk3o sz2T/Itr9QUMflTJYPqEs1LeqE+7W5lSKGZZA9i2ITS5b2CyWV1t/5g1J5COMqa6XS50 R43lxlKlq7+Ryik+bkL8cZcFEVddm59CXNnEL3brqdrunG2942DjTNcbYah4JtmDg1ob 1NLg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=TRdK1E4RBqFFANpRHL96Z1VidechCNhOj8kyhBgBqPo=; b=ttxOBZarS8Pg82Gnest1hKfBrLl6x83+b2ytpniJ1yOFK2m1nD3M0SxmVXMMRUi0nJ TP5lyLLn3QTfxa3Sdm57BonUfzqowRGqo5MJOTYntA+aa36R1OyeLZuHzOZvNANFpBgH zqDSVqVUVEnL+EncNIi7pArtJ7l4aDs1dWVwTCse31RubGeuH5mQsXGn/CYXkd3ZEIGN JiH1DrNi6RAnOV0nlI5QTR547K5JBnV8gXMtYhj7OP/AnQWFGHkpgWs5hoO3eKNJqA1v iUVdNziItGOR47byRREL0SKeXHEJtq0gD6AG6lTNtcmB1buJYiiOUm0AJa3hpX6859uT gEZQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hsLEdP4d; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=TRdK1E4RBqFFANpRHL96Z1VidechCNhOj8kyhBgBqPo=; b=j9dd8tFhTGT3UtRpKuMBl5YPWvxIZLuS8xc8uFUuAwN6mVTKGBmi/C2GUNiJUA+0oy BuseOHmUfOCqWUA3qfRUiqcjdQUP3GE9BhvpnyssDmzDNKk2jXjFunsJuvwxSrQcVpnR 3ay8mS4G2SGeLnbh1JrDoYkVVbDyjENYBgLbM= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=TRdK1E4RBqFFANpRHL96Z1VidechCNhOj8kyhBgBqPo=; b=CkKC62+qEvpWKIkd/s/qSoOGcjnrOFHvs2MRT5aPfDrXaW1jNVHV3BYCZF6Axcpp7U 8jf08GzGQ6WSXaTBfptNaSA4vqN0Dk/YUlqCUKIswt7UGyVTnhqqhbn/UEvRpOvYJiUM SylklHW0+iEPG3c1a3opLgGtcE8m352VgJukmY/oS72Jc66ssYg6ce2GmfltmAPp/NHz ZygkR/ZfJsB5JoG0h4JinZkDZnT7OkKjkTfMNuJNy8pi2sTZFGiHn6PS0R52ehqAOuLV uaJpMAeDcEfrPamwhpjVU5tLzi/pk0xtzPWk96wA2FgbugLLY69BdHXaRJUmH6/TlI00 E8vg== X-Gm-Message-State: AOAM532MGmTbGM6qMKst1NJyMf4aAZuMXoWNMusMwmZ3gYgpeUBx/R9p KA4TCKHT7jzyI+9mjJcuwaKKAhSn X-Google-Smtp-Source: ABdhPJxaQAX4El4GcVUwjYZCrTNv9M6/NQbUmYv9NxXVRPssG0RiRz/yMqh0a9FtKolmK9+4UBNmGw== X-Received: by 2002:a17:902:904c:: with SMTP id w12mr788444plz.147.1595445005885; Wed, 22 Jul 2020 12:10:05 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:38d:: with SMTP id 135ls925395pgd.0.gmail; Wed, 22 Jul 2020 12:10:05 -0700 (PDT) X-Received: by 2002:a63:6486:: with SMTP id y128mr1084423pgb.82.1595445005390; Wed, 22 Jul 2020 12:10:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595445005; cv=none; d=google.com; s=arc-20160816; b=hK4XZDlOt/8ZdvXviOOC7WIaEQOlObn2fUQVkHqLFEzyJQb7puc1C+6loO8k9Fy3/X RBY30DQxGhlp2Dw6fB+3Q/v0qC1fAzT3JO3hW5Tv3gPzwv76C38DSrFluFCcpPnbq8+H 5dWa8mpxLyhD6/hV0bjzEo6t4cFMXNBpsvQizQ0wPxgnGFORBBsRBwZw7g+IwmsykzVa /NZKlIIydKt1F+XNq8pxuci0fZn3EO0v6jeHfsVmadfEAlj7XXqTgXdVomykk5V+s3cQ cXDF2gdUaOWq3If8Hbqrt8YzE7xcKCytJg31dYHdLN0XllIcjudPUQN16ox8HVHG9Jcq oRKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=hfiWO0Ph160Ftuv8im+r8mR8zkoGr6zHq96rgtWc2ok=; b=VBS0/01fYkIv/5o/MR+/7mI2sLYnWdY0xhBpqtAOY117AQlcPpdf76VJR5ktjMdooT NGwb0zQa7CW8/QW1NJaV98r25frv5EE1jGDcsit2L00OPg5K7GCcrxhM8pUIodYo0+o2 6lEmh8ojJTgb5F+yQ+R+2SvjwZ1Xoj7AN1xF/g+2L18uU/Gud4FtHZnAwXQWKXPaGMpM O4jCoC8BQiZCcXxj5/w6WgktNIZ6bB/3/cdTtNHfqvajtsSy1KEx8icp6P3+e3VnZhLf 1vA9fq7xTwBVSREzPEFYEsRTCxD7TC0ulHAMA7mYOqE4TloV2NjBN+JzWaUulI1r7eJ2 5lsQ== 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 jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id f5sor507698plo.36.2020.07.22.12.10.05 for (Google Transport Security); Wed, 22 Jul 2020 12:10:05 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; 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 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hsLEdP4d; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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"; +}; From patchwork Wed Jul 22 19:09:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1560 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1DE903F03F for ; Wed, 22 Jul 2020 21:10:12 +0200 (CEST) Received: by mail-pl1-f199.google.com with SMTP id f2sf2095391plt.2 for ; Wed, 22 Jul 2020 12:10:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595445010; cv=pass; d=google.com; s=arc-20160816; b=ld39yz6gQJIDnsEgC2yLJ+IFMB0E3yg4ZF1J4W6L6hf0CTByvh1zV4ZV2H3QSZmP4j dYwy6rrPYLRKIkSNht7PuAHNq0uDXNQ4EYitfGYUhk3XcEMKZUrqNdlfX5L1oMJZtGnV ST//hyMkG8Ozw7eTsX0+s6R7LfJMLzLb/yhRtn3qTcR6KPipo3gmo7u4OIkyPALSQ1BF yZLbHeyeWzpHFSDKDvrMdb0suIFjQd3Ofe5NWbsgC9UtoIHzZnsHyvHgo1WFsnxOdAIX UVyVs2ArpOLiHCR/WxFFwQw2joELY5jRz5tF5eRgmSmzrDb2h/vtHVfPcHfs40sTqyKB HnRQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Euv5TPBV0Op702vH86UYtN8daPtu8la7P3Br2fYtJNI=; b=vCoaF/eO2p3JzKH2/ruk7j0n5JX+1ZdhTNvfM/0JfoCqt/9cXq6kxJWSc9PggirGza nmJmV+BmPIRLbKHCShfzLQEbaWQajWUMJI/V6fHq0bgZB561kZvQvD/OwJhoz5IRlDnv bq9VVzQgMyqMEBitEWN3JZCjxPmWM7sVQ9YSOwPzHNeCVNZRBXubGS3pFfofh9AhCcpF NsDRKdTcvcbw/e2YiGvpmQYbKsccmqjb1aEuYBr+zhpP48IgbsFWiPZnLGUJ9KkrBEaD 2LfSRGfG2n6BIL2mR5JZPziBRIA6H/6W/9/PPF2ZFzVdeOcFpb8fj/0NNX5xGHzR8ln5 7FRA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=q29RmjN6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=Euv5TPBV0Op702vH86UYtN8daPtu8la7P3Br2fYtJNI=; b=bpgxA4eTsYnUVVhkHIVdY7pmcBOrA/yScVqmOTSrXkCk7isiBhF3rALZLkfDs72862 0n2CcqUO740bKH3K/wnpVRU1DrujnEHrJOcGPFuV6MKuSoB6In3C2osygJzKu+eeWT2P 4UsEush5+ahDkI/xSbqy1juELOul0PnwyCe9E= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=Euv5TPBV0Op702vH86UYtN8daPtu8la7P3Br2fYtJNI=; b=Ipuj7l55n8O+9IaSFBipYorRmwwp/01UvWSLdPz1uu4GgKJfV+4GI8pKvYV8pOnSfm ef3AEB4yoRdQiFHmbTGavP+yh2Bml4OWKWk1NPbWTP35Cx223M/rP2qLds8aUpg2RAyw GHig8g1dYksJJMfJKQvB3pUMBYmNnxWGVYofssHrKo/1P3UYHJFJO3Uu2vEePXQ++E8A DVMrptnkPSwTl02JVGTvSW5mkVcj7y9OXWT2BuDJdq6bFXxMxFjHz8mtiAPsh9Twhfyk 2+hWrMqocjTkp0yHXensvLDYEdnMee1D3KacpcLr0cuMbi7IDnWzIjuPmTv89uOv1CsQ 6WNQ== X-Gm-Message-State: AOAM531B14sLXYzsaF844tE2YEuXB2G9uMwIzLt2e1vnRc3jL0fgpEUX lSfRr01Hbnx/jnv+hFbuxhk2eY83 X-Google-Smtp-Source: ABdhPJzgKJbUvq5NNDZpmXFEpp+eBnaUM0eFFvDxT35yKRYIbCtnDetxhNB9rlsG7RKvmlcq+AajRQ== X-Received: by 2002:a17:90b:1956:: with SMTP id nk22mr846052pjb.140.1595445010619; Wed, 22 Jul 2020 12:10:10 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:1bce:: with SMTP id b197ls1028094pfb.10.gmail; Wed, 22 Jul 2020 12:10:10 -0700 (PDT) X-Received: by 2002:a63:c50a:: with SMTP id f10mr1123460pgd.167.1595445010119; Wed, 22 Jul 2020 12:10:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595445010; cv=none; d=google.com; s=arc-20160816; b=oFu0/CzO83yWkTAdBB+iI8+5rGiHmIP35ZsJcp8mbkHJ9a1gzNhWy29z4h9OTjOzP+ BxOerzofccZkuoUg5G4t1/Nb5Y+GthRzOZkBP19uKkp8hjI9X7QhZZ1Ap902oTSbqaNM whGRibhkEwt7uZn6yxhdEIhD3hSI5yddjrm6o6QtPRk6FCHm7RT7XknPoszqmBwfO3+W PzTQ+0QV95XpUhYbeKfr9kgxvkWQnkD1VrXR1Oj3EJk8hFb845U8nc1WDOY/qUskU/+A 9TrOIPNGKBM7J+dn0cVVutt+w8qy6lS7ZBCqBUECC7MOCOX1kkwNZWNamtWWAMIXwb5S BBQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=bCIGRDF+v4rmsAVdntIYzwaSfdyULw3/J/92ZjfTwCs=; b=u5YwAdgJ0Rf+XKRtaPnlXJ5YQYCk9m3G8gRf7msGejllJ55/fsLeQRGNQ0CCmRMo38 gOQbA/iTaL/c/u5H0cKpuvnl05447gupeDEzL2mVtazu2Kkvp4ZZ1O6yx1Sx2MjZeMLO 8jsEiTYCuStd9qJK42tqRRl6mWAqH3/ldr2m9jPkSe4pcqUeKbnqRxOQmaOCNxhgmlWS KIoUALGdM401cJsLXp33hUxqUSS8TZw/e/AgDrr/ckRVaWeA4x/5pr8gPHxgK56trpkI 7fwdLeDsVFMMUt8HCP3GTKjxQ5Wd1Gn6JAspJg/i2L6IJjBAdUWE1E1U5n/J3+yljB4a HDOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=q29RmjN6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id w14sor499570ply.42.2020.07.22.12.10.10 for (Google Transport Security); Wed, 22 Jul 2020 12:10:10 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:e901:: with SMTP id k1mr831705pld.130.1595445009832; Wed, 22 Jul 2020 12:10:09 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 12:10:09 -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 3/6] dt-bindings: arm: rockchip: Add ROCKPi 4B binding Date: Thu, 23 Jul 2020 00:39:46 +0530 Message-Id: <20200722190949.215656-3-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 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=q29RmjN6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add dt-bindings for ROCKPi 4B which is similar to 4A with additional AP6256 Wifi/BT, PoE. Signed-off-by: Jagan Teki --- Changes for v2: - new patch Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index 36057c9e4b83..7250adb43d24 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -448,6 +448,12 @@ properties: - const: radxa,rockpi4a - const: rockchip,rk3399 + - description: Radxa ROCK Pi 4B + items: + - const: radxa,rockpi4 + - const: radxa,rockpi4b + - const: rockchip,rk3399 + - description: Radxa ROCK Pi N8 items: - const: radxa,rockpi-n8 From patchwork Wed Jul 22 19:09:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1561 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B82463F03F for ; Wed, 22 Jul 2020 21:10:16 +0200 (CEST) Received: by mail-pj1-f72.google.com with SMTP id cq11sf2133632pjb.0 for ; Wed, 22 Jul 2020 12:10:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595445015; cv=pass; d=google.com; s=arc-20160816; b=IFeJhNzKf7RsMKlqJy0Azz5c5sgMNrnpibsS7Gh23vq3S2UkSsAoEi0UOV17Nc611i 9WUGkjEY6EvnD/jSQUP3RczbDbX3HxpOrdoER8ddSH1L+NP4QnRnw98JQbMXGtRL3gZh JVh7XZczUpPGnJz1SxesmELluV7tUplEuK1dOr6t0nx01lrDwItrxXxtT/FikaPRKbgg t1xqJJHHXi+jOQI9WkQ83hRrWs0Tlwh7TsEqMCjtX4pW5rh1wb5wHi3JxYMTIH+06x+W i29qiXGmQn0jpyQMfeBhEolTYfCImuSWL99Zz48KZCYiPpfyfKeDwNNlCFOfGAi+Bbcw 9K0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ZzO5LmX6DbZbRxLCy6rtJGBXP+7OLd0gNHM54ayhaow=; b=jhDnAWBzeizFPbOchi2cF/NXvaug06eMLuu0kOtyemSy9GIo67Eljn0zZe7dqLgeLM XdPg6GtSJwYb0TrkCMkFJRVycnsSASJN8jh2WdwmvwT3a7LMIEPsif4ATPlPUJ/j1w4R 278AjiTRqQoZPKbOQFGd2lKvAKYxSGI0DAAy+f43SbljsIsaNJV7JniRmeL8NeCZWw7w DlaxkRAJacFTkXjHhFsSXtl3rMtY1WauhUF2pcqStFna3jpFtCtSrqfQIvwufrt0vhJU 62RHyXzBEjrm2tuNBfe5tnzowLPhadKb2aBb45V1jfF1RMo6rJacTRoHi0NC2unwBHJR d71g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BsU4+NGY; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=ZzO5LmX6DbZbRxLCy6rtJGBXP+7OLd0gNHM54ayhaow=; b=rQQEP5+14CynLlLLiUf7qy0W8fjt1S5xEp5yJ/o4CYzItu+IpBjTCd8O3TsHdM5oDl 1n+O9sFxXCdS28wZ/S5QKWRH4Da6pgJx0vWEYrPQnfjIqYRtgXCB+xhvigSRxo6zGK4J T4wlmcYzSz/GTusdBOGXS/hGHWxPxT8b3L0Mk= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=ZzO5LmX6DbZbRxLCy6rtJGBXP+7OLd0gNHM54ayhaow=; b=Mps45iT64oUUWa8agFp1syyBFr+UTDF0hT/jR7nfzPjLGFtwK+XaSBkXT666a+UraK rNqU0eNUMGCzq/PIjqswn33HIFJDJvupf2ZCHPGs257qOWeo0MwxDSn8ZxLARKP49PXc bnlQATxj/3I8+XgpAH8gKvhQSyZ7xtG0teR0WFOTGMQhH/RV7G4PqI0ixCOiK5K7AL/r Q6OwZwMXl568wb7pZkJdv3//yEDSWekvJu+m77n7dTkx1BfmGd3CeAVn0JjaheXJ/FXf mZj11W8Ts4+tcrJ6Q3wB+Bt/HiCA5ZnksNymGN4l5QdclZTPd3QFYDhUKlOncRzIcWSm mOZw== X-Gm-Message-State: AOAM533lahdkS4TxRmgNGi1EkNEWP50218t+nZmb3U61z9+LRex6pChu Y0gJBAriKIEP7WtTe2cIEMFHnkmD X-Google-Smtp-Source: ABdhPJzipnoIqLld9txMjRUtTaiJ5zaujSVbV8zKYCKfjkGlz/dwkB6b82g+DyQ+RObgfM38YvSsmw== X-Received: by 2002:aa7:8edc:: with SMTP id b28mr981291pfr.230.1595445015497; Wed, 22 Jul 2020 12:10:15 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:7757:: with SMTP id s84ls1028582pfc.9.gmail; Wed, 22 Jul 2020 12:10:15 -0700 (PDT) X-Received: by 2002:a05:6a00:2257:: with SMTP id i23mr918887pfu.25.1595445014932; Wed, 22 Jul 2020 12:10:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595445014; cv=none; d=google.com; s=arc-20160816; b=W1tV0agzVv1Z6L9mJjYpMv5A3BPGf3+IkWw+xBoSxNWzX4910io9Q1z8Nm9jIC8WV8 NNwghuED8PhVTk37dIxTau4zHS/t/VY7XAXthzCQPwgbYv9nLM6idoT55VX4nNSDOEo+ dVbTUm01XVPh6wcfhxGxlf8t3mY/L1UhMePuKQp1lemWmX1tbp+SSrzZuoTp1B6SLtLG 61Gj0iGO+ONWrdixqXF/nEVHofMG0Q5heKYWpJStVgRGvB2vc5fJ0B7GM7nsA5j7eWba ywmkCfuFm2rh7WmrTvCQuHlOFcjVYXVg2NNHLsdH26iWHpkYEIk4KT9RJiKstk8XcAN0 +yWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=LSzw5Z9vI5ptiBRPoRfqBOqKnLsmDUkdHQCEgOWcVKY=; b=v0gJ37DOuXaycBzrrOd/wP30Vo685d0HJfcQD3HQYJ4DIiNXIsEOBf/jZzpnCT+XpC 5H1zz1FlyIYTUOM2tNeUsyHBH7NAb4ZW/gWb5ET8T0d7Mnnq94hqbVKgqeV0z4Sd89qz u+mMKdy7ZUV2Yykt81HmOVcm4uav4TjkDdlngMgsdrv2QrYUXqJ0TKrjCVG0nodhCnwI jPeZobNKqPXxWsdyIq974wrI5kYQIKLJXCySvkDreDazM8XLz6cHg1Txj1NZ+fLG4/8N Jk0bM9AdH4FP3PpjtKBJlKuI7yfz4AanGSoL8bLId15vuF2JYkkvgTmrhpgPs/wP+RSW vuJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BsU4+NGY; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id a14sor656056pfl.57.2020.07.22.12.10.14 for (Google Transport Security); Wed, 22 Jul 2020 12:10:14 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:794e:: with SMTP id u75mr978867pfc.298.1595445014607; Wed, 22 Jul 2020 12:10:14 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 12:10:13 -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 4/6] arm64: dts: rockchip: Add Radxa ROCK Pi 4B support Date: Thu, 23 Jul 2020 00:39:47 +0530 Message-Id: <20200722190949.215656-4-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 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BsU4+NGY; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , RockPI 4B has AP6256 Wifi/BT, so enable them in 4B dts instead of enable in common dtsi. Signed-off-by: Jagan Teki --- Changes for v2: - add radxa,rockpi4b arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 23 ---------- .../boot/dts/rockchip/rk3399-rock-pi-4b.dts | 42 +++++++++++++++++++ 3 files changed, 43 insertions(+), 23 deletions(-) create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index 1250c62205a4..e7b11e8fd9b6 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -36,6 +36,7 @@ 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-4a.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4b.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.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi index e163f438f836..678a336010bf 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi @@ -584,17 +584,6 @@ &sdio0 { pinctrl-names = "default"; pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>; sd-uhs-sdr104; - status = "okay"; - - brcmf: wifi@1 { - compatible = "brcm,bcm4329-fmac"; - reg = <1>; - interrupt-parent = <&gpio0>; - interrupts = ; - interrupt-names = "host-wake"; - pinctrl-names = "default"; - pinctrl-0 = <&wifi_host_wake_l>; - }; }; &sdmmc { @@ -663,18 +652,6 @@ u2phy1_host: host-port { &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; - status = "okay"; - - bluetooth { - compatible = "brcm,bcm43438-bt"; - clocks = <&rk808 1>; - clock-names = "ext_clock"; - device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; - host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; - shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; - pinctrl-names = "default"; - pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; - }; }; &uart2 { diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b.dts new file mode 100644 index 000000000000..f0055ce2fda0 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b.dts @@ -0,0 +1,42 @@ +// 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 4B"; + compatible = "radxa,rockpi4b", "radxa,rockpi4", "rockchip,rk3399"; +}; + +&sdio0 { + status = "okay"; + + brcmf: wifi@1 { + compatible = "brcm,bcm4329-fmac"; + reg = <1>; + interrupt-parent = <&gpio0>; + interrupts = ; + interrupt-names = "host-wake"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_host_wake_l>; + }; +}; + +&uart0 { + status = "okay"; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + clocks = <&rk808 1>; + clock-names = "ext_clock"; + device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; + }; +}; From patchwork Wed Jul 22 19:09:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1562 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 92EF93F03F for ; Wed, 22 Jul 2020 21:10:20 +0200 (CEST) Received: by mail-pl1-f200.google.com with SMTP id bf1sf2078663plb.11 for ; Wed, 22 Jul 2020 12:10:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595445019; cv=pass; d=google.com; s=arc-20160816; b=XT0aUaOr3r6cWFCn8TJD9eZUR6mloD+3+T6V5O/cRYOwF3+5pOMreOsTarKHG7Zq4B iGgUjDts0nBTtEH6ADLC/3jmDhr12IxCdGXDGPmpgMTddyA3t4ZZigUio7t0gmGj0VdE +2r69OqQqDKGo8aNeV8kYTU2IOdZvQbKsRi8vlsOFKWptn68cYg9PgthyeTHdgdFPVj3 AYFaEBvb1/TKSpQQWyZWXonumlEXe2vD4Qit1yE8Cxoh1Up8UxMFeSpGCC9lru3FaG3m RA+AV0p+kkzw92ex960OzBRmssyP9+IRzzxLqRSBYMaEKPhZY5c5CoRR8l4yfLkP5sAF +ObQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=mDICB3i/lhaWAoiJ4lhchciflO2uuSxuKMFDY1mP5qU=; b=DEXGl6j2XHda9FmT4VhS7cgPmm/V/jKIbKMFAhpDRayhTwFCePcOhW/CsDpf5Z6L+v yR+muESykroMIj49y+7/ti+qCkJ8EKq9PmawtPiRywJFGq3TQ6r1lHzYCB2K6FRHaToL YUhpaIzcnmZ6znIZTofrqmtvLKtjLryqQp9WPt0/8mJGHq+WAzctZCUo+P218PggR9sd DOEj7o3CWL6WtOWdfL6h+f56+ctGNqGQHP87tmbK1sZw9pFF+2QsAjHPHwyAKP0YBDNl ZfeKLIYUAge1m6/SWZ7Lnk2ZR162L1zHqef7pmZUwziNxmoPMSBW6rjW/kZ1SoPcHgNt 6D/g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="PDTBmh/K"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=mDICB3i/lhaWAoiJ4lhchciflO2uuSxuKMFDY1mP5qU=; b=osPAkXQAR4VxZWgHmTTm8uboHl3xRTHgFxvOgdT+ZpjdKSJCEyBuRQuj7tSvbHqS5B WHggxx2JFObW91UdkhWvDPrnwXTRx/g2UmBqvW1kWdKCEVpGetUYCgkKi9ycU8CASZ2w yFJubrwv+4ygsqT7JWyLmoMj3B/iz3I1+H8Dk= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=mDICB3i/lhaWAoiJ4lhchciflO2uuSxuKMFDY1mP5qU=; b=M2S9NNadbkImrohjZn7M2h/OTyAlKTDoTocFeHlZmqjMbRY6CWtIz2xc+T5SnkwgNt PC5KR4vcdCKSuuxSY4JlHqipR5v5gmSBgxv+lZ7Bg0tvniFUkQHca76VfKYnmCACLIjs gFciP4bH6cgXjfLXRZeAFe4deWhufUvVjF3SCdWFV4oA0OQQErEVk6T9k3bmyR9nTRuN 7xJDqZb59gcHRebzOKBaJqRJ8k4Zu41VVV0G/90EGMFh21vrt7oj0cxkUow/c71kvgC7 FV206u2LnZOAd/gGLodYhQJE4IF8lrNLiNVo9ykNhQPxmdCZ/+nwBn32KzngKt/cRBjk PWjg== X-Gm-Message-State: AOAM533rUAFx0eS4nkpgDCwfqv0JhS4fSOyr7QSw+JRqH0OOksIKQtcF k2uWrcrRzXKzofRmN1w8AeotjGSo X-Google-Smtp-Source: ABdhPJyxSQZyha21A30JIGmTqotqB4rTEI/GSgtyq6Mavxv8Fg46ekvMGon2qE3qYBfJFipwMqm0fA== X-Received: by 2002:a63:7e02:: with SMTP id z2mr1050205pgc.98.1595445019363; Wed, 22 Jul 2020 12:10:19 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:7e97:: with SMTP id z145ls1036307pfc.4.gmail; Wed, 22 Jul 2020 12:10:19 -0700 (PDT) X-Received: by 2002:a65:5c88:: with SMTP id a8mr1110575pgt.215.1595445018852; Wed, 22 Jul 2020 12:10:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595445018; cv=none; d=google.com; s=arc-20160816; b=B0rV9jdcPbT9F1ca2o7SOxW4HMw30jymjUNDBoSSe3pIcyp781gMtQcLqwxbie3JTm Rsp02bwPYqYx/jlRsPYiU6PT03E4d2/bpGaoNNCMh5dyGGN+2KOXZnrbFzTVih8sf18a BDVVG/7lx4/AVCB/+usB5SCsZrRSc8Ndm/K/s9Nwxgb0lQVTRjx50rnqruW5vFucuLV2 SaWQjKbFEUKu8CoksVjtrpWMISRAirZMI3stJGzQAgkjBSz/+iW0zuttzudVyJeNvt0i Ym4O3x9dobzX1hSY/1LxXr00ijmKVSrmCwCLDpi45NypIApJdCT0L8coLNMgiwZM0yl5 jSMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=A9R0zBQZNkWUaNZ8knUV7ykpWNGLCPzZJT92AJTWbRM=; b=AucE3IYKCXuPx1+jjfsAiTP+3VH90435fu9mV41C/4imLOhyO0OWsI90l7WE9xd9pG SOk8ppK7szW5EKaZQvYXY9eDgjGv1veUKt4zQvNi69UQHw619nofpLTvlJ3FCJKGLMdZ fR+7S31/sGCNjGERi37W43fO6461zzTTLT7AY6To3dc/vDheBfVQ8kHbktCaabQuFEEO uLbcNAEIChalJcdahkq40364pcZFH4UW0jsKWcbTG+0EBSg3wTzV9YAAgH/mRxvm0YVy F70qL+ByLfljdmd4BHwDvvUyqSY3wvJ9gIlePFSO/nD0FSLKwprCVNbVrGcf7hOUEB/z lmIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="PDTBmh/K"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id p14sor639392pff.83.2020.07.22.12.10.18 for (Google Transport Security); Wed, 22 Jul 2020 12:10:18 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:1406:: with SMTP id u6mr1100583pgl.108.1595445018595; Wed, 22 Jul 2020 12:10:18 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 12:10:17 -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 5/6] dt-bindings: arm: rockchip: Add ROCKPi 4C binding Date: Thu, 23 Jul 2020 00:39:48 +0530 Message-Id: <20200722190949.215656-5-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 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="PDTBmh/K"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add dt-bindings for ROCKPi 4C which is similar to 4B with additional mDP and HDMI port replaced with Micro HDMI port. Signed-off-by: Jagan Teki --- Changes for v2: - new patch Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index 7250adb43d24..1faf1ce92dba 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -454,6 +454,12 @@ properties: - const: radxa,rockpi4b - const: rockchip,rk3399 + - description: Radxa ROCK Pi 4C + items: + - const: radxa,rockpi4 + - const: radxa,rockpi4c + - const: rockchip,rk3399 + - description: Radxa ROCK Pi N8 items: - const: radxa,rockpi-n8 From patchwork Wed Jul 22 19:09:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1563 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9F6773F03F for ; Wed, 22 Jul 2020 21:10:26 +0200 (CEST) Received: by mail-pj1-f70.google.com with SMTP id g16sf2359049pjz.3 for ; Wed, 22 Jul 2020 12:10:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595445025; cv=pass; d=google.com; s=arc-20160816; b=WX7FJ38IGTiq+DdYQoDq/SVMEcfz3wMUr4YsXuy7g6vV/LZWwM4DbU/NljgjV/dvkL r+jycWcyfVCMsq5yiU+gLN7C+UKUW6ZHOorsJR+ZfOYIiVF9ku1L/OgDnFCMS3ZCqM7B zjCObGOhHjKZJ6G02c0VMenJB03fnpNCzwU6ZjhU+IYfnDMj/tu+LfgGNRGSOHYHPDXt pu4D6xCJYZRiYa2ED94TJ9n0tOBNIERSDf0QtaIcWM+E1l+OA2/HDC7EWZCFM+OPi3nt deBSmB4uwsh6fxgt8eK6tm0c9rz9pIsRvnVIRp6XFmAyitN93SjI1UV85IukDM0klB7k bMMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=t8PNBpepdr3wMeOxgDILakj85288uYLH/gJUgc8zVjk=; b=NuzDaPi4v+9G/cHvD8myJYZFPxLcitstUs5CJ5Ub7rR4hhNyzNNQ9h7FQ3waF6gEqH BVWEaHrIItEcV9DeaZLZPZxWMy8OppWD7IgiiHh8sHTa4VdnJUahfPId3BCfHdai14ht kAqy/6KRfUWGVQu0wE279zCxUw/lXpuVWDhVfNlFPkZd9tOjBQo+2mz9Ic0Y8ULF7U2i Uds17+VbECbHE33Q2dl9HNFJ4qobREaRdjg0XrA/Kpf7HPWzlAC/HLosKz/RUK7KktqY xfnBhEC2IrWyk3m91gsnow+zKIaI+ZuNCSkwYZy2kzFzYNeWbdvzqrnrPURxc+BG8Rln eWpg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pgsehobR; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=t8PNBpepdr3wMeOxgDILakj85288uYLH/gJUgc8zVjk=; b=nQcujSnC3LM2kceXDAjgGlbob0UzJdpKfeMm4hYG6c9eLP9NQ6HBe6tie93bE6tZj4 79oTbZPZVDdEuShNsbpqI6sw5sQnsSeHZsQiGluaEKJImTdg9cZplTfZKHohtUMaPLD9 hoOMaaeVqlrZp40RNFIedf8tVRTHS61L+c9dU= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=t8PNBpepdr3wMeOxgDILakj85288uYLH/gJUgc8zVjk=; b=OLQyYPFDG0rywj94CfLog++sHbC9xM7PmF87vcvJ1fXcbif2s763hHJEa/seKehmik pMI+8D0uPk6e1RvMlL2vQ09iARLozSuklPXkwhlYMWaJLUEXt4O6IDQnLts9GlcD1l1O 22ayTaquwA8Xz6RKYNmDeNYLgQBFpFTBlxRZL5E254QmMZbcm+wk/OBs/QFSxG4Cdz4z mGVP4IC69Puz1cX324FHy+vpZT2uelD1BVojO6nQi+o44pNha3lrY05eM8t6jRMNFeah vW8f80fpcHIZe46x/lIgqtH4f4+smAwZPVM01IKEAcFU/zDbRyKMZyeHQx/VhzJPDbCV SVIQ== X-Gm-Message-State: AOAM5318XC1SpvfUB9k0pZhdmLrq1qh7ubn19I9F8BU7jORpHtD0bEst +ZCcY0qQK0bFUsYrgTM7+tjOkJy4 X-Google-Smtp-Source: ABdhPJxOubF0p0gnbNMTIK9y/UMC4ye1DDBRmDW3ZZaR/vGArk4n1mHAP15tQFCVu+NJ4UApDHJY5w== X-Received: by 2002:a17:902:6b03:: with SMTP id o3mr748010plk.69.1595445025187; Wed, 22 Jul 2020 12:10:25 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:6715:: with SMTP id u21ls914079pgf.8.gmail; Wed, 22 Jul 2020 12:10:24 -0700 (PDT) X-Received: by 2002:a62:16:: with SMTP id 22mr915426pfa.120.1595445024706; Wed, 22 Jul 2020 12:10:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595445024; cv=none; d=google.com; s=arc-20160816; b=0HZVf28Fuwtr9jxMVoVdEDY1O3mPLlGbl2hIR/yfQ34ZtsNPm3m2XyAxasHp76ktCg 2hfrZjJ3laszgtSyx5qacDqBizAQt8FLaAhwN0B//JhkgALVoPRs/7O3WPsPAop3eHfp eZWOsSCTRbh14Rq6T0f//XBmqIk7lijPwc5UZCds5fxGW3z+KJjR258k5FBcWCONuyS9 W8ueaQU5YfwqcLF7SxhR1kyjhISTntpoxvs4CEInqVqQBXIqM3O5+VNtijaZYJpcvZmP uk5yeH6UUjCIWU3YihCqySl5NQmkWCx8Sf4FEoaUjLKh/zuBeSdMxpE86tCWBs3tUyxQ R6hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=cGX6YRrhbrO/m3jF24wl30NH0VjikDWGykW4dnyjN5I=; b=PH2i2yrK5l+wE7kLd+FTkwwnHkNy/rE9GqVNJ/nkP4y+PM4Bk3T8DdcrCs+IxWeFka 64J2vShavSACd7bKnUpNuh/zWpolInLolhfru00yyueFwrQ94FmkaONUoChAkuNl920p 2bfAz5fe9Emk5lkuySOCNuF+F23dwHNvOlSeUr1wGs1UqzfCnHQPcXkPtyCw2OTg+1eH Li6Z1vpR0aTnh1wswMyGMOJrlryy88qw4+9cF712D3bJhM+jn7FhIBAesywPbskzZz20 ae3ZTBCk4VuNk5gxwphziL4u8OUrcx+yuaPZFjlSLr3ShtOmo5HE+SY17JP+ycgNGRIv MATg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pgsehobR; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id l2sor468991pgc.55.2020.07.22.12.10.24 for (Google Transport Security); Wed, 22 Jul 2020 12:10:24 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:db57:: with SMTP id x23mr1121154pgi.178.1595445024421; Wed, 22 Jul 2020 12:10:24 -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.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 12:10:23 -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 6/6] arm64: dts: rockchip: Add Radxa ROCK Pi 4C support Date: Thu, 23 Jul 2020 00:39:49 +0530 Message-Id: <20200722190949.215656-6-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 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pgsehobR; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Rock PI 4C has AP6256 Wifi/BT, PoE, miniDP, USB Host enabled GPIO pin change compared to 4B, 4C. So, add or enable difference nodes/properties in 4C dts by including common dtsi. Signed-off-by: Jagan Teki --- Changes for v2: - add radxa,rockpi4c arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3399-rock-pi-4c.dts | 51 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4c.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index e7b11e8fd9b6..48cc045e6928 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -37,6 +37,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc-mezzanine.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4a.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4b.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4c.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-4c.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4c.dts new file mode 100644 index 000000000000..4c7ebb1c5d2d --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4c.dts @@ -0,0 +1,51 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Radxa Limited + * Copyright (c) 2019 Amarula Solutions(India) + */ + +/dts-v1/; +#include "rk3399-rock-pi-4.dtsi" + +/ { + model = "Radxa ROCK Pi 4C"; + compatible = "radxa,rockpi4c", "radxa,rockpi4", "rockchip,rk3399"; +}; + +&sdio0 { + status = "okay"; + + brcmf: wifi@1 { + compatible = "brcm,bcm4329-fmac"; + reg = <1>; + interrupt-parent = <&gpio0>; + interrupts = ; + interrupt-names = "host-wake"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_host_wake_l>; + }; +}; + +&uart0 { + status = "okay"; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + clocks = <&rk808 1>; + clock-names = "ext_clock"; + device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; + }; +}; + +&vcc5v0_host { + gpio = <&gpio3 RK_PD6 GPIO_ACTIVE_HIGH>; +}; + +&vcc5v0_host_en { + rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; +};