From patchwork Wed Feb 17 20:59:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 12092371 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6C33C433E0 for ; Wed, 17 Feb 2021 21:02:06 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6E85D64DFF for ; Wed, 17 Feb 2021 21:02:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6E85D64DFF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=BeKx5isljNU/w2qdGORJBvXhF0zySD6RnUGdmmETvOg=; b=2eyHTs5I87Hv2wVseKvy1AM3B0 2TslVjeA5sKh7rOi5jcN2wFMQpupkmJxFlyv/EIZ64KAqcUxm4AoCTTCyWxUYWsTs/Je5OHuct7Am nnVu/l6wu80iy7O6DDYRo0whdaYXMZCpJdMd47c6f/UnTshLhtPAHowPl/26kbb9Auh+00N08ftXH y07HryF0Gq/86XXUUKRr+DXq8cuqMVbQaOqXMo0ffxDAufp1H8O+BNDld1pC0B1BVIyxK9hZRQGPZ ZL0lyD2JJcT8kkHKuFvKMV9pwWViqRt+/KBqiH9oJT7L3xGLTCcmBRoQ81+QJZ6rP3UAvIpLnxsZZ jOSK3Anw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCTve-0004QC-Ic; Wed, 17 Feb 2021 21:00:11 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCTvZ-0004OE-8u for linux-arm-kernel@lists.infradead.org; Wed, 17 Feb 2021 21:00:07 +0000 Received: by mail-wm1-x331.google.com with SMTP id m1so5130735wml.2 for ; Wed, 17 Feb 2021 13:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HvaxP01fXW2011ehS9LhieDsJ7uIvVK/63xeZZP7Nq4=; b=dayfpS1ux0p+igYf4Zk1yTMOllrNLO8ZCTwTQ58p/4DKftJpBGledA0yS/1t+4PInP D4B3TD5BsTNUqumlY0NanLZJqnFNTksfM4SEE5IfyoqDhVTDool0AqneCHVEwB3vZ7gd bUlR478TF6GowcHnF5D9Lh0zdAe8KDs6sky7MOc5M9Nk83qvAAd1nh3573fSxJ5WKc7A 7vobl7dTQiP092+d2fL1CHO469jDmoHfwaPPkOedIF80yTF76dOYtyX2JJofDEK7dusS 9zq5D4yqV9Mt3HqpxqmGun3+3FJBfvrbisumg6j3lUOqdaVfD5/PUxZHQwElVM+xmmMf DoLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HvaxP01fXW2011ehS9LhieDsJ7uIvVK/63xeZZP7Nq4=; b=W2xXE9VkgsBbjPcuyaB5iLTnbhSnIoznqayGPk06o3mFqUrR+AvGSIDAvnMxwVIdWR wdoLywVJK14ViaYfO8g9nEelx91Q68gBM3Vyg2bH3im728t/qrXvAzOfaekUmiPeSGxE OTnVBRpM3cLW8A0E7mLRo/OPFzr7xkg1qXQAuj8K6tgjWlNjBJmVroq3H0x/QcAdsYxr bJFxgAolJdCYryjj1ASqFLn6dtyf/iQC3uGH0nzQirXGRwmYB0W09+gJC2y1UNl9NIs5 kjyhsmKULVzcgEzoV3GYTgAcsAXLpqFwGykjn2OaiRMgkpMYWUEWbx7q1AzCypTe4D6w Bf2A== X-Gm-Message-State: AOAM530EQn9WkvHWk8LkhDPzFai/LRhJGs+K3Q8cDlUX8PTELzFKMA4K X+/C2+EFdr5IE93SuOLeRACvDw== X-Google-Smtp-Source: ABdhPJxt/AxJFjVbv2FOJHM7b+QucXIKyT6iLc6VNmIhtakJ96SDtbVYTAi/dltJPvblGoY+aUmpSA== X-Received: by 2002:a1c:7301:: with SMTP id d1mr597667wmb.33.1613595602384; Wed, 17 Feb 2021 13:00:02 -0800 (PST) Received: from localhost.localdomain ([88.160.162.107]) by smtp.gmail.com with ESMTPSA id m2sm4140264wml.34.2021.02.17.13.00.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Feb 2021 13:00:01 -0800 (PST) From: Fabien Parent To: Rob Herring , Matthias Brugger , Sean Wang Subject: [PATCH 1/2] dt-bindings: arm64: dts: mediatek: Add mt8183-pumpkin board Date: Wed, 17 Feb 2021 21:59:43 +0100 Message-Id: <20210217205945.830006-1-fparent@baylibre.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210217_160005_473357_F86951C9 X-CRM114-Status: GOOD ( 11.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, mkorpershoek@baylibre.com, linux-kernel@vger.kernel.org, Fabien Parent , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add binding documentation for the MT8183 Pumpkin board. Signed-off-by: Fabien Parent Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index 53f0d4e3ea98..8f5a625cfb3d 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -123,6 +123,10 @@ properties: - const: google,krane-sku176 - const: google,krane - const: mediatek,mt8183 + - items: + - enum: + - mediatek,mt8183-pumpkin + - const: mediatek,mt8183 additionalProperties: true From patchwork Wed Feb 17 20:59:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 12092373 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C6E0C433E6 for ; Wed, 17 Feb 2021 21:02:12 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B1F6864DFF for ; Wed, 17 Feb 2021 21:02:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B1F6864DFF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=skKWQmqVJX3F07pZPDrWhy2jPIqCL02Q8/+D334YsQw=; b=vZbK1aJm3WVMMpcQ0Yi83K8QH xLDfVDFTBxl56/ySY4kAAmDU3lvKKO/zqLflI4LTqC3dtADIdyNb8doQVd+lB2SvOFQxlmTl0WnNE ujux2VWGwrQvwOylSViL3fpAtMNOe3YrQ9kM/XSFY9hqmTgDdRGfv4NJyH0IBY2Px2vA49OmuwQVx phdJYD1RU04yqTnOQaaIIYbMgeClQc1mLueZW6JqrV3IXUJMzetA0oRNcUtj5c/XdrcK+ckN1WvQL j579qbINGfknFzYyokvTEDlZPrepnkkltN46DZtKmVlwgzvryxttwj2748BlMbaie7M40ax6nB7yU P+xi7mL3Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCTvi-0004RT-KS; Wed, 17 Feb 2021 21:00:14 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCTvZ-0004OU-Hx for linux-arm-kernel@lists.infradead.org; Wed, 17 Feb 2021 21:00:09 +0000 Received: by mail-wm1-x32a.google.com with SMTP id a132so3419470wmc.0 for ; Wed, 17 Feb 2021 13:00:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WRHkkoe+YsEGr5m8KHM4pzifUeDMlV9wrEew71SHtm4=; b=qAs7LCg1JZiil8M/j0ksYX6qiLCWEnN7GGUcpxmlJOKlidR2x6KDWLY+oI4u8VGmio SXbk0LC2ySBEhrIdhSmHC5VGfWdxgQAzEaVulOnTyPEZVg6vPw8s1SuRODGB7yEUaLnr uCT/toFYketAsypthIWy4oJ9U3UUY1poG/wZh6c3OTRYpxaPmp+jTJh6pbkWV5DuH6MG AaH3hmRv9Qgg5i7DhA76RzgGTMRtlBY7uMZkBFHCuqFriLw5VXdL0G16UfGV0qaMhMKo XIgV8CDooVLeaSz53wrIZ/d1J+jSb35VC812zuxVgv/2bBJ5HbmluT3RHTKNPxY3RkZ/ Nnbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WRHkkoe+YsEGr5m8KHM4pzifUeDMlV9wrEew71SHtm4=; b=WkgzHDELiwQTo2UZBWAQUk4ds1ogKmNTos90EjFgYlq3CJre+jXi6r203TkvYGcEfH xlOe/oMnOkAeSEWJjinXVyLFpxGd31Dgcu/hk6oGDeXpu/TQRRm3MyExl/QLCvCSup8v EMZNDlmsmvWX0vVywyZBcOw9rf/IStBzxMtyLUJfYpPsL6oedxLIma4wPjaI4dyuPYLu ynY4zGSE0373bCk11OBAPWkfYqj+mV5dt8TtFiP5cEWEUJ3yykaqbIdFmGilcaUUBQUa Gk2J1qyD5Ab3EfXEzaBEC+GLdf0s6sivLdwauHpr5iaxkPdI7bgfx5kSlYDC9aIGzEp/ YlRQ== X-Gm-Message-State: AOAM53344CokW62ql+ku38rLj0cCnBATjJhmk4+L9eZ80D7BNB3PIS+Q 9VH4CjoN/Yj78rYZCIeIdq24SA== X-Google-Smtp-Source: ABdhPJyHbYXXHeCWoxhYg9AdJJ6TzM39rpwzdzKKR+yd5RT7WKfveF0V9o/uaQ8ZambGDYrXdJdQNw== X-Received: by 2002:a05:600c:19cb:: with SMTP id u11mr618663wmq.5.1613595604307; Wed, 17 Feb 2021 13:00:04 -0800 (PST) Received: from localhost.localdomain ([88.160.162.107]) by smtp.gmail.com with ESMTPSA id m2sm4140264wml.34.2021.02.17.13.00.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Feb 2021 13:00:03 -0800 (PST) From: Fabien Parent To: Matthias Brugger , Rob Herring Subject: [PATCH 2/2] arm64: dts: mt8183: add mt8183 pumpkin board Date: Wed, 17 Feb 2021 21:59:44 +0100 Message-Id: <20210217205945.830006-2-fparent@baylibre.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210217205945.830006-1-fparent@baylibre.com> References: <20210217205945.830006-1-fparent@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210217_160005_667898_85CB4784 X-CRM114-Status: GOOD ( 17.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, mkorpershoek@baylibre.com, linux-kernel@vger.kernel.org, Fabien Parent , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The MT8183 Pumpkin board is manufactured by OLogic and includes a MediaTek MT8183 SoC with 2GB of RAM. The board provides the following IOs: * 2 USB Type-A ports * Ethernet * Serial UART over micro-USB port * 1 USB Type-C dual role port * 1 USB Type-C power only port * 1 Jack for audio * RPI compatible header * MT7668 wiresless chip with Wi-Fi AC and BT 5 * Micro-HDMI port * 2 connectors for CSI cameras * 1 connector for DSI display * 1 JTAG port Signed-off-by: Fabien Parent --- arch/arm64/boot/dts/mediatek/Makefile | 1 + .../boot/dts/mediatek/mt8183-pumpkin.dts | 378 ++++++++++++++++++ 2 files changed, 379 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index 18f7b46c4095..331b2e9f72fd 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -14,5 +14,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-elm-hana-rev7.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku176.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-pumpkin.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts new file mode 100644 index 000000000000..eb6e595c2975 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts @@ -0,0 +1,378 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2021 BayLibre, SAS. + * Author: Fabien Parent + */ + +/dts-v1/; + +#include +#include "mt8183.dtsi" +#include "mt6358.dtsi" + +/ { + model = "Pumpkin MT8183"; + compatible = "mediatek,mt8183-pumpkin", "mediatek,mt8183"; + + aliases { + serial0 = &uart0; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x80000000>; + }; + + chosen { + stdout-path = "serial0:921600n8"; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + scp_mem_reserved: scp_mem_region { + compatible = "shared-dma-pool"; + reg = <0 0x50000000 0 0x2900000>; + no-map; + }; + }; + + leds { + compatible = "gpio-leds"; + + led-red { + label = "red"; + gpios = <&pio 155 GPIO_ACTIVE_HIGH>; + default-state = "off"; + }; + + led-green { + label = "green"; + gpios = <&pio 156 GPIO_ACTIVE_HIGH>; + default-state = "off"; + }; + }; + + ntc@0 { + compatible = "murata,ncp03wf104"; + pullup-uv = <1800000>; + pullup-ohm = <390000>; + pulldown-ohm = <0>; + io-channels = <&auxadc 0>; + }; +}; + +&auxadc { + status = "okay"; +}; + +&i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c_pins_0>; + status = "okay"; + clock-frequency = <100000>; +}; + +&i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c_pins_1>; + status = "okay"; + clock-frequency = <100000>; +}; + +&i2c2 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c_pins_2>; + status = "okay"; + clock-frequency = <100000>; +}; + +&i2c3 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c_pins_3>; + status = "okay"; + clock-frequency = <100000>; +}; + +&i2c4 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c_pins_4>; + status = "okay"; + clock-frequency = <100000>; +}; + +&i2c5 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c_pins_5>; + status = "okay"; + clock-frequency = <100000>; +}; + +&i2c6 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c6_pins>; + status = "okay"; + clock-frequency = <100000>; +}; + +&mmc0 { + status = "okay"; + pinctrl-names = "default", "state_uhs"; + pinctrl-0 = <&mmc0_pins_default>; + pinctrl-1 = <&mmc0_pins_uhs>; + bus-width = <8>; + max-frequency = <200000000>; + cap-mmc-highspeed; + mmc-hs200-1_8v; + mmc-hs400-1_8v; + cap-mmc-hw-reset; + no-sdio; + no-sd; + hs400-ds-delay = <0x12814>; + vmmc-supply = <&mt6358_vemc_reg>; + vqmmc-supply = <&mt6358_vio18_reg>; + assigned-clocks = <&topckgen CLK_TOP_MUX_MSDC50_0>; + assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_CK>; + non-removable; +}; + +&mmc1 { + status = "okay"; + pinctrl-names = "default", "state_uhs"; + pinctrl-0 = <&mmc1_pins_default>; + pinctrl-1 = <&mmc1_pins_uhs>; + bus-width = <4>; + max-frequency = <200000000>; + cap-sd-highspeed; + sd-uhs-sdr50; + sd-uhs-sdr104; + cap-sdio-irq; + no-mmc; + no-sd; + vmmc-supply = <&mt6358_vmch_reg>; + vqmmc-supply = <&mt6358_vmc_reg>; + keep-power-in-suspend; + enable-sdio-wakeup; + non-removable; +}; + +&pio { + i2c_pins_0: i2c0 { + pins_i2c{ + pinmux = , + ; + mediatek,pull-up-adv = <3>; + mediatek,drive-strength-adv = <00>; + }; + }; + + i2c_pins_1: i2c1 { + pins_i2c{ + pinmux = , + ; + mediatek,pull-up-adv = <3>; + mediatek,drive-strength-adv = <00>; + }; + }; + + i2c_pins_2: i2c2 { + pins_i2c{ + pinmux = , + ; + mediatek,pull-up-adv = <3>; + mediatek,drive-strength-adv = <00>; + }; + }; + + i2c_pins_3: i2c3 { + pins_i2c{ + pinmux = , + ; + mediatek,pull-up-adv = <3>; + mediatek,drive-strength-adv = <00>; + }; + }; + + i2c_pins_4: i2c4 { + pins_i2c{ + pinmux = , + ; + mediatek,pull-up-adv = <3>; + mediatek,drive-strength-adv = <00>; + }; + }; + + i2c_pins_5: i2c5 { + pins_i2c{ + pinmux = , + ; + mediatek,pull-up-adv = <3>; + mediatek,drive-strength-adv = <00>; + }; + }; + + i2c6_pins: i2c6 { + pins_cmd_dat { + pinmux = , + ; + mediatek,pull-up-adv = <3>; + }; + }; + + mmc0_pins_default: mmc0-pins-default { + pins_cmd_dat { + pinmux = , + , + , + , + , + , + , + , + ; + input-enable; + drive-strength = ; + mediatek,pull-up-adv = <01>; + }; + + pins_clk { + pinmux = ; + drive-strength = ; + mediatek,pull-down-adv = <10>; + }; + + pins_rst { + pinmux = ; + drive-strength = ; + mediatek,pull-down-adv = <01>; + }; + }; + + mmc0_pins_uhs: mmc0-pins-uhs { + pins_cmd_dat { + pinmux = , + , + , + , + , + , + , + , + ; + input-enable; + drive-strength = ; + mediatek,pull-up-adv = <01>; + }; + + pins_clk { + pinmux = ; + drive-strength = ; + mediatek,pull-down-adv = <10>; + }; + + pins_ds { + pinmux = ; + drive-strength = ; + mediatek,pull-down-adv = <10>; + }; + + pins_rst { + pinmux = ; + drive-strength = ; + mediatek,pull-up-adv = <01>; + }; + }; + + mmc1_pins_default: mmc1-pins-default { + pins_cmd_dat { + pinmux = , + , + , + , + ; + input-enable; + mediatek,pull-up-adv = <10>; + }; + + pins_clk { + pinmux = ; + input-enable; + mediatek,pull-down-adv = <10>; + }; + + pins_pmu { + pinmux = ; + output-high; + }; + }; + + mmc1_pins_uhs: mmc1-pins-uhs { + pins_cmd_dat { + pinmux = , + , + , + , + ; + drive-strength = ; + input-enable; + mediatek,pull-up-adv = <10>; + }; + + pins_clk { + pinmux = ; + drive-strength = ; + mediatek,pull-down-adv = <10>; + input-enable; + }; + }; +}; + +&mfg { + domain-supply = <&mt6358_vgpu_reg>; +}; + +&cpu0 { + proc-supply = <&mt6358_vproc12_reg>; +}; + +&cpu1 { + proc-supply = <&mt6358_vproc12_reg>; +}; + +&cpu2 { + proc-supply = <&mt6358_vproc12_reg>; +}; + +&cpu3 { + proc-supply = <&mt6358_vproc12_reg>; +}; + +&cpu4 { + proc-supply = <&mt6358_vproc11_reg>; +}; + +&cpu5 { + proc-supply = <&mt6358_vproc11_reg>; +}; + +&cpu6 { + proc-supply = <&mt6358_vproc11_reg>; +}; + +&cpu7 { + proc-supply = <&mt6358_vproc11_reg>; +}; + +&uart0 { + status = "okay"; +}; + +&scp { + status = "okay"; +}; + +&dsi0 { + status = "disabled"; +};