From patchwork Fri May 26 19:30:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislav Jakubek X-Patchwork-Id: 99637 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp707815vqr; Fri, 26 May 2023 12:36:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6euhUACTozIRS7MUS3Ztctho+FLF1NwbqI9GNc0lmrE+64OxjR2CTNmJ5s9LvqAl7jW0OS X-Received: by 2002:a05:6a00:194c:b0:63b:64f7:45a0 with SMTP id s12-20020a056a00194c00b0063b64f745a0mr4589263pfk.12.1685129785496; Fri, 26 May 2023 12:36:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129785; cv=none; d=google.com; s=arc-20160816; b=ddvaw8QIKKy6bGpVTnAiGk8j+oZWCdiVceb7Hpp2x0LHC6LenUJ51yvWkF4zQXNR7s bklIj8fl5GHcE1V1PQowGrznRV7Ls4TeOHoAqBrMgHHqBp4qgRrTkmgLUslmlDxYe9TG gLQcOJDv5+XDw1z+RX0ZdfeIIeAx7y9l5E/ID1jXmx95wrgPyNEFZxMK9LjpMpDpDYNI thq3P6PefszmQpgxXM8U49pvqdAD4nC4J1GmkCMzV7XWU+sB5IP/lww/YfGXMPZJGofl sKaLQ4djxGFZ5TIEGRBK0Budg4R/TSBk3/mYRddlm6Apbfk16sqj3U14q1Z7IofPvoil GH8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pM/LPuq+crw58Br+yK0qd+I4lbnJHtjzEVoX/VQ84uQ=; b=ohvizlXStKlAhyV5Td8jczYIIiiCq59ycZzyt8t/7GeJFesXttXTE6qHw3YO2ISNNm Dx2NJfUP9vFYgBtTZPBxl9+bwqXaPrrcQLzoXoTH5GAuOR8mda087UPUsWQJbc4/S33K GOmi3FXKGV625qRyzsQe7XnRqEztV4RgDdr6LqAGWB+N+Tp+uuiV135Hs3F6MwCTRQj4 FL7Xfd9ywZPil279vRyW5YcXdv30RoF1qk3ZYIkrMOPBaXzw56RVfExryMM5SGUV/S2S MAM6wIAC2GPUe+1t3rgYQh3f6MlHWCy6JzjZAvvifP4kqhZxQfJmx78vZ6/tbrJLtQTw KfyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EldHgGIA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z22-20020a637e16000000b00528cfd22852si4704043pgc.178.2023.05.26.12.36.06; Fri, 26 May 2023 12:36:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EldHgGIA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244016AbjEZTbE (ORCPT + 99 others); Fri, 26 May 2023 15:31:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244022AbjEZTbC (ORCPT ); Fri, 26 May 2023 15:31:02 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58272E6B; Fri, 26 May 2023 12:30:54 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-3f6d01d390bso11892865e9.2; Fri, 26 May 2023 12:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685129453; x=1687721453; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=pM/LPuq+crw58Br+yK0qd+I4lbnJHtjzEVoX/VQ84uQ=; b=EldHgGIA3Tv85EJKaqAN/HusU3ux1Do2Ch3hkYhXRewE9Vexa3GvViKOSM2mckcVSK FH/wnqcfyrE4bvTuZ8yNw7X/t7G0lht/RiBYpgV+EVqKdeGiXS7STNdeg0/s5dLFRUAN Q0RH7WWKsV48zQnHvnOekozCl+VThGWseKiiP0iuR4ZJBr4ZWQT+rLN2PwINqpk41F0R Ow0enpNgcuSzASvojtJdGK/RzwRHzhCleuNkEedBpCcy7fxv6o1Pb6pq0NyeNpZUTVSg 73g7rOr3f2tqwngcsD5KHW6HjDQQ7/DGrycii0WuCOq9sSPXiTrdmjFN966maPUxHMR7 rtiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685129453; x=1687721453; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=pM/LPuq+crw58Br+yK0qd+I4lbnJHtjzEVoX/VQ84uQ=; b=UNZT++CBf6JqLlQdhj+eAN0p7eBLLw58zBEj04vu2FcKJlwG9wqgynq67goeZdoCt3 J5bpg4SHkOSOuh0oKooi5PA6sY7TEhr84w8q5HGzEhBbSslcPbB4uO/y8ysf4vfooqo5 jHWBCHtqjmxu+MlpNojKWRbH3CwaObi64CZy21xG+kxx7PeABGDVupOBm/QePW1z1VOB OLxonp/JzSOGKoQhfPM3NTm9ZVzDgKCkeMWGQ/AzzPC+WRL0+CyJd2+zBBkOLcJx8gVC Y2Y9QWpkXanmdrh7nhtBG+VdOuExARbEpYSFhNWP2kTPsTfSK3oVY8oljgIiYcBJuPM1 y+dQ== X-Gm-Message-State: AC+VfDxLgnk35DCq21VBSHShqLCHIofPXXRTq3mIQ302Fo5k3jYAdz1b b7SwSOdg3i9HGkRgljV3QvwvQv7Hzp8= X-Received: by 2002:a1c:f709:0:b0:3f4:2c71:b9ad with SMTP id v9-20020a1cf709000000b003f42c71b9admr2744268wmh.30.1685129452700; Fri, 26 May 2023 12:30:52 -0700 (PDT) Received: from standask-GA-A55M-S2HP ([188.123.113.247]) by smtp.gmail.com with ESMTPSA id 13-20020a05600c24cd00b003f4dde07956sm9704192wmu.42.2023.05.26.12.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 12:30:52 -0700 (PDT) Date: Fri, 26 May 2023 21:30:50 +0200 From: Stanislav Jakubek To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/6] ARM: dts: bcm28155-ap: use node labels Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766986649875660946?= X-GMAIL-MSGID: =?utf-8?q?1766986649875660946?= Use node labels instead of nodename@address for BCM28155 AP board to simplify its DTS file. Signed-off-by: Stanislav Jakubek --- I was not sure what to do about the &pmu node here, so I left it as is. arch/arm/boot/dts/bcm28155-ap.dts | 110 +++++++++++++++--------------- 1 file changed, 55 insertions(+), 55 deletions(-) diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts index 0a8ad1d673d8..08eea8b941b6 100644 --- a/arch/arm/boot/dts/bcm28155-ap.dts +++ b/arch/arm/boot/dts/bcm28155-ap.dts @@ -15,64 +15,21 @@ memory@80000000 { device_type = "memory"; reg = <0x80000000 0x40000000>; /* 1 GB */ }; +}; - serial@3e000000 { - status = "okay"; - }; - - i2c@3e016000 { - clock-frequency = <400000>; - status = "okay"; - }; - - i2c@3e017000 { - clock-frequency = <400000>; - status = "okay"; - }; - - i2c@3e018000 { - clock-frequency = <400000>; - status = "okay"; - }; - - i2c@3500d000 { - clock-frequency = <100000>; - status = "okay"; - - pmu: pmu@8 { - reg = <0x08>; - }; - }; - - sdio2: mmc@3f190000 { - non-removable; - max-frequency = <48000000>; - vmmc-supply = <&camldo1_reg>; - vqmmc-supply = <&iosr1_reg>; - status = "okay"; - }; - - sdio4: mmc@3f1b0000 { - max-frequency = <48000000>; - cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>; - vmmc-supply = <&sdldo_reg>; - vqmmc-supply = <&sdxldo_reg>; - status = "okay"; - }; - - pwm: pwm@3e01a000 { - status = "okay"; - }; +&bsc1 { + clock-frequency = <400000>; + status = "okay"; +}; - usbotg: usb@3f120000 { - vusb_d-supply = <&usbldo_reg>; - vusb_a-supply = <&iosr1_reg>; - status = "okay"; - }; +&bsc2 { + clock-frequency = <400000>; + status = "okay"; +}; - usbphy: usb-phy@3f130000 { - status = "okay"; - }; +&bsc3 { + clock-frequency = <400000>; + status = "okay"; }; #include "bcm59056.dtsi" @@ -110,3 +67,46 @@ iosr1_reg: iosr1 { }; }; }; + +&pmu_bsc { + clock-frequency = <100000>; + status = "okay"; + + pmu: pmu@8 { + reg = <0x08>; + }; +}; + +&pwm { + status = "okay"; +}; + +&sdio2 { + non-removable; + max-frequency = <48000000>; + vmmc-supply = <&camldo1_reg>; + vqmmc-supply = <&iosr1_reg>; + status = "okay"; +}; + +&sdio4 { + max-frequency = <48000000>; + cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>; + vmmc-supply = <&sdldo_reg>; + vqmmc-supply = <&sdxldo_reg>; + status = "okay"; +}; + +&uartb { + status = "okay"; +}; + +&usbotg { + vusb_d-supply = <&usbldo_reg>; + vusb_a-supply = <&iosr1_reg>; + status = "okay"; +}; + +&usbphy { + status = "okay"; +};