PCIE USB init
This commit is contained in:
parent
7577525444
commit
8dcb7d9058
@ -52,6 +52,32 @@
|
||||
vin-supply = <&vcc5v0_sys_s0>;
|
||||
};
|
||||
|
||||
vcc5v0_usb_host1: vcc5v0-usb-host1 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc5v0_usb_host";
|
||||
regulator-boot-on;
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
enable-active-high;
|
||||
gpio = <&gpio4 RK_PB1 GPIO_ACTIVE_HIGH>;
|
||||
vin-supply = <&vcc5v0_sys_s0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&usb_host1_pwren>;
|
||||
};
|
||||
|
||||
vcc5v0_usb_host2: vcc5v0-usb-host2 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc5v0_usb_otg";
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>;
|
||||
vin-supply = <&vcc5v0_sys_s0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&usb_host2_pwren>;
|
||||
};
|
||||
|
||||
sdio_pwrseq: sdio-pwrseq {
|
||||
compatible = "mmc-pwrseq-simple";
|
||||
pinctrl-names = "default";
|
||||
@ -161,6 +187,16 @@
|
||||
};
|
||||
};
|
||||
|
||||
&combphy_pu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie2x1 {
|
||||
reset-gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
hym8563: hym8563@51 {
|
||||
@ -199,6 +235,15 @@
|
||||
rockchip,pins = <4 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
usb {
|
||||
usb_host1_pwren: usb-host1-pwren {
|
||||
rockchip,pins = <4 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
usb_host2_pwren: usb-host1-pwren {
|
||||
rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&acodec {
|
||||
@ -223,4 +268,26 @@
|
||||
|
||||
&sdmmc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&u2phy {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&u2phy_host {
|
||||
status = "okay";
|
||||
phy-supply = <&usb_host1_pwren>;
|
||||
};
|
||||
|
||||
&u2phy_otg {
|
||||
status = "okay";
|
||||
vbus-supply = <&usb_host2_pwren>;
|
||||
};
|
||||
|
||||
&usb_host0_ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb_host0_ohci {
|
||||
status = "okay";
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user