ARM: dts: imx6q-phytec: Added USB_OTG Support
Subsystems (2)
PATCH v4 1/4 ARM: dts: imx6q-phytec: Added USB_OTG Support
This patch adds support for USB_OTG on Phytec phyFLEX-i.MX6 Quad module.
Signed-off-by Ashutosh singh <[email protected]>
--- arch/arm/boot/dts/imx6q-phytec-pbab01.dts | 4 ++++ arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi | 31 ++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+)
arch/arm/boot/dts/imx6q-phytec-pbab01.dts +4 -0
@@ -25,6 +25,10 @@ status = "okay"; }; +&usbotg { + status = "okay"; +}; + &usdhc2 { status = "okay"; };
arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi +31 -0
@@ -18,6 +18,21 @@ memory { reg = <0x10000000 0x80000000>; }; + + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + + reg_usb_otg_vbus: regulator at 0 { + compatible = "regulator-fixed"; + reg = <0>; + regulator-name = "usb_otg_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio4 15 0>; + }; + }; }; &ecspi3 {
@@ -180,6 +195,14 @@ >; }; + pinctrl_usbotg: usbotggrp { + fsl,pins = < + MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 + MX6QDL_PAD_KEY_COL4__USB_OTG_OC 0x1b0b0 + MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x80000000 + >; + }; + pinctrl_usdhc2: usdhc2grp { fsl,pins = < MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059
@@ -225,6 +248,14 @@ status = "disabled"; }; +&usbotg { + vbus-supply = <®_usb_otg_vbus>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg>; + disable-over-current; + status = "disabled"; +}; + &usdhc2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc2>;
Signature · 1 line
1.7.9.5
PATCH v3 2/4 ARM: dts: imx6q-phytec: Added USB_HOST Support
This patch adds support for USB_HOST on Phytec phyFLEX-i.MX6 Quad module.
Signed-off-by Ashutosh singh <[email protected]>
--- arch/arm/boot/dts/imx6q-phytec-pbab01.dts | 4 ++++ arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+)
arch/arm/boot/dts/imx6q-phytec-pbab01.dts +4 -0
@@ -25,6 +25,10 @@ status = "okay"; }; +&usbh1 { + status = "okay"; +}; + &usbotg { status = "okay"; };
arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi +22 -0
@@ -32,6 +32,15 @@ regulator-max-microvolt = <5000000>; gpio = <&gpio4 15 0>; }; + + reg_usb_h1_vbus: regulator at 1 { + compatible = "regulator-fixed"; + reg = <1>; + regulator-name = "usb_h1_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio1 0 0>; + }; }; };
@@ -195,6 +204,12 @@ >; }; + pinctrl_usbh1: usbh1grp { + fsl,pins = < + MX6QDL_PAD_GPIO_0__USB_H1_PWR 0x80000000 + >; + }; + pinctrl_usbotg: usbotggrp { fsl,pins = < MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
@@ -248,6 +263,13 @@ status = "disabled"; }; +&usbh1 { + vbus-supply = <®_usb_h1_vbus>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbh1>; + status = "disabled"; +}; + &usbotg { vbus-supply = <®_usb_otg_vbus>; pinctrl-names = "default";
Signature · 1 line
1.7.9.5
PATCH v3 3/4 ARM: dts: imx6q-phytec: Added GPMI-NAND Support
In reply to Ashutosh singhThis patch adds support for GPMI-NAND on Phytec phyFLEX-i.MX6 Quad module.
Signed-off-by Ashutosh singh <[email protected]>
--- arch/arm/boot/dts/imx6q-phytec-pbab01.dts | 4 ++++ arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi | 29 ++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+)
arch/arm/boot/dts/imx6q-phytec-pbab01.dts +4 -0
@@ -21,6 +21,10 @@ status = "okay"; }; +&gpmi { + status = "okay"; +}; + &uart4 { status = "okay"; };
arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi +29 -0
@@ -190,6 +190,28 @@ >; }; + pinctrl_gpmi_nand: gpminandgrp { + fsl,pins = < + MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1 + MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1 + MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1 + MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000 + MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1 + MX6QDL_PAD_NANDF_CS1__NAND_CE1_B 0xb0b1 + MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1 + MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1 + MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1 + MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1 + MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1 + MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1 + MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1 + MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1 + MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1 + MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1 + MX6QDL_PAD_SD4_DAT0__NAND_DQS 0x00b1 + >; + }; + pinctrl_i2c1: i2c1grp { fsl,pins = < MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
@@ -257,6 +279,13 @@ status = "disabled"; }; +&gpmi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpmi_nand>; + nand-on-flash-bbt; + status = "disabled"; +}; + &uart4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart4>;
Signature · 1 line
1.7.9.5
PATCH v3 4/4 ARM: dts: imx6q-phytec: Added SATA Support
In reply to Ashutosh singhThis patch adds support for SATA on Phytec phyFLEX-i.MX6 Quad module.
Signed-off-by Ashutosh singh <[email protected]>
--- arch/arm/boot/dts/imx6q-phytec-pbab01.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/boot/dts/imx6q-phytec-pbab01.dts +4 -0
@@ -25,6 +25,10 @@ status = "okay"; }; +&sata { + status = "okay"; +}; + &uart4 { status = "okay"; };
Signature · 1 line
1.7.9.5
Shawn Guo
AppliedPATCH v4 1/4 ARM: dts: imx6q-phytec: Added USB_OTG Support
In reply to Ashutosh singhQuoted 3 lines · Ashutosh singh
This patch adds support for
USB_OTGon Phytec phyFLEX-i.MX6 Quad module.Signed-off-by Ashutosh singh <[email protected]>
Applied all 4, thanks.