From patchwork Fri Mar 12 18:27:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tianling Shen X-Patchwork-Id: 12135789 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=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,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 C2E83C433DB for ; Fri, 12 Mar 2021 18:30:04 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 658E364F42 for ; Fri, 12 Mar 2021 18:30:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 658E364F42 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References:List-Owner; bh=Oicy644JuCAwLXIzxiPSKqW2cDP/6Yp8hskVzJ/M7YY=; b=EGUtUTO4dvGNQoqIhmaglnYqOF y/OqVJ9QJEcMIIiQIH0FYfe8y0mOTLwyQoCsxFIdVxGjl7GzCXWYdvu9GvWVEdvz6mpBoJOgV2N/j au6V+R/Fp3537jHiS17wV/gJ5hevsda09XvyXGSIzlURa4j7I2nHxrJ9VR2M0I40Y+Wzh9B0/zfbZ dmhveZ+1OwI6Nrf1Jm6Enfnys/UBtb+Ad03FL46fOVthWXc1q4b82lGWyWFigVDC8539e/v08xx4a vejbOUDHeBfDbFwHWF3xgxm39D86vImpjOgiRok1VEnfHKryMGxlvqAGpMnQMTSDgzVNYhn64BdlU yFb93gxA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lKmWS-00CC9g-Jc; Fri, 12 Mar 2021 18:28:28 +0000 Received: from mail-il1-x133.google.com ([2607:f8b0:4864:20::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lKmWO-00CC8b-Jx; Fri, 12 Mar 2021 18:28:26 +0000 Received: by mail-il1-x133.google.com with SMTP id b5so3412979ilq.10; Fri, 12 Mar 2021 10:28:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ze6w/eTCOz/OO2OOk3Zl0RLx/goZvKrUNfJf9efgDaQ=; b=bJyumMMvXzGYhWnVLS7lUDvseVzaqeK14xLUAzm3aK0I5TTnkDVQong9yduJ/Tlm2O zJ9AntNRqzvRYAeKEj7pjVXagUJd7g7u61RMIL6OGfQHuYfRLIAA/GFLKo2r8xpArGAh ePH+zQ2eWFMfDUM6XZe/EMcN0L7WF9D/6qmK25Nid5x2dE92j/QggC4Us1YsFYNmSCSU mgVsTXMYEX113brGbAPzVYSTgznjcJl5fDHkzTzyR1ufoi+dy2ucVjnuQuIoR47okmNF tktQNTQGTk7Ig+0ko0yMWH9Kkz5/HCzBhDg38tHsyab0LZN+DsWRHWZmJiLWAAJjuIyG QVAQ== 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=Ze6w/eTCOz/OO2OOk3Zl0RLx/goZvKrUNfJf9efgDaQ=; b=By9e9HyI5JsKsx/Unar9i2cOCS25PeVe4Iu4jhk4EriW6qpdZf5MkKO0BqL9ACCMRA L3NpJcWdkWRL1JntjFD+oz8YfoRmFSFVnc32FISG30bNFnFBPy6cgTBkxWSL5G5aM2wO 1oKAxvKGLjxbFgBzEAzgigYNISSFsyFroFZwjKmHReeT39a/Hhf4QhyNsQ/2qrpLr5fV rHjaOpUjHWtsLtucYu/pEd3hfO+w3qb/7t3gGVSwp1sHEGnKAQTP9P/Yg/dzYLRi7b9T VBII+BnDcabVw9GNXFc5XCHstozDLlgBVHdAlW3ePS8T9fe4NlAM9TMOAZ2Ah0D9IO/f M0EA== X-Gm-Message-State: AOAM530LzWsSikIPHDSQ8cB7V5zwZ9CLmY2SxtQhlwuwvscP3triXi6H YRkk14Febaln7evCcF3riS0= X-Google-Smtp-Source: ABdhPJx/8daUaRvyk6SF2ZZ5BxWN8dTS4tj6Ww+SiaGK6e/WxuzZvAty7d73XQ7XyLYoa1LaSJh71g== X-Received: by 2002:a05:6e02:1384:: with SMTP id d4mr3696040ilo.307.1615573700278; Fri, 12 Mar 2021 10:28:20 -0800 (PST) Received: from localhost.localdomain (tunnel525895-pt.tunnel.tserv15.lax1.ipv6.he.net. [2001:470:c:1200::2]) by smtp.googlemail.com with ESMTPSA id c5sm1415362ioi.0.2021.03.12.10.28.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 10:28:19 -0800 (PST) From: Tianling Shen X-Google-Original-From: Tianling Shen To: Rob Herring , Heiko Stuebner , Jagan Teki , Chen-Yu Tsai , Geert Uytterhoeven , David Bauer , Tianling Shen , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Johan Jonker , Michael Trimarchi , Marty Jones , Jensen Huang Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: Add doc for FriendlyARM NanoPi R4S Date: Sat, 13 Mar 2021 02:27:54 +0800 Message-Id: <20210312182755.14018-1-cnsztl@immortalwrt.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210312_182824_710876_2627AC81 X-CRM114-Status: GOOD ( 10.26 ) 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 From: Tianling Shen Add devicetree binding documentation for the FriendlyARM NanoPi R4S. Changes in v2: - Disable display for NanoPi R4S (reference commit: 74532de460ec) - Light "sys" LED on NanoPi R4S (reference commit: 833821eeab91) Signed-off-by: Tianling Shen --- Documentation/devicetree/bindings/arm/rockchip.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index c3036f95c7bc..4a6f772c1043 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -134,6 +134,7 @@ properties: - friendlyarm,nanopi-m4 - friendlyarm,nanopi-m4b - friendlyarm,nanopi-neo4 + - friendlyarm,nanopi-r4s - const: rockchip,rk3399 - description: GeekBuying GeekBox From patchwork Fri Mar 12 18:27:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tianling Shen X-Patchwork-Id: 12135791 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=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,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 C31C3C433E0 for ; Fri, 12 Mar 2021 18:30:10 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 677F764F42 for ; Fri, 12 Mar 2021 18:30:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 677F764F42 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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=desiato.20200630; 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=opbX99gnmT2vEHsrrvo05dZDbTvTOpDciqnLV8O1Ybg=; b=MuuG8v1czgaoV+gFC+nVtfHM4 sMY/WGKm/kfxXrYGqHBsTCFVbziGDIZJKjMObzJ+9SxFS7GTV7KgFb9m1skh9S4lnWTvwIQXst8Yi 5B9sxXmuO8r4oTIsktxfKfW9aziKUxoUoWljwc0qO/LSzZfswjR0IHDYIHu6TSw1UldPXrw03mwrS uYQ3PiKGQDWm/UbldjE0FpM+6qvl0YYcYi9/If+wmccFJ7Plz89bWxLk8G5QPJiObgrEfIeqzNJmQ GlRVKYy3TAM8FlPDi5fHFCV/tftz7x6SpmwbrGBKxhUgNcD38MGmS8dcMdXAVvmbXe9Qy8ljMaYWm QzCAbar+Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lKmWb-00CCBO-Ee; Fri, 12 Mar 2021 18:28:37 +0000 Received: from mail-io1-xd32.google.com ([2607:f8b0:4864:20::d32]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lKmWW-00CCA7-Oe; Fri, 12 Mar 2021 18:28:34 +0000 Received: by mail-io1-xd32.google.com with SMTP id a7so26713302iok.12; Fri, 12 Mar 2021 10:28:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iWNhe9dJQ3ag2eX70RL00e1AnWi27EMOiKtuadHWJ0Q=; b=eUUdDAvpkRkMI+utW0xNpVrfKnM86fWQOsZ6UqS+rsleepMMWr2xH2DK0H5LCx7zDa VJHuS6/5WcytSVqZSea6kwa2y5j1cpHDedPkX7X7yc3m95omrwUVbVzp+ufR9/y7jmGZ racJ2LqD24CDfKOnnSNwxs60QUqllEUY1sXJnLtFEh8geIOaMkBZWJQbloCrERoLiWUJ SafKKCLxOS8kSuVS5Qha0IJ5fZBVskGExo3+eMBynMgXRmLRoLfEHK8Ke1nDqmdm2POG Gtt/LeKl9m3Qswr4HCDJRZj62A2R9JNl6pHMPGojg0RU10ORbmjXl09xd5w1f/u7ruZN 1OiA== 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=iWNhe9dJQ3ag2eX70RL00e1AnWi27EMOiKtuadHWJ0Q=; b=b9TfqxNKZ+XAlEOMtKnIurIs3WJmhyZqJ3j2c5cEn+4MpAe/bSS7NoPhcNpAFmdopc ojB/dMkc+qTQOcuTd8luURTIizGW/aWPofaM9w27Gnme8hhYHn3XRVfA6WULAEVI8coe 6gt5i7ASvZxToO5a1QXdOQOXCvRY1qwtMg3o/urOpy4+fKRb9OMSdjXUIvmPNLyrDt8W WU4hs/7lkWkdewMWYpMBVE9pdYU1unSpS6ADyfpBwmoGGx5chJ1zakBygccTCNKPfIOr ZEgqxnIyCtoB5+5N3IHwsseQ/VKeRdeDY5u+YSDC+hqWafYxxEX4oeoyAfUIJXM83bHk G5Dg== X-Gm-Message-State: AOAM532pBm4SdBK35W/UvzXfCqYk3YPFWxSr4tDQddAMTRFRoMWJvlxS vwPbY1xpXQm38Eq1l1OsRV0= X-Google-Smtp-Source: ABdhPJwOYD/fFQCZr+WT/V/B/MdaYkVunLyBj7gDq/C87o9IX+iMMS6GvPklm/TBw0m+jZc97xHMCQ== X-Received: by 2002:a6b:5818:: with SMTP id m24mr409973iob.144.1615573711177; Fri, 12 Mar 2021 10:28:31 -0800 (PST) Received: from localhost.localdomain (tunnel525895-pt.tunnel.tserv15.lax1.ipv6.he.net. [2001:470:c:1200::2]) by smtp.googlemail.com with ESMTPSA id c5sm1415362ioi.0.2021.03.12.10.28.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 10:28:30 -0800 (PST) From: Tianling Shen X-Google-Original-From: Tianling Shen To: Rob Herring , Heiko Stuebner , Jagan Teki , Chen-Yu Tsai , Geert Uytterhoeven , David Bauer , Tianling Shen , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Johan Jonker , Michael Trimarchi , Marty Jones , Jensen Huang Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] rockchip: rk3399: Add support for FriendlyARM NanoPi R4S Date: Sat, 13 Mar 2021 02:27:55 +0800 Message-Id: <20210312182755.14018-2-cnsztl@immortalwrt.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210312182755.14018-1-cnsztl@immortalwrt.org> References: <20210312182755.14018-1-cnsztl@immortalwrt.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210312_182832_852294_C8A1CBDC X-CRM114-Status: GOOD ( 16.30 ) 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 From: Tianling Shen This adds support for the NanoPi R4S from FriendlyArm. Rockchip RK3399 SoC 1GB DDR3 or 4GB LPDDR4 RAM Gigabit Ethernet (WAN) Gigabit Ethernet (PCIe) (LAN) USB 3.0 Port x 2 MicroSD slot Reset button WAN - LAN - SYS LED [initial DTS file] Co-developed-by: Jensen Huang Signed-off-by: Jensen Huang [minor adjustments] Co-developed-by: Marty Jones Signed-off-by: Marty Jones [fixed format issues] Signed-off-by: Tianling Shen --- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3399-nanopi-r4s.dts | 183 ++++++++++++++++++ 2 files changed, 184 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index 62d3abc17a24..c3e00c0e2db7 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -36,6 +36,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopc-t4.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopi-m4.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopi-m4b.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopi-neo4.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopi-r4s.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-orangepi.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-pinebook-pro.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-puma-haikou.dtb diff --git a/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts b/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts new file mode 100644 index 000000000000..54183edb8cf1 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts @@ -0,0 +1,183 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * FriendlyElec NanoPC-T4 board device tree source + * + * Copyright (c) 2020 FriendlyElec Computer Tech. Co., Ltd. + * (http://www.friendlyarm.com) + * + * Copyright (c) 2018 Collabora Ltd. + * + * Copyright (c) 2020 Jensen Huang + * Copyright (c) 2020 Marty Jones + * Copyright (c) 2021 Tianling Shen + */ + +/dts-v1/; +#include "rk3399-nanopi4.dtsi" + +/ { + model = "FriendlyElec NanoPi R4S"; + compatible = "friendlyarm,nanopi-r4s", "rockchip,rk3399"; + + /delete-node/ gpio-leds; + gpio-leds { + compatible = "gpio-leds"; + pinctrl-0 = <&lan_led_pin>, <&sys_led_pin>, <&wan_led_pin>; + pinctrl-names = "default"; + + lan_led: led-0 { + gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_HIGH>; + label = "nanopi-r4s:green:lan"; + }; + + sys_led: led-1 { + gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>; + label = "nanopi-r4s:red:sys"; + default-state = "on"; + }; + + wan_led: led-2 { + gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>; + label = "nanopi-r4s:green:wan"; + }; + }; + + /delete-node/ gpio-keys; + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&reset_button_pin>; + + reset { + debounce-interval = <50>; + gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>; + label = "reset"; + linux,code = ; + }; + }; + + vdd_5v: vdd-5v { + compatible = "regulator-fixed"; + regulator-name = "vdd_5v"; + regulator-always-on; + regulator-boot-on; + }; + + fan: pwm-fan { + compatible = "pwm-fan"; + /* + * With 20KHz PWM and an EVERCOOL EC4007H12SA fan, these levels + * work out to 0, ~1200, ~3000, and 5000RPM respectively. + */ + cooling-levels = <0 12 18 255>; + #cooling-cells = <2>; + fan-supply = <&vdd_5v>; + pwms = <&pwm1 0 50000 0>; + }; +}; + +&cpu_thermal { + trips { + cpu_warm: cpu_warm { + temperature = <55000>; + hysteresis = <2000>; + type = "active"; + }; + + cpu_hot: cpu_hot { + temperature = <65000>; + hysteresis = <2000>; + type = "active"; + }; + }; + + cooling-maps { + map2 { + trip = <&cpu_warm>; + cooling-device = <&fan THERMAL_NO_LIMIT 1>; + }; + + map3 { + trip = <&cpu_hot>; + cooling-device = <&fan 2 THERMAL_NO_LIMIT>; + }; + }; +}; + +&display_subsystem { + status = "disabled"; +}; + +&emmc_phy { + status = "disabled"; +}; + +&fusb0 { + status = "disabled"; +}; + +&pcie0 { + max-link-speed = <1>; + num-lanes = <1>; + vpcie3v3-supply = <&vcc3v3_sys>; + + pcie@0 { + reg = <0x00000000 0 0 0 0>; + #address-cells = <3>; + #size-cells = <2>; + }; +}; + +&pinctrl { + /delete-node/ gpio-leds; + gpio-leds { + lan_led_pin: lan-led-pin { + rockchip,pins = <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + sys_led_pin: sys-led-pin { + rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + wan_led_pin: wan-led-pin { + rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + /delete-node/ rockchip-key; + rockchip-key { + reset_button_pin: reset-button-pin { + rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; +}; + +&sdhci { + status = "disabled"; +}; + +&sdio0 { + status = "disabled"; +}; + +&sdmmc { + sd-uhs-sdr12; + sd-uhs-sdr25; + sd-uhs-sdr50; +}; + +&u2phy0_host { + phy-supply = <&vdd_5v>; +}; + +&u2phy1_host { + status = "disabled"; +}; + +&usbdrd_dwc3_0 { + dr_mode = "host"; +}; + +&vcc3v3_sys { + vin-supply = <&vcc5v0_sys>; +};