ODROID-COMMON:USB hub enable/reset control && Unused i2c0 disabled.
authorKevin Kim <ckkim@hardkernel.com>
Thu, 22 Nov 2018 03:17:26 +0000 (12:17 +0900)
committerDongjin Kim <tobetter@gmail.com>
Fri, 13 Mar 2020 09:08:44 +0000 (18:08 +0900)
Change-Id: Ib66ca11cdad3d65187ff06fe3ac981300c894bc3

arch/arm64/boot/dts/amlogic/mesong12_odroid_common.dtsi

index 5c39b2c..7c75775 100644 (file)
                };
        };
 
+       gpio-reset {
+               compatible = "linux,gpio-reset";
+               usb_hub_en {
+                       gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
+                       asserted-state = <0>;
+                       duration-ms = <100>;
+                       auto;
+               };
+               usb_hub {
+                       gpios = <&gpio GPIOH_4 GPIO_ACTIVE_HIGH>;
+                       asserted-state = <0>;
+                       duration-ms = <100>;
+                       auto;
+               };
+       };
+
        efuse: efuse{
                compatible = "amlogic, efuse";
                read_cmd = <0x82000030>;
        };//End efusekey
 };
 
-&i2c0 {
-       status = "okay";
-       pinctrl-names="default";
-       pinctrl-0=<&i2c0_master_pins2>;
-       clock-frequency = <400000>;
-};
-
 &ethmac {
        status = "okay";
        pinctrl-names = "external_eth_pins";