From patchwork Sun Jun 23 09:01:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13708543 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 70CB0C2BA18 for ; Sun, 23 Jun 2024 09:01:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BnFNSmeXKE9Xbj/8rB7DUybiDejAAysFdgDDOjzrm44=; b=l2Iugaxn2AEaDPJIJrJKRQ+YOH LaDSq8vEiu8BmQgh2JLBCCAi5QdmeEiD7taBLty40ZKoWc3cVEKKmfBlxkaGdiKXDG6bHylL/uFyn H/1toFEj5xdLyZUV5Wmye2SXQOtuHTG4Av6SRSrCV+o9DOKJvyTmIo+tjnGb+kFDe8BXM2mnd0ZxO u+vG/XZOeegcQOORBtBE9/PMWVCJiU9gDh7tMHhIUvR3jLtXDlYF/duou/IbE4B5yC9uVG1txlNOn opXPsyLqj/C1OVqXsJEbJx1u1kZP+MrtgdRUZWt5/2L6xalifW7fg/Dve2qXXvc2kWZH8uJzWA8AP wN1wEWSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLJ6F-0000000Deug-1Woh; Sun, 23 Jun 2024 09:01:27 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLJ69-0000000DesN-22uC; Sun, 23 Jun 2024 09:01:23 +0000 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a7194ce90afso87271166b.2; Sun, 23 Jun 2024 02:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719133279; x=1719738079; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BnFNSmeXKE9Xbj/8rB7DUybiDejAAysFdgDDOjzrm44=; b=ipLME3hgou+OL/ZaZebuoECECgvFyt878hcMa67wAJfO41a1M//r26OheAHWhOWKxd E5GevCHrTX7BYe+IqOpBaOsIcgu8KBjSXDvtOPFPxsqh8B4+kBmKaMyRlXJNfnnqUiJT TZ4qklt1xDDzv/TcsfzGpvsTqAK9hgPeXddxjD3rQ7cS9CnTE4TItZQpTowQw7En4eE+ ALfkIFRiwqAM0y5dbvWFU5ik/XHQyarsKoffRbWAWc/m/z2O9hkk/7pnz6bzif2+5z7E sfkv7gGfSpk3w04l7nWgMcBa/Owq4GqyfsARiHmEvJ4uPLQAXbUlyiubzdaCIQ8lRxtm QWNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719133279; x=1719738079; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BnFNSmeXKE9Xbj/8rB7DUybiDejAAysFdgDDOjzrm44=; b=VgqT6Jf5OjLFiN8w9WinfDPKvuM3niEZNojSKt8YM1wGqcdO+cCI1OxwT4TbmrgrBv J75EJFje27aN+qV1aitR32dj6mUzdhvCMDwYhFsu1i6WjL2KpftdQUwgXr5lk4oZ5Fle 8QPWDkHk1MlNh84zXgIWCQajBhb5x2X8kRurpzcNPiZFHrmbzzS/NbPvItglHDuHr+TQ xLBLpQ0JdeE4J7aThpHh6tgvmOjxf2GitjS3bsafUsiee+YDZdk1CltOSzwWXHjSQjGZ a8C5GmaPWmnUc9sxoszz1r35iWKg2qidaGix1hpCiyXRAsKFZUFo0sNikqD00kHZ6c49 MULw== X-Forwarded-Encrypted: i=1; AJvYcCXqQ3okFtqZjm12f0tJnjvs20m6bSL8DDd4sEebhMNKK8qE5SWMBREHfUKa2OpuWv4aZuKKSYDXps6oZiVx5ixJ2o1TRsn8w0LbdirPO2sNPMi6Qib01fFhvjPeeONUDVkBhnm/FirYmVkdN9nEDMl8Bq8zzWlLZ5s= X-Gm-Message-State: AOJu0YyIXQKpMW/aKLUVIRlkIc1q4Z1Ykm7UV/bwuhCVWxlNNr29xLE+ UnXuYBmURBlX9uoQSBZVyRael/6FMb3r32be+bsbee7yTCq2J3E= X-Google-Smtp-Source: AGHT+IHk5b/y5TB+6CCC61uFRwDTgKVdKv1ghN5pyDe3ew++W6QJFzOjhRdHXQgvO3IimQyQvbV9sw== X-Received: by 2002:a17:906:ba82:b0:a72:5010:bd87 with SMTP id a640c23a62f3a-a725010bea8mr30806566b.61.1719133278715; Sun, 23 Jun 2024 02:01:18 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:eac1:5757:d323:9544]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf549385sm282003966b.105.2024.06.23.02.01.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 02:01:18 -0700 (PDT) From: Alex Bee To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Sugar Zhang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, inux-kernel@vger.kernel.org, Alex Bee , Conor Dooley Subject: [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add Neardi Technology Date: Sun, 23 Jun 2024 11:01:13 +0200 Message-ID: <20240623090116.670607-2-knaerzche@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240623090116.670607-1-knaerzche@gmail.com> References: <20240623090116.670607-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240623_020121_578530_AF9A02BA X-CRM114-Status: UNSURE ( 8.32 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add vendor prefix for Shanghai Neardi Technology Co., Ltd. (http://neardi.com/) Signed-off-by: Alex Bee Acked-by: Conor Dooley --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index fbf47f0bacf1..6e879abec71d 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -995,6 +995,8 @@ patternProperties: description: MYIR Tech Limited "^national,.*": description: National Semiconductor + "^neardi,.*": + description: Shanghai Neardi Technology Co., Ltd. "^nec,.*": description: NEC LCD Technologies, Ltd. "^neonode,.*": From patchwork Sun Jun 23 09:01:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13708542 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 199ACC2BA18 for ; Sun, 23 Jun 2024 09:01:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=HqMpbxn+qhcW76/sheILADMaTVAYcOB6vMzBzHs4wdY=; b=1WXxw/aUucCJWhBbIUG2xRbci9 V5QVktuEGzu3QLEH0hGXiUL/vqnKDfhpz0jvLFmfL5rPoXbmhQ+B+EAY7TbDXccee/kRaa++ilRmF pnEYs5z80a6F448Q9LZNtz0TMBR1gGadq1JOSntYZpgxvPvcTJPucB6fNQy6YMh7eJSr7Y7Fb6t1u xmt0Cbte2/99lf+ZiBPUyPLgw+F7fShftxbrezR/SJ20uZ4Z3Dji7Liw1t6IUGKH86ogxe6m3tIzk 9rqGleHqRFZqt2QCZydsmBSlb9PGWfQx1UbIQ9N7TmSBHbkvDKXT1duUsA+e1fDbbMf8gMGb2meIP eX9IE3Cw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLJ6J-0000000Dexe-3lZi; Sun, 23 Jun 2024 09:01:31 +0000 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLJ6A-0000000DesQ-0hkh; Sun, 23 Jun 2024 09:01:23 +0000 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2eaea28868dso43440841fa.3; Sun, 23 Jun 2024 02:01:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719133280; x=1719738080; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HqMpbxn+qhcW76/sheILADMaTVAYcOB6vMzBzHs4wdY=; b=XTk0bWGCE8qxG9Lk3f3HQUw0OkNykrnJkVAoQcz9Y/3snUg7O5AXznyr0BkefAKKy1 ua6qCx690m+WdeYVoSvZC6C2h2FvlnTwLceI/hSVIkf6zwqxTcZmXxFWEixVTTDdeOzI hanN044xGZQPRlzbl9139KtoZ9LsPbF4IlUlMmJr+KC7GTwyNg0xy0zfMXm3Cm6R0PVf lwy0rrB1xgMOtWMhOBbiFo/6BL4/LgtgoDnZeC7xIIx3h7PcqQmJjR1Gp6mVeqSuXhL1 N1J0csWB1QEBR+ab439UXdVvuhFTWginjbcm917dNrKTpCYPileYz/1zJaSr7COAMVz0 rMaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719133280; x=1719738080; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HqMpbxn+qhcW76/sheILADMaTVAYcOB6vMzBzHs4wdY=; b=EbbRgx1vLrcHmKGwadl300QDlnCdau8e7d03d+tCSmi6hvFD6xJW9qVCkzeWP0GPzH NyfN/gmKjWmEnimo5pIQDYcGMKlp2B9+je57HWfMW65jZ3Xv84aDB/NjW5v7bzSP2/r1 sRiM9EW7SJpvzSKmaFVAsns/j8b4YAsI7hYFbmzHgzUzuzDe+8uG5WaZQeeG7Z1SR5Ej cnk3JRWKDy1GEOaEACRdEfMTE30FzUytO742nX3KnbTiu6lhBXoGWxDShZZkdMk+9oyc AZURYbY2njZTzR4/h1xztYEX5fV67FNFmosfF5x0DN1+9zqLte+OpQzxkmkYFWjOsPXO eQuQ== X-Forwarded-Encrypted: i=1; AJvYcCXtlAEKnZqSjz35mJ3zVKtkv8Cd5kt84+sgvPB/9WJSwW2AQ2jah41B70qY4acSIsXExMtriTvBEGHDIzHmwu5hAR38nLnjd2qlSXHyWRU2xI4JOALOHulqb8HV3K5TpsaYgCAJDcL9lBWHzmpviJ+n70qBRcYg/5s= X-Gm-Message-State: AOJu0Ywmu8aKcJTmBD2CNRcRqhe1MfBdzqyl11kgRXrOIgj9e19xrSsI LX/X2zyMlZ6SrzHRZOvwBReBvDbf9JmsFuPHLgn4Fp96BlLtuPY= X-Google-Smtp-Source: AGHT+IFKwaftrnzrFipKnsCcS6iTtyGmISk1R0bB2uyq/G/bVRqyp9Fw4gBkrsygi0MoPkFobiD9uw== X-Received: by 2002:a2e:968b:0:b0:2ec:4f6b:de7a with SMTP id 38308e7fff4ca-2ec5b2c4e9cmr11873601fa.3.1719133279370; Sun, 23 Jun 2024 02:01:19 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:eac1:5757:d323:9544]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf549385sm282003966b.105.2024.06.23.02.01.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 02:01:19 -0700 (PDT) From: Alex Bee To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Sugar Zhang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, inux-kernel@vger.kernel.org, Alex Bee , Conor Dooley Subject: [PATCH v2 2/4] dt-bindings: arm: rockchip: Add Neardi LBA3368 Date: Sun, 23 Jun 2024 11:01:14 +0200 Message-ID: <20240623090116.670607-3-knaerzche@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240623090116.670607-1-knaerzche@gmail.com> References: <20240623090116.670607-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240623_020122_225229_685565FC X-CRM114-Status: UNSURE ( 8.28 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add Neardi LBA3368, a RK3368 based industrial board. Signed-off-by: Alex Bee Acked-by: Conor Dooley --- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index eca0a42eb384..d2e887415d5d 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -634,6 +634,11 @@ properties: - const: mqmaker,miqi - const: rockchip,rk3288 + - description: Neardi LBA3368 + items: + - const: neardi,lba3368 + - const: rockchip,rk3368 + - description: Netxeon R89 board items: - const: netxeon,r89 From patchwork Sun Jun 23 09:01:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13708541 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 54310C2BD05 for ; Sun, 23 Jun 2024 09:01:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eFkUozk7tb7flvFcyJ5JsIPbVaD8NWPVa3/c5jb4Wl0=; b=xDal2u5UbvZwpx2hPn0yuYylxw JJNQJQ2VU+3ucG2aFHqj7hpJDZyqpVIbpfPC+4nJGf5MzpSoZw1+kqI1TzY/VRSnQ4Nmm8A/pZi1m VlUd0nTK46kmuCV11n3PEdRxpwSaXhj1hozY/WdYUIAvEAFF370VL2DAAHpJtmBstl4SDj48Xd8Xd wuWw2W41BLbWVZTQpxK7ukmiPurvT+yOoX2A/A6TthJSwsGyRCpIxC9apXhBtMhDGpyJi7gcErhYB fIC/O0PHzG/ljnHQgWfcvTcJHfIUYDYwXl4caI02ND4nBXTtcp4LP29WcoNT9gBxKvnhWPDy70i7M nq/fD94w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLJ6H-0000000Dew7-28fA; Sun, 23 Jun 2024 09:01:29 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLJ6A-0000000DesT-1la0; Sun, 23 Jun 2024 09:01:23 +0000 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a724b3a32d2so25610466b.2; Sun, 23 Jun 2024 02:01:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719133280; x=1719738080; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eFkUozk7tb7flvFcyJ5JsIPbVaD8NWPVa3/c5jb4Wl0=; b=A2wvxPniUf4AfZSg+UgMqRHGZjvQy7vNq3CErSg7H1fP56T+qaFTJkr/QWmMWNeVag eS/yrG7Up3s0mMnK1coGlwa5Qa5rfZw2vQJsjf3dL63DwefKZrjWvOUleVdO+BmdJT0R f8uDMJ0mHx3RU4DD75xmLr7YyddoWplmaf30DKiWLkq2SAw0X562j3vH4+zuEU17Duga yCIBU0TQP5u0HdwtzlRl04iZNgasuKPESHTyqylHlKeIm9Giy6SbwvsxO9erR2sUuPWm NdGZccRwyg0E517zBA2lb5f6KtsRG79jb/IX6k54z9A7dcwUXRuyAXl/bFU5lRs1rUM5 oaPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719133280; x=1719738080; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eFkUozk7tb7flvFcyJ5JsIPbVaD8NWPVa3/c5jb4Wl0=; b=mCqXouqImS9E0milX7xfOOAgNHyI745PUjvUR0twKB04exiKtRfAIllno2B7WYj9xe B7BGsHnl9s/x+Mubx2vDM2RDiLM28GKOwJjX5dsDBgVbfSYHC7vpbEdNRmtCVoHtC1uZ JtkJ9HYkUeI+6mj5DG24eDuzjGj1HQoHJiebOe4Jmn3N7m1b+2LvfXwPOZoLF6JHiCWi +aK6M75WGdudhhk9nIQcC8yA6WXKSLSjIwGHA1VKpKmp2GDvl6Z9aqQvX3mprMKl3B68 PIJaYDx9TDS5WoLdZKXoNe6RXGfgclbgDhMOmheeHsOZcT2imjR7OUtf3882ryIF6ffN 56Dg== X-Forwarded-Encrypted: i=1; AJvYcCV4xoM6CpQa3er3fZVEiYS+kXNLGxLzAceb7DDLZn1hifjE1c6XjLtb1FeDJIeW+j6hSqdGukhhb/6kVMfZrqClo4YA/mBWEBoIUzKtJMLWXFyxkNOAY4101glTIzEwKj4MUVCxUtyMqAq3dYBwqiiyTUYFT9Q3PO8= X-Gm-Message-State: AOJu0Yz5LOS/eFGBUu9sMRGb16Re3aLomUQIKp3ZjGfilnPMj4tto7Gp V/wwdbzLgTGw+Qe1JZ5Sc8tuJqya5EcwCAIOjvKBHxPCNpVwMG8= X-Google-Smtp-Source: AGHT+IEkTY8f9AOaCiHWnETbKjMyatFQQde/0YHaQ792Qit++4rDQ5/AFcUhEi6j5LZQaTlHzyK/Mg== X-Received: by 2002:a17:906:e28c:b0:a72:42f6:ff0f with SMTP id a640c23a62f3a-a7245c70af8mr79308166b.77.1719133280012; Sun, 23 Jun 2024 02:01:20 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:eac1:5757:d323:9544]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf549385sm282003966b.105.2024.06.23.02.01.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 02:01:19 -0700 (PDT) From: Alex Bee To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Sugar Zhang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, inux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v2 3/4] arm64: dts: rockchip: Add sound-dai-cells for RK3368 Date: Sun, 23 Jun 2024 11:01:15 +0200 Message-ID: <20240623090116.670607-4-knaerzche@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240623090116.670607-1-knaerzche@gmail.com> References: <20240623090116.670607-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240623_020122_466606_A3DC3044 X-CRM114-Status: UNSURE ( 9.71 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the missing #sound-dai-cells for RK3368's I2S and S/PDIF controllers. Fixes: f7d89dfe1e31 ("arm64: dts: rockchip: add i2s nodes support for RK3368 SoCs") Fixes: 0328d68ea76d ("arm64: dts: rockchip: add rk3368 spdif node") Signed-off-by: Alex Bee --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index 734f87db4d11..73618df7a889 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi @@ -793,6 +793,7 @@ spdif: spdif@ff880000 { dma-names = "tx"; pinctrl-names = "default"; pinctrl-0 = <&spdif_tx>; + #sound-dai-cells = <0>; status = "disabled"; }; @@ -804,6 +805,7 @@ i2s_2ch: i2s-2ch@ff890000 { clocks = <&cru SCLK_I2S_2CH>, <&cru HCLK_I2S_2CH>; dmas = <&dmac_bus 6>, <&dmac_bus 7>; dma-names = "tx", "rx"; + #sound-dai-cells = <0>; status = "disabled"; }; @@ -817,6 +819,7 @@ i2s_8ch: i2s-8ch@ff898000 { dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&i2s_8ch_bus>; + #sound-dai-cells = <0>; status = "disabled"; }; From patchwork Sun Jun 23 09:01:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13708544 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 62DCFC27C4F for ; Sun, 23 Jun 2024 09:01:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kKlLavdWQ9YD97LhFZs7Sa//k5VgllwSGk5Hlz4QhW4=; b=n5PZx9RntVJc18KURCfjwpXbUQ dk67SkbbO8DWFuvyz3ixh01roD1P6BraQ99+xVefmnnAs7Q3quZQgH8Asmu/9edN0oYvy5rKXyh8D 7wkgeWhmihCOgmrRqR5JwXpEbxUugo58eL/j5+83Znf1sui8E1v0FkUelC0XowbuSY+L5LLwGibJH GZN+3uWJ1ZVjXzHG1MqnyYBU19KOwHM3NQ51f7IOw0WKFSvEuBySFzgVNlivksoO50/FVp3gdcv8v 1ti/ZO+PVVqFtb1cCEzrPNRqeWBp7H1OaUNlChkBuxL0AKCfroJkUKUdcpioxNYAFJVcT/84G8ePu NB0kMeAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLJ6Z-0000000Df84-0HVt; Sun, 23 Jun 2024 09:01:47 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLJ6B-0000000Desx-1S45; Sun, 23 Jun 2024 09:01:24 +0000 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a62ef52e837so398676366b.3; Sun, 23 Jun 2024 02:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719133281; x=1719738081; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kKlLavdWQ9YD97LhFZs7Sa//k5VgllwSGk5Hlz4QhW4=; b=SdayjoqOL7+qWOLdhmNRyPlI5kTHKg+EFi+6V4U5kNeDhQDfNAY5Lo1nLgxY7DXGnt YkHSLuga3Z9mNzAXH2cWyiyfh89JiTy2U+IVs04hsmvaVsmoRpcInPSelEKptiYN/oof WD1Dajp1KZBUfQGVW5mjCQMRKn/DSZSldA+V68pOFY2wM/mJksGTgUv+B+G8uRgSs8dC 3PTZlw7YryQco0mPN0sMkwg0FkxqQt2wHM77YcQsL8mv7gWrQcmHj9ucbjRn8CfrTSKV fB9ZKks5gQoMryjOjqYZOsS7klxOlCijEy2Cgpz7J780EqmYtfg7jnNIXqVo+rdDoaou M3+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719133281; x=1719738081; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kKlLavdWQ9YD97LhFZs7Sa//k5VgllwSGk5Hlz4QhW4=; b=rRxjs2aTDUDiOSL6wFJmhWBM80Ksu/5wncoFv8G2TjwjyeemwtA443YkdyFSx3ik1B 8J80SgvjyLX0bviQtnsRQX6Mx+dDyTMjznpT9U1UbbVpVZ2jsyaXaMmZ8rFIEI/F5de9 EsEcSCakvxQui+7fcPWF5BEnAB1m43TTOsUW27ebbAX72TR4PbpunjkGw2ojNjsv6nFz zH2YE58x7aKuErLWGQXet7BmSDUsmNYyVkrBODGe4W6bsPk33G/ni0LjYuyVL2luXGRQ qAnTcgYx3nhOSUG2f5ZiXEZIPgZZRDtwHQPkxYPNAa7q3AmvkS50diyaBtVgqHrZFPyj dWzg== X-Forwarded-Encrypted: i=1; AJvYcCVL3u8U6lkZ1ojGj2oBKg+LhAo+vU630kuRIzd72sFjLy8307raESThnKmvNJ6F31zWQOvyKwj/jpUheDUB0FTQ50ecLSdDbHX5bpDGHAsbS9prYcYRY2fI0ycdCBVMaGsDW1JdI1CvLukIn7x7qVA71CgHVBPoI6I= X-Gm-Message-State: AOJu0YzrF2EJaJ4ORUcsdYxCFSeD6PTa+4PL2yhm3N4+nBk6XcmxOK3k uNZlLkSaB3UfJhpTbUo1qFADgrw/aaHqz1akc38X/kI5+iVZeEU= X-Google-Smtp-Source: AGHT+IHlUHvZmZrckTrj41spN9AeWjVHuMkn7QXX5PvnG0iaIbv6dhdGQbN0khc/JrRMRQtPCcrXnA== X-Received: by 2002:a17:907:100a:b0:a6f:77bb:1719 with SMTP id a640c23a62f3a-a7242cdb14dmr138630366b.47.1719133280662; Sun, 23 Jun 2024 02:01:20 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:eac1:5757:d323:9544]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf549385sm282003966b.105.2024.06.23.02.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 02:01:20 -0700 (PDT) From: Alex Bee To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Sugar Zhang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, inux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v2 4/4] arm64: dts: rockchip: Add Neardi LBA3368 board Date: Sun, 23 Jun 2024 11:01:16 +0200 Message-ID: <20240623090116.670607-5-knaerzche@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240623090116.670607-1-knaerzche@gmail.com> References: <20240623090116.670607-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240623_020123_427885_4E19FF84 X-CRM114-Status: GOOD ( 15.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org LBA3368 is a RK3368 based industrial board from Neardi. Specs: - 1 GB DDR3 DRAM - 8/16 GB eMMC - µSD slot - 100 mbit ethernet (optional 12V PoE) - Ampak AP6255 Wifi/BT combo - ADC button - 4 x USB 2.0 via onboard GL852G HUB connected to SoC's ehci host - 2 exposed as USB-A - 2 via 2-mm-4-pin connectors - micro USB OTG connector - 2 x UART TTL (2-mm-4-pin connectors) - CSI connector - DSI connector - eDP connector - HDMI 2.0a output (type A) - touchpad connector (I2C, 3.3V) - ALC5640 audio codec - combined headphone/microphone jack - speaker connector pads Signed-off-by: Alex Bee --- changes since v1: - added missing pinctl-names for gpio-leds - drop min-/max voltage for rk808's regulator swtiches - fix bluetooth max-speed: 1500000 => 15000000 - replace deprecated "host-wakeup-gpios" with "host-wake" interrupt for bluetooth - alignment of property-order for nodes of the same type arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3368-lba3368.dts | 661 ++++++++++++++++++ 2 files changed, 662 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3368-lba3368.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index 85d949f2c909..90f5172f37e6 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -28,6 +28,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-roc-cc.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-roc-pc.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-evb-act8846.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-geekbox.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-lba3368.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-lion-haikou.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-orion-r68-meta.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-px5-evb.dtb diff --git a/arch/arm64/boot/dts/rockchip/rk3368-lba3368.dts b/arch/arm64/boot/dts/rockchip/rk3368-lba3368.dts new file mode 100644 index 000000000000..e876434b88f9 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3368-lba3368.dts @@ -0,0 +1,661 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include +#include +#include +#include +#include "rk3368.dtsi" + +/ { + model = "Neardi LBA3368"; + compatible = "neardi,lba3368", "rockchip,rk3368"; + + aliases { + ethernet0 = &gmac; + mmc0 = &emmc; + mmc1 = &sdmmc; + mmc2 = &sdio0; + rtc0 = &hym8563; + rtc1 = &rk808; + }; + + chosen { + stdout-path = "serial1:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x40000000>; + }; + + adc-key { + compatible = "adc-keys"; + io-channels = <&saradc 1>; + io-channel-names = "buttons"; + poll-interval = <100>; + keyup-threshold-microvolt = <1800000>; + + button-recovery { + label = "Recovery"; + linux,code = ; + press-threshold-microvolt = <0>; + }; + }; + + analog-sound { + compatible = "audio-graph-card"; + dais = <&i2s_8ch_p0>; + hp-det-gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>; + label = "alc5640"; + routing = "Mic Jack", "MICBIAS1", + "IN1P", "Mic Jack", + "Headphone Jack", "HPOL", + "Headphone Jack", "HPOR", + "Speakers", "SPORP", + "Speakers", "SPORN", + "Speakers", "SPOLP", + "Speakers", "SPOLN"; + widgets = "Microphone", "Mic Jack", + "Headphone", "Headphone Jack", + "Speaker", "Speakers"; + pinctrl-names = "default"; + pinctrl-0 = <&hp_det>; + }; + + dc_12v: dc-12v-regulator { + compatible = "regulator-fixed"; + regulator-name = "dc_12v"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + regulator-always-on; + regulator-boot-on; + }; + + ext_gmac: gmac-clk { + compatible = "fixed-clock"; + clock-frequency = <50000000>; + clock-output-names = "ext_gmac"; + #clock-cells = <0>; + }; + + hub_avdd: hub-avdd-regulator { + compatible = "regulator-fixed"; + regulator-name = "hub_avdd"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vcc_io>; + regulator-always-on; + }; + + leds { + compatible = "gpio-leds"; + + power-led { + gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; + function = LED_FUNCTION_POWER; + color = ; + default-state = "on"; + pinctrl-names = "default"; + pinctrl-0 = <&power_led>; + }; + }; + + sdio_pwrseq: sdio-pwrseq { + compatible = "mmc-pwrseq-simple"; + clocks = <&rk808 RK808_CLKOUT1>; + clock-names = "ext_clock"; + reset-gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_reg_on>; + }; + + vcc_host: vcc-host-regulator { + compatible = "regulator-fixed"; + gpio = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>; + regulator-name = "vcc_host"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc_sys>; + pinctrl-names = "default"; + pinctrl-0 = <&host_vbus_drv>; + enable-active-high; + regulator-always-on; + }; + + vcc_lan: vcc-lan-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_lan"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vcc_io>; + regulator-always-on; + }; + + vcc_otg: vcc-otg-regulator { + compatible = "regulator-fixed"; + gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>; + regulator-name = "vcc_otg"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc_sys>; + pinctrl-names = "default"; + pinctrl-0 = <&otg_vbus_drv>; + enable-active-high; + regulator-always-on; + }; + + vcc_sys: vcc-sys-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_sys"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&dc_12v>; + regulator-always-on; + regulator-boot-on; + }; + + vdd10_usb: vdd10-usb-regulator { + compatible = "regulator-fixed"; + regulator-name = "vdd10_usb"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + vin-supply = <&vdd_10>; + regulator-always-on; + }; +}; + +&cpu_l0 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu_l1 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu_l2 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu_l3 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu_b0 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu_b1 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu_b2 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu_b3 { + cpu-supply = <&vdd_cpu>; +}; + +&emmc { + bus-width = <8>; + vmmc-supply = <&vcc_io>; + vqmmc-supply = <&vcc_18>; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; + cap-mmc-highspeed; + non-removable; + no-sd; + no-sdio; + mmc-hs200-1_8v; + status = "okay"; +}; + +&gmac { + clock_in_out = "input"; + phy-handle = <&phy>; + phy-mode = "rmii"; + phy-supply = <&vcc_lan>; + assigned-clocks = <&cru SCLK_MAC>; + assigned-clock-parents = <&ext_gmac>; + pinctrl-names = "default"; + pinctrl-0 = <&rmii_pins>; + status = "okay"; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + phy: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + max-speed = <100>; + reset-assert-us = <10000>; + reset-deassert-us = <1000000>; + reset-gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&phy_rst>; + }; + }; +}; + +&io_domains { + audio-supply = <&vcca1v8_codec>; + dvp-supply = <&vcc_18>; + flash0-supply = <&vcc_18>; + gpio1830-supply = <&vcc_io>; + gpio30-supply = <&vcc_io>; + sdcard-supply = <&vccio_sd>; + wifi-supply = <&vdd1v8_wl>; + status = "okay"; +}; + +&i2c0 { + status = "okay"; + + rk808: pmic@1b { + compatible = "rockchip,rk808"; + reg = <0x1b>; + interrupts-extended = <&gpio0 RK_PA5 IRQ_TYPE_LEVEL_LOW>; + clock-output-names = "rk808-clkout1", "xin32k_wifi_bt"; + vcc1-supply = <&vcc_sys>; + vcc2-supply = <&vcc_sys>; + vcc3-supply = <&vcc_sys>; + vcc4-supply = <&vcc_sys>; + vcc6-supply = <&vcc_sys>; + vcc7-supply = <&vcc_sys>; + vcc8-supply = <&vcc_io>; + vcc9-supply = <&vcc_sys>; + vcc10-supply = <&vcc_sys>; + vcc11-supply = <&vcc_sys>; + vcc12-supply = <&vcc_io>; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_int &pmic_sleep>; + system-power-controller; + wakeup-source; + #clock-cells = <1>; + + regulators { + vdd_cpu: DCDC_REG1 { + regulator-name = "vdd_cpu"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1350000>; + regulator-always-on; + regulator-boot-on; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_log: DCDC_REG2 { + regulator-name = "vdd_log"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1500000>; + regulator-ramp-delay = <6001>; + regulator-always-on; + regulator-boot-on; + + regulator-state-mem { + regulator-suspend-microvolt = <1000000>; + regulator-on-in-suspend; + }; + }; + + vcc_ddr: DCDC_REG3 { + regulator-name = "vcc_ddr"; + regulator-always-on; + regulator-boot-on; + + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vcc_io: DCDC_REG4 { + regulator-name = "vcc_io"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + + regulator-state-mem { + regulator-suspend-microvolt = <3300000>; + regulator-on-in-suspend; + }; + }; + + vcca1v8_codec: LDO_REG1 { + regulator-name = "vcca1v8_codec"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcca3v0_codec: LDO_REG2 { + regulator-name = "vcca3v0_codec"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-always-on; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_10: LDO_REG3 { + regulator-name = "vdd_10"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-always-on; + regulator-boot-on; + + regulator-state-mem { + regulator-suspend-microvolt = <1000000>; + regulator-on-in-suspend; + }; + }; + + vdd1v8_wl: LDO_REG4 { + regulator-name = "vdd1v8_wl"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vccio_sd: LDO_REG5 { + regulator-name = "vccio_sd"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd10_lcd: LDO_REG6 { + regulator-name = "vdd10_lcd"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_18: LDO_REG7 { + regulator-name = "vcc_18"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-state-mem { + regulator-suspend-microvolt = <1800000>; + regulator-on-in-suspend; + }; + }; + + vcc18_lcd: LDO_REG8 { + regulator-name = "vcc18_lcd"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_tp: SWITCH_REG1 { + regulator-name = "vcc_tp"; + + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vcc_sd: SWITCH_REG2 { + regulator-name = "vcc_sd"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + }; +}; + +&i2c1 { + status = "okay"; + + codec@1c { + compatible = "realtek,rt5640"; + reg = <0x1c>; + clocks = <&cru SCLK_I2S_8CH_OUT>; + clock-names = "mclk"; + realtek,dmic1-data-pin = ; + realtek,dmic2-data-pin = ; + realtek,in1-differential; + #sound-dai-cells = <0>; + + port { + rt5640_p0_0: endpoint { + remote-endpoint = <&i2s_8ch_p0_0>; + }; + }; + }; + + hym8563: rtc@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + clock-output-names = "xin32k"; + #clock-cells = <0>; + }; + +}; + +&i2s_8ch { + status = "okay"; + + i2s_8ch_p0: port { + i2s_8ch_p0_0: endpoint { + dai-format = "i2s"; + mclk-fs = <256>; + remote-endpoint = <&rt5640_p0_0>; + }; + }; +}; + +&pinctrl { + + bluetooth { + bt_host_wake: bt-host-wake { + rockchip,pins = <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + bt_reg_on: bt-reg-on { + rockchip,pins = <3 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>; + }; + + bt_wake: bt-wake { + rockchip,pins = <3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + leds { + power_led: power-led { + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + phy { + phy_rst: phy-rst { + rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + pmic { + pmic_int: pmic-int { + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; + }; + + pmic_sleep: pmic-sleep { + rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>; + }; + }; + + sdio-pwrseq { + wifi_reg_on: wifi-reg-on { + rockchip,pins = <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + sound { + hp_det: hp-det { + rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + usb { + host_vbus_drv: host-vbus-drv { + rockchip,pins = <3 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + otg_vbus_drv: otg-vbus-drv { + rockchip,pins = <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + wifi { + wifi_host_wake: wifi-host-wake { + rockchip,pins = <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + +&pmu_io_domains { + pmu-supply = <&vcc_io>; + vop-supply = <&vcc_io>; + status = "okay"; +}; + +&saradc { + vref-supply = <&vcc_18>; + status = "okay"; +}; + +&sdio0 { + bus-width = <4>; + mmc-pwrseq = <&sdio_pwrseq>; + vmmc-supply = <&vcc_io>; + vqmmc-supply = <&vdd1v8_wl>; + assigned-clocks = <&cru SCLK_SDIO0>; + assigned-clock-parents = <&cru PLL_CPLL>; + pinctrl-names = "default"; + pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>; + cap-sd-highspeed; + cap-sdio-irq; + no-sd; + no-mmc; + non-removable; + sd-uhs-sdr104; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + wifi@1 { + compatible = "brcm,bcm43455-fmac", "brcm,bcm4329-fmac"; + reg = <1>; + interrupts-extended = <&gpio3 RK_PA6 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "host-wake"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_host_wake>; + }; +}; + +&sdmmc { + bus-width = <4>; + vmmc-supply = <&vcc_sd>; + vqmmc-supply = <&vccio_sd>; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4 &sdmmc_cd>; + cap-sd-highspeed; + disable-wp; + no-mmc; + no-sdio; + sd-uhs-sdr12; + sd-uhs-sdr25; + sd-uhs-sdr50; + sd-uhs-sdr104; + status = "okay"; +}; + +&tsadc { + rockchip,hw-tshut-mode = <0>; + rockchip,hw-tshut-polarity = <1>; + status = "okay"; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; + uart-has-rtscts; + status = "okay"; + + bluetooth { + compatible = "brcm,bcm4345c5"; + interrupts-extended = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>; + interrupt-names = "host-wakeup"; + clocks = <&rk808 RK808_CLKOUT1>; + clock-names = "lpo"; + device-wakeup-gpios = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&gpio3 RK_PA2 GPIO_ACTIVE_HIGH>; + max-speed = <15000000>; + vbat-supply = <&vcc_io>; + vddio-supply = <&vdd1v8_wl>; + pinctrl-names = "default"; + pinctrl-0 = <&bt_host_wake &bt_wake &bt_reg_on>; + }; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_xfer>; + status = "okay"; +}; + +&uart4 { + pinctrl-names = "default"; + pinctrl-0 = <&uart4_xfer>; + status = "okay"; +}; + +&usb_host0_ehci { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + hub@1 { + compatible = "usb5e3,610"; + reg = <1>; + vdd-supply = <&hub_avdd>; + }; +}; + +&usb_otg { + vbus-supply = <&vcc_otg>; + vusb_a-supply = <&vcc_io>; + vusb_d-supply = <&vdd10_usb>; + status = "okay"; +}; + +&wdt { + status = "okay"; +};