arm64: dts: rockchip: support fusb302 for rk3399 mid
authorBin Yang <yangbin@rock-chips.com>
Wed, 17 Aug 2016 14:58:27 +0000 (22:58 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 18 Aug 2016 10:23:12 +0000 (18:23 +0800)
Change-Id: I6eac543d9791e55d3b11b5367ac336c9c2f27296
Signed-off-by: Bin Yang <yangbin@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts

index f9bb326c03e622ef763d3398adfca6b383b3cba3..b53c81b0c4868d78463752647cf119c10e9106a2 100644 (file)
                irq_enable = <1>;
                poll_delay_ms = <30>;
        };
+
+       fusb0: fusb30x@22 {
+               compatible = "fairchild,fusb302";
+               reg = <0x22>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&fusb0_int>;
+               int-n-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
+               status = "okay";
+       };
 };
 
 &i2c5 {
                                <4 25 RK_FUNC_GPIO &pcfg_pull_none>;
                };
        };
+
+       fusb30x {
+               fusb0_int: fusb0-int {
+                       rockchip,pins =
+                               <1 1 RK_FUNC_GPIO &pcfg_pull_up>;
+               };
+       };
 };
 
 &rk_screen {