arm64: dts: ulcb-kf: hog USB3 hub control gpios
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>
Wed, 6 Sep 2017 22:37:24 +0000 (01:37 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 10 Oct 2017 07:51:26 +0000 (09:51 +0200)
This adds gpio hogs for USB3 hub on ULCB Kingfisher board to power up and
remove from reset the hub

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi

index 1923e5b8ee8612f368be17b2950564e894647d2e..657ad10419655da6ecbb3533795f30a761c68457 100644 (file)
                interrupt-controller;
                interrupt-parent = <&gpio6>;
                interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
+
+               hub_pwen {
+                       gpio-hog;
+                       gpios = <6 GPIO_ACTIVE_HIGH>;
+                       output-high;
+                       line-name = "HUB pwen";
+               };
+
+               hub_rst {
+                       gpio-hog;
+                       gpios = <7 GPIO_ACTIVE_HIGH>;
+                       output-high;
+                       line-name = "HUB rst";
+               };
        };
 
        gpio_exp_75: gpio@75 {