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 C3EC5C433EF for ; Thu, 5 May 2022 12:59:39 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BsyEwTmgtGxesJ04ln0T9dQW6kHsh5czObrpUaV2xlo=; b=RTciVUUHtg9Y/s n10aadc9n90QMsdi8ua8NDZDMC9mKzH/oG7c+yPYKVIulobOMWdgyKbMqAnk8XzVnY5YrcvgvXg+/ W+FoE6/TYzkFdv28eIdWvzzm7v5tybyXMm/diqiG7k7q2Dpv4x5GBXE9tzG6V3zFkJEhOAcq8RyMg 7cJWu0hgT7KSaP8mkZ8uEn2+IPsGNzdV5NGEmzezUHzlYFRu7cM2Dg4WEPYkTXTDfiING8nGYWcAf 3gZl07cti8IEs1U5xQhT9SG/5W6KQ4yZSmR5Td80qpNwx3GBMaNjVPmIsWN3MJnIQtNjOu6f4c3Ip 0/svam4BkDNYBNIwlo5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmb3r-00Furw-D9; Thu, 05 May 2022 12:58:27 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmb3m-00FupU-G8 for linux-arm-kernel@lists.infradead.org; Thu, 05 May 2022 12:58:25 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id DBA23B82CBB; Thu, 5 May 2022 12:58:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2ADFC385A4; Thu, 5 May 2022 12:58:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651755499; bh=NXroLcThYppralYTejGVweLltd+QHFHDFrceZ8CANbI=; h=Date:From:To:List-Id:Cc:Subject:References:In-Reply-To:From; b=s2nzz0mxZNyIi/hxwucFN9X3OR+4LJpDWWIsFa8zfnXa02TuyJIngE18Bex8J5vNR ViqskHX0is8TXTFLHpT4U68gLGrLY9yz1bx0vHypvCUlI1Ewo9poK5K9RLot441C9c s+CIhFC6Ng69MOfEhpzQAziNrDAZCa8WLU3xwXzD2jRfw/79CFmeS/dmQwQcCqI3YV ksHhg8PTgctpxGpXBPvtGNklXP45RqR9LPXLy64bGVY2uuVKOrSwe5Fg0TuvwReDzG fdJemU7ZjvWmUEdCBq13rEpJFVAwF/vrQ7WGwAm+RX7xaWq7W8ma32fRbqrk2R8Myd Zecv0Unc4rcEA== Date: Thu, 5 May 2022 20:58:11 +0800 From: Shawn Guo To: Philip Oberfichtner Cc: Arnd Bergmann , Olof Johansson , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, matthias.winker@de.bosch.com Subject: Re: [PATCH v4 4/4] ARM: dts: Add bosch acc board Message-ID: <20220505125811.GI14615@dragon> References: <20220505095725.902447-1-pro@denx.de> <20220505095725.902447-4-pro@denx.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220505095725.902447-4-pro@denx.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220505_055822_914919_51E21710 X-CRM114-Status: GOOD ( 25.79 ) 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 On Thu, May 05, 2022 at 11:57:30AM +0200, Philip Oberfichtner wrote: > Add device tree for the Bosch ACC board, based on i.MX6 Dual. > > Signed-off-by: Philip Oberfichtner > > --- > > Cc: Arnd Bergmann > Cc: Olof Johansson > Cc: soc@kernel.org > Cc: Rob Herring > Cc: Krzysztof Kozlowski > Cc: Shawn Guo > Cc: Sascha Hauer > Cc: Pengutronix Kernel Team > Cc: Fabio Estevam > Cc: NXP Linux Team > Cc: linux-arm-kernel@lists.infradead.org > Cc: devicetree@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: matthias.winker@de.bosch.com > > --- > > Changes in v4: > - reorder i2c nodes > - reorder properties > - remove &pmu node > - fix node naming style > > Changes in v3: > - use panel compatible string instead of display-timings > - adapt node naming for regulators and led > - remove unreferenced pinctrl configs > - remove unused audmux node > - remove or adapt invalid or superfluous properties > - use real pad settings instead of 0x80000000 > - fix other minor style issues > > Changes in v2: > - fix style errors in node naming > - place regulators under root node > - remove superfluous status properties > - remove undocumented nodes and properties > - use color instead of label for leds > - fix other minor style issues > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/imx6q-bosch-acc.dts | 779 ++++++++++++++++++++++++++ > 2 files changed, 780 insertions(+) > create mode 100644 arch/arm/boot/dts/imx6q-bosch-acc.dts > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index 7c16f8a2b738..a6eff45bfee3 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -547,6 +547,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ > imx6q-b450v3.dtb \ > imx6q-b650v3.dtb \ > imx6q-b850v3.dtb \ > + imx6q-bosch-acc.dtb \ > imx6q-cm-fx6.dtb \ > imx6q-cubox-i.dtb \ > imx6q-cubox-i-emmc-som-v15.dtb \ > diff --git a/arch/arm/boot/dts/imx6q-bosch-acc.dts b/arch/arm/boot/dts/imx6q-bosch-acc.dts > new file mode 100644 > index 000000000000..b4a85e22f61b > --- /dev/null > +++ b/arch/arm/boot/dts/imx6q-bosch-acc.dts > @@ -0,0 +1,779 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Support for the i.MX6-based Bosch ACC board. > + * > + * Copyright (C) 2016 Garz & Fricke GmbH > + * Copyright (C) 2018 DENX Software Engineering GmbH, Heiko Schocher > + * Copyright (C) 2018 DENX Software Engineering GmbH, Niel Fourie > + * Copyright (C) 2019-2021 Bosch Thermotechnik GmbH, Matthias Winker > + * Copyright (C) 2022 DENX Software Engineering GmbH, Philip Oberfichtner > + */ > + > +/dts-v1/; > + > +#include > +#include > +#include "imx6q.dtsi" > + > +/ { > + model = "Bosch ACC"; > + compatible = "bosch,imx6q-acc", "fsl,imx6q"; > + > + aliases { > + i2c0 = &i2c1; > + i2c1 = &i2c2; > + i2c2 = &i2c3; > + mmc0 = &usdhc4; > + mmc1 = &usdhc2; > + serial0 = &uart2; > + serial1 = &uart1; > + }; > + > + memory@10000000 { > + device_type = "memory"; > + reg = <0x10000000 0x40000000>; > + }; > + > + backlight_lvds: backlight-lvds { > + compatible = "pwm-backlight"; > + pwms = <&pwm1 0 200000>; > + brightness-levels = <0 61 499 1706 4079 8022 13938 22237 33328 47623 65535>; > + num-interpolated-steps = <10>; > + default-brightness-level = <60>; > + power-supply = <®_lcd>; > + }; > + > + panel { > + compatible = "dataimage,fg1001l0dsswmg01"; > + backlight = <&backlight_lvds>; > + > + port { > + panel_in: endpoint { > + remote-endpoint = <&lvds0_out>; > + }; > + }; > + }; > + > + refclk: refclk { > + compatible = "fixed-factor-clock"; > + #clock-cells = <0>; > + clocks = <&clks IMX6QDL_CLK_CKO2>; > + clock-div = <1>; > + clock-mult = <1>; > + clock-output-names = "12mhz_refclk"; > + assigned-clocks = <&clks IMX6QDL_CLK_CKO>, > + <&clks IMX6QDL_CLK_CKO2>, > + <&clks IMX6QDL_CLK_CKO2_SEL>; > + assigned-clock-parents = <&clks IMX6QDL_CLK_CKO2>, > + <&clks IMX6QDL_CLK_CKO2_PODF>, > + <&clks IMX6QDL_CLK_OSC>; > + assigned-clock-rates = <0>, <12000000>, <0>; > + }; > + > + cpus { > + cpu0: cpu@0 { > + operating-points = < > + /* kHz uV */ > + 1200000 1275000 > + 996000 1225000 > + 852000 1225000 > + 792000 1150000 > + 396000 950000 > + >; > + fsl,soc-operating-points = < > + /* ARM kHz SOC-PU uV */ > + 1200000 1225000 > + 996000 1175000 > + 852000 1175000 > + 792000 1150000 > + 396000 1150000 > + >; > + }; > + > + cpu1: cpu@1 { > + operating-points = < > + /* kHz uV */ > + 1200000 1275000 > + 996000 1225000 > + 852000 1225000 > + 792000 1150000 > + 396000 950000 > + >; > + fsl,soc-operating-points = < > + /* ARM kHz SOC-PU uV */ > + 1200000 1225000 > + 996000 1175000 > + 852000 1175000 > + 792000 1150000 > + 396000 1150000 > + >; > + }; > + }; > + > + pwm-leds { > + compatible = "pwm-leds"; > + > + led_red: led-0 { > + color = ; > + max-brightness = <248>; > + default-state = "off"; > + pwms = <&pwm2 0 500000>; > + }; > + > + led_white: led-1 { > + color = ; > + max-brightness = <248>; > + default-state = "off"; > + pwms = <&pwm3 0 500000>; > + linux,default-trigger = "heartbeat"; > + }; > + }; > + > + gpio-leds { > + compatible = "gpio-leds"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_reset_gpio_led>; > + > + led-2 { > + color = ; > + gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>; > + default-state = "off"; > + }; > + }; > + > + reg_5P0: regulator-5P0 { > + compatible = "regulator-fixed"; > + regulator-name = "5P0"; > + }; > + > + reg_vin: regulator-vin { > + compatible = "regulator-fixed"; > + regulator-name = "VIN"; > + regulator-min-microvolt = <4500000>; > + regulator-max-microvolt = <4500000>; > + regulator-always-on; > + vin-supply = <®_5P0>; > + }; > + > + reg_usb_otg_vbus: regulator-usb-otg-vbus { > + compatible = "regulator-fixed"; > + regulator-name = "usb_otg_vbus"; > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5000000>; > + }; > + > + reg_usb_h1_vbus: regulator-usb-h1-vbus { > + compatible = "regulator-fixed"; > + regulator-name = "usb_h1_vbus"; > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5000000>; > + regulator-always-on; > + vin-supply = <®_5P0>; > + }; > + > + reg_usb_h2_vbus: regulator-usb-h2-vbus { > + compatible = "regulator-fixed"; > + regulator-name = "usb_h2_vbus"; > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5000000>; > + vin-supply = <®_5P0> ; > + regulator-always-on; > + }; > + > + reg_vsnvs: regulator-vsnvs { > + compatible = "regulator-fixed"; > + regulator-name = "VSNVS_3V0"; > + regulator-min-microvolt = <3000000>; > + regulator-max-microvolt = <3000000>; > + regulator-always-on; > + vin-supply = <®_5P0>; > + }; > + > + reg_lcd: regulator-lcd { > + compatible = "regulator-fixed"; > + regulator-name = "LCD0 POWER"; > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5000000>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_lcd_enable>; > + gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; > + enable-active-high; > + regulator-boot-on; > + }; > + > + reg_dac: regulator-dac { > + compatible = "regulator-fixed"; > + regulator-name = "vref_dac"; > + regulator-min-microvolt = <20000>; > + regulator-max-microvolt = <20000>; > + vin-supply = <®_5P0> ; > + regulator-boot-on; > + }; > + > + reg_sw4: regulator-sw4 { > + compatible = "regulator-fixed"; > + regulator-name = "SW4_3V3"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > + vin-supply = <®_5P0>; > + }; > + > + reg_sys: regulator-sys { > + compatible = "regulator-fixed"; > + regulator-name = "SYS_4V2"; > + regulator-min-microvolt = <4200000>; > + regulator-max-microvolt = <4200000>; > + regulator-always-on; > + vin-supply = <®_5P0>; > + }; > +}; > + > +®_arm { > + vin-supply = <&sw2_reg>; > +}; > + > +®_soc { > + vin-supply = <&sw1c_reg>; > +}; > + > +®_vdd1p1 { > + vin-supply = <®_vsnvs>; > +}; > + > +®_vdd2p5 { > + vin-supply = <®_vsnvs>; > +}; > + > +®_vdd3p0 { > + vin-supply = <®_vsnvs>; > +}; > + > +&fec { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_enet>; > + clocks = <&clks IMX6QDL_CLK_ENET>, > + <&clks IMX6QDL_CLK_ENET>, > + <&clks IMX6QDL_CLK_ENET>, > + <&clks IMX6QDL_CLK_ENET_REF>; > + clock-names = "ipg", "ahb", "ptp", "enet_out"; > + phy-mode = "rmii"; > + phy-supply = <®_sw4>; > + phy-handle = <ðphy>; > + status = "okay"; > + > + mdio { > + #address-cells = <1>; > + #size-cells = <0>; > + > + ethphy: ethernet-phy@0 { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0>; > + interrupt-parent = <&gpio1>; > + interrupts = <23 IRQ_TYPE_EDGE_FALLING>; > + smsc,disable-energy-detect; > + }; > + }; > +}; > + > +&gpu_vg { > + status = "disabled"; > +}; > + > +&gpu_2d { > + status = "disabled"; > +}; > + > +&i2c1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_i2c1>; > + clock-frequency = <400000>; > + status = "okay"; > + > + pmic: pmic@8 { > + compatible = "fsl,pfuze100"; > + reg = <0x08>; > + > + regulators { > + sw1c_reg: sw1c { > + regulator-name = "VDD_SOC (sw1abc)"; > + regulator-min-microvolt = <1275000>; > + regulator-max-microvolt = <1500000>; > + regulator-boot-on; > + regulator-always-on; > + regulator-ramp-delay = <6250>; > + }; > + > + sw2_reg: sw2 { > + regulator-name = "VDD_ARM (sw2)"; > + regulator-min-microvolt = <1050000>; > + regulator-max-microvolt = <1500000>; > + regulator-boot-on; > + regulator-always-on; > + regulator-ramp-delay = <6250>; > + }; > + > + sw3a_reg: sw3a { > + compatible = "regulator-fixed"; > + regulator-name = "DDR_1V5a"; > + regulator-boot-on; > + regulator-always-on; > + > + }; > + > + sw3b_reg: sw3b { > + compatible = "regulator-fixed"; > + regulator-name = "DDR_1V5b"; > + regulator-boot-on; > + regulator-always-on; > + > + }; > + > + sw4_reg: sw4 { > + regulator-name = "AUX 3V15 (sw4)"; > + regulator-min-microvolt = <800000>; > + regulator-max-microvolt = <3300000>; > + }; > + > + swbst_reg: swbst { > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5150000>; > + regulator-boot-on; > + regulator-always-on; > + status = "disabled"; > + }; > + > + snvs_reg: vsnvs { > + regulator-min-microvolt = <1200000>; > + regulator-max-microvolt = <3000000>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + vref_reg: vrefddr { > + regulator-boot-on; > + regulator-always-on; > + }; > + > + vgen1_reg: vgen1 { > + regulator-min-microvolt = <800000>; > + regulator-max-microvolt = <1550000>; > + regulator-always-on; > + }; > + > + vgen2_reg: vgen2 { > + regulator-min-microvolt = <800000>; > + regulator-max-microvolt = <1550000>; > + regulator-always-on; > + }; > + > + vgen3_reg: vgen3 { > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > + }; > + > + vgen4_reg: vgen4 { > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + > + vgen5_reg: vgen5 { > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + > + vgen6_reg: vgen6 { > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > + }; > + }; > + }; > + > + lm75: sensor@49 { > + compatible = "national,lm75b"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_lm75>; > + reg = <0x49>; > + }; > + > + eeprom: eeprom@50 { > + compatible = "atmel,24c32"; > + reg = <0x50>; > + pagesize = <32>; > + }; > + > + rtc: rtc@51 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_rtc>; > + compatible = "nxp,pcf8563"; > + reg = <0x51>; > + }; > +}; > + > +&i2c2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_i2c2>; > + clock-frequency = <100000>; > + status = "okay"; > + > + eeprom_ext: eeprom@50 { > + compatible = "atmel,24c32"; > + reg = <0x50>; > + pagesize = <32>; > + }; > +}; > + > +&i2c3 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_i2c3>; > + clock-frequency = <400000>; > + status = "okay"; > + > + usb3503: usb@8 { > + compatible = "smsc,usb3503"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usb3503>; > + reg = <0x08>; > + connect-gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>; /* Old: 0, SS: HIGH */ > + intn-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; /* Old: 1, SS: HIGH */ > + reset-gpios = <&gpio5 5 GPIO_ACTIVE_LOW>; /* Old: 0, SS: HIGH */ > + initial-mode = <1>; > + clocks = <&refclk>; > + clock-names = "refclk"; > + refclk-frequency = <12000000>; > + }; > + > + vcnl4035: light-sensor@60 { > + compatible = "vishay,vcnl4035"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_proximity>; > + reg = <0x60>; > + }; > + > + exc3000: touchscreen@2a { Still out of slave address order. Shawn > + compatible = "eeti,exc3000"; > + reg = <0x2a>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_ctouch>; > + interrupt-parent = <&gpio4>; > + interrupts = <6 IRQ_TYPE_LEVEL_LOW>; > + touchscreen-size-x = <4096>; > + touchscreen-size-y = <4096>; > + }; > +}; > + > +&ldb { > + status = "okay"; > + > + lvds0: lvds-channel@0 { > + fsl,data-mapping = "spwg"; > + fsl,data-width = <24>; > + > + port@4 { > + reg = <4>; > + > + lvds0_out: endpoint { > + remote-endpoint = <&panel_in>; > + }; > + }; > + }; > +}; > + > +&pwm1 { > + #pwm-cells = <2>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_pwm1>; > + status = "okay"; > +}; > + > +&pwm2 { > + #pwm-cells = <2>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_pwm2>; > + status = "okay"; > +}; > + > +&pwm3 { > + #pwm-cells = <2>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_pwm3>; > + status = "okay"; > +}; > + > +&pwm4 { > + #pwm-cells = <2>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_pwm4>; > + status = "okay"; > +}; > + > +&uart1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_uart1>; > + rts-gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>; > + linux,rs485-enabled-at-boot-time; > + rs485-rx-during-tx; > + status = "okay"; > +}; > + > +&uart2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_uart2>; > + uart-has-rtscts; > + status = "okay"; > +}; > + > +&usbh1 { > + vbus-supply = <®_usb_h1_vbus>; > + status = "okay"; > +}; > + > +&usbh2 { > + pinctrl-names = "idle", "active"; > + pinctrl-0 = <&pinctrl_usbh2_idle>; > + pinctrl-1 = <&pinctrl_usbh2_active>; > + vbus-supply = <®_usb_h2_vbus>; > + status = "okay"; > +}; > + > +&usbotg { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usbotg>; > + vbus-supply = <®_usb_otg_vbus>; > + disable-over-current; > + dr_mode = "otg"; > + srp-disable; > + hnp-disable; > + adp-disable; > + status = "okay"; > +}; > + > +&usbphynop1 { > + clocks = <&clks IMX6QDL_CLK_USBPHY1>; > + clock-names = "main_clk"; > + vcc-supply = <®_usb_h1_vbus>; > +}; > + > +&usbphynop2 { > + vcc-supply = <®_usb_h2_vbus>; > +}; > + > +&usdhc2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usdhc2>; > + cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; > + no-1-8-v; > + keep-power-in-suspend; > + enable-sdio-wakeup; > + voltage-ranges = <3300 3300>; > + vmmc-supply = <®_sw4>; > + fsl,wp-controller; > + status = "okay"; > +}; > + > +&usdhc4 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usdhc4>; > + bus-width = <8>; > + non-removable; > + no-1-8-v; > + keep-power-in-suspend; > + voltage-ranges = <3300 3300>; > + vmmc-supply = <®_sw4>; > + fsl,wp-controller; > + status = "okay"; > +}; > + > +&wdog1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_wdog1>; > + fsl,ext-reset-output; > + timeout-sec=<10>; > + status = "okay"; > +}; > + > +&iomuxc { > + pinctrl_enet: enetgrp { > + fsl,pins = < > + MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 > + MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 > + MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN 0x1b0b0 > + MX6QDL_PAD_ENET_REF_CLK__GPIO1_IO23 0x1b0b0 /* FEC INT */ > + MX6QDL_PAD_ENET_RX_ER__ENET_RX_ER 0x1b0b0 > + MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x0001b098 > + MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0 0x1b0b0 > + MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1 0x1b0b0 > + MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1 0x0001b098 > + MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0 0x0001b098 > + MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8 > + >; > + }; > + > + pinctrl_reset_gpio_led: reset-gpio-led-grp { > + fsl,pins = < > + MX6QDL_PAD_CSI0_PIXCLK__GPIO5_IO18 0x1b0b0 > + >; > + }; > + > + pinctrl_i2c1: i2c1grp { > + fsl,pins = < > + MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1 > + MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1 > + >; > + }; > + > + pinctrl_i2c2: i2c2grp { > + fsl,pins = < > + MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b810 > + MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b810 > + >; > + }; > + > + pinctrl_i2c3: i2c3grp { > + fsl,pins = < > + MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1 > + MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 > + >; > + }; > + > + pinctrl_lcd_enable: lcdenablegrp { > + fsl,pins = < > + MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x1b0b0 /* lcd enable */ > + MX6QDL_PAD_EIM_D16__GPIO3_IO16 0x1b0b0 /* sel6_8 */ > + >; > + }; > + > + pinctrl_lm75: lm75grp { > + fsl,pins = < > + MX6QDL_PAD_KEY_ROW0__GPIO4_IO07 0x1b0b0 > + >; > + }; > + > + pinctrl_proximity: proximitygrp { > + fsl,pins = < > + MX6QDL_PAD_KEY_ROW2__GPIO4_IO11 0x1b0b0 > + >; > + }; > + > + pinctrl_pwm1: pwm1grp { > + fsl,pins = < > + MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x0001b0b0 > + >; > + }; > + > + pinctrl_pwm2: pwm2grp { > + fsl,pins = < > + MX6QDL_PAD_SD1_DAT2__PWM2_OUT 0x0001b0b0 > + >; > + }; > + > + pinctrl_pwm3: pwm3grp { > + fsl,pins = < > + MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x0001b0b0 > + >; > + }; > + > + pinctrl_pwm4: pwm4grp { > + fsl,pins = < > + MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x0001b0b0 > + >; > + }; > + > + pinctrl_rtc: rtc-grp { > + fsl,pins = < > + MX6QDL_PAD_KEY_COL1__GPIO4_IO08 0x1b0b0 /* RTC INT */ > + >; > + }; > + > + pinctrl_ctouch: ctouch-grp { > + fsl,pins = < > + MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0 /* CTOUCH_INT */ > + MX6QDL_PAD_SD1_CLK__GPIO1_IO20 0x0001b0b0 /* CTOUCH_RESET */ > + >; > + }; > + > + pinctrl_uart1: uart1grp { > + fsl,pins = < > + MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1 > + MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 > + MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x0001b0b0 > + >; > + }; > + > + pinctrl_uart2: uart2grp { > + fsl,pins = < > + MX6QDL_PAD_SD3_DAT4__UART2_RX_DATA 0x1b0b1 > + MX6QDL_PAD_SD3_DAT5__UART2_TX_DATA 0x1b0b1 > + MX6QDL_PAD_EIM_D28__UART2_CTS_B 0x1b0b1 > + MX6QDL_PAD_EIM_D29__UART2_RTS_B 0x1b0b1 > + >; > + }; > + > + pinctrl_usbh2_idle: usbh2-idle-grp { > + fsl,pins = < > + MX6QDL_PAD_RGMII_TXC__USB_H2_DATA 0x00013018 > + MX6QDL_PAD_RGMII_TX_CTL__USB_H2_STROBE 0x00013018 > + >; > + }; > + > + pinctrl_usbh2_active: usbh2-active-grp { > + fsl,pins = < > + MX6QDL_PAD_RGMII_TXC__USB_H2_DATA 0x00013018 > + MX6QDL_PAD_RGMII_TX_CTL__USB_H2_STROBE 0x00017018 > + >; > + }; > + > + pinctrl_usb3503: usb3503-grp { > + fsl,pins = < > + MX6QDL_PAD_CSI0_MCLK__CCM_CLKO1 0x00000018 > + MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b0b0 /* USB INT */ > + MX6QDL_PAD_DISP0_DAT11__GPIO5_IO05 0x0001b0b0 /* USB Reset */ > + MX6QDL_PAD_SD1_DAT0__GPIO1_IO16 0x1b0b0 /* USB Connect */ > + >; > + }; > + > + pinctrl_usbotg: usbotggrp { > + fsl,pins = < > + MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 > + >; > + }; > + > + pinctrl_usdhc2: usdhc2grp { > + fsl,pins = < > + MX6QDL_PAD_SD2_CMD__SD2_CMD 0x00017069 > + MX6QDL_PAD_SD2_CLK__SD2_CLK 0x00010038 > + MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x00017069 > + MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x00017069 > + MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x00017069 > + MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x00017069 > + MX6QDL_PAD_GPIO_4__SD2_CD_B 0x0001b0b0 > + >; > + }; > + > + pinctrl_usdhc4: usdhc4grp { > + fsl,pins = < > + MX6QDL_PAD_SD4_CMD__SD4_CMD 0x00017059 > + MX6QDL_PAD_SD4_CLK__SD4_CLK 0x00010059 > + MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x00017059 > + MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x00017059 > + MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x00017059 > + MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x00017059 > + MX6QDL_PAD_SD4_DAT4__SD4_DATA4 0x00017059 > + MX6QDL_PAD_SD4_DAT5__SD4_DATA5 0x00017059 > + MX6QDL_PAD_SD4_DAT6__SD4_DATA6 0x00017059 > + MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x00017059 > + >; > + }; > + > + pinctrl_wdog1: wdoggrp { > + fsl,pins = < > + MX6QDL_PAD_GPIO_9__WDOG1_B 0x1b0b0 > + >; > + }; > +}; > -- > 2.34.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel