From patchwork Wed Dec 1 18:21:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 12694374 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 5D838C433F5 for ; Wed, 1 Dec 2021 18:23:23 +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=uKezX5KIrCHzGgdUG2N0m+5iC5+xaswt31I3gWXUbCY=; b=pW7r/E666JH7Q4 NxdZGjOLqd3iXTEDrrd2WtNWSKT9LCGJYzodReF1pdzoBx5bezTzMS6SV28qhA28xwuxMeRRbHxhu N5wDpBWhPJszgBpyRtC7/n/It7bsQm/HCtYSHoISOdfXNDGQb9PUNlklb4Q2jGeGr0SFVkv5h7rvq xJ3vAztDRKem6RRxl7DBoGAdpoOIAGu/P9VWzJIyQOcZswIBJwm8r85vQ9QVWyL0cHFUgPblghHRS nwlSVL6gl5mb/bt+nHlOkeXkmu13tYfVXqyr39/a8kHpiuc1xsbVZ0VjtXzhHydiLBVNIW1ZR8BcU 1bZa6POMGCGfbVlDy4WA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msUEi-009jsb-UT; Wed, 01 Dec 2021 18:21:45 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msUEZ-009jpi-67 for linux-arm-kernel@lists.infradead.org; Wed, 01 Dec 2021 18:21:36 +0000 Received: by mail-wm1-x32a.google.com with SMTP id az34-20020a05600c602200b0033bf8662572so1836238wmb.0 for ; Wed, 01 Dec 2021 10:21:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/WroRDb6MKbU3FJ1ZPL1YT3ab/zhWwGmxwsKBVpS1gQ=; b=OTA+O1L8HGjFyFIkQKV2eq3XXXqY7kF0fcV4OyiemDwmnUQShEj9JcVUM8DriCqnX1 Ui9dA/zsbD/HiawuakujXnKFAx27S/thf2VNZvHI4i7dNL5kR185LV3znlqDu5J8rmci qm5Aj2vk2EE/dQBc0g/izHziNk0H8RdD8wNyQDpJqwXDhYc0n2UV2SdsBqyt//UxpszO e4zeloWjrYK+HX5Yc75IC1aRKIpPQOqegWzTdIVUc4k2XcKHqWuA53jheVY1wKHVrGKn QCpmQwLcK6EyH30WauQVNmsc8VV2H69AXSvLMB+1uq4kDIu8udjSRTcLMDcGzLc4u17S rNZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/WroRDb6MKbU3FJ1ZPL1YT3ab/zhWwGmxwsKBVpS1gQ=; b=ySMJ0P+DYtx7805KSoKl0Ofqy1ANzJjSe4T4FRd3Dq1JIDyjpmAq/NhGkg9vMqNQSP xJ9tqXUbcmgciGBu5UunLFIpmmCznZtoxm023FnYM86zox6CWo/JYcXawthxf5Re2HoX aTuMTEU/CPqJ0qndZ85WS0PcM7mO0/2Z3ZASxGka6V+e4psSG1Gzu0rc3y/nS9nb/1nb yE3iKKLtkz15BwvRA4zCiBBImfCZI09v6E7EIAWSGx0GpeCM4rLC0w2FxIE1lEwW/KkG bda43AxJXXesmKjyufk+NvPLnPw2e1BVeOZy1r1C96cAwBw0uhjMjxaDxsJMV1NCmWb6 tfKg== X-Gm-Message-State: AOAM532ouPN7GNw63Zai0MJnybPeUAPBy3H601xwSYtqnAbKYAIYNzuU tEi+LeQmMku20gTv0mm2C1iBi4dmuQs= X-Google-Smtp-Source: ABdhPJwTH9ldu2VWmwBL0F1m67vb3qWTMSTnJR60+cKgyN6x6ibinctgSAlRKsZsdNCHwiYvP/uoeg== X-Received: by 2002:a05:600c:4e45:: with SMTP id e5mr9155796wmq.43.1638382893333; Wed, 01 Dec 2021 10:21:33 -0800 (PST) Received: from kista.localdomain (cpe-86-58-29-253.static.triera.net. [86.58.29.253]) by smtp.gmail.com with ESMTPSA id f7sm604705wri.74.2021.12.01.10.21.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Dec 2021 10:21:33 -0800 (PST) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Jernej Skrabec Subject: [PATCH 1/5] arm64: dts: allwinner: h6: tanix-tx6: Split to DT and DTSI Date: Wed, 1 Dec 2021 19:21:14 +0100 Message-Id: <20211201182118.1213806-2-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211201182118.1213806-1-jernej.skrabec@gmail.com> References: <20211201182118.1213806-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_102135_256354_CBA8067B X-CRM114-Status: GOOD ( 16.74 ) 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 There is another very similar device to Tanix TX6, namely Tanix TX6 mini. Because most of the board design is shared, it makes sense to have common nodes in DTSI file. Signed-off-by: Jernej Skrabec --- .../dts/allwinner/sun50i-h6-tanix-tx6.dts | 164 +---------------- .../boot/dts/allwinner/sun50i-h6-tanix.dtsi | 173 ++++++++++++++++++ 2 files changed, 174 insertions(+), 163 deletions(-) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-tanix.dtsi diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts index 7c37aa4c60cb..a6e69f4b2666 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts @@ -3,175 +3,13 @@ /dts-v1/; -#include "sun50i-h6.dtsi" -#include "sun50i-h6-cpu-opp.dtsi" - -#include +#include "sun50i-h6-tanix.dtsi" / { model = "Tanix TX6"; compatible = "oranth,tanix-tx6", "allwinner,sun50i-h6"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - connector { - compatible = "hdmi-connector"; - ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */ - type = "a"; - - port { - hdmi_con_in: endpoint { - remote-endpoint = <&hdmi_out_con>; - }; - }; - }; - - /* used for FD650 LED display driver */ - i2c { - compatible = "i2c-gpio"; - sda-gpios = <&pio 7 6 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PH6 */ - scl-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PH5 */ - i2c-gpio,delay-us = <5>; - }; - - reg_vcc1v8: regulator-vcc1v8 { - compatible = "regulator-fixed"; - regulator-name = "vcc1v8"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - - reg_vcc3v3: regulator-vcc3v3 { - compatible = "regulator-fixed"; - regulator-name = "vcc3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; - - reg_vdd_cpu_gpu: regulator-vdd-cpu-gpu { - compatible = "regulator-fixed"; - regulator-name = "vdd-cpu-gpu"; - regulator-min-microvolt = <1135000>; - regulator-max-microvolt = <1135000>; - }; - - sound-spdif { - compatible = "simple-audio-card"; - simple-audio-card,name = "sun50i-h6-spdif"; - - simple-audio-card,cpu { - sound-dai = <&spdif>; - }; - - simple-audio-card,codec { - sound-dai = <&spdif_out>; - }; - }; - - spdif_out: spdif-out { - #sound-dai-cells = <0>; - compatible = "linux,spdif-dit"; - }; -}; - -&cpu0 { - cpu-supply = <®_vdd_cpu_gpu>; -}; - -&de { - status = "okay"; -}; - -&dwc3 { - status = "okay"; -}; - -&ehci0 { - status = "okay"; -}; - -&ehci3 { - status = "okay"; -}; - -&gpu { - mali-supply = <®_vdd_cpu_gpu>; - status = "okay"; -}; - -&hdmi { - status = "okay"; -}; - -&hdmi_out { - hdmi_out_con: endpoint { - remote-endpoint = <&hdmi_con_in>; - }; -}; - -&mmc0 { - pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins>; - vmmc-supply = <®_vcc3v3>; - cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; - bus-width = <4>; - status = "okay"; -}; - -&mmc2 { - vmmc-supply = <®_vcc3v3>; - vqmmc-supply = <®_vcc1v8>; - bus-width = <8>; - non-removable; - cap-mmc-hw-reset; - mmc-hs200-1_8v; - status = "okay"; -}; - -&ohci0 { - status = "okay"; -}; - -&ohci3 { - status = "okay"; -}; - -&pio { - vcc-pc-supply = <®_vcc1v8>; - vcc-pd-supply = <®_vcc3v3>; - vcc-pg-supply = <®_vcc1v8>; }; &r_ir { linux,rc-map-name = "rc-tanix-tx5max"; - status = "okay"; -}; - -&spdif { - status = "okay"; -}; - -&uart0 { - pinctrl-names = "default"; - pinctrl-0 = <&uart0_ph_pins>; - status = "okay"; -}; - -&usb2otg { - dr_mode = "host"; - status = "okay"; -}; - -&usb2phy { - status = "okay"; -}; - -&usb3phy { - status = "okay"; }; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix.dtsi new file mode 100644 index 000000000000..166b6a7a586c --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix.dtsi @@ -0,0 +1,173 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2019 Jernej Skrabec + +/dts-v1/; + +#include "sun50i-h6.dtsi" +#include "sun50i-h6-cpu-opp.dtsi" + +#include + +/ { + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + connector { + compatible = "hdmi-connector"; + ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */ + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + + /* used for FD650 LED display driver */ + i2c { + compatible = "i2c-gpio"; + sda-gpios = <&pio 7 6 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PH6 */ + scl-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PH5 */ + i2c-gpio,delay-us = <5>; + }; + + reg_vcc1v8: regulator-vcc1v8 { + compatible = "regulator-fixed"; + regulator-name = "vcc1v8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + reg_vcc3v3: regulator-vcc3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + reg_vdd_cpu_gpu: regulator-vdd-cpu-gpu { + compatible = "regulator-fixed"; + regulator-name = "vdd-cpu-gpu"; + regulator-min-microvolt = <1135000>; + regulator-max-microvolt = <1135000>; + }; + + sound-spdif { + compatible = "simple-audio-card"; + simple-audio-card,name = "sun50i-h6-spdif"; + + simple-audio-card,cpu { + sound-dai = <&spdif>; + }; + + simple-audio-card,codec { + sound-dai = <&spdif_out>; + }; + }; + + spdif_out: spdif-out { + #sound-dai-cells = <0>; + compatible = "linux,spdif-dit"; + }; +}; + +&cpu0 { + cpu-supply = <®_vdd_cpu_gpu>; +}; + +&de { + status = "okay"; +}; + +&dwc3 { + status = "okay"; +}; + +&ehci0 { + status = "okay"; +}; + +&ehci3 { + status = "okay"; +}; + +&gpu { + mali-supply = <®_vdd_cpu_gpu>; + status = "okay"; +}; + +&hdmi { + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + +&mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins>; + vmmc-supply = <®_vcc3v3>; + cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; + bus-width = <4>; + status = "okay"; +}; + +&mmc2 { + vmmc-supply = <®_vcc3v3>; + vqmmc-supply = <®_vcc1v8>; + bus-width = <8>; + non-removable; + cap-mmc-hw-reset; + mmc-hs200-1_8v; + status = "okay"; +}; + +&ohci0 { + status = "okay"; +}; + +&ohci3 { + status = "okay"; +}; + +&pio { + vcc-pc-supply = <®_vcc1v8>; + vcc-pd-supply = <®_vcc3v3>; + vcc-pg-supply = <®_vcc1v8>; +}; + +&r_ir { + status = "okay"; +}; + +&spdif { + status = "okay"; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_ph_pins>; + status = "okay"; +}; + +&usb2otg { + dr_mode = "host"; + status = "okay"; +}; + +&usb2phy { + status = "okay"; +}; + +&usb3phy { + status = "okay"; +}; From patchwork Wed Dec 1 18:21:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 12694375 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 B807AC433F5 for ; Wed, 1 Dec 2021 18:23:53 +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=FDbgwbOJx10eQNAPnmvSZc912a4fyzcNr5C/zhOCRXc=; b=syg0Q9v0aXAOUe k0F5gpP4NMohEjRj22EzwmgVAerQtFVGQlN3/fxQCJeOx8Y4D43M308lVsVH7B9CfIvXd+jdC0Sxf XBmKB4TywoNe+t7Zf9V26TZM+K7+4p5XFz8qkIk8GIfJuXja1lvSg+s+bIOuKboJzbRGZdxFQjZKs Nua9qqzVwOrZvSJEmO/J5zoE/v36YmZX2FCGM8j/U2KvvLsBl4eBToMAD4pNecHfSV4Ocn3ACo4WF XlwpjNvWWqX2WG0AU/9ECByBbjppmbTWKz2iQxKxoAOUe7i9fzWdbneMq6fDDyjgsqQ5wlewc8MVa BtLyK2rzQznQDfROMuxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msUF0-009jya-Uu; Wed, 01 Dec 2021 18:22:03 +0000 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msUEf-009jrV-8B for linux-arm-kernel@lists.infradead.org; Wed, 01 Dec 2021 18:21:42 +0000 Received: by mail-wm1-x335.google.com with SMTP id p18so21130426wmq.5 for ; Wed, 01 Dec 2021 10:21:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Qzpn3X7YSU7kqDgBL/msm7A2QFpd96QjV7OFVFdJdDc=; b=gQF2MAgPbjKUTnky23wGo+zGaO/BXsioNUUzVpDBk4nR+Fik/WELZ++ACqG4qGRGvb l0Uu105LT6VV2szmjliSZKZ0uKfq1y8YHzh0nhbBDh03qNx7HbCSedXBL3l0PKRp4fPm eNQqyOYi4yhH/hPmRO0DMVwuWILaR67I2+BGe1MZgs22osJ/6pdP6MM2l411+80PHJD9 lWaZYCeJM5mTqBr9JEWH4FqcGd35lFm8lMfq5EGJ+KqMR285DLtH/rdlFvonMOGep+FB Eutvq4rcKtqSXNTC8aigKLgF9M4afYQ3Fgav6JRWvSpjUhimL4s+4X0eMMG3HYsZbVO3 q5aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Qzpn3X7YSU7kqDgBL/msm7A2QFpd96QjV7OFVFdJdDc=; b=FJ1ZvpqXjVrAwbSBi2Ut0ui3J1n6n81liYlgx5BqqQ4i67isBc79+phtuOigBslqSx NzXQeQAqWGORPTxF2UP+j95z4lD31aMBvj0jBGevDTP7S+I4vK2+qReEyNyG1CZK8Zob tlZaRvO63OUjbk8KaOQdVRI6fTOb7NojmtHQ5NEk53VkCfswC+dzgNb4A/Pv7blqSDkK iQ1rZleIU210oITVTn2ckOl2JqK18+z1p8+u3kkgVcIlO82iTm+/sWsvWZqWqFVk9h/j xRYtQF7CxvHCRbn83ltnVcNy1cIOpgyFjvX8bHfirs3XkxCewCI+Fum+ND0e6ScoTpso Ziog== X-Gm-Message-State: AOAM533sAeARDpwDexa9dF1xTzY9s4lmnDt1L5N/SdHkwE+odyf2Fv2c kMVrO0oB0ca1Xjog7WjBjiU= X-Google-Smtp-Source: ABdhPJzUoNgZFCQUF0K5G5fiyEY5lvNE4xEEfZC79YJ2ioGRMHVcVJlggzrA/3UacmYTFkoQAAzbtQ== X-Received: by 2002:a7b:c097:: with SMTP id r23mr8795672wmh.193.1638382899462; Wed, 01 Dec 2021 10:21:39 -0800 (PST) Received: from kista.localdomain (cpe-86-58-29-253.static.triera.net. [86.58.29.253]) by smtp.gmail.com with ESMTPSA id f7sm604705wri.74.2021.12.01.10.21.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Dec 2021 10:21:39 -0800 (PST) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Jernej Skrabec Subject: [PATCH 2/5] dt-bindings: arm: sunxi: Add Tanix TX6 mini Date: Wed, 1 Dec 2021 19:21:15 +0100 Message-Id: <20211201182118.1213806-3-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211201182118.1213806-1-jernej.skrabec@gmail.com> References: <20211201182118.1213806-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_102141_316190_8CD41BCE X-CRM114-Status: UNSURE ( 9.82 ) 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 Tanix TX6 mini is, as its name suggest, very similar to Tanix TX6, but with less features. It misses bluetooth support, it has less RAM, wifi supports only 2.4G, it comes with different IR remote, etc. Signed-off-by: Jernej Skrabec --- 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 889128acf49a..c8a3102c0fde 100644 --- a/Documentation/devicetree/bindings/arm/sunxi.yaml +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml @@ -808,6 +808,11 @@ properties: - const: oranth,tanix-tx6 - const: allwinner,sun50i-h6 + - description: Tanix TX6 mini + items: + - const: oranth,tanix-tx6-mini + - const: allwinner,sun50i-h6 + - description: TBS A711 Tablet items: - const: tbs-biometrics,a711 From patchwork Wed Dec 1 18:21:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 12694376 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 66D57C433EF for ; Wed, 1 Dec 2021 18:23:55 +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=GJSXEeqpR+VhgqHcY7E7Su8G3Wst12ncmN6bOr+WItw=; b=UVd+wioiG/4g/b VzC1/FofyX8TscnCxxPBYE1Fziirh88xxhOOIce+RMJw6YIxMnBhee5JnViklqyQt95IgxHrdSwze 1FqDjJqH9h7Vpdgu2rGaXoKfzVMf7a8Nr2QRUyRB90he8kxb6LO4kJwo53APnRO4dADcZ6LK10W6H mKrdTTtOxfiucdxTkrqCUMsb9rl0tRSuytSowRjZb5sS89J7cux7jy60CdmHt60kOx0zmM3mqGpV9 A5NsJOr06DoSGt90+8MyzQTlgrRB0rnr4Ux6EEDTddFLuUe1woi4i3tmICUq9wf9zVuRnG7qw87cI WLWJidnq/bRZr/2JAXuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msUFE-009k37-A1; Wed, 01 Dec 2021 18:22:16 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msUEi-009jsj-Rv for linux-arm-kernel@lists.infradead.org; Wed, 01 Dec 2021 18:21:46 +0000 Received: by mail-wm1-x32a.google.com with SMTP id m25-20020a7bcb99000000b0033aa12cdd33so1350646wmi.1 for ; Wed, 01 Dec 2021 10:21:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oj33o1gGh0gN+CnURlKi1LWyJrpHKuLFBRHdEYnjbPA=; b=QM285lZA63Qd8dB3mPUlj+MLgBFaPa6KFAVyVLqCMhzrBFI03xniB+8BYEm2pcTRit UJHwj8wm/T3oe0EOFOAaY2OLHqhCuJ6anzMJj1lOJmqS+nYJYGFj8oGZsbeXpgnk4UDE 2xNOlXtbdeILjJF/3I71fZtk//fuZVKtzvvJ0ltBSitJ46Aza9473HlhIHQoR1IUNskk XNRbXmvO7cnWW7KGige+w8+z0deNG8f8DfiQ7duF9s7MUqPB7BlQFekZ4Ck6aVrMYi0j gJLKa5nFQQ9LRuxIkRq8XoVDf4tmSNFipdwcryllz4dU6tygO87QOalzWJE29uJJyhvT G8/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oj33o1gGh0gN+CnURlKi1LWyJrpHKuLFBRHdEYnjbPA=; b=wxVS+JRGvMDOl+9wsyqy/CTqIzRZfHVDrVb7HVfPKJ5C1AQ5Sz7pqTAfjueHEdtsQs urCCj8Qd5RMo/lx+IHRKB0qKYP5sZj6bavh9a3pl+GqqTKmXOoqjfrPn16j54X6VaM84 8aT5CIcCRgA3F8HTjo1bVt5FDLBT1Mm7S0kwQmy/4VF+OyuPDCq3VxNIdHcujViSDXrv s/ZV27LsE/x1h1AUdr/kR1CrrP4HDvc55PtTHMu5n+28ehKR/MRh/SpUl2xq3/AN/yYW xi5fUFHFz6uLTY00k/RejgWMUAR88Ui97hW4uyoj0e+L3G+QqWalURfuniV2hcg1JnF1 QFlg== X-Gm-Message-State: AOAM531k0oa3/33LaWaMFDvOjABWOcVejhY1HEGgQA6yY2RtBQKtBllG DBH36pJnUv6+g4yLmq/4Too= X-Google-Smtp-Source: ABdhPJzjXWpq/AyOz0Xy0C56UpP7dIFAZxQco8yWsp5qtgDwdNwytWnyUS8pU8DaUKx/FxEAx9Dh9w== X-Received: by 2002:a05:600c:294c:: with SMTP id n12mr9009559wmd.71.1638382903766; Wed, 01 Dec 2021 10:21:43 -0800 (PST) Received: from kista.localdomain (cpe-86-58-29-253.static.triera.net. [86.58.29.253]) by smtp.gmail.com with ESMTPSA id f7sm604705wri.74.2021.12.01.10.21.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Dec 2021 10:21:43 -0800 (PST) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Jernej Skrabec Subject: [PATCH 3/5] arm64: dts: allwinner: h6: Add Tanix TX6 mini dts Date: Wed, 1 Dec 2021 19:21:16 +0100 Message-Id: <20211201182118.1213806-4-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211201182118.1213806-1-jernej.skrabec@gmail.com> References: <20211201182118.1213806-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_102144_928617_2AED4086 X-CRM114-Status: GOOD ( 14.40 ) 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 Tanix TX6 mini is less capable version of Tanix TX6 although it comes with some features not present on Tanix TX6. Basic specs: - H6 SoC - 2 GiB DDR3 RAM - HDMI - SPDIF - 2x USB - analogue audio - CVBS - SD card - IR remote - LED display - fast ethernet - XR819 wifi - 16 GiB eMMC Currently supported features doesn't differ that much from Tanix TX6, but that will change soon. Signed-off-by: Jernej Skrabec --- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../dts/allwinner/sun50i-h6-tanix-tx6-mini.dts | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6-mini.dts diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile index a96d9d2d8dd8..8fa5c060a4fe 100644 --- a/arch/arm64/boot/dts/allwinner/Makefile +++ b/arch/arm64/boot/dts/allwinner/Makefile @@ -37,3 +37,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-model-b.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-tanix-tx6.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-tanix-tx6-mini.dtb diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6-mini.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6-mini.dts new file mode 100644 index 000000000000..08d84160d88f --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6-mini.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2021 Jernej Skrabec + +/dts-v1/; + +#include "sun50i-h6-tanix.dtsi" + +/ { + model = "Tanix TX6 mini"; + compatible = "oranth,tanix-tx6-mini", "allwinner,sun50i-h6"; +}; + +&r_ir { + linux,rc-map-name = "rc-tanix-tx3mini"; +}; From patchwork Wed Dec 1 18:21:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 12694377 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 8A701C433EF for ; Wed, 1 Dec 2021 18:24:51 +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=15sL81XZ6XhEPYM7ybNVTZ0m3yDIV2mdyKxay/9hIyo=; b=3scodgj8TlIo0x Uhxf8rncXRSivmqmdFUVf4ExOnOYmZv+cJGU81P7mSBc21WW+KpQ6bP/5X42mQTSxbuSetm/mD8Ff zuH8rtQ8Rprt88B3Xu1IXiAmAYY7K8r6VXpGDnoqc5eaWpmEpYMPexdTkvR9w7PkNu5ThFAlwKz2y KMiayyatUIh4W0SCUJcjsmjUsx/t811tLRY2F/v7DwxCQHogAbhlpxQ05ZeKLsEC4cCWJ3QNjUw9v 8JDLLagM37BFkcnOBfza8vi0mviayYnKyM3aDeMLxpUwle6AgB9VRKTT92WIw9pfu/1rc70764Fz/ E/LD95NnUH03siKj96qw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msUGI-009kWs-3c; Wed, 01 Dec 2021 18:23:22 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msUEo-009juD-8Y for linux-arm-kernel@lists.infradead.org; Wed, 01 Dec 2021 18:21:51 +0000 Received: by mail-wm1-x331.google.com with SMTP id 137so21162088wma.1 for ; Wed, 01 Dec 2021 10:21:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gfaLjrdMaBtEBA6gW3vzSiLmG5RGlxbWPlwFCA3b58U=; b=hjXRECTmt3QwxBwLLnhgBiEI0L5akGhC0tr7krj/gFDT22AYR2ULra1IoJgQMtMz7X YI331nOul8a+jDq0lt3YzzjizQQJ0IiB1XBfoewkHiqFbgtM8WIHhl1PNo7OnWhqvGrr yYbLWhx9KF8uESHrks2xTAQuq/r0oV+5OzcKGyuNpWorxB4QEqQaXIOmyPg7zB7euhBC 6ZUSa0VyjBunzlnTxnnjetsAqOU1mF8KJAG4ZMPssfbO8xlKCBNPSXYUc2KaL4tQiCtM kt2TdIEE7Yu9oRbNWncLFwbksICPqb8R/K1AETHggO/Kgm+SDDy0vhfSZff2T5pBpBWG Ne1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gfaLjrdMaBtEBA6gW3vzSiLmG5RGlxbWPlwFCA3b58U=; b=o7Pmkp+lJYgelRrts/JbSLs0aNw4KxDCkEEM1VcTjQ5jRjOUVKoPXzvXEC/7NKqjCP QEWhZnvJBEELRqR3P3EHDtsXM6s5uHeQk8dfMcY39HU9Nz0mPdFFk+ikF5QBlZ4ai2JF 1c8/E9Puc4gEPfGre7hAm0srFkhdg2ZQQzDwbJ7HR4XaopyhhVA4xMJ67KbwMvcOqV/I 9J8kkbLQcTeqWSFl8sHSaFFeA2aA+4g1lhELs+sznWcRtwLkqPdEsQlLXRyjfrm482vA u94YjgBmwdURcrKObfFWUqkEXnHosypEM+8j2c3pmiLDZNkQf0pP0aKq0KCqEVup+WjB p3YQ== X-Gm-Message-State: AOAM530LJn3a+nCJt8gYVO8Q6quIepudJFkvGq7uWd+2wmxAyZoGWmj2 qhkiYrw8QwdoMbYkIe+v85A= X-Google-Smtp-Source: ABdhPJwHMXO+np1LQE1gqerHfoqcLb/cmi07fe92xjTe0mj3fR0IGiphnTzvbOkCTqi1e0kQCZqATw== X-Received: by 2002:a7b:c097:: with SMTP id r23mr8796600wmh.193.1638382908605; Wed, 01 Dec 2021 10:21:48 -0800 (PST) Received: from kista.localdomain (cpe-86-58-29-253.static.triera.net. [86.58.29.253]) by smtp.gmail.com with ESMTPSA id f7sm604705wri.74.2021.12.01.10.21.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Dec 2021 10:21:48 -0800 (PST) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Jernej Skrabec Subject: [PATCH 4/5] arm64: dts: allwinner: h6: tanix: Add MMC1 node Date: Wed, 1 Dec 2021 19:21:17 +0100 Message-Id: <20211201182118.1213806-5-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211201182118.1213806-1-jernej.skrabec@gmail.com> References: <20211201182118.1213806-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_102150_332009_3FAF9DD1 X-CRM114-Status: GOOD ( 11.68 ) 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 Both, Tanix TX6 and Tanix TX6 mini, have SDIO wifi module, albeit different. However, driver can be autoprobed via SDIO ID. Add MMC1 node, so kernel can discover wifi module and load driver for it. Signed-off-by: Jernej Skrabec --- .../boot/dts/allwinner/sun50i-h6-tanix.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix.dtsi index 166b6a7a586c..edb71e4a0304 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix.dtsi @@ -75,6 +75,13 @@ spdif_out: spdif-out { #sound-dai-cells = <0>; compatible = "linux,spdif-dit"; }; + + wifi_pwrseq: wifi-pwrseq { + compatible = "mmc-pwrseq-simple"; + clocks = <&rtc 1>; + clock-names = "ext_clock"; + reset-gpios = <&r_pio 1 3 GPIO_ACTIVE_LOW>; /* PM3 */ + }; }; &cpu0 { @@ -121,6 +128,15 @@ &mmc0 { status = "okay"; }; +&mmc1 { + vmmc-supply = <®_vcc3v3>; + vqmmc-supply = <®_vcc1v8>; + mmc-pwrseq = <&wifi_pwrseq>; + bus-width = <4>; + non-removable; + status = "okay"; +}; + &mmc2 { vmmc-supply = <®_vcc3v3>; vqmmc-supply = <®_vcc1v8>; From patchwork Wed Dec 1 18:21:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 12694378 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 2B580C4332F for ; Wed, 1 Dec 2021 18:25:28 +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=VxzGnl+xii9upFH4K/j6QfdIBV+RG97xQ0Kwux6sat4=; b=xn4UXdk1EAQYXR Odr/9Ed8DinMaUw0NNDHYwNGIHEEhfvGn1lDOFbh/Fg9JMB6DH+4MCbsaH7U8Xt1gvvtEc3kCIiZ4 Zis1VYXTZdbj2m3mAycRGFJjE7KEPL71Jg6JHng9BwdEoIzIKT2xK12Mhr1Y/cDpLxHDnudb0R0K6 pqWcBGwfdqTR82tukHwdk4xjQHzHWWcZxo22oMod4LHt3hF3MAsHmSqNhU4ghLpo4JwQH0SraXZP9 I3nYhGpGcAKfll9CvorTzN8i8TIR50jtjegvEulKLfAwNIFugK30rC3Rg8jTtDsHmMFqTAFMoV11J HXmew3mbD5olKCgVYSNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msUGz-009kum-41; Wed, 01 Dec 2021 18:24:05 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msUEt-009jw8-BD for linux-arm-kernel@lists.infradead.org; Wed, 01 Dec 2021 18:21:56 +0000 Received: by mail-wm1-x32f.google.com with SMTP id g191-20020a1c9dc8000000b0032fbf912885so1819543wme.4 for ; Wed, 01 Dec 2021 10:21:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0znfekrUInn5HV1vA+VAV/rcSYZjyQOcwwYpPx9vb0c=; b=qQm5NiCFVGKxg2ccCKmwp5W8k1nsd/J2wfjXDa8iUyIz0D67VPHMn0pI11aUE/QPmK Dc44HdjJw7MQFOxEAD6mqoB8XVSN3cR9TJjneDBDecLsVYuV4IWSV4v9pmfOKsUHGk/0 d9UK+D17jD10gEKT1ifKjKeQgBAhquZMnwctWq+sEyxn2+LkOp7VV41AFmVRsrFM8dfN 6ASlyuAX6BoxZMSMjwiv0jW34bvFbnCqofmmgcVpvcLFQXGvwat5LnQ6eH8wlWOYnvLq 33ReiiWIiXS1NAASeIH8wP47Ri610zHLGoJ05pKDkOvOZaIdNpQDc+sd1rqfDxNDhav6 dnJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0znfekrUInn5HV1vA+VAV/rcSYZjyQOcwwYpPx9vb0c=; b=h8EQZ6XI+/s/7S4RAJl+Mvz0ft0g8A663XxLL/5ccu4/qArM596bt4PeCpXkWh3ABb qKa5PH6yBb3WpO3W4ldlEN/Yz/Da79CsA/Qr4Z45pV0xLsQbVlrbY9kZeecinVtdm9WN 9REXMf6/OURpHzZ7RB1pkl/PVA7UxjNjNmlc1XkQ4jsaRALtZvIWBlE3z/NQ0u1rOyoi oe2S2e0BanrAR79tCVbaypETmby8hcmHEgiDEuUJ9vXMIYIsPtHoYIgURYakj9pD5SR9 v8RUWAZMJbCsXpudNtbFKIC63BUw/m8El0Pe0+r4Jde4SZvQkvHUo/H354GlcVsUxQZq AqLg== X-Gm-Message-State: AOAM530LZU77ow9CCf0tWUYeEUidRVU6n0ZGZzGbDcuM9hRFs4pSxnmQ ekwkPC64RiwZtNV/qxzET3k= X-Google-Smtp-Source: ABdhPJzrKzPCMz5gik93CwtDXbaqyj6tOPCbkZhxB4yRL/zcWPPLgGW8dLsEpVoOv7BFWWTNZI5qIA== X-Received: by 2002:a1c:ac46:: with SMTP id v67mr9069048wme.182.1638382913573; Wed, 01 Dec 2021 10:21:53 -0800 (PST) Received: from kista.localdomain (cpe-86-58-29-253.static.triera.net. [86.58.29.253]) by smtp.gmail.com with ESMTPSA id f7sm604705wri.74.2021.12.01.10.21.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Dec 2021 10:21:53 -0800 (PST) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Jernej Skrabec Subject: [PATCH 5/5] arm64: dts: allwinner: h6: tanix-tx6: Enable bluetooth Date: Wed, 1 Dec 2021 19:21:18 +0100 Message-Id: <20211201182118.1213806-6-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211201182118.1213806-1-jernej.skrabec@gmail.com> References: <20211201182118.1213806-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_102155_411301_71DB421F X-CRM114-Status: GOOD ( 10.57 ) 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 Tanix TX6 comes either with RTL8822BS or RTL8822CS wifi+bt combo module. Wifi part is already enabled in tanix DTSI. Let's enable also bluetooth. Signed-off-by: Jernej Skrabec --- .../boot/dts/allwinner/sun50i-h6-tanix-tx6.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts index a6e69f4b2666..9a38ff9b3fc7 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts @@ -13,3 +13,17 @@ / { &r_ir { linux,rc-map-name = "rc-tanix-tx5max"; }; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; + uart-has-rtscts; + status = "okay"; + + bluetooth { + compatible = "realtek,rtl8822cs-bt"; + device-wake-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */ + host-wake-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */ + enable-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */ + }; +};