85 lines
1.7 KiB
Plaintext
85 lines
1.7 KiB
Plaintext
/*
|
|
* Copyright 2013 Russell King
|
|
*
|
|
* The code contained herein is licensed under the GNU General Public
|
|
* License version 2.
|
|
*/
|
|
/ {
|
|
regulators {
|
|
compatible = "simple-bus";
|
|
|
|
reg_3p3v: 3p3v {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "3P3V";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_usb_h1_vbus: usb_h1_vbus {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "usb_h1_vbus";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
gpio = <&gpio1 0 0>;
|
|
enable-active-high;
|
|
};
|
|
|
|
reg_usb_otg_vbus: usb_otg_vbus {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "usb_otg_vbus";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
gpio = <&gpio3 22 0>;
|
|
enable-active-high;
|
|
};
|
|
};
|
|
};
|
|
|
|
&can1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_microsom_flexcan1>;
|
|
status = "okay";
|
|
};
|
|
|
|
&iomuxc {
|
|
microsom {
|
|
pinctrl_microsom_flexcan1: microsom-flexcan1 {
|
|
fsl,pins = <
|
|
MX6QDL_PAD_SD3_CLK__FLEXCAN1_RX 0x80000000
|
|
MX6QDL_PAD_SD3_CMD__FLEXCAN1_TX 0x80000000
|
|
>;
|
|
};
|
|
|
|
pinctrl_microsom_usbotg: microsom-usbotg {
|
|
/*
|
|
* Similar to pinctrl_usbotg_2, but we want it
|
|
* pulled down for a fixed host connection.
|
|
*/
|
|
fsl,pins = <MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x13059>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&uart1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_uart1_1>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usbotg {
|
|
phy_type = "utmi";
|
|
dr_mode = "host";
|
|
vbus-supply = <®_usb_otg_vbus>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_microsom_usbotg>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usbh1 {
|
|
phy_type = "utmi";
|
|
dr_mode = "host";
|
|
vbus-supply = <®_usb_h1_vbus>;
|
|
status = "okay";
|
|
};
|