Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp333848rbb; Sat, 24 Feb 2024 02:36:53 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWTs6V4/Sm2/xtfoqsc4x6UAb/Cd+mCVsV9N7u3LVQ1mOTsGOVCXgfkyuKeadl75AFwrUwJDitHPHWcH8mu9yuBQnweIgB5GXD5fjp4lQ== X-Google-Smtp-Source: AGHT+IHFOY66uNdqLIT6i1hTQQrsApgHeOrmir+K1H/q8jaIRzHgmAAcOXv2MBdjseF2ghjh7iaD X-Received: by 2002:a05:6a20:d394:b0:1a0:d4ad:96b0 with SMTP id iq20-20020a056a20d39400b001a0d4ad96b0mr3160747pzb.1.1708771013270; Sat, 24 Feb 2024 02:36:53 -0800 (PST) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id j22-20020a635516000000b005dc48449b0bsi731318pgb.690.2024.02.24.02.36.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 02:36:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79568-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cvM4iiLn; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-79568-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79568-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 94903B21971 for ; Sat, 24 Feb 2024 10:36:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26FCF2233A; Sat, 24 Feb 2024 10:36:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cvM4iiLn" Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 2D85D12B7B for ; Sat, 24 Feb 2024 10:36:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708771001; cv=none; b=c8pqqSeNfCXgPgzGAWNddnEVwfJYBeAEi5cgIML8HCYtYh30cC7o84j1zdaVHvuWb3nQ/5FQ8WoqlbkMaYRG8WtP/Yho+dmDr/3xv/XGJyBdgwwNevAjAczyahCLYO7tVuZGJdeBB3mb1Ftz7FWJUi01IUvh0SyagDdPN/ZOFuk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708771001; c=relaxed/simple; bh=58adu5hvmmb2LOEQiDHsQjLazEwZVBt1UbSh0UkM2No=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ST86bs6wjQLKtrEwLPL9HL5m6xPlmDcq60160wlQ639yRwCuDNT0UVigIXpICC/ERcpbgF9vuG+QBvG9xKH9B8hrwh6N2GDPxQNht9yZYXirgzHD8/86ELcrnY4msJeo4zZsAj7F3GQB1PCLU0Ti0mpY6Sf+SFs9Dxyj4Etwx5o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=cvM4iiLn; arc=none smtp.client-ip=209.85.208.43 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-f43.google.com with SMTP id 4fb4d7f45d1cf-5643ae47cd3so2041509a12.3 for ; Sat, 24 Feb 2024 02:36:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708770996; x=1709375796; 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=oywdlN7ttlpIa6C90/nFZJ1AJJorSsP7MnjdUxAPcfI=; b=cvM4iiLnm2HJ0QXVBt+rbbaaMsgYa7UE3KCX4pcLsgfVGBpD0colpOaaObMzlUkX5q uQ8SnEQYbp8A0LjXDcIzFPzd71A3W4Eo8QlpsnwMv85mxvsupKsu3dtlKCKcuhqlATNz uBrF0es1hsYVK2zxUfSXLxyFM+3Lq7xC3uFNTyd0yBxn4wBUG0+LL3WB6SfiCayH7FfM YeH41UezyadaqvhXAz45JPqWXmVgin5D48I6HCYdr2PqOZ28oYs/2H+gg7Y+6gtmzbz5 l9fumB1urr0uxKldon25rf1AARbSLY6AOnRgRqNTFxXzEO7d/4f5SIWglqIjORLV4SLJ 1Mgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708770996; x=1709375796; 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=oywdlN7ttlpIa6C90/nFZJ1AJJorSsP7MnjdUxAPcfI=; b=iqZJPCGU/ytmgL//FQEpaPdzhLMHiyrupBkdMnfXGMoRqiSFpC7Q3uZbcXgpXg92EF O3xC4zxXPef83tH4AKzNx4LB9nzRFtuz8r5Ib9KcnJGsvPVFyi1pvWWL+Uu2UKMpD0/4 gQyIvrRgiFBae+b4uEMYhJraRxqvkElTC/Pk3BfILhgvZdAacHI+HzuzOc3gdF1EGHBI gLvZzWGMd8o4tmyV+u8Q7r/X9azxTuKh/JkmV9n2UQjfNd0kuPE8g86Hxxtvg6anH/2s drSH1JocRsapeGuODDxYVRfn9K7fTh3svi7Bq2AxUhVEN5PCU+vfKE5bVFvPI/BdO8Ki x3FA== X-Forwarded-Encrypted: i=1; AJvYcCVvlJg+4OmCr+jTe4jE9Kb3BW0r8poaRZEnYjjr5fNMYBYSZHu5pVD2uMXbmKMu+1y6z4RDhc62b6VX1rTiRBXpihJ3E+mWEpVc3bzx X-Gm-Message-State: AOJu0YzWS2scbFzKC+hDDSeReb8AgjU+95vXH+bNOyms3sy/bM1oYnO1 o+XWzE3ENXJFltatdoWNqK9evEOuOMjXA+hRMzP00ZIf7nO7rrooRz/YT9sWQQo= X-Received: by 2002:a05:6402:5201:b0:565:a5e1:3a12 with SMTP id s1-20020a056402520100b00565a5e13a12mr740380edd.3.1708770996394; Sat, 24 Feb 2024 02:36:36 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id k1-20020a05640212c100b005653fe3f180sm416424edx.70.2024.02.24.02.36.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 24 Feb 2024 02:36:35 -0800 (PST) Message-ID: Date: Sat, 24 Feb 2024 11:36:33 +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/2] arm64: dts: qcom: add TP-Link Archer AX55 v1 Content-Language: en-US To: Gabor Juhos , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240223-archer-ax55-v1-v1-0-99f8fa2c3858@gmail.com> <20240223-archer-ax55-v1-v1-2-99f8fa2c3858@gmail.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 S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoOTduB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EFh+/Q== In-Reply-To: <20240223-archer-ax55-v1-v1-2-99f8fa2c3858@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 23/02/2024 09:17, Gabor Juhos wrote: > Add device tree source for the TP-Link Archer AX55 v1 [1] > which is a dual-band WiFi router based on the IPQ5018 SoC. > > At the moment, only the UART, the GPIO LEDs and buttons > are usable, but it makes it possible to boot an initramfs > image on the device. > > The device tree can be extended in the future, once support > for other periherals will be available for the platform. > > 1. https://www.tp-link.com/en/home-networking/wifi-router/archer-ax55/v1/ > > Signed-off-by: Gabor Juhos > --- > Note: running 'make CHECK_DTBS=y qcom/ipq5018-tplink-archer-ax55-v1.dtb' > shows the following: > > DTC_CHK arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dtb > <...>/arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dtb: usb@8af8800: interrupts: [[0, 62, 4]] is too short > from schema $id: http://devicetree.org/schemas/usb/qcom,dwc3.yaml# > <...>/arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dtb: usb@8af8800: interrupt-names: ['hs_phy_irq'] is too short > from schema $id: http://devicetree.org/schemas/usb/qcom,dwc3.yaml# > <...>/arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dtb: usb@8af8800: interrupts: [[0, 62, 4]] is too short > from schema $id: http://devicetree.org/schemas/usb/qcom,dwc3.yaml# > <...>/arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dtb: usb@8af8800: interrupt-names:0: 'pwr_event' was expected > from schema $id: http://devicetree.org/schemas/usb/qcom,dwc3.yaml# > <...>/arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dtb: usb@8af8800: interrupt-names: ['hs_phy_irq'] is too short > from schema $id: http://devicetree.org/schemas/usb/qcom,dwc3.yaml# > > This is not caused by the new device tree per se but comes from > the usb@8af8800 node defined in ipq5018.dtsi. Running the check > on 'qcom/ipq5018-rdp432-c2.dtb' shows the same. Thanks for noticing and describing. Appreciated! > --- > arch/arm64/boot/dts/qcom/Makefile | 1 + > .../dts/qcom/ipq5018-tplink-archer-ax55-v1.dts | 133 +++++++++++++++++++++ > 2 files changed, 134 insertions(+) .. > + > + button-wps { > + debounce-interval = <60>; > + gpios = <&tlmm 31 GPIO_ACTIVE_LOW>; > + label = "wps"; > + linux,code = ; > + }; > + }; > +}; > + > +&blsp1_uart1 { > + pinctrl-0 = <&uart1_pins>; > + pinctrl-names = "default"; > + status = "okay"; > +}; > + > +&sleep_clk { > + clock-frequency = <32000>; > +}; > + > +&tlmm { > + button_pins: button-pins-state { > + pins = "gpio25", "gpio31"; > + bias-pull-up; > + drive-strength = <8>; > + function = "gpio"; Usually we keep 'function' as second property, after 'pins', but there is no need to send new version just for that. Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof