ARM64: dts: rk3399: support fusb302 for evb1/2/3

Change-Id: I27d3c4848466a672b42446cc2b208fed067c4417
Signed-off-by: Zain Wang <wzz@rock-chips.com>
This commit is contained in:
Zain Wang
2016-04-07 18:05:32 +08:00
committed by Gerrit Code Review
parent 1bf15bae95
commit 6422df8e07
4 changed files with 77 additions and 0 deletions

View File

@@ -94,6 +94,16 @@
};
&i2c0 {
fusb0: fusb30x@22 {
compatible = "fairchild,fusb302";
reg = <0x22>;
pinctrl-names = "default";
pinctrl-0 = <&fusb0_int>;
vbus-5v-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
int-n-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
status = "okay";
};
mp8865: mp8865@68 {
compatible = "mps,mp8865";
reg = <0x68>;
@@ -293,6 +303,17 @@
};
};
&i2c4 {
fusb1: fusb30x@22 {
compatible = "fairchild,fusb302";
reg = <0x22>;
pinctrl-names = "default";
pinctrl-0 = <&fusb1_int>;
vbus-5v-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
int-n-gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
};
};
&pwm2 {
status = "okay";
};

View File

@@ -232,6 +232,16 @@
};
&i2c0 {
fusb1: fusb30x@22 {
compatible = "fairchild,fusb302";
reg = <0x22>;
pinctrl-names = "default";
pinctrl-0 = <&fusb1_int>;
vbus-5v-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
int-n-gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
status = "okay";
};
vdd_cpu_b: syr827@40 {
compatible = "silergy,syr827";
reg = <0x40>;
@@ -451,3 +461,16 @@
&u2phy0_otg {
rockchip,utmi-avalid;
};
&i2c6 {
status = "okay";
fusb0: fusb30x@22 {
compatible = "fairchild,fusb302";
reg = <0x22>;
pinctrl-names = "default";
pinctrl-0 = <&fusb0_int>;
vbus-5v-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
int-n-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
status = "okay";
};
};

View File

@@ -227,6 +227,16 @@
};
&i2c0 {
fusb1: fusb30x@22 {
compatible = "fairchild,fusb302";
reg = <0x22>;
pinctrl-names = "default";
pinctrl-0 = <&fusb1_int>;
vbus-5v-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
int-n-gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
status = "okay";
};
vdd_cpu_b: syr827@40 {
compatible = "silergy,syr827";
reg = <0x40>;
@@ -449,3 +459,16 @@
&es8316 {
reg = <0x11>;
};
&i2c6 {
status = "okay";
fusb0: fusb30x@22 {
compatible = "fairchild,fusb302";
reg = <0x22>;
pinctrl-names = "default";
pinctrl-0 = <&fusb0_int>;
vbus-5v-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
int-n-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
status = "okay";
};
};

View File

@@ -522,4 +522,14 @@
<4 25 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
fusb30x {
fusb0_int: fusb0-int {
rockchip,pins = <1 2 RK_FUNC_GPIO &pcfg_pull_up>;
};
fusb1_int: fusb1-int {
rockchip,pins = <1 24 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
};