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: 657557 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09B14C64ED6 for ; Tue, 28 Feb 2023 14:45:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229647AbjB1Op1 (ORCPT ); Tue, 28 Feb 2023 09:45:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjB1Op0 (ORCPT ); Tue, 28 Feb 2023 09:45:26 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20CCFCA29 for ; Tue, 28 Feb 2023 06:45:25 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id t11so13570446lfr.1 for ; Tue, 28 Feb 2023 06:45:25 -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=hbCnhvDazarthZhtLoSjgaxsCeVMwecB5gXzllhjYabVyOXabCp98glY0XoZLcUEjG jQdmCtl5wyX1ACunCpm4STlLVq+ckkVafaFhqOm+DGPX0atj0bhGizMdcXHgQqt5rIWa ViAxQa7kVHbWIQZVQQ07bbMc3CbiZTsB8pCPsEkadtn5h+zjTocBKtiTKJ2iFEAszyG/ XJQ0gtt1L/0dWq43SA39rOx3xU2r8HA5rTdZhDdHtJhi3U4A8iIrjbjx5HX0nSG6n4+D jShZuP0qZzjxbU/GZawgXWTPXnBq77hM3IPy57Av2YHHhBgIItKGD1FcG6Ea95rCHG5t PefQ== X-Gm-Message-State: AO0yUKV+/+kYf/zd3DLPE0sCV3LCmwvnZEGMu/OnkGOQ92jpWvzomQJC AiEBXIPAOxzbAKVYqyOIpwO8ueH52U8= 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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 {