From patchwork Thu Dec 29 22:45:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 37521 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2623028wrt; Thu, 29 Dec 2022 14:51:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXvM+9zxu/vPr50oTinocYXa3QpU7kyEqiojSCSmAzE1YXILEJUfSFMFtojn5LJGpuSYsz3y X-Received: by 2002:a05:6a20:d044:b0:b0:32f0:6237 with SMTP id hv4-20020a056a20d04400b000b032f06237mr37480840pzb.18.1672354276615; Thu, 29 Dec 2022 14:51:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672354276; cv=none; d=google.com; s=arc-20160816; b=MQ0F/AFbBi5p2+vdL7HQKTIjZi3rGG0ke/qwEUdMQv1avi2TcGN1c96aYpWk5kY6VC uMMwwos8Yfgo0EP4WwyYaTsnmqPePeOEbyV1mv+EuYXEYheXX7FaImlGYydkB4xXqWMR vpTd5JRbNWICIoxVkgXJxvJtdXl6jEkvIGtXC90TydYBseoJT9U0gBjcmOM7TwfoGj0R kqvbndVB1Ps+pxb7zh8eoLLCn4DgNkmlQc2qw7Az2IEhM9iIWu1giHhGTEtqQlypEyP0 VlUQUv8bg0aytkkx4MBi9wbR5E6DFmRYsYksY5s2BKrgahtdLmggljIBhTu2D/rvB6zB Nfqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=YmjToE1+XYFIi0UjMxTH93OBLpP2WDsF0OjgxtqSxP4=; b=yOuVQwuMIMRYH/lB1KQnaLC0xfJYaThie6Ep1RqJtvc8naylWfYj0UquwcEMVIhSk4 DLHh9Wsgtx29qfgcXDdw2ExJ5vBxqrod7I3MHWoJf7uydk+80xg/xmQmPmbHGWy9ZJob xwYUOnmmXe1ZBTDJkJJqFYI+sIWKtN/z2267Tkeg3DneROtO26uIR0StyINyhwIwlraS mmfCuvhiU0V5zn9P2mIFWy0swXf7pIj4wTE9toWHOhPDNGpmS4NyAH2JJtBeRsBRQeS8 9xFrcp9z65xyhnKvF2lFuNPn54aLrV3GKfxHORDP2T3ZPbs0n+rPsUAWxHpIPSAG4Yyo oekQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=pS8P2fjw; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Hs2elMxn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t4-20020a63f344000000b0047693f9d264si20232122pgj.833.2022.12.29.14.51.04; Thu, 29 Dec 2022 14:51:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=pS8P2fjw; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Hs2elMxn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234142AbiL2Wp6 (ORCPT + 99 others); Thu, 29 Dec 2022 17:45:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233908AbiL2Wpy (ORCPT ); Thu, 29 Dec 2022 17:45:54 -0500 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77EC5DBB; Thu, 29 Dec 2022 14:45:53 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 690F132003AC; Thu, 29 Dec 2022 17:45:52 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 29 Dec 2022 17:45:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1672353952; x=1672440352; bh=Ym jToE1+XYFIi0UjMxTH93OBLpP2WDsF0OjgxtqSxP4=; b=pS8P2fjwYSIOAdGwIi LI08Fu1Jn4OnEfyONDK5ReMLNzzsUdAqRSlmFjlZQ1Rx4uTcuRhQ+ZQIs/vlGQpu xKYX2v/0y1UTCoRGfMCBHSXLgg+rPGLZNSrv9dgEJt17UAEy4//pLj9n++JAhA2b 4QDY0ejXS+MK066uScPsGl1clR4hmt0Gw9u+PJ6ME90XhpxqEB1zuwnKQAZivZWB phpkpiVGuNoj1cJjORf4xjQvmk6GxYgMJPTmMhPnklkkfJeJrqBWYrt4Ml4/azie LyTu2D8lSKqjzPc8DoO8z73gdZVwYnUbjN/osvHQ9vDrHdpo1s8/nVS+h3mVtRjO 6L0A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1672353952; x=1672440352; bh=YmjToE1+XYFIi 0UjMxTH93OBLpP2WDsF0OjgxtqSxP4=; b=Hs2elMxnfAcyPigkUsVbm8XG+8G4r J/W4DLjAHa4A3mRG/MNEUqXDibWqQuaDdvkfGsd+uw/8ZkiEtji0xYja/lX7KCxx 4tO0xD7p3QZJtWbd2sPDB4xKNSB9odFEApmo8Ts6l93ZgGSXzkl9i08A3E9YoOdb fMywjS8E3facpKZEh5rupYFmh5aJaDgNO5oqdkk2rbfAIdJPPr1tIblVtxoKRjFy AW9IJbXvf7g8d3nJugg0mZwfTZcU1H1bRxSVZnPutr01upINfcYvYDC1I/HzAKza rzrOU2zz0S+w0eVpT5jBm60syND63NJIYZ2hlpIqP6mCxTP6/2klAFl1A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieehgddtudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpedukeetueduhedtleetvefguddvvdejhfefudelgfduveeggeehgfdu feeitdevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 29 Dec 2022 17:45:51 -0500 (EST) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , Krzysztof Kozlowski , Rob Herring Cc: linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Samuel Holland Subject: [PATCH 1/2] dt-bindings: arm: sunxi: Add iNet U70B Rev 01 Tablet Date: Thu, 29 Dec 2022 16:45:46 -0600 Message-Id: <20221229224547.25225-2-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221229224547.25225-1-samuel@sholland.org> References: <20221229224547.25225-1-samuel@sholland.org> MIME-Version: 1.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,URIBL_BLACK autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753590557896597560?= X-GMAIL-MSGID: =?utf-8?q?1753590557896597560?= This is a white-label 7" tablet board based on the A33 SoC. It is found in products such as the "Nimbus 17 V1" tablet. Signed-off-by: Samuel Holland Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/sunxi.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml index 3ad1cd50e3fe..8150ae307c1a 100644 --- a/Documentation/devicetree/bindings/arm/sunxi.yaml +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml @@ -346,6 +346,11 @@ properties: - const: inet-tek,inet-q972 - const: allwinner,sun6i-a31s + - description: iNet U70B Rev 01 Tablet + items: + - const: inet-tek,inet-u70b-rev01 + - const: allwinner,sun8i-a33 + - description: Itead Ibox A20 items: - const: itead,itead-ibox-a20 From patchwork Thu Dec 29 22:45:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 37522 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2623041wrt; Thu, 29 Dec 2022 14:51:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXvRUQgG8gOQbc/w7al2yxL8FIqsrAH86XTh2P4t0YA5sZWynIWKPI0A659a+D0L0tLxvMlx X-Received: by 2002:a17:90a:d990:b0:225:cc1e:fc8c with SMTP id d16-20020a17090ad99000b00225cc1efc8cmr22291056pjv.49.1672354279962; Thu, 29 Dec 2022 14:51:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672354279; cv=none; d=google.com; s=arc-20160816; b=umI7Qsp/blag2QzU4P+qEi2I+m3aSQIGerIqv56PhQCSu9urNpnSklRtbjITRc9Cp3 WDnWqqyI/g5pGpSwe990zffQOYm8zrClh9FzO3hMLY3jBH7A1BlVrppqUbqM8nFuP5kZ e39m6lZjOZ/EYBmM9jdZ6PYjucAlTGorPcQDqQm00Ef8DJToHgTNY3gluDR4PcKKuEMh bhx7pf6O5JoYvxdCxHaBZ8EjQaeStXeR6wJwdUqP6nMH8GZszk2xfOxhcDcwUJvjuq9P pJtpIpqS3m6OjDcq5VU6k15thE2WTAWkFBVL/XzIebJEvDXzMFRgYVE3Xz7IvmMHsSvt 4RTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=PXx4B1NSIilOzh33vZmfVaL9m9brucnpq6fUhPzxVlc=; b=phAR8rGzv6K3/GPm7o3RpHFzp4MyLJmihUl23VvCVFUVFMzzaDAxwCrU/fcUgjZM8s PRvWw4iuqROdsbhM07evod2mnh0EubSVM+v0crc3tkp7qq+aygl62ZOPBKoQ6mxT0Itf w+LUKXOW1uLYc5JLqiZe0gT0wZdChKUD8BkF750MP8fcpvwUX3S1djmnH+QvQCHUnkLg gxKQLaXTiwx8BaAADDq3ryxzooMuPxFIN5DrEGyKYbiMRRf/mSPcE9JhOLgdp4k1z9zK vtD0c/itn5zpfdNca7BrQc0ytkWu2psh/ovobPJA5VMJlJcnMGNaQbC+2TAHknLhD1Z+ tEdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=LpOu1RQW; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=p5lYUwZG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y1-20020a17090aa40100b0021870b9d3c7si19027644pjp.45.2022.12.29.14.51.08; Thu, 29 Dec 2022 14:51:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=LpOu1RQW; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=p5lYUwZG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234183AbiL2WqE (ORCPT + 99 others); Thu, 29 Dec 2022 17:46:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234146AbiL2Wp4 (ORCPT ); Thu, 29 Dec 2022 17:45:56 -0500 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8E0C2BF1; Thu, 29 Dec 2022 14:45:55 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 963BD320039A; Thu, 29 Dec 2022 17:45:54 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 29 Dec 2022 17:45:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1672353954; x=1672440354; bh=PX x4B1NSIilOzh33vZmfVaL9m9brucnpq6fUhPzxVlc=; b=LpOu1RQWbjSpJ/1W5M KB6ZfKNg6gkp93mmJhl4WBuBi9CxcWfprEK6pHDSXiL7jR5mpCFeoBhEkhMqGF+j LAeUn2gfMXOB8vn1ypefQvm2/iWenC31hGYiRgKwIQYA4aX2pJhLIyo30rzxynhx vhEFKm2L2KY0reDi0KPFsxpUr74Bm+whJ29GthMWOor5IrWBLx+ss+g/9XpCTCRW iFgh97tsLy2iqyxpQkJJR6GShuTfFD/UrVRc2IqKiwHvawaWgLOMhLy1xStmt7Q/ 988DPg9sF3SyMfQ4+4GBoLdyVNiOEHdI8Gh+pJmD9G8nKGMkGHdGUAuqa0YVsfIQ S0yw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1672353954; x=1672440354; bh=PXx4B1NSIilOz h33vZmfVaL9m9brucnpq6fUhPzxVlc=; b=p5lYUwZGRwu81OEKlZoYLzUnLQrhC aqw8oUuOZkxpveTOiceM8A+ayeF9JWpS/WR4AUeubEhiM24amFJveQVw7MkdqFhl 43N0pIHJay4Ll3iXymUzibkTPdegfUQHPoD++FLLMeRfl5HyvHItGZ81+H/NNoEP cGJKzLBDxpGrs/SVnh8Jq/WDCHSlt1VqrWB8V8DjDgoeTKwBIWqBq8NSFoWeGkmH lWGZ0CIR0z8d/Rbh3XUCcEqHj617rvmy+PGDpYNwXwqh1NHdWRT5Uw+R9HTfws7Z CNvRBTIgj27ORo7ILiyUtDCRYB6U72y2NuG/aYfewWXteOpmw2j5U4DAQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieehgddtvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpedukeetueduhedtleetvefguddvvdejhfefudelgfduveeggeehgfdu feeitdevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 29 Dec 2022 17:45:53 -0500 (EST) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , Krzysztof Kozlowski , Rob Herring Cc: linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Samuel Holland Subject: [PATCH 2/2] ARM: dts: sun8i: A33: Add iNet U70B Rev 01 Date: Thu, 29 Dec 2022 16:45:47 -0600 Message-Id: <20221229224547.25225-3-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221229224547.25225-1-samuel@sholland.org> References: <20221229224547.25225-1-samuel@sholland.org> MIME-Version: 1.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,URIBL_BLACK autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753590561551298911?= X-GMAIL-MSGID: =?utf-8?q?1753590561551298911?= This is a white-label 7" tablet board based on the A33 SoC. It features a generic 1024x600 DPI panel, raw NAND for storage, and a Realtek 8723CS Wi-Fi/Bluetooth chip. Signed-off-by: Samuel Holland --- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/sun8i-a33-inet-u70b-rev01.dts | 172 ++++++++++++++++++ 2 files changed, 173 insertions(+) create mode 100644 arch/arm/boot/dts/sun8i-a33-inet-u70b-rev01.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index c014f4fc53c0..e4e985d5a66c 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1349,6 +1349,7 @@ dtb-$(CONFIG_MACH_SUN8I) += \ sun8i-a33-et-q8-v1.6.dtb \ sun8i-a33-ga10h-v1.1.dtb \ sun8i-a33-inet-d978-rev2.dtb \ + sun8i-a33-inet-u70b-rev01.dtb \ sun8i-a33-ippo-q8h-v1.2.dtb \ sun8i-a33-olinuxino.dtb \ sun8i-a33-q8-tablet.dtb \ diff --git a/arch/arm/boot/dts/sun8i-a33-inet-u70b-rev01.dts b/arch/arm/boot/dts/sun8i-a33-inet-u70b-rev01.dts new file mode 100644 index 000000000000..ac108a632659 --- /dev/null +++ b/arch/arm/boot/dts/sun8i-a33-inet-u70b-rev01.dts @@ -0,0 +1,172 @@ +// SPDX-License-Identifier: (GPL-2.0+ or MIT) + +/dts-v1/; + +#include "sun8i-a33.dtsi" +#include "sun8i-reference-design-tablet.dtsi" + +/ { + model = "iNet U70B Rev 01"; + compatible = "inet-tek,inet-u70b-rev01", "allwinner,sun8i-a33"; + + aliases { + ethernet0 = &rtl8723cs; + }; + + panel: panel { + compatible = "panel-dpi"; + backlight = <&backlight>; + enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */ + power-supply = <®_dc1sw>; + + panel-timing { + clock-frequency = <51000000>; + hactive = <1024>; + vactive = <600>; + hfront-porch = <162>; + hback-porch = <158>; + hsync-len = <20>; + vback-porch = <25>; + vfront-porch = <10>; + vsync-len = <3>; + hsync-active = <1>; + vsync-active = <1>; + }; + + port { + panel_in_tcon0: endpoint { + remote-endpoint = <&tcon0_out_panel>; + }; + }; + }; + + speaker_amp: audio-amplifier { + compatible = "simple-audio-amplifier"; + enable-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ + sound-name-prefix = "Speaker Amp"; + }; + + wifi_pwrseq: wifi-pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&r_pio 0 6 GPIO_ACTIVE_LOW>; /* PL6 */ + post-power-on-delay-ms = <200>; + }; +}; + +&codec { + status = "okay"; +}; + +&dai { + status = "okay"; +}; + +&de { + status = "okay"; +}; + +&i2c1 { + clock-frequency = <400000>; + + accelerometer@18 { + compatible = "bosch,bma250"; + reg = <0x18>; + interrupt-parent = <&pio>; + interrupts = <7 10 IRQ_TYPE_EDGE_RISING>; /* PH10 / EINT10 */ + }; +}; + +&mmc1 { + pinctrl-0 = <&mmc1_pg_pins>; + pinctrl-names = "default"; + bus-width = <4>; + non-removable; + vmmc-supply = <®_dldo1>; + vqmmc-supply = <®_dldo2>; + status = "okay"; + + rtl8723cs: wifi@1 { + reg = <1>; + interrupt-parent = <&r_pio>; + interrupts = <0 7 IRQ_TYPE_LEVEL_LOW>; /* PL7 */ + }; +}; + +&nfc { + status = "okay"; + + nand@0 { + reg = <0>; + allwinner,rb = <0>; + }; +}; + +&r_uart { + status = "disabled"; +}; + +®_dldo2 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc-wifi-io"; +}; + +&simplefb_lcd { + status = "okay"; +}; + +&sound { + simple-audio-card,aux-devs = <&codec_analog>, <&speaker_amp>; + simple-audio-card,widgets = "Headphone", "Headphone Jack", + "Microphone", "Internal Microphone", + "Speaker", "Internal Speaker"; + simple-audio-card,routing = "Headphone Jack", "HP", + "Internal Speaker", "Speaker Amp OUTL", + "Internal Speaker", "Speaker Amp OUTR", + "Speaker Amp INL", "HP", /* PHONEOUT ??? */ + "Speaker Amp INR", "HP", /* PHONEOUT ??? */ + "Left DAC", "DACL", + "Right DAC", "DACR", + "ADCL", "Left ADC", + "ADCR", "Right ADC", + "MIC1", "Internal Microphone", + "MIC2", "Headset Microphone", + "Headset Microphone", "HBIAS", + "Internal Microphone", "MBIAS"; + status = "okay"; +}; + +&tcon0 { + pinctrl-0 = <&lcd_rgb666_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&tcon0_out { + tcon0_out_panel: endpoint { + remote-endpoint = <&panel_in_tcon0>; + }; +}; + +&touchscreen { + reg = <0x40>; + compatible = "silead,gsl1680"; + avdd-supply = <®_ldo_io1>; + touchscreen-size-x = <1024>; + touchscreen-size-y = <600>; + status = "okay"; +}; + +&uart1 { + pinctrl-0 = <&uart1_pg_pins>, <&uart1_cts_rts_pg_pins>; + pinctrl-names = "default"; + uart-has-rtscts; + status = "okay"; + + bluetooth { + compatible = "realtek,rtl8723cs-bt"; + device-wake-gpios = <&r_pio 0 10 GPIO_ACTIVE_LOW>; /* PL10 */ + enable-gpios = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */ + host-wake-gpios = <&r_pio 0 9 GPIO_ACTIVE_HIGH>; /* PL9 */ + }; +};