Received: by 2002:a05:7412:b112:b0:f9:3106:f1c0 with SMTP id az18csp96627rdb; Sun, 17 Dec 2023 23:24:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IFmUTXJfZZudj6lyJZxx4eg8hs7+qrFfZQRj7TWTIKebb/5uT/ZosVG4I1DpVU6Rzbj+OkJ X-Received: by 2002:a17:906:ad2:b0:a23:467f:2ab6 with SMTP id z18-20020a1709060ad200b00a23467f2ab6mr403753ejf.29.1702884269208; Sun, 17 Dec 2023 23:24:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702884269; cv=none; d=google.com; s=arc-20160816; b=InGRaNQQcc3wFr+gqAurNAs40dDJmlZkEvQX74nZWYBLLmYUH+rEnqfd2ANORAGX/0 xJmt/tyLp0XhL+gOTdmK2KLn3YQU1D2wfdD4zZaG/G9k/egmdUAO97sBPdNOupwmIHqZ 8av+Vuwvoz4oxxFJyEcIimakehm5iyeg8LYFrDH9O0rKYL7VFlUNrX52kuPMSFfiW/wM nHv4qUE/3L46TYrYOUfbVKiQMGWOP+QBb11MhDb/ZdcgP33iyiHj2kkeu+3qrgJvg3LI ZUs6w4Rh417SKw1rwy6psDSDN0kMdkvJHTi/5mafaitpaBmiIVanPl5mUKSpe3EFeDcc Qs6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=qWGp81WwfDbdrmI4IRwNuSv7pr8EF/d0/d63o4IHGMI=; fh=DNYhf59MFmUz3gF9XoDoAT0/qu83oLdsVnwshLI16jI=; b=ojMeWxIRAFC9CALgU6j6VF5gBYrENOUzzHnFqgoKlwJ6XRKJ1HHvKoad9TC0KNuVyZ SZc9x8sBPg8SP5aJxCGc15+ijZ8iLinUaayHHCtgNaM9ybZ/EcXxatBaBkE89puxwmLy ixvAKl7CH8/+2neZ0ROKrmdH7y8gXmvA0CWsxK2UVw/WVM+Mdp1jqh+KMlaYWwUlkx88 ZCvvETpjmgg9q8gNOJnAUbzYylIP6UHozdhyuuzSGukrl4AGuhw2vtBjjhec424lRiR7 ZMa++kL7M4bFkRI+A2fjKCqvdvNEerB4wZUvG0wYWMEwfcfh49D3cnOSawtQ1pb9V9KM ypaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mxmCJytD; spf=pass (google.com: domain of linux-kernel+bounces-3093-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3093-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t5-20020a1709060c4500b00a235026789esi880450ejf.99.2023.12.17.23.24.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 23:24:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3093-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mxmCJytD; spf=pass (google.com: domain of linux-kernel+bounces-3093-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3093-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C73AE1F22D54 for ; Mon, 18 Dec 2023 07:24:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 52EA479FD; Mon, 18 Dec 2023 07:24:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mxmCJytD" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE3E779E2 for ; Mon, 18 Dec 2023 07:24:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-5522ba3f94aso2956012a12.1 for ; Sun, 17 Dec 2023 23:24:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702884259; x=1703489059; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qWGp81WwfDbdrmI4IRwNuSv7pr8EF/d0/d63o4IHGMI=; b=mxmCJytD9/vRCTGxEsAPT1ro9xRZEeHb2/v7moUkstzXD2P5+ot9Sgid7vPEZ8tFAE 0Qa1qbR0O0mS+8P667mv36iaJtAMaX6sqk5GGmB/JELk51fWdFFsdBltiO6lTt+kmh4q ZxQW+e7NleJNpW4mDdkbc3fQdzAvPYJpP8thQtSRfT7xaQA5z7UK9otInU1Vo6QITw4W yGzFUwPwrJDvDzdQPkVgv8oPUd9PvyYUVXm0q2A2BQDRv1jFihZ0cPs0AmLUfF5Me42N mNMmcf/Kipg2nOdLMo2B88poLRVuZBGAW9+ERC/tNc8I93sYBt7uQMi1YlnVvBrdkKr8 PLqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702884259; x=1703489059; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qWGp81WwfDbdrmI4IRwNuSv7pr8EF/d0/d63o4IHGMI=; b=ni1JprFEWlahl+JloB4JyxceOcAqFAnYihLTEVtJkbzyhSdiHPgZO4U5lIomsZiOmy LJOF7AWehjTCqe9ptsb9QMr8Y7dFl00hleiUEv7kcocb7BMZSADJd0zdUiIez3C4nvtX GoTVY5KuZtPu8LYWyrKWhVWpuT8MankonUcJRtGFvXCehlbUv6yTJqfxSNNKmtb8j3ZA 9iSD6x72zZx8/VlO6onLzcQuYTZBHmEv5z0HWzfH4LArzPDjCuh5YAhLRo6eOidWpLDq ogEeE0mdzZ6gHoZrr3kvOfaAAb208TVdMq5pBCM7Oq0T7RqINgJtpJIP6UgK2qyDWcpq Q2rg== X-Gm-Message-State: AOJu0Ywjz18S0bZ8Jms6H1xaB6YXs0Kddc27jrxkMBgkpU2ozAkq54wX bVMoI4/iWAWvEWB3MP1pkIz8Ig== X-Received: by 2002:a50:d788:0:b0:548:4b54:31ff with SMTP id w8-20020a50d788000000b005484b5431ffmr4602517edi.30.1702884258897; Sun, 17 Dec 2023 23:24:18 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id ew12-20020a056402538c00b00552691fc7f9sm4233391edb.66.2023.12.17.23.24.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 Dec 2023 23:24:18 -0800 (PST) Message-ID: Date: Mon, 18 Dec 2023 08:24:16 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/3] arm64: dts: rockchip: Add support for NanoPi R6S Content-Language: en-US To: efectn@6tel.net, linux-rockchip@lists.infradead.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, heiko@sntech.de, sebastian.reichel@collabora.com, jonas@kwiboo.se, Muhammed Efe Cetin References: <25d84712ee3765f5f28dfd355a2392f20f388824.1702647349.git.efectn@protonmail.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0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ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <25d84712ee3765f5f28dfd355a2392f20f388824.1702647349.git.efectn@protonmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 15/12/2023 14:55, efectn@6tel.net wrote: > From: Muhammed Efe Cetin > > Add basic NanoPi R6S support that comes with USB2, PCIe, SD card, eMMC > support. > > Signed-off-by: Muhammed Efe Cetin > --- > arch/arm64/boot/dts/rockchip/Makefile | 1 + > .../boot/dts/rockchip/rk3588s-nanopi-r6s.dts | 755 ++++++++++++++++++ > 2 files changed, 756 insertions(+) > create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6s.dts > > diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile > index 600c420bc..ed2583dcd 100644 > --- a/arch/arm64/boot/dts/rockchip/Makefile > +++ b/arch/arm64/boot/dts/rockchip/Makefile > @@ -114,3 +114,4 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-indiedroid-nova.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-khadas-edge2.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5.dtb > +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-nanopi-r6s.dtb > \ No newline at end of file You have warning here. > diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6s.dts b/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6s.dts > new file mode 100644 > index 000000000..e575cc403 > --- /dev/null > +++ b/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6s.dts > @@ -0,0 +1,755 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > + > +/dts-v1/; ... > + > +&i2c2 { > + status = "okay"; > + > + vdd_npu_s0: rk8602@42 { Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "rockchip,rk8602"; > + reg = <0x42>; > + fcs,suspend-voltage-selector = <1>; > + regulator-compatible = "rk860x-reg"; > + regulator-name = "vdd_npu_s0"; > + regulator-min-microvolt = <550000>; > + regulator-max-microvolt = <950000>; > + regulator-ramp-delay = <2300>; > + regulator-boot-on; > + regulator-always-on; > + vin-supply = <&vcc5v0_sys>; > + > + regulator-state-mem { > + regulator-off-in-suspend; > + }; > + }; > +}; > + > +&i2c6 { > + clock-frequency = <200000>; > + pinctrl-names = "default"; > + pinctrl-0 = <&i2c6m0_xfer>; > + status = "okay"; > + > + hym8563: rtc@51 { > + compatible = "haoyu,hym8563"; > + reg = <0x51>; > + #clock-cells = <0>; > + clock-output-names = "hym8563"; > + pinctrl-names = "default"; > + pinctrl-0 = <&rtc_int>; > + interrupt-parent = <&gpio0>; > + interrupts = ; > + wakeup-source; > + }; > +}; > + > +&mdio1 { > + rgmii_phy1: ethernet-phy@1 { > + compatible = "ethernet-phy-id001c.c916"; > + reg = <0x1>; > + pinctrl-names = "default"; > + pinctrl-0 = <&rtl8211f_rst>; > + reset-assert-us = <20000>; > + reset-deassert-us = <100000>; > + reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; > + }; > +}; > + > +&pcie2x1l1 { > + reset-gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>; > + vpcie3v3-supply = <&vcc_3v3_pcie20>; > + status = "okay"; > +}; > + > +&pcie2x1l2 { > + reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; > + vpcie3v3-supply = <&vcc_3v3_pcie20>; > + status = "okay"; > +}; > + > +&pinctrl { > + gpio-key { > + key1_pin: key1-pin { > + rockchip,pins = <1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_up>; > + }; > + }; > + > + gpio-leds { > + sys_led_pin: sys-led-pin { > + rockchip,pins = > + <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + > + wan_led_pin: wan-led-pin { > + rockchip,pins = > + <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + > + lan1_led_pin: lan1-led-pin { > + rockchip,pins = > + <1 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + > + lan2_led_pin: lan2-led-pin { > + rockchip,pins = > + <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + }; > + > + hym8563 { > + rtc_int: rtc-int { > + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; > + }; > + }; > + > + sdmmc { > + sd_s0_pwr: sd-s0-pwr { > + rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>; > + }; > + }; > + > + usb { > + typec5v_pwren: typec5v-pwren { > + rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + > + vcc5v0_host20_en: vcc5v0-host20-en { > + rockchip,pins = <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + }; > + > + rtl8211f { > + rtl8211f_rst: rtl8211f-rst { > + rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + }; > +}; > + > +&saradc { > + vref-supply = <&avcc_1v8_s0>; > + status = "okay"; > +}; > + > +&sdhci { > + bus-width = <8>; > + no-sdio; > + no-sd; > + non-removable; > + mmc-hs200-1_8v; > + max-frequency = <200000000>; > + status = "okay"; > +}; > + > +&sdmmc { > + bus-width = <4>; > + cap-sd-highspeed; > + disable-wp; > + max-frequency = <150000000>; > + no-mmc; > + no-sdio; > + sd-uhs-sdr104; > + vmmc-supply = <&vcc_3v3_sd_s0>; > + vqmmc-supply = <&vccio_sd_s0>; > + status = "okay"; > +}; > + > +&spi2 { > + status = "okay"; > + assigned-clocks = <&cru CLK_SPI2>; > + assigned-clock-rates = <200000000>; > + pinctrl-names = "default"; > + pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; > + num-cs = <1>; > + > + pmic@0 { > + compatible = "rockchip,rk806"; > + spi-max-frequency = <1000000>; > + reg = <0x0>; reg should be second property. Best regards, Krzysztof