From mboxrd@z Thu Jan 1 00:00:00 1970 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 ADCEAC54FB9 for ; Sat, 18 Nov 2023 12:09: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=QrMmbExQzN0V+eZUqvEnLsu4kb3V0d5L3OG7ULOGz6Q=; b=JrYFjEr8vddw8D SAFAJcgKQHzjIt2/yWm9G/dp5pi1rlti4I1vOkKZ/xTf5OD7t8t8nhxkwlh6xFSZWONlKwqayKVAa vEl7/2SCgPYFISIrYMg8lamYyq31811tBbddKIq+IPAORz8RAzfiZmBKHbpSm2l1cyBPobP4UbXWD 4XTjZrYsF75hUN3GESVtCHYd//0Y1Qv3AWsqe4rFiCD7mD0H2wMlf3kDxHQaVeRJF33QZJ5g2Y2ma Akp15tr7eSKdIgDiP5ADIWyEVwBGMHNI3RHuoit9Kd61wN6DPE1YBkmlhfu951Mk9rdi2O3xdv6ES RC3eCCg+affYC7HpK/9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r4K8W-008QRT-2C; Sat, 18 Nov 2023 12:09:20 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r4K8T-008QQk-1j; Sat, 18 Nov 2023 12:09:18 +0000 Received: from i5e861935.versanet.de ([94.134.25.53] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r4K8I-0000ix-Ta; Sat, 18 Nov 2023 13:09:06 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Tim Lunn Cc: Jagan Teki , Krzysztof Kozlowski , Tim Lunn , Rob Herring , linux-arm-kernel@lists.infradead.org, Conor Dooley Subject: Re: [PATCH 7/8] ARM: dts: Add Sonoff iHost Smart Home Hub Date: Sat, 18 Nov 2023 13:09:05 +0100 Message-ID: <4921575.Y6S9NjorxK@diego> In-Reply-To: <20231113120705.1647498-8-tim@feathertop.org> References: <20231113120705.1647498-1-tim@feathertop.org> <20231113120705.1647498-8-tim@feathertop.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231118_040917_579803_6EBC8B8B X-CRM114-Status: GOOD ( 22.66 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Tim, Am Montag, 13. November 2023, 13:07:04 CET schrieb Tim Lunn: > Sonoff iHost is gateway device designed to provide a Smart Home Hub, > it is based on Rockchip RV1126. There is also a version with 2GB RAM > based off the RV1109 dual core SoC. > > Features: > - Rockchip RV1126 > - 4GB DDR4 > - 8GB eMMC > - microSD slot > - RMII Ethernet PHY > - 1x USB 2.0 Host > - 1x USB 2.0 OTG > - Realtek RTL8723DS WiFi/BT > - EFR32MG21 Silabs Zigbee radio > - Speaker/Microphone > > This patch adds the initial device tree for this device, it is largely > based off the device trees for mainline Edgeble Neu2 and downstream > Rockchip rv1126-evb-v13 configs. It has been adapted with relevant > peripheral and GPIO pins for the iHost. > > Signed-off-by: Tim Lunn > diff --git a/arch/arm/boot/dts/rockchip/rv1109.dtsi b/arch/arm/boot/dts/rockchip/rv1109.dtsi > new file mode 100644 > index 000000000000..9cbaa08ab1b8 > --- /dev/null > +++ b/arch/arm/boot/dts/rockchip/rv1109.dtsi > @@ -0,0 +1,23 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd. > + */ > + > +/dts-v1/; > + > +#include "rv1126.dtsi" > + > +/ { > + compatible = "rockchip,rv1109"; > + > + cpus { > + /delete-node/ cpu@f02; > + /delete-node/ cpu@f03; > + }; > + > + arm-pmu { > + interrupts = , > + ; > + interrupt-affinity = <&cpu0>, <&cpu1>; > + }; > +}; this definitly wants to be its own patch ;-) . I.e. you add support for the rv1109, which seems to be the same as rv1126, just with 2 instead of 4 cpu cores. > +&sdio { > + bus-width = <4>; > + cap-sd-highspeed; > + cap-sdio-irq; > + keep-power-in-suspend; > + max-frequency = <100000000>; > + mmc-pwrseq = <&sdio_pwrseq>; > + non-removable; > + pinctrl-names = "default"; > + pinctrl-0 = <&sdmmc1_clk &sdmmc1_cmd &sdmmc1_bus4>; > + rockchip,default-sample-phase = <90>; > + sd-uhs-sdr104; > + vmmc-supply = <&vcc3v3_sys>; > + vqmmc-supply = <&vcc_1v8>; > + status = "okay"; > + #address-cells = <1>; > + #size-cells = <0>; I don't think the *-cells are needed here Thanks Heiko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel