From patchwork Fri Jun 21 13:40:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13707611 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 0A846C27C4F for ; Fri, 21 Jun 2024 13:41:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=WhS1wTqTvN+R2g88Xuq9/xBPofsm3R+S0FkKlvhWpbg=; b=CVZmC5G+nRYpu9 R89RQDRLqvjFlxQ7Vseh/Dmm7X92oWfUOv0QhgoNYMUMzesFPxuEur+wGxwGHuD8tfKrq+xhkNwtW ME/4ysDgnXcutP+hD7eKDXJurEp6HDlxZqLJzNcijccHNtSZtPcT+iaxCIhpeXfW7C8xJ6ZBi20lK mRjI8+nTJyTWLgMmWabLBV2pDTNAHPbZZGIkOeQ3q8ZtgVqI1KgbS6050U/DWhcE/hbeehNfiwqfL SWlTi/aD1qqOPl0yU8RPA8YdYQLxxHb1pJgQ3CP3RuBW3Rzc3UsOqRfiGPPxaV4NxWuQHI2tDK9yK W1x7ZfYYC4GE2ukXaYjw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKeVl-00000009Mqm-1Tkl; Fri, 21 Jun 2024 13:41:05 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKeVI-00000009MZd-15tW; Fri, 21 Jun 2024 13:40:40 +0000 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-57d106e69a2so243278a12.0; Fri, 21 Jun 2024 06:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718977234; x=1719582034; 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=FqehWUTmu3KjLNagitC6UR6pJsfsCjXz84AP8y4+Sso=; b=NdmssAXBJmnE8MY88fLrwQjlrblqZ3Ah8dnQsIS9B3YPZuw7tecgIn9XdQ7ksVxej8 aVdKy6SznxbfTUqx6x9lR+Whlb9qDXRxgoerDbPZs/8v7r07hyC51NZZQ6/AXs+gmrtL cmRtPLgkJCyM5GgX1eb2BIRbwWfNwYBmefkk26O9JS9zYjnlvVe4j713q/EWY3zzp9ZQ BYr1ll2nx2UIEqFm32mDCv2Jq2JFNQYjZvakIQ3XTguTdbNlAiNlyjRkUkP9ZMtlSI9y XQkCcjZ+dTKbCMA7HNdLEzPzEph+DoiaPF6MabHGlXLNdGGrd/GuRFuGGoaZAfUDa6M/ 84Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718977234; x=1719582034; 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=FqehWUTmu3KjLNagitC6UR6pJsfsCjXz84AP8y4+Sso=; b=JcWkhYrfU3lDbB1cUlSYdnhojpkMkyvUbf6hON+9TXYbODLVS0j6YuzKHHXcuQ3mXc 0uYGMvEIxtUAfV05++K/jAmPPC468bj02g5Feh9XKuNQ5XRkhxeCfrqGzUBl3ufdHGzo t033FbIi7ZE4kmBW1MTonQjEfwv1Ngz4JbLIKENEYczv6lpCmSr4e0Z3eaZc0pnGJHuC ZbRZjEElqegxK1xrMQh5tQW0fEMHQEo/BnmXsJzaBRGRIjAGru9td9DtK7JYPqfENTjs 2N26Cx9HD7CsscgFaMrgSMaqLMulp27q/blJaCcCcWyyTe5s1R52EpFw5vHG1tL6uw7h VZsA== X-Forwarded-Encrypted: i=1; AJvYcCXcdyJIAkNOEyPJKC4eGPe0GqmyK7Ya96coJHK7H72IM3dUUYIkrKlh0owsFfnw4n4g7EncMutEB+qOfAocymYapxBwW2IFVovkmDfAYLeaPDqxYFs9xmn4ZNvQc80PP0wGgkbsBFQRSQKz+Gk5LiYBZr53beZDP2E= X-Gm-Message-State: AOJu0YznjAKEZsYnkzR1t/O3bArNohSsujqcllha+6sUnVdTIQI1kuek AgnI2ig3X1crFQpFNBuZzWX3CF7dGTXx0ZoLuKMxjjOxGl6opYM= X-Google-Smtp-Source: AGHT+IFg7b3CmvswvXCyJGll1GEkVNz807LHUdzUIlvKzLOCJJL2/LsIJvxs0/pWzX7L/J8BkMbZpQ== X-Received: by 2002:a05:6402:1a45:b0:57c:ff0d:b781 with SMTP id 4fb4d7f45d1cf-57cff0db78dmr6851849a12.16.1718977233583; Fri, 21 Jun 2024 06:40:33 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:1b6a:5399:9a4f:7217]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57d30562cb6sm962059a12.83.2024.06.21.06.40.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 06:40:33 -0700 (PDT) From: Alex Bee To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH 1/4] dt-bindings: vendor-prefixes: Add Neardi Technology Date: Fri, 21 Jun 2024 15:40:27 +0200 Message-ID: <20240621134030.243646-2-knaerzche@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240621134030.243646-1-knaerzche@gmail.com> References: <20240621134030.243646-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240621_064036_338040_F5D2A2C0 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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 Fri Jun 21 13:40:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13707609 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 B04A0C27C4F for ; Fri, 21 Jun 2024 13:40:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=UjGXWzsgG3j2CFrkwO67dGUFmRfnMb8ACHy7FX6fufQ=; b=HULuE6xBOuGwtZ mEG2JqzJMBKGGH7rSjbN+m9yKj1fMDHZSHdjR/6DK7KxIlNHfYX+QbZWvkowdEpCMTo6UD4u3JzCE okPmu955YJmTgC9AFc74yTMTTPokWwhJmFhaSkiVjMdNFnuc6jsIE1KY0W7L2Edey4PbFvIJ3L9y2 IHgt7JOeMapTWFf/xoRijTy5tT/zK/WnJShhj62DdDVmOw5tDt3Waa9iue5tMo6GW/Yzw3KhQIbkj EmV2NxIoDY8mypBJ8z7qFsSizKFrd4hyfGJ5/iWfMDBY8Pq+f3RCFYNkO9YVz6Kdvm+xrjueVOTxE cK33A3FwraVr+yndTOtQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKeVQ-00000009Me4-0mWu; Fri, 21 Jun 2024 13:40:44 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKeVI-00000009MZe-11d5; Fri, 21 Jun 2024 13:40:38 +0000 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-57d2fc03740so705069a12.0; Fri, 21 Jun 2024 06:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718977234; x=1719582034; 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=99hmU1TBHiI3BIDRHYs/T4GfZVTtEzomHKojpOx+X/A=; b=IjFzlmj6JAHnxcBx9DVhteVUlmjkTcpr47parAYhvIw4lpCwV1JY5J5KItcSq/EUe/ GntFfm76Rxbi+sWQc599d6ZzOm73IMHHg/7vEwobsqvyshzRqUJWVScZXv8w/g2/epYu mzb52caDgmlyrbUhLoyf090JjiZStK2XMJB6X7A2Gd215JZQfrxoUXg218MSyN6zFCdI zrKfzyaOu2GOxAnkC7CSu4UKGxnYMuBAh18ycaH0m6LMNKaB6irl0O8ta/u/Bjfw0hiY 8XtcyQUJdjgqf+qpIocKPAbzT4vB3zmLDMWabUdlpNFfj8pBd0EcSc7LUSZcAI8B3eCH l0vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718977234; x=1719582034; 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=99hmU1TBHiI3BIDRHYs/T4GfZVTtEzomHKojpOx+X/A=; b=vQIgymZqxmx1SIRCVbwjZRXDZoiVm/aPMizBXLD7yTewhY7AMghtrjaR3T9sh1vvHu jnJVR2JBPAwYK8yJ1tNERBU9eRMrweqpeNdSq+jWfvz4j6KxmJB2dF8kYbI6DA2TPXzR XYFS00422WihV643eTEIHFElVZQPBH5V+ioczvCPAsOHfgg5+PxqCKNg7ESS2am9U2tY lWTO5hW5iBMEdI1QlaC1yhkAZ4z4lxllLhfGkdR0cZu02HF/UV1M5X33fQ2dQse9EMI7 ssfEDjDUkOpunmbWf0ZbTrXMTugGDkLAUWAHkmOe25yzCQ9vR/Z0aGQMCoVkmJs7KcHa sbaw== X-Forwarded-Encrypted: i=1; AJvYcCWFxgCPf0qqH02J59chXGalLOCNwFoZb4GhgbBmM+bDfss09noGU0Glmo1bUSpVZsWqaEy7qBrpUuJFYA8FFfVsFAEMuy26HQDJaWaMzeoAVtH6sfZQKCY8i4ml1IDWj2IOgDMJ6WD9Xwgbby9i0FMxXqC/kZHKdfU= X-Gm-Message-State: AOJu0YybA5RWUGtFLeI2sQ45+DsKj7PCaq0aWeiWd2SIM057+N9l/Xhg uAM7sEapgibpslI8USd66SXr1wceq3LPHR1dUE/9Ygwn9e2UO2w= X-Google-Smtp-Source: AGHT+IGfTBh9ByRy0rKyLhNz7zC2uRU9ragOUbs6RwOFonz8+hz7N60ZZROooF3sFovnZw72JqMlQw== X-Received: by 2002:a50:8ac8:0:b0:57c:8bdc:fddf with SMTP id 4fb4d7f45d1cf-57d07e8337amr4899211a12.20.1718977234191; Fri, 21 Jun 2024 06:40:34 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:1b6a:5399:9a4f:7217]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57d30562cb6sm962059a12.83.2024.06.21.06.40.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 06:40:33 -0700 (PDT) From: Alex Bee To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH 2/4] dt-bindings: arm: rockchip: Add Neardi LBA3368 Date: Fri, 21 Jun 2024 15:40:28 +0200 Message-ID: <20240621134030.243646-3-knaerzche@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240621134030.243646-1-knaerzche@gmail.com> References: <20240621134030.243646-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240621_064036_329909_1713FD90 X-CRM114-Status: UNSURE ( 9.25 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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 Fri Jun 21 13:40:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13707610 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 87460C27C4F for ; Fri, 21 Jun 2024 13:40:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=LWnQqN6Iov95fBSGVNxoGTvK5O//ek+4k2s9CNqfS1w=; b=i4d6y4VVOuxBo5 vSnx8fnuiyKeXzTEQtFJ5zkxJlfnBOwmDlzMkUzfM/AQMi/PbjTm9YzqKTS8y60FZDRbvA+cjBJuc gn2pNA2JDLCFrwEsy8aVSuiE5gVFj4qwOo64s3XQLqLvIjAwxPXiRDXvzhxhIiROamUSYthwMHp/q vjoXfSouCToYIGB2gB9EpPHRVHypuoclnKiww74CZzIDyhvH078Rj1MC/syvYbgj8V+7cfxIwMAl/ 7mD8DDbCwR3LnhwN8X2AK9PELgw2wu6xkrYb4nDwfVI2qHLV8lElW1nQPUijy7qrzWBliTXj37faF /5SICBPsgJR6f+RnQNRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKeVZ-00000009MjX-307A; Fri, 21 Jun 2024 13:40:53 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKeVI-00000009MZf-3ViF; Fri, 21 Jun 2024 13:40:39 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-57d05e0017aso2522261a12.1; Fri, 21 Jun 2024 06:40:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718977235; x=1719582035; 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=Pw0hsNXYg9IvUAi4Hk9VOxkafhGCtrNcgbTPX7nPsb2Ez5/FKqLLgEYOMKFRIdt2xd sRMzlxExuz5y8V+DEtASsrIm2iU2bopDRbOXxtPn/wnanaBuLxyx2Dz2z3hSfjt7hRKq cdrae/cr7pHlY4SYSbpYcZuWa+rKlb0XhGzHzrYFKJKZBxDM37MMY11amzZV0N6VuO/m RFzwNl3/kW5cfJv17OQJFFRwyeglgIwgcS0nyb/wa8pQ4QzPeiCpkZGbmkVwmyIqKHdk 0GqRdZakMncT9CWfluXnMk4XOkvnQu+w+9/E5LuS6mQvQVFsyVbr+F5cePaVQRY/eG5E meuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718977235; x=1719582035; 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=HCf15LKWEykakLpQqXgN3jTqkThDNe9kkdgjyuoAk5x2RT9SE5QUC2+VzbBDHcwc7y Oqt89AEPZqu1VN6vHdViYQxUsYnn4hB8xGlUa1gtPx+v1PuBlr253IjXzXAXIfGgTjy4 QqbQroxbpqk8fV7dQywk+uF8H4ColzlhC0t9AE4xmPJdETEnRI8YDTP3pmdKBWY0fJ8o xQYdfSOu8lFD6tmKTdoroxKIVoreajxFRDPFoqWOAqHFVH8x3rxhwMPY4hoBoUhhQHg7 6y0PdluogvHyv6XIpGObGHsY1ny7ULeHX5Uk3Ezk62yNRWHIyKyj0UrY2+LTtGkGCbOM +AMw== X-Forwarded-Encrypted: i=1; AJvYcCU2cOUWIPxhutThlYvieB3gAai/DvHOot9v9zrmtj7Gi+XIZ9qkg6gOq1jDBau1C1T3xTuUua6/aWbrqVs2utfDyZ8CLAOezx2Kpk5uKlejB1vg3ryNrgLC4+u9By39d8whE9lgsnTeJG2GdsZ8aYiAhG+tu7L2pZk= X-Gm-Message-State: AOJu0YyBQl+znJJ21k67oZLQz09+sdF/Bdv9JiQ9rsdLkciflhdrgvgG 09TEv67bcaoCKJ9FBiTRxN0MXQN9bZNTn2A5KB7SDhb+fpw7ZbGkUcYq X-Google-Smtp-Source: AGHT+IH+aNN8muxQBOlF2geszNuOMMwlp1muSzceOddFFHXJA2gZbdkBNxw9WjwtratXSkeYf0JVZg== X-Received: by 2002:a05:6402:14cf:b0:57c:d4e9:4a03 with SMTP id 4fb4d7f45d1cf-57d07edd5f8mr4634436a12.41.1718977234727; Fri, 21 Jun 2024 06:40:34 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:1b6a:5399:9a4f:7217]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57d30562cb6sm962059a12.83.2024.06.21.06.40.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 06:40:34 -0700 (PDT) From: Alex Bee To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH 3/4] arm64: dts: rockchip: Add sound-dai-cells for RK3368 Date: Fri, 21 Jun 2024 15:40:29 +0200 Message-ID: <20240621134030.243646-4-knaerzche@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240621134030.243646-1-knaerzche@gmail.com> References: <20240621134030.243646-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240621_064036_907897_42F36A7C X-CRM114-Status: GOOD ( 10.71 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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 Fri Jun 21 13:40:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13707612 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 EA5A0C2BA1A for ; Fri, 21 Jun 2024 13:41:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=f94JZTpRuN/w3Fs3Ec8RC/2A4PrxjnC+6zc6EqTMyWE=; b=H9UpVmlkDUixuD T+ms/yGK7XbE6SyfqSydyihKHktc5UuV4S2Ma/rG54L4KLf6MUQRkYo4WoOsrNeevEo+YE6wacDGK LpDMXRQ71zEwxglBjx8nVmfx3w8bZvrxkmmis8iet81woyLUGOiZvd+dL8K+yuEezZAaPKdAKToHt EyDkxJtdL+TAsfftZAviZqPi2mxpubSulpaincjT8Z0rOMNX37wcdz7SWUWZKkNe8Td56QWW1lKTi 4XLvRus+FaN3LKxGy6nezJDimh8+4cdHKb85ZAbQgDE304J8UXYgACFzDM61Rs+P6upRJHkFK/fSj +trRrQcf/1QN2sytNWmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKeW4-00000009N1h-1cAi; Fri, 21 Jun 2024 13:41:24 +0000 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKeVU-00000009Mfg-0FJ4; Fri, 21 Jun 2024 13:40:50 +0000 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2ec10324791so22181321fa.1; Fri, 21 Jun 2024 06:40:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718977246; x=1719582046; 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=45m2k/Td35A4EcDtWafXF2gULerKmaqVWvstZyDWUeY=; b=SRwEcXFOr+wjlPTZDWqnGXDldtTOq0ZKXg2QWA32Vkm1ycSMcVBCjg4UZdXj2L2RHo bMRq2p0B1N6iR/TAUCZdn6KJUww8tcje78U3oJYZCCvvh2MMzCPHAxeuTwb8cMYvrpfk YwiDYPF9Q9+d1aOf01sp+Fokh3o1B59fKaSFZjlIr44wQ6qyl7BW3+l/EGN+v8VBycAs 0jKwtdapXzeaSn6D6RBk9PQL0wITNnqL+M7Cs1WX6tgJQ2HWybfT02425QU79d8XDDE1 I+KBDKC/LbCfbf9eQbq8clDzUteFm78GIdyLPMvgSxtGSm7v1elo8rzPdrvaL0VqyMK8 qPIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718977246; x=1719582046; 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=45m2k/Td35A4EcDtWafXF2gULerKmaqVWvstZyDWUeY=; b=iAJauq/Q9RB7H1E8sE+P9AnFHXqex1fDxzxVr0R5QCPXft+ARRpmBmyVocKZIBufVV xpriZkzJbn1XISrt9ZhO3H/VjbMKCF09IU0rvPOebCg+czn+o5OJITRNtMGEbRjrMzfn rENiKH9IoWvdT06Z8hnsRKBw0yxRY1+DCrG1qzWZNg1gtsA9iF3wckTjs9Q+ayMhqxUy qkbWXSzxI1hZNUgSflFZzGhXMy7Su4nyzDNwUUtBZXGSNvPStqOZx97qW0Ad7QYMAb85 ngQXoQkP9Ulc/6Nl8KP7B8vixEGom5EyVdmmVbNGmSHa2LiDpGyRHB+J3ra+CRMEtCA1 2RiQ== X-Forwarded-Encrypted: i=1; AJvYcCU9fuejugHkfIGmyV9CZ1OKEhoOgWypLT3ioOdyH4NNsHLTHMONAhEHKpllQK0tWYpN7NshNapDQCtDu3KIFPk5epUMN7x4Rtqv9rZWbf10yb4GR6uB6h+bgHvQy2f18R43cwtEDygJi2XpOTNr6w8nfDpF4kwznVA= X-Gm-Message-State: AOJu0YxsaK59kqG+kVyYSNJ9RiXlUelCzdTSD1CrSyK2JRVLQM3v2jot yF7mCb3huwrW+/xqEAkNR3u0ddftcgBXk9+lht+woC6An8ugQYg= X-Google-Smtp-Source: AGHT+IHPK2UFguMpGh6GwDqI5N9xz0iGPDzfl1kMqBI73mx3lJ7TUM/256TOrKNUuL+FAunRKzy/1A== X-Received: by 2002:a2e:7019:0:b0:2ec:5128:1850 with SMTP id 38308e7fff4ca-2ec512818b1mr7156451fa.13.1718977235352; Fri, 21 Jun 2024 06:40:35 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:1b6a:5399:9a4f:7217]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57d30562cb6sm962059a12.83.2024.06.21.06.40.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 06:40:35 -0700 (PDT) From: Alex Bee To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH 4/4] arm64: dts: rockchip: Add Neardi LBA3368 board Date: Fri, 21 Jun 2024 15:40:30 +0200 Message-ID: <20240621134030.243646-5-knaerzche@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240621134030.243646-1-knaerzche@gmail.com> References: <20240621134030.243646-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240621_064048_166982_E2AB661C X-CRM114-Status: GOOD ( 15.27 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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 --- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3368-lba3368.dts | 666 ++++++++++++++++++ 2 files changed, 667 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..ec7d6e7b2cf5 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3368-lba3368.dts @@ -0,0 +1,666 @@ +// 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 { + pinctrl-0 = <&power_led>; + gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; + function = LED_FUNCTION_POWER; + color = ; + default-state = "on"; + }; + }; + + 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 = <0x1>; + #size-cells = <0x0>; + + 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>; + gpio30-supply = <&vcc_io>; + gpio1830-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-min-microvolt = <700000>; + regulator-max-microvolt = <1350000>; + regulator-name = "vdd_cpu"; + regulator-always-on; + regulator-boot-on; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_log: DCDC_REG2 { + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1500000>; + regulator-ramp-delay = <6001>; + regulator-name = "vdd_log"; + 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-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_io"; + regulator-always-on; + regulator-boot-on; + + regulator-state-mem { + regulator-suspend-microvolt = <3300000>; + regulator-on-in-suspend; + }; + }; + + vcca1v8_codec: LDO_REG1 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcca1v8_codec"; + regulator-always-on; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcca3v0_codec: LDO_REG2 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-name = "vcca3v0_codec"; + regulator-always-on; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_10: LDO_REG3 { + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-name = "vdd_10"; + regulator-always-on; + regulator-boot-on; + + regulator-state-mem { + regulator-suspend-microvolt = <1000000>; + regulator-on-in-suspend; + }; + }; + + vdd1v8_wl: LDO_REG4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vdd1v8_wl"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vccio_sd: LDO_REG5 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vccio_sd"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vdd10_lcd: LDO_REG6 { + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-name = "vdd10_lcd"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_18: LDO_REG7 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc_18"; + + regulator-state-mem { + regulator-suspend-microvolt = <1800000>; + regulator-on-in-suspend; + }; + }; + + vcc18_lcd: LDO_REG8 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc18_lcd"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_tp: SWITCH_REG1 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_tp"; + + regulator-state-mem { + regulator-suspend-microvolt = <3300000>; + regulator-on-in-suspend; + }; + }; + + vcc_sd: SWITCH_REG2 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_sd"; + + regulator-state-mem { + regulator-suspend-microvolt = <3300000>; + regulator-on-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 { + + bt { + 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_up>; + }; + }; +}; + +&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>; + vqmmc-supply = <&vdd1v8_wl>; + vmmc-supply = <&vcc_io>; + 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"; + clocks = <&rk808 RK808_CLKOUT1>; + clock-names = "lpo"; + device-wakeup-gpios = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&gpio3 RK_PA2 GPIO_ACTIVE_HIGH>; + max-speed = <1500000>; + 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"; +};