From patchwork Mon Jun 25 00:12:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10484953 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5391460230 for ; Mon, 25 Jun 2018 00:13:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43BED28829 for ; Mon, 25 Jun 2018 00:13:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 382C428866; Mon, 25 Jun 2018 00:13:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF54328829 for ; Mon, 25 Jun 2018 00:12:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752319AbeFYAM5 (ORCPT ); Sun, 24 Jun 2018 20:12:57 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:39673 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752228AbeFYAMr (ORCPT ); Sun, 24 Jun 2018 20:12:47 -0400 Received: by mail-it0-f67.google.com with SMTP id p185-v6so9824071itp.4; Sun, 24 Jun 2018 17:12:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5282E1yveucPhiQ3h4G5MaQg62cK+nGF9nClEA2ONbg=; b=cYVJ+JWhbk9LxflGN8t7yTd8wcM2JPgIO3oK3MzwaslWVpHFghE+zFawNcOzzhkyF2 jwH9WdTeQ3vS3IyfeYM9tYYRlNsL6U12ID9X39iccCHDRfpu03vY2xX7fYh6uPq6jpG0 jf50qnuKVJnZB0Tjsr4b5HIoJo5Qi8T13pBXsuukDuNZHaeOcGYgH7CtLDlA44Dk0GiL W3b64EQgv78Ghdhqz/+IxwsdwkhyUpMVnZvJvKz642tpxQvcjfZqkM4CHP9w1z4wqTUv dxVKWZ+fBLz7ZmTsTmxe4kt1vdZgwuVhEHm2rXY67pyLOT74QnCscHW96WMC7k9BsDYT NQ7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=5282E1yveucPhiQ3h4G5MaQg62cK+nGF9nClEA2ONbg=; b=tB5anLJrBfqI+GmIm5BhMjMKXtn8ps80B2+45JZB1tZns5OiKxpN/9UmQhBXQ5XwhK ewAMNozehXwb9TpbhwdYOTeflXUSUZGKZunq6u7w7ThDmvoBPL9wFNvryActV4ZyOdHm Vih2w3isnW2MjxxYumAO3q5HouF+nOHOXH5YFbhJRudje8dgsxBKBtS5/YbwhQ+wHlHW 4qb1vlzH+Qr7Hb8N01nEr9V6nJjNwYflViwKc3kwmp839eMdlCF6/WBFRHxoE/O5WFnR zWQX2Yy8YXE5XcUd6SmsxsJ2qWM7ZOMs1bs4ph9YevSR8wn2+i+fC2zo8lcVAPdEBMQC aE/g== X-Gm-Message-State: APt69E2tSmKfHYZSVKCBbiFJ22V88elFe5a4g385UeLZVl6lyuA+062Y S1SHHtfOyiL4KXhh02hnXfE= X-Google-Smtp-Source: AAOMgpf2TBs2Pe+1jkOBjL3u0Y9pCZ/6OuTi1PyT/KcCOUOCx9bosfMFz9x1duMvIFVegx/ENRwJaA== X-Received: by 2002:a24:4c6:: with SMTP id 189-v6mr8448074itb.53.1529885566455; Sun, 24 Jun 2018 17:12:46 -0700 (PDT) Received: from localhost.localdomain (c-75-73-34-135.hsd1.mn.comcast.net. [75.73.34.135]) by smtp.gmail.com with ESMTPSA id g191-v6sm3290340itg.0.2018.06.24.17.12.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Jun 2018 17:12:45 -0700 (PDT) From: Adam Ford To: adam.ford@logicpd.com Cc: bcousson@baylibre.com, tony@atomide.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, b-liu@ti.com, gregkh@linuxfoundation.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, Adam Ford Subject: [RFC 5/5] ARM: dts: am3517-evm: Enable MUSB on AM3517-evm Date: Sun, 24 Jun 2018 19:12:33 -0500 Message-Id: <20180625001233.9785-6-aford173@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180625001233.9785-1-aford173@gmail.com> References: <20180625001233.9785-1-aford173@gmail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP With AM35x now supported in device tree and the pdata-quirks configuring the AM3517 clocks and some of the pin-mux, this patch enables the MUSB and configures the rest of the pin- mux options Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts index 56fdec33afc1..4aeadaca915f 100644 --- a/arch/arm/boot/dts/am3517-evm.dts +++ b/arch/arm/boot/dts/am3517-evm.dts @@ -243,6 +243,12 @@ phys = <&hsusb1_phy>; }; +&am35x_otg_hs { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&otg_drv_vbus>; +}; + &omap3_pmx_core { pinctrl-names = "default"; pinctrl-0 = <&hsusb1_rst_pins>; @@ -273,6 +279,12 @@ >; }; + otg_drv_vbus: pinmux_otg_drv_vbus { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x2210, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rmii_50MHz_clk.usb0_drvvbus */ + >; + }; + backlight_pins: pinmux_backlight_pins { pinctrl-single,pins = < OMAP3_CORE1_IOPAD(0x21de, PIN_OUTPUT | MUX_MODE4) /* mcspi2_cs1.gpio_182 */