ODROID-C4: dts/amlogic: fix USB host on new board rev 0.3

- GPIOH_5 is dedicated to GPIO pin header
- USB host port is fixed

Change-Id: I899028cc1513806de1132e0aa06ca5e9facd7fef
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
This commit is contained in:
Dongjin Kim
2019-09-09 15:05:36 +09:00
parent e485a47a6b
commit 005bb7ccbe
2 changed files with 20 additions and 6 deletions

View File

@@ -745,6 +745,10 @@
reg = <0x0 0xff808040 0x0 0x44>;
status = "ok";
};
gpio-reset {
/delete-node/ usb_hub_en;
};
}; /* end of / */
&audiobus {
@@ -848,7 +852,3 @@
&meson_cooldev {
status = "okay";
};
&usb3_phy_v2 {
portnum = <0>;
};

View File

@@ -69,6 +69,20 @@
};
};
gpio-reset {
compatible = "linux,gpio-reset";
usb_hub_en {
gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
asserted-state = <0>;
duration-ms = <100>;
};
usb_hub {
gpios = <&gpio GPIOH_4 GPIO_ACTIVE_HIGH>;
asserted-state = <0>;
duration-ms = <100>;
};
};
efuse: efuse{
compatible = "amlogic, efuse";
read_cmd = <0x82000030>;
@@ -207,8 +221,8 @@
};
&pcie_A {
reset-gpio = <&gpio GPIOH_4 GPIO_ACTIVE_HIGH>;
status = "okay";
reset-gpio = <&gpio GPIOX_7 GPIO_ACTIVE_HIGH>;
status = "disabled";
};
&sd_emmc_c {