From patchwork Tue Feb 28 14:45:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13154972 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 D9E40C64ED6 for ; Tue, 28 Feb 2023 14:46:22 +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: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=/Pu/BAEDKgqwJAoSaFlcSz4FBsEV7lNBF2k2F0xK3TY=; b=PUY244ptPVwlBT Rnr7YKf8HVGvHPVlV+zMWIMm2PL6LaJBMg1d8QBSgWflntoLb7qh8nuh5iWlhs18hmsjB22FbzpP9 5KSsuUHTSzAIQMfUxLuYu3WR0ZcxDmLmSlAzZbx0lZYM0NsIq+MuvHCS3OQYjF/YMx1g4JcHjbGNu FOwsWdzx+DImTjpxZOaf98V1Oa58XNOHg16tSTcmsZZ4hY4frVdxE5b+ktnQOTYG65JZYYF3/lkTg SHaIjyLL31r/2wY8wGsXVi5bLU3hWxzkhxW/LVg2f+3dPbdazW87oTd2LAwh9JREGtdBqpU9nmeNi nvifT9ntloJ3GSbxL6iw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pX1EN-00DWWu-SO; Tue, 28 Feb 2023 14:45:28 +0000 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pX1EK-00DWUy-Nl for linux-arm-kernel@lists.infradead.org; Tue, 28 Feb 2023 14:45:26 +0000 Received: by mail-lf1-x130.google.com with SMTP id m7so13511406lfj.8 for ; Tue, 28 Feb 2023 06:45:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=AS4WvwLyb5IvtXzJGUQWxLiWhdnxdLa0eY1ifwUebww=; b=ivDcz8dm3b4iYjQeg0pKEqGjwQm2CpDDg7DzCdz7fBeOtnwOZf/ihYmKePSQOhi2z1 vse+/jcpwwD6IghpSahkEhujRqP3NgtaFzeEIQpaGCsDky0FRi5ktU4wCt3OwOE3NPAB 4+zy57UBHo2Ng714kkU2PNmBicm+eKGowasL5yCYGQpOaY5Bv+aj+YFFIdgFAnP+cxJ0 O4NioNcPc0cu2Y2MFgl0reiCaRzfN73XoD6zieSGid4DBE8vTWj77OhXEbxLOhaFuDau cI3b1SAqobW/aryqqqGkiist6XI05/SHJ+UAtsDr8PS/OVzucQRA9Bc6mIHUxjTOtWj3 VQoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AS4WvwLyb5IvtXzJGUQWxLiWhdnxdLa0eY1ifwUebww=; b=mMCR8eKoYBeCSXw+t81plTeMhsnY41XbrfzxeM/Uf7tNhnEjlXYUPRoYre2xQF7jhf GhMv+4QICDfIzsvVwz5toOYMDiO1dMF8g/uew4LErIb3hRqfhRJM1+Idekm5f4UtdsPv Sk9V9ucQn3D23EJjPbATzMYQpQwK1/cLTGBEel0l/ZW1zSggKYuk5QOatd9Fz9Mo1BVW MIOz/yC3PWC5o8/P3Rg28cW2TI7078VTmJsfNEZIMhm1PR27x5WZCkFspRORk4y/HTua 5iugKZ1wjTTVWokw4GZAWED0EYdYkrIFrjB9Ut0JnI/sbRCIU+2nPMtDbR2tCWRLbKId l5gQ== X-Gm-Message-State: AO0yUKXUVk4rvcGnuyfZjH5r2YN0HaWXUPC1XnEngM/8FT5AixbGk3zR qjs/Vm1Mt6EX5qeOQCiji7s= X-Google-Smtp-Source: AK7set+cmhPgCsFWPjuLwq/QWwizug5xjH4UId9xs7OY/Nvxyu+YMCoBZQHo0j8bgdf7pg4xOEdDow== X-Received: by 2002:ac2:5690:0:b0:4e2:337d:65d3 with SMTP id 16-20020ac25690000000b004e2337d65d3mr710686lfr.40.1677595523404; Tue, 28 Feb 2023 06:45:23 -0800 (PST) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id z23-20020ac24197000000b004ddef915fe4sm1360514lfh.274.2023.02.28.06.45.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 06:45:22 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli Cc: Rob Herring , Krzysztof Kozlowski , William Zhang , Anand Gore , Kursad Oney , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 1/3] arm64: dts: broadcom: bcmbca: bcm4908: add on-SoC USB ports Date: Tue, 28 Feb 2023 15:45:18 +0100 Message-Id: <20230228144520.21816-1-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230228_064524_799676_54CB03B5 X-CRM114-Status: GOOD ( 11.77 ) 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: Rafał Miłecki BCM4908 has 3 USB controllers each with 2 USB ports. Home routers often have LEDs indicating state of selected USB ports. Describe those SoC USB ports to allow using them as LED trigger sources. Signed-off-by: Rafał Miłecki --- .../boot/dts/broadcom/bcmbca/bcm4908.dtsi | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi index f4cf0f835db7..457805efb385 100644 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi @@ -148,6 +148,19 @@ ehci: usb@c300 { interrupts = ; phys = <&usb_phy PHY_TYPE_USB2>; status = "disabled"; + + #address-cells = <1>; + #size-cells = <0>; + + ehci_port1: port@1 { + reg = <1>; + #trigger-source-cells = <0>; + }; + + ehci_port2: port@2 { + reg = <2>; + #trigger-source-cells = <0>; + }; }; ohci: usb@c400 { @@ -156,6 +169,19 @@ ohci: usb@c400 { interrupts = ; phys = <&usb_phy PHY_TYPE_USB2>; status = "disabled"; + + #address-cells = <1>; + #size-cells = <0>; + + ohci_port1: port@1 { + reg = <1>; + #trigger-source-cells = <0>; + }; + + ohci_port2: port@2 { + reg = <2>; + #trigger-source-cells = <0>; + }; }; xhci: usb@d000 { @@ -164,6 +190,19 @@ xhci: usb@d000 { interrupts = ; phys = <&usb_phy PHY_TYPE_USB3>; status = "disabled"; + + #address-cells = <1>; + #size-cells = <0>; + + xhci_port1: port@1 { + reg = <1>; + #trigger-source-cells = <0>; + }; + + xhci_port2: port@2 { + reg = <2>; + #trigger-source-cells = <0>; + }; }; bus@80000 {