dts: set s912 adb. [1/1]
authorLuan Yuan <luan.yuan@amlogic.com>
Fri, 5 Jul 2019 07:43:43 +0000 (15:43 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 5 Jul 2019 11:22:30 +0000 (04:22 -0700)
PD#SWPL-10860

Problem:
s912 need to support adb.

Solution:
update dts

Verify:
verify by hertz

Change-Id: I085a0442d229d13d02b963c948d390920aea3dd0
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
arch/arm/boot/dts/amlogic/gxm_q201_1g.dts
arch/arm/boot/dts/amlogic/gxm_q201_2g.dts
arch/arm64/boot/dts/amlogic/gxm_q201_1g.dts
arch/arm64/boot/dts/amlogic/gxm_q201_2g.dts

index 91a5e72..a358dfb 100644 (file)
                compatible = "amlogic, amlogic-new-usb3";
                portnum = <0>;
                reg = <0xd0078080 0x20>;
-               interrupts = <0 16 4>;
-               otg = <1>;
-               gpio-vbus-power = "GPIOAO_5";
-               gpios = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>;
        };
 
        dwc2_a {
                port-id-mode = <0>; /** 0: hardware, 1: sw_host, 2: sw_slave*/
                usb-fifo = <728>;
                cpu-type = "gxl";
-               controller-type = <3>; /** 0: normal,1:host,2:device,3:otg*/
+               controller-type = <1>; /** 0: normal,1:host,2:device,3:otg*/
                phy-reg = <0xd0078000>;
                phy-reg-size = <0xa0>;
                clocks = <&clkc CLKID_USB_GENERAL
index d7b46da..37cb004 100644 (file)
                compatible = "amlogic, amlogic-new-usb3";
                portnum = <0>;
                reg = <0xd0078080 0x20>;
-               interrupts = <0 16 4>;
-               otg = <1>;
-               gpio-vbus-power = "GPIOAO_5";
-               gpios = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>;
        };
 
        dwc2_a {
                port-id-mode = <0>; /** 0: hardware, 1: sw_host, 2: sw_slave*/
                usb-fifo = <728>;
                cpu-type = "gxl";
-               controller-type = <3>; /** 0: normal,1:host,2:device,3:otg*/
+               controller-type = <1>; /** 0: normal,1:host,2:device,3:otg*/
                phy-reg = <0xd0078000>;
                phy-reg-size = <0xa0>;
                clocks = <&clkc CLKID_USB_GENERAL
index 3674acc..3558b99 100644 (file)
                compatible = "amlogic, amlogic-new-usb3";
                portnum = <0>;
                reg = <0x0 0xd0078080 0x0 0x20>;
-               interrupts = <0 16 4>;
-               otg = <1>;
-               gpio-vbus-power = "GPIOAO_5";
-               gpios = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>;
        };
 
        dwc2_a {
                port-id-mode = <0>; /** 0: hardware, 1: sw_host, 2: sw_slave*/
                usb-fifo = <728>;
                cpu-type = "gxl";
-               controller-type = <3>; /** 0: normal,1:host,2:device,3:otg*/
+               controller-type = <1>; /** 0: normal,1:host,2:device,3:otg*/
                phy-reg = <0xd0078000>;
                phy-reg-size = <0xa0>;
                clocks = <&clkc CLKID_USB_GENERAL
index 0e464cb..348e521 100644 (file)
                compatible = "amlogic, amlogic-new-usb3";
                portnum = <0>;
                reg = <0x0 0xd0078080 0x0 0x20>;
-               interrupts = <0 16 4>;
-               otg = <1>;
-               gpio-vbus-power = "GPIOAO_5";
-               gpios = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>;
        };
 
        dwc2_a {
                port-id-mode = <0>; /** 0: hardware, 1: sw_host, 2: sw_slave*/
                usb-fifo = <728>;
                cpu-type = "gxl";
-               controller-type = <3>; /** 0: normal,1:host,2:device,3:otg*/
+               controller-type = <1>; /** 0: normal,1:host,2:device,3:otg*/
                phy-reg = <0xd0078000>;
                phy-reg-size = <0xa0>;
                clocks = <&clkc CLKID_USB_GENERAL